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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
735951f2be8daf8671e129618226aafcd795a2cd | 1,226 | h | C | src/bin/fl/draw_graph.h | mfernan2/VossII | e1c1142c9c94255995c13efe2e1b7af4ae03f2e2 | [
"Apache-2.0"
] | 20 | 2020-01-27T13:14:34.000Z | 2022-03-23T17:39:14.000Z | src/bin/fl/draw_graph.h | mfernan2/VossII | e1c1142c9c94255995c13efe2e1b7af4ae03f2e2 | [
"Apache-2.0"
] | 6 | 2020-02-03T13:48:15.000Z | 2021-03-02T14:24:50.000Z | src/bin/fl/draw_graph.h | mfernan2/VossII | e1c1142c9c94255995c13efe2e1b7af4ae03f2e2 | [
"Apache-2.0"
] | 6 | 2020-01-28T14:42:13.000Z | 2021-02-15T20:39:40.000Z | //-------------------------------------------------------------------
// Copyright 2020 Carl-Johan Seger
// SPDX-License-Identifier: Apache-2.0
//-------------------------------------------------------------------
/********************************************************************
* ... | 38.3125 | 79 | 0.424144 |
7397611339684829233ffc1c8411711794f9e79c | 2,111 | h | C | aws-cpp-sdk-textract/include/aws/textract/model/QueriesConfig.h | Nexuscompute/aws-sdk-cpp | e7ef485e46e6962c9e084b8c9b104c1bfcceaf26 | [
"Apache-2.0"
] | 1 | 2022-01-05T18:20:03.000Z | 2022-01-05T18:20:03.000Z | aws-cpp-sdk-textract/include/aws/textract/model/QueriesConfig.h | Nexuscompute/aws-sdk-cpp | e7ef485e46e6962c9e084b8c9b104c1bfcceaf26 | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-textract/include/aws/textract/model/QueriesConfig.h | Nexuscompute/aws-sdk-cpp | e7ef485e46e6962c9e084b8c9b104c1bfcceaf26 | [
"Apache-2.0"
] | 1 | 2021-11-09T11:58:03.000Z | 2021-11-09T11:58:03.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/textract/Textract_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/textract/model/Query.h>
#include <utility>
namespace Aws
{
namespace Utils
{
nam... | 23.455556 | 136 | 0.637613 |
71532cef8649742d649406dbb275e54f35d01d92 | 1,407 | h | C | Source/Test/CNetHttpsClient.h | antmuse/AntNet | 71819fa576af642fa0490c34e10321e80a31c1bc | [
"MIT"
] | 4 | 2018-01-20T11:12:58.000Z | 2021-04-20T03:32:00.000Z | Source/Test/CNetHttpsClient.h | antmuse/AntNet | 71819fa576af642fa0490c34e10321e80a31c1bc | [
"MIT"
] | null | null | null | Source/Test/CNetHttpsClient.h | antmuse/AntNet | 71819fa576af642fa0490c34e10321e80a31c1bc | [
"MIT"
] | null | null | null | #ifndef APP_CNETHTTPSCLIENT_H
#define APP_CNETHTTPSCLIENT_H
#include "CTlsContext.h"
#include "AppList.h"
#include "INetEventer.h"
namespace app {
namespace net {
class CNetServiceTCP;
//echo client
class CNetHttpsClient : public INetEventer {
public:
CNetHttpsClient();
virtual ~CNetHttpsCli... | 26.54717 | 106 | 0.707889 |
addc2d59a65446c2d5a8ce98b991e808604407a9 | 1,086 | h | C | history.h | rexroni/weechat-voipms | a3f24a8b6e408ce97c2c92efa4b7c540cf1c9e92 | [
"Unlicense"
] | 2 | 2019-01-14T01:04:05.000Z | 2020-11-27T23:30:58.000Z | history.h | rexroni/weechat-voipms | a3f24a8b6e408ce97c2c92efa4b7c540cf1c9e92 | [
"Unlicense"
] | 1 | 2019-01-14T01:04:02.000Z | 2019-01-18T00:52:29.000Z | history.h | rexroni/weechat-voipms | a3f24a8b6e408ce97c2c92efa4b7c540cf1c9e92 | [
"Unlicense"
] | null | null | null | #ifndef HISTORY_H
#define HISTORY_H
#include <stdbool.h>
// we are going to do a quick-and-easy (malloc-heavy) design here
// per-buffer history, (file name)
typedef struct hist_buf_t {
// filename is of format "<sip_uri>name"
char* filename;
char* sip_uri;
char* name;
struct hist_buf_t* next;
} ... | 26.487805 | 75 | 0.706262 |
4232ac2b1b362c6d8a6c8fe9309c56ffe0c1ea92 | 234 | h | C | aStarScene.h | ArrowManga/first_project | 39352a8d93ff7da6c71bf9743d09ed91dcae1511 | [
"MIT"
] | 1 | 2018-09-15T12:00:01.000Z | 2018-09-15T12:00:01.000Z | aStarScene.h | ArrowManga/first_project | 39352a8d93ff7da6c71bf9743d09ed91dcae1511 | [
"MIT"
] | null | null | null | aStarScene.h | ArrowManga/first_project | 39352a8d93ff7da6c71bf9743d09ed91dcae1511 | [
"MIT"
] | null | null | null | #pragma once
#include "gameNode.h"
#include "aStarTest.h"
class aStarScene : public gameNode
{
private:
aStarTest* _ast;
public:
aStarScene();
~aStarScene();
HRESULT init();
void release();
void update();
void render();
};
| 11.7 | 34 | 0.683761 |
098671b9c0698894d7aa766dd78abc8892aa6b2d | 2,196 | h | C | src/linefinder/linefinder.h | Elrohil44/upm | 74ef838a7483418540b1087fc28f827e716e6a6f | [
"MIT"
] | 3 | 2017-06-11T00:20:09.000Z | 2019-03-11T01:41:47.000Z | src/linefinder/linefinder.h | Elrohil44/upm | 74ef838a7483418540b1087fc28f827e716e6a6f | [
"MIT"
] | 1 | 2018-11-13T18:03:56.000Z | 2018-11-14T18:17:57.000Z | src/linefinder/linefinder.h | Elrohil44/upm | 74ef838a7483418540b1087fc28f827e716e6a6f | [
"MIT"
] | 6 | 2017-06-07T17:46:22.000Z | 2018-05-23T03:03:02.000Z | /*
* Author: Jon Trulson <jtrulson@ics.com>
* Copyright (c) 2016 Intel Corporation.
*
* 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 limitatio... | 28.153846 | 73 | 0.700364 |
710ab375187ab677484b46d2224b0abee57deacf | 691 | h | C | Classes/AIDelegate.h | shenkevin/FlameDragon | 02f86da70f1429410160ce55ebbeb3e9c59631d3 | [
"MIT"
] | 1 | 2022-02-26T04:56:40.000Z | 2022-02-26T04:56:40.000Z | Classes/AIDelegate.h | shenkevin/FlameDragon | 02f86da70f1429410160ce55ebbeb3e9c59631d3 | [
"MIT"
] | null | null | null | Classes/AIDelegate.h | shenkevin/FlameDragon | 02f86da70f1429410160ce55ebbeb3e9c59631d3 | [
"MIT"
] | null | null | null | //
// AIDelegate.h
// FlameDragon
//
// Created by sui toney on 11-12-13.
// Copyright 2011 ms. All rights reserved.
//
#import "cocos2d.h"
#import "FDCreature.h"
#import "ActionLayers.h"
#import "DistanceResolver.h"
@interface AIDelegate : NSObject {
DistanceResolver *disResolver;
FDCreature *creature;
Acti... | 20.323529 | 71 | 0.732272 |
51ad26292ec481bcdff2253c630ff440324d1b9e | 372 | c | C | Archivos/Ejemplos/Lectura_Por_Caracter/Lectura_Carac.c | memo0p2/Programas-C | 6464dd1ddc55256920e604e649c30576e4907cf8 | [
"MIT"
] | 1 | 2018-10-23T02:17:48.000Z | 2018-10-23T02:17:48.000Z | Archivos/Ejemplos/Lectura_Por_Caracter/Lectura_Carac.c | memo0p2/Programas-C | 6464dd1ddc55256920e604e649c30576e4907cf8 | [
"MIT"
] | null | null | null | Archivos/Ejemplos/Lectura_Por_Caracter/Lectura_Carac.c | memo0p2/Programas-C | 6464dd1ddc55256920e604e649c30576e4907cf8 | [
"MIT"
] | null | null | null | //Lectura caracter por caracter
//Autor:Ramirez Olvera Guillermo
//fecha:22/10/2018
#include<stdio.h>
int main(){
char c;
puts("Ingreso de texto desde un archivo con read");
FILE *ent;
ent=fopen("prueba.txt","r");
if(ent==NULL){
puts("No se puede leer el archivo");
return 1;
}
while(fread(&c,siz... | 19.578947 | 53 | 0.63172 |
863eaf33b9f0baa6f0afb3e6eaf475ef54a5d520 | 540 | c | C | HackerEarth/Algorithms/special_shop.c | ukayaj620/cp-solution | 9871c753f17b6af612d4c7a9045afe079e30de86 | [
"Apache-2.0"
] | 1 | 2021-01-30T07:48:30.000Z | 2021-01-30T07:48:30.000Z | HackerEarth/Algorithms/special_shop.c | FXLJA/cp-solution | 29030838a66cddc594280e3c813252877a1afc7b | [
"Apache-2.0"
] | 1 | 2021-07-12T11:31:11.000Z | 2021-07-12T11:31:11.000Z | HackerEarth/Algorithms/special_shop.c | FXLJA/cp-solution | 29030838a66cddc594280e3c813252877a1afc7b | [
"Apache-2.0"
] | 6 | 2020-12-20T14:31:30.000Z | 2021-07-16T04:09:35.000Z | #include <stdio.h>
#include <math.h>
#define ll long long int
ll findMinimumCost(ll n, ll a, ll b) {
ll average = (b * n) / (a + b);
ll firstAttempt = a * pow(average, 2) + b * pow((n-average), 2);
average += 1;
ll secondAttempt = a * pow(average, 2) + b * pow((n-average), 2);
return firstAttempt < sec... | 19.285714 | 69 | 0.566667 |
ab80e66bb6e28b717d0cc4b06f155b88080c9e63 | 1,502 | h | C | include/votca/csg/beadlist.h | Pallavi-Banerjee21/votca.csg | d88977b0bec6159b567871d8901f990120a6f2e4 | [
"Apache-2.0"
] | null | null | null | include/votca/csg/beadlist.h | Pallavi-Banerjee21/votca.csg | d88977b0bec6159b567871d8901f990120a6f2e4 | [
"Apache-2.0"
] | null | null | null | include/votca/csg/beadlist.h | Pallavi-Banerjee21/votca.csg | d88977b0bec6159b567871d8901f990120a6f2e4 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2009-2011 The VOTCA Development Team (http://www.votca.org)
*
* 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
*
* Unl... | 24.622951 | 99 | 0.698402 |
61cb91224680053dff4eccb4d1369af21e8ad1d6 | 23,631 | h | C | src/rsyn/phy/obj/impl/PhysicalDesign.h | rsyn/rsyn.design | 99dc1241ef523c416be2617c7c7bdd3eec15413f | [
"Apache-2.0"
] | null | null | null | src/rsyn/phy/obj/impl/PhysicalDesign.h | rsyn/rsyn.design | 99dc1241ef523c416be2617c7c7bdd3eec15413f | [
"Apache-2.0"
] | null | null | null | src/rsyn/phy/obj/impl/PhysicalDesign.h | rsyn/rsyn.design | 99dc1241ef523c416be2617c7c7bdd3eec15413f | [
"Apache-2.0"
] | null | null | null | /* Copyright 2014-2017 Rsyn
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | 37.628981 | 134 | 0.568448 |
610b5af9d7744659a3c9aad1da814d9daaf3eeec | 18,973 | c | C | src/kbkdf.c | Zontec/embedCrypto | 229242db4f18a429ddb01ce86a3c0be28b35d46a | [
"MIT"
] | 3 | 2021-07-26T17:07:34.000Z | 2021-10-04T12:00:20.000Z | src/kbkdf.c | polina-krukovich/mbedCrypto | 229242db4f18a429ddb01ce86a3c0be28b35d46a | [
"MIT"
] | 9 | 2021-09-21T14:15:27.000Z | 2021-09-21T15:42:41.000Z | src/kbkdf.c | polina-krukovich/mbedCrypto | 229242db4f18a429ddb01ce86a3c0be28b35d46a | [
"MIT"
] | 2 | 2021-09-01T15:48:30.000Z | 2021-09-01T16:51:43.000Z | /****************************INFORMATION***********************************
* Copyright (c) 2021 Zontec
* Email: dehibeo@gmail.com
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without re... | 33.580531 | 118 | 0.576609 |
1987b0395be4ae6cc4ca6a81104931010dc441e8 | 688 | h | C | include/org_wasmer_Memory.h | Superice666/wasmer-java | 06439ecfe09c7464fe08d0de47df7a1506910b97 | [
"MIT"
] | 218 | 2020-09-06T19:58:26.000Z | 2022-03-31T08:06:36.000Z | include/org_wasmer_Memory.h | Superice666/wasmer-java | 06439ecfe09c7464fe08d0de47df7a1506910b97 | [
"MIT"
] | 24 | 2020-09-03T14:44:10.000Z | 2022-03-19T08:10:59.000Z | include/org_wasmer_Memory.h | Superice666/wasmer-java | 06439ecfe09c7464fe08d0de47df7a1506910b97 | [
"MIT"
] | 21 | 2020-10-09T04:56:13.000Z | 2022-03-07T20:44:52.000Z | /* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class org_wasmer_Memory */
#ifndef _Included_org_wasmer_Memory
#define _Included_org_wasmer_Memory
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: org_wasmer_Memory
* Method: nativeMemoryView
* Signature: (Lorg/wasmer/Mem... | 22.933333 | 62 | 0.747093 |
e5ded3ad7e1bd8e6570bc09ac12954da200ead5a | 1,523 | h | C | DrunkEngine/ModuleEventSystem.h | MarcFly/Fly3D-Engine | e8da09a63c7c3d991b8f25c346798ee230593e78 | [
"Unlicense"
] | null | null | null | DrunkEngine/ModuleEventSystem.h | MarcFly/Fly3D-Engine | e8da09a63c7c3d991b8f25c346798ee230593e78 | [
"Unlicense"
] | 3 | 2018-09-27T17:00:14.000Z | 2018-12-19T13:30:25.000Z | DrunkEngine/ModuleEventSystem.h | MarcFly/Fly3D-Engine | e8da09a63c7c3d991b8f25c346798ee230593e78 | [
"Unlicense"
] | null | null | null | #ifndef _MODULE_EVENTSYSTEM_H_
#define _MODULE_EVENTSYSTEM_H_
#include "Module.h"
class GameObject;
class Bone;
enum EventType
{
GameObject_Detroyed,
Play,
Pause,
Unpause,
Stop,
Window_Resize,
Camera_Modified,
File_Dropped,
Transform_Updated,
Update_Cam_Focus,
Bone_Updated,
NULL_Event
};
struct Event
{
... | 14.367925 | 106 | 0.697308 |
0f3400a0776995198b5035020ed790ec2e086532 | 633 | h | C | MoreiTunesConnect_iOS/Utils/Public/MTCHeader.h | yoimhere/MoreiTunesConnect_iOS | 9a69b79ddb8fee06f8370b086dea8e9f3ed467b3 | [
"MIT"
] | 1 | 2018-06-08T08:18:33.000Z | 2018-06-08T08:18:33.000Z | MoreiTunesConnect_iOS/Utils/Public/MTCHeader.h | yoimhere/MoreiTunesConnect_iOS | 9a69b79ddb8fee06f8370b086dea8e9f3ed467b3 | [
"MIT"
] | null | null | null | MoreiTunesConnect_iOS/Utils/Public/MTCHeader.h | yoimhere/MoreiTunesConnect_iOS | 9a69b79ddb8fee06f8370b086dea8e9f3ed467b3 | [
"MIT"
] | null | null | null | //
// MTCHeader.h
// MoreiTunes
//
// Created by Dwang on 2018/1/17.
// Copyright © 2018年 CoderDwang. All rights reserved.
//
#ifndef MTCHeader_h
#define MTCHeader_h
/** 其它 */
#import <YYCategories.h>
#import <DWCategoryKit.h>
#import "MTCSqlManager.h"
#import "MTCAccountModel.h"
#import "NSString+MTCExtenison.h"... | 18.085714 | 54 | 0.701422 |
66e202238b174d04c4a3067dbae7c0445a796856 | 4,012 | c | C | algorithms/backtracking/knight_tour.c | kruztev/FMI-DSA | f509dba6cd95792ec9c4c9ad55620a3dc06c6602 | [
"MIT"
] | 24 | 2017-12-21T13:57:34.000Z | 2021-12-08T01:12:32.000Z | algorithms/backtracking/knight_tour.c | kruztev/FMI-DSA | f509dba6cd95792ec9c4c9ad55620a3dc06c6602 | [
"MIT"
] | 28 | 2018-11-01T23:34:08.000Z | 2019-10-07T17:42:54.000Z | algorithms/backtracking/knight_tour.c | kruztev/FMI-DSA | f509dba6cd95792ec9c4c9ad55620a3dc06c6602 | [
"MIT"
] | 4 | 2018-04-24T19:28:51.000Z | 2020-07-19T14:06:23.000Z | /*******************************************************************************
* This file is part of the "Data structures and algorithms" course. FMI 2018/19
*******************************************************************************/
/**
* @file knight_tour.c
* @author Ivan Filipov
* @date 01.2019
*... | 28.055944 | 85 | 0.617149 |
c79b3c39cbd2c96940021c0f6351e52bad4cfe74 | 1,047 | h | C | includes/ReSDL/Texture.h | astahl/residual | f31bf2dfb46c34de9fdbaddf9360679bcb1cdf91 | [
"MIT"
] | null | null | null | includes/ReSDL/Texture.h | astahl/residual | f31bf2dfb46c34de9fdbaddf9360679bcb1cdf91 | [
"MIT"
] | null | null | null | includes/ReSDL/Texture.h | astahl/residual | f31bf2dfb46c34de9fdbaddf9360679bcb1cdf91 | [
"MIT"
] | null | null | null | namespace ReSDL {
struct Texture
{
sdl_handle<SDL_Texture> handle;
Uint32 format = 0;
int access = 0;
ReSDL::Size size{};
Texture(Renderer& renderer,
SDL_PixelFormatEnum format,
int access,
int w,
int h)
: handle(SDL_CreateTexture(renderer.handle.get(), forma... | 21.367347 | 106 | 0.657116 |
9c261e615b98c2882d866afa1d4b857d8330a057 | 12,595 | c | C | contrib/ldns/compat/b32_pton.c | ivadasz/DragonFlyBSD | 460227f342554313be3c7728ff679dd4a556cce9 | [
"BSD-3-Clause"
] | 3 | 2017-03-06T14:12:57.000Z | 2019-11-23T09:35:10.000Z | contrib/ldns/compat/b32_pton.c | jorisgio/DragonFlyBSD | d37cc9027d161f3e36bf2667d32f41f87606b2ac | [
"BSD-3-Clause"
] | null | null | null | contrib/ldns/compat/b32_pton.c | jorisgio/DragonFlyBSD | d37cc9027d161f3e36bf2667d32f41f87606b2ac | [
"BSD-3-Clause"
] | 1 | 2021-06-08T15:59:26.000Z | 2021-06-08T15:59:26.000Z | /*
* Copyright (c) 1996, 1998 by Internet Software Consortium.
*
* Permission to use, copy, modify, and 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 IS... | 32.46134 | 117 | 0.628027 |
a7ec87621114a66bb7e5dd71b7d6dd304069ba4f | 1,438 | h | C | System/Library/PrivateFrameworks/HealthDaemon.framework/_HDDataEntityEncoder.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | 2 | 2021-11-02T09:23:27.000Z | 2022-03-28T08:21:57.000Z | System/Library/PrivateFrameworks/HealthDaemon.framework/_HDDataEntityEncoder.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | null | null | null | System/Library/PrivateFrameworks/HealthDaemon.framework/_HDDataEntityEncoder.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | 1 | 2022-03-28T08:21:59.000Z | 2022-03-28T08:21:59.000Z | /*
* This header is generated by classdump-dyld 1.5
* on Wednesday, October 27, 2021 at 3:17:56 PM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/PrivateFrameworks/HealthD... | 46.387097 | 167 | 0.723922 |
d5da6273d51f2cf3a60ef06ccdf731b419ab9e22 | 336 | c | C | src/mx_sort_file.c | agrabchak/ULS | 7a0b9890ec852691d4fc0ad41e426eee02beaf3d | [
"MIT"
] | null | null | null | src/mx_sort_file.c | agrabchak/ULS | 7a0b9890ec852691d4fc0ad41e426eee02beaf3d | [
"MIT"
] | null | null | null | src/mx_sort_file.c | agrabchak/ULS | 7a0b9890ec852691d4fc0ad41e426eee02beaf3d | [
"MIT"
] | null | null | null | #include "uls.h"
void mx_sort_file(char **str, int size) {
for (int i = 1; i < size; i++) {
for (int j = 0; j < size - i; j++) {
if (mx_strcmp(str[j], str[j + 1]) > 0) {
char *tmp = str[j];
str[j] = str[j + 1];
str[j + 1] = tmp;
}
... | 21 | 52 | 0.354167 |
70917734ea8225846f9350789d15a3e3912fc3ac | 246 | h | C | openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/systemd/1_242+AUTOINC+db2e367bfc-r0/git/src/network/netdev/netdevsim.h | sotaoverride/backup | ca53a10b72295387ef4948a9289cb78ab70bc449 | [
"Apache-2.0"
] | null | null | null | openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/systemd/1_242+AUTOINC+db2e367bfc-r0/git/src/network/netdev/netdevsim.h | sotaoverride/backup | ca53a10b72295387ef4948a9289cb78ab70bc449 | [
"Apache-2.0"
] | null | null | null | openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/systemd/1_242+AUTOINC+db2e367bfc-r0/git/src/network/netdev/netdevsim.h | sotaoverride/backup | ca53a10b72295387ef4948a9289cb78ab70bc449 | [
"Apache-2.0"
] | null | null | null | /* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
typedef struct NetDevSim NetDevSim;
#include "netdev/netdev.h"
struct NetDevSim
{
NetDev meta;
};
DEFINE_NETDEV_CAST(NETDEVSIM, NetDevSim);
extern const NetDevVTable netdevsim_vtable;
| 16.4 | 43 | 0.764228 |
b603bd8c067af77db2858851158e73a92a153f6b | 5,586 | h | C | libtensor/gen_block_tensor/gen_block_tensor_ctrl.h | maxscheurer/libtensor | 288ed0596b24356d187d2fa40c05b0dacd00b413 | [
"BSL-1.0"
] | 33 | 2016-02-08T06:05:17.000Z | 2021-11-17T01:23:11.000Z | libtensor/gen_block_tensor/gen_block_tensor_ctrl.h | maxscheurer/libtensor | 288ed0596b24356d187d2fa40c05b0dacd00b413 | [
"BSL-1.0"
] | 11 | 2020-12-04T20:26:12.000Z | 2021-12-03T08:07:09.000Z | libtensor/gen_block_tensor/gen_block_tensor_ctrl.h | maxscheurer/libtensor | 288ed0596b24356d187d2fa40c05b0dacd00b413 | [
"BSL-1.0"
] | 12 | 2016-05-19T18:09:38.000Z | 2021-02-24T17:35:21.000Z | #ifndef LIBTENSOR_GEN_BLOCK_TENSOR_CTRL_H
#define LIBTENSOR_GEN_BLOCK_TENSOR_CTRL_H
#include "gen_block_tensor_i.h"
namespace libtensor {
/** \brief Generalized block tensor control (base)
\tparam N Tensor order.
\tparam BtiTraits Block tensor interface traits.
\sa gen_block_tensor_rd_ctrl, gen_block_t... | 27.382353 | 78 | 0.693699 |
7ebc43571eaaf46eea8065b3913642cb700e33fd | 2,712 | h | C | src/core/configuration.h | tofuengine/tofu | b258b777ff26e8b095184fab5909c675d6ec559c | [
"MIT"
] | 27 | 2020-01-09T05:56:40.000Z | 2022-03-29T11:48:17.000Z | src/core/configuration.h | tofuengine/tofu | b258b777ff26e8b095184fab5909c675d6ec559c | [
"MIT"
] | 1 | 2021-04-25T01:06:18.000Z | 2021-07-11T19:33:05.000Z | src/core/configuration.h | tofuengine/tofu | b258b777ff26e8b095184fab5909c675d6ec559c | [
"MIT"
] | 2 | 2021-04-01T20:51:31.000Z | 2021-04-22T13:34:31.000Z | /*
* MIT License
*
* Copyright (c) 2019-2021 Marco Lizza
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... | 31.534884 | 111 | 0.695059 |
0193d0265399977579622a095ecdd4a13b80037e | 1,179 | c | C | ext/ov_xml_module.c | oliel/python-ovirt-engine-sdk4 | c0b13982b45dee664ebc063bda7686124b402c14 | [
"Apache-2.0"
] | 3 | 2022-01-14T00:37:58.000Z | 2022-03-26T12:26:32.000Z | ext/ov_xml_module.c | oliel/python-ovirt-engine-sdk4 | c0b13982b45dee664ebc063bda7686124b402c14 | [
"Apache-2.0"
] | 29 | 2021-07-20T12:42:44.000Z | 2022-03-28T13:01:33.000Z | ext/ov_xml_module.c | oliel/python-ovirt-engine-sdk4 | c0b13982b45dee664ebc063bda7686124b402c14 | [
"Apache-2.0"
] | 12 | 2021-07-20T12:27:07.000Z | 2022-02-24T11:10:12.000Z | /*
Copyright (c) 2016 Red Hat, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software... | 26.2 | 72 | 0.704835 |
0bbe7b5277bd716b3ecb14e9c8f32dca8546a6aa | 1,174 | h | C | System/Library/PrivateFrameworks/ReminderKit.framework/REMReminderFetchMetadata.h | zhangkn/iOS14Header | 4323e9459ed6f6f5504ecbea2710bfd6c3d7c946 | [
"MIT"
] | 1 | 2020-11-04T15:43:01.000Z | 2020-11-04T15:43:01.000Z | System/Library/PrivateFrameworks/ReminderKit.framework/REMReminderFetchMetadata.h | zhangkn/iOS14Header | 4323e9459ed6f6f5504ecbea2710bfd6c3d7c946 | [
"MIT"
] | null | null | null | System/Library/PrivateFrameworks/ReminderKit.framework/REMReminderFetchMetadata.h | zhangkn/iOS14Header | 4323e9459ed6f6f5504ecbea2710bfd6c3d7c946 | [
"MIT"
] | null | null | null | /*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:41:51 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/ReminderKit.framework/ReminderKit
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by... | 34.529412 | 146 | 0.762351 |
9a245b40763d74027692883f62d64a7128524a52 | 2,193 | h | C | Modules/Oculus/RNOculusWindow.h | uberpixel/Rayne | 94f601561aedfc3200e67ff9522f64fbc5ca4d8c | [
"MIT"
] | 13 | 2020-08-08T11:57:05.000Z | 2022-03-10T17:29:19.000Z | Modules/Oculus/RNOculusWindow.h | uberpixel/Rayne | 94f601561aedfc3200e67ff9522f64fbc5ca4d8c | [
"MIT"
] | 1 | 2022-03-10T17:35:28.000Z | 2022-03-10T18:21:57.000Z | Modules/Oculus/RNOculusWindow.h | uberpixel/Rayne | 94f601561aedfc3200e67ff9522f64fbc5ca4d8c | [
"MIT"
] | 3 | 2020-08-08T14:22:34.000Z | 2021-05-15T21:12:17.000Z | //
// RNOculusWindow.h
// Rayne-Oculus
//
// Copyright 2017 by Überpixel. All rights reserved.
// Unauthorized use is punishable by torture, mutilation, and vivisection.
//
#ifndef __RAYNE_OCULUSWINDOW_H_
#define __RAYNE_OCULUSWINDOW_H_
#include "RNOculus.h"
#include "RNVRWindow.h"
namespace RN
{
... | 30.887324 | 133 | 0.766074 |
cc68e42b3aeb84244e359378b414d87a95bd1b76 | 3,469 | c | C | test.c | BondWong/barrier | 7ee20d2fe49d0be85f232ee978650c956f4a6b7a | [
"Apache-2.0"
] | null | null | null | test.c | BondWong/barrier | 7ee20d2fe49d0be85f232ee978650c956f4a6b7a | [
"Apache-2.0"
] | null | null | null | test.c | BondWong/barrier | 7ee20d2fe49d0be85f232ee978650c956f4a6b7a | [
"Apache-2.0"
] | null | null | null | #include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/time.h>
#include <time.h>
#include <unistd.h>
#include "test.h"
#define MICROSECOND 1000000L
void fast_barriers(void (*barrier)(void),
size_t num_barriers,
struct timeval *arrive,
struct... | 28.434426 | 76 | 0.542808 |
350314b956daac12614f53ca4a2a81c7d3ae3514 | 1,964 | h | C | EventTracing/TdhWrapper.h | jaeger25/EventTracing | 1ee1f8df0893eb4a725b862f103671daf68b3449 | [
"MIT"
] | 2 | 2019-06-16T03:39:20.000Z | 2020-06-16T14:22:29.000Z | EventTracing/TdhWrapper.h | jaeger25/EventTracing | 1ee1f8df0893eb4a725b862f103671daf68b3449 | [
"MIT"
] | null | null | null | EventTracing/TdhWrapper.h | jaeger25/EventTracing | 1ee1f8df0893eb4a725b862f103671daf68b3449 | [
"MIT"
] | null | null | null | #pragma once
namespace winrt::FourShot::EventTracing
{
struct TdhWrapper
{
static
TDHSTATUS
TdhFormatProperty_Wrap(
_In_ HINSTANCE tdhLibHandle,
_In_ PTRACE_EVENT_INFO EventInfo,
_In_opt_ PEVENT_MAP_INFO MapInfo,
_In_ ULONG PointerSize,
... | 34.45614 | 82 | 0.643075 |
0099d4ca880c177dbe71111dfb3373bbf6995fe6 | 1,067 | h | C | Framework/Network/Inc/ObjectFactory.h | amyrhzhao/CooEngine | 8d467cc53fd8fe3806d726cfe4d7482ad0aca06a | [
"MIT"
] | 3 | 2020-07-23T02:50:11.000Z | 2020-10-20T14:49:40.000Z | Framework/Network/Inc/ObjectFactory.h | amyrhzhao/CooEngine | 8d467cc53fd8fe3806d726cfe4d7482ad0aca06a | [
"MIT"
] | null | null | null | Framework/Network/Inc/ObjectFactory.h | amyrhzhao/CooEngine | 8d467cc53fd8fe3806d726cfe4d7482ad0aca06a | [
"MIT"
] | null | null | null | #ifndef INCLUDED_COOENGINE_NETWORK_OBJECTFACTORY_H
#define INCLUDED_COOENGINE_NETWORK_OBJECTFACTORY_H
#include "Common.h"
// Macro to add Runtime-Type-Information
#define RTTI(ClassName)\
static std::string GetTypeName() { return #ClassName; }\
static std::size_t GetTypeId() { return std::hash<std::string>{}(... | 23.711111 | 84 | 0.684161 |
28e363660341dc5980412ec91b47cfae292da781 | 1,705 | h | C | lpp/core/exception.h | stefan-wolfsheimer/LispPlusPlus | f99612ef859b6a2b94cff26b386b11bcbfc299bd | [
"BSL-1.0",
"MIT"
] | null | null | null | lpp/core/exception.h | stefan-wolfsheimer/LispPlusPlus | f99612ef859b6a2b94cff26b386b11bcbfc299bd | [
"BSL-1.0",
"MIT"
] | null | null | null | lpp/core/exception.h | stefan-wolfsheimer/LispPlusPlus | f99612ef859b6a2b94cff26b386b11bcbfc299bd | [
"BSL-1.0",
"MIT"
] | null | null | null | #pragma once
#include <exception>
#include <lpp/core/object.h>
#include <lpp/core/exception.h>
namespace Lisp
{
class Function;
class Exception : public std::exception
{
public:
virtual const char * what() const noexcept override;
};
class ExceptionWithObject : public Exception
{
public:
Exce... | 20.297619 | 67 | 0.651613 |
93ebff5a4c42e309693fcb7599fe0acb9425f72b | 647 | h | C | src/sector_allocator.h | Conservify/phylum | c091e84cf6b5ae1760c086f73731c7180afb58f0 | [
"BSD-3-Clause"
] | 10 | 2019-11-26T11:35:56.000Z | 2021-07-03T07:21:38.000Z | src/sector_allocator.h | conservify/phylum | 9e81f86d1ee1c4a1625182ca96296fa216063831 | [
"BSD-3-Clause"
] | 1 | 2019-07-03T06:27:21.000Z | 2019-09-06T09:21:27.000Z | src/sector_allocator.h | conservify/phylum | 9e81f86d1ee1c4a1625182ca96296fa216063831 | [
"BSD-3-Clause"
] | 1 | 2019-09-23T18:13:51.000Z | 2019-09-23T18:13:51.000Z | #pragma once
#include "dhara_map.h"
namespace phylum {
class sector_allocator {
private:
sector_map §ors_;
dhara_sector_t counter_{ 0 };
public:
sector_allocator(sector_map §ors) : sectors_(sectors) {
}
public:
int32_t begin() {
counter_ = sectors_.size() + 1;
return 0;... | 17.486486 | 68 | 0.622875 |
a3871af05878995694186706cd2ee0dd1f120075 | 253 | h | C | client/ios/notepad/notepad/Controllers/Authenticated/SharedNoteDetailsViewController.h | SuperTanker/tanker-ui-demos | 668d2df79bfc508cdab7dfc91ea170cd284a382b | [
"Apache-2.0"
] | 12 | 2018-11-06T16:33:20.000Z | 2022-03-05T00:45:41.000Z | client/ios/notepad/notepad/Controllers/Authenticated/SharedNoteDetailsViewController.h | TankerHQ/quickstart-examples | 668d2df79bfc508cdab7dfc91ea170cd284a382b | [
"Apache-2.0"
] | 8 | 2020-03-17T17:50:50.000Z | 2021-12-24T11:13:04.000Z | client/ios/notepad/notepad/Controllers/Authenticated/SharedNoteDetailsViewController.h | SuperTanker/tanker-ui-demos | 668d2df79bfc508cdab7dfc91ea170cd284a382b | [
"Apache-2.0"
] | 1 | 2020-01-07T09:58:06.000Z | 2020-01-07T09:58:06.000Z | #import "AuthenticatedViewController.h"
#import "NoteTableViewItem.h"
NS_ASSUME_NONNULL_BEGIN
@interface SharedNoteDetailsViewController : AuthenticatedViewController
@property(strong, nonatomic) NoteTableViewItem* note;
@end
NS_ASSUME_NONNULL_END
| 19.461538 | 72 | 0.853755 |
a2267c17059578c6c6b1fffba7368ea05afa9519 | 1,406 | h | C | AliPayForDebug/AliPayForDebug/AlipayWallet_Headers/APSocialNoticeDisplayView.h | ceekay1991/AliPayForDebug | 5795e5db31e5b649d4758469b752585e63e84d94 | [
"MIT"
] | 5 | 2020-03-29T12:08:37.000Z | 2021-05-26T05:20:11.000Z | AliPayForDebug/AliPayForDebug/AlipayWallet_Headers/APSocialNoticeDisplayView.h | ceekay1991/AliPayForDebug | 5795e5db31e5b649d4758469b752585e63e84d94 | [
"MIT"
] | null | null | null | AliPayForDebug/AliPayForDebug/AlipayWallet_Headers/APSocialNoticeDisplayView.h | ceekay1991/AliPayForDebug | 5795e5db31e5b649d4758469b752585e63e84d94 | [
"MIT"
] | 5 | 2020-04-17T03:24:04.000Z | 2022-03-30T05:42:17.000Z | //
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <UIKit/UIView.h>
@class APSocialNoticeContentView, MFAttributeLabel, UIImageView, UILabel;
@interface APSocialNoticeDisplayVi... | 35.15 | 108 | 0.770982 |
d24cbcc309519932e0a6ab38fbdc4bd27fa6a5f5 | 3,041 | c | C | CSAPP/chapter08/homework/shell/job.c | KaiserLancelot/Computer-Theory-Learning | f0787140c444ff38ff3a6896895360d3b8c1b8d0 | [
"MIT"
] | 4 | 2019-04-24T02:17:37.000Z | 2020-03-24T16:33:28.000Z | CSAPP/chapter08/homework/shell/job.c | KaiserLancelot/Computer-Theory-Learning | f0787140c444ff38ff3a6896895360d3b8c1b8d0 | [
"MIT"
] | null | null | null | CSAPP/chapter08/homework/shell/job.c | KaiserLancelot/Computer-Theory-Learning | f0787140c444ff38ff3a6896895360d3b8c1b8d0 | [
"MIT"
] | 1 | 2019-03-09T09:41:02.000Z | 2019-03-09T09:41:02.000Z | //
// Created by kaiser on 19-4-22.
//
#include "job.h"
static volatile sig_atomic_t fg_pid;
static volatile Job jobs[MAXJOBS];
static volatile size_t jobs_index;
static volatile int jid_counter;
static bool NoOtherProcess() { return fg_pid == 0; }
bool IsFgPid(pid_t pid) { return fg_pid == pid; }
pid_t GetFgPid()... | 21.877698 | 78 | 0.594212 |
cfa0851429dfe076f852c09d919da588974ab4b6 | 60,916 | h | C | polly/lib/External/isl/include/isl/aff.h | acidburn0zzz/llvm-project | 7ca7a2547f00e34f5ec91be776a1d0bbca74b7a9 | [
"Apache-2.0"
] | 2 | 2019-04-11T16:25:43.000Z | 2020-12-09T10:22:01.000Z | polly/lib/External/isl/include/isl/aff.h | acidburn0zzz/llvm-project | 7ca7a2547f00e34f5ec91be776a1d0bbca74b7a9 | [
"Apache-2.0"
] | null | null | null | polly/lib/External/isl/include/isl/aff.h | acidburn0zzz/llvm-project | 7ca7a2547f00e34f5ec91be776a1d0bbca74b7a9 | [
"Apache-2.0"
] | null | null | null | #ifndef ISL_AFF_H
#define ISL_AFF_H
#include <isl/stdint.h>
#include <isl/local_space.h>
#include <isl/printer.h>
#include <isl/id_type.h>
#include <isl/set_type.h>
#include <isl/aff_type.h>
#include <isl/list.h>
#include <isl/multi.h>
#include <isl/union_set_type.h>
#include <isl/val_type.h>
#include <isl/point.h>
#... | 41.271003 | 81 | 0.861728 |
19267572b4b3ce7e163ea184fb07e71f28419463 | 938 | h | C | src/plugins/opencv/bspline.h | martin-pr/possumwood | 0ee3e0fe13ef27cf14795a79fb497e4d700bef63 | [
"MIT"
] | 232 | 2017-10-09T11:45:28.000Z | 2022-03-28T11:14:46.000Z | src/plugins/opencv/bspline.h | LIUJUN-liujun/possumwood | 745e48eb44450b0b7f078ece81548812ab1ccc63 | [
"MIT"
] | 26 | 2019-01-20T21:38:25.000Z | 2021-10-16T03:57:17.000Z | src/plugins/opencv/bspline.h | LIUJUN-liujun/possumwood | 745e48eb44450b0b7f078ece81548812ab1ccc63 | [
"MIT"
] | 33 | 2017-10-26T19:20:38.000Z | 2022-03-16T11:21:43.000Z | #pragma once
#include <array>
#include <functional>
#include <opencv2/opencv.hpp>
namespace possumwood {
namespace opencv {
template <unsigned DEGREE>
class BSpline {
public:
BSpline(unsigned subdiv, const std::array<double, DEGREE>& min = initArray(0.0),
const std::array<double, DEGREE>& max = initArray... | 26.055556 | 81 | 0.717484 |
c566fdf20840348424ed6c5c9f1dd292e87b5d12 | 4,138 | c | C | src/util/utf8.c | cschlack/libgit2 | 63970244fb2d49794e7b5d268a2defe4299fd3ad | [
"CC0-1.0"
] | 2 | 2016-02-26T16:36:30.000Z | 2019-11-13T17:58:03.000Z | src/util/utf8.c | cschlack/libgit2 | 63970244fb2d49794e7b5d268a2defe4299fd3ad | [
"CC0-1.0"
] | 3 | 2015-01-17T15:10:29.000Z | 2016-03-23T21:26:46.000Z | src/util/utf8.c | cschlack/libgit2 | 63970244fb2d49794e7b5d268a2defe4299fd3ad | [
"CC0-1.0"
] | 5 | 2015-01-15T15:55:45.000Z | 2021-12-15T00:44:15.000Z | /*
* Copyright (C) the libgit2 contributors. All rights reserved.
*
* This file is part of libgit2, distributed under the GNU GPL v2 with
* a Linking Exception. For full terms see the included COPYING file.
*/
#include "utf8.h"
#include "git2_util.h"
/*
* git_utf8_iterate is taken from the utf8proc project,
*... | 27.403974 | 79 | 0.594973 |
6813ea2dd0a4c578f90ac7fb7d38eb1d86d57ec4 | 3,403 | h | C | pigram/SignalServiceKit/src/Contacts/SignalRecipient.h | Carrot20190925/IM | bc0b7aedbe1fa1ee69646fed09ba57849735352d | [
"Apache-2.0"
] | null | null | null | pigram/SignalServiceKit/src/Contacts/SignalRecipient.h | Carrot20190925/IM | bc0b7aedbe1fa1ee69646fed09ba57849735352d | [
"Apache-2.0"
] | null | null | null | pigram/SignalServiceKit/src/Contacts/SignalRecipient.h | Carrot20190925/IM | bc0b7aedbe1fa1ee69646fed09ba57849735352d | [
"Apache-2.0"
] | null | null | null | //
// Copyright (c) 2019 Open Whisper Systems. All rights reserved.
//
#import "BaseModel.h"
NS_ASSUME_NONNULL_BEGIN
@class SDSAnyReadTransaction;
@class SDSAnyWriteTransaction;
@class SignalServiceAddress;
/// SignalRecipient serves two purposes:
///
/// a) It serves as a cache of "known" Signal accounts. When t... | 42.5375 | 124 | 0.72583 |
10b94fc3ea78713b9821a1c41a0349fa98de8a5c | 245 | c | C | regression/ansi-c/Array_Declarator2/main.c | mauguignard/cbmc | 70cfdd5d7c62d47269bae2277ff89a9ce66ff0b5 | [
"BSD-4-Clause"
] | 412 | 2016-04-02T01:14:27.000Z | 2022-03-27T09:24:09.000Z | regression/ansi-c/Array_Declarator2/main.c | mauguignard/cbmc | 70cfdd5d7c62d47269bae2277ff89a9ce66ff0b5 | [
"BSD-4-Clause"
] | 4,671 | 2016-02-25T13:52:16.000Z | 2022-03-31T22:14:46.000Z | regression/ansi-c/Array_Declarator2/main.c | mauguignard/cbmc | 70cfdd5d7c62d47269bae2277ff89a9ce66ff0b5 | [
"BSD-4-Clause"
] | 266 | 2016-02-23T12:48:00.000Z | 2022-03-22T18:15:51.000Z | // Tests a parsing issue regarding array declarators, see Array_Declarator1
// parsing should fail, e.g., gcc says
// error: ‘[*]’ not allowed in other than function prototype scope
void fooStar(int x[*])
{
}
int main(void)
{
return 0;
}
| 17.5 | 75 | 0.693878 |
43935772252d2c11196b4eb7abb6b9052fcdae48 | 14,584 | c | C | Library/OcAppleRamDiskLib/OcAppleRamDiskLib.c | mrmiller/OcSupportPkg | b63d512b618ddb48f8cbdb50cecf73346639f90f | [
"BSD-3-Clause"
] | 2 | 2021-09-16T22:04:18.000Z | 2021-11-18T16:58:41.000Z | Library/OcAppleRamDiskLib/OcAppleRamDiskLib.c | Goldfish64/OcSupportPkg | a38b7390026fa8f5da7a4f37757a9547c5ba3f95 | [
"BSD-3-Clause"
] | null | null | null | Library/OcAppleRamDiskLib/OcAppleRamDiskLib.c | Goldfish64/OcSupportPkg | a38b7390026fa8f5da7a4f37757a9547c5ba3f95 | [
"BSD-3-Clause"
] | null | null | null | /** @file
Apple RAM Disk library.
Copyright (C) 2019, Download-Fritz. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available
under the terms and conditions of the BSD License which accompanies this
distribution. The full text of the license may be found at
http://opens... | 28.540117 | 94 | 0.647833 |
43f680a393ff15c54a5be276a44c36b3847850c8 | 1,512 | h | C | wallet/laser/connection.h | Atomisfoundation/beam | 6b503b4c4f9a69973db74be08fef98c6c5a869de | [
"Apache-2.0"
] | 2 | 2020-03-11T09:10:10.000Z | 2020-04-17T13:45:08.000Z | wallet/laser/connection.h | Atomisfoundation/beam | 6b503b4c4f9a69973db74be08fef98c6c5a869de | [
"Apache-2.0"
] | null | null | null | wallet/laser/connection.h | Atomisfoundation/beam | 6b503b4c4f9a69973db74be08fef98c6c5a869de | [
"Apache-2.0"
] | null | null | null | // Copyright 2019 The Beam Team
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | 30.24 | 75 | 0.714286 |
a2c9264691f84ccd2450c8ad42e112ee47238a56 | 246 | h | C | Example/HYLogEngine/HYDemoConfiger.h | knighthb/HYLogEngine | 080772cab9fdca5919ab21048794bafaec0b71ce | [
"MIT"
] | null | null | null | Example/HYLogEngine/HYDemoConfiger.h | knighthb/HYLogEngine | 080772cab9fdca5919ab21048794bafaec0b71ce | [
"MIT"
] | null | null | null | Example/HYLogEngine/HYDemoConfiger.h | knighthb/HYLogEngine | 080772cab9fdca5919ab21048794bafaec0b71ce | [
"MIT"
] | null | null | null | //
// HYDemoConfiger.h
// HYLogEngine
//
// Created by knight on 16/3/28.
// Copyright © 2016年 knight. All rights reserved.
//
#import <HYLogEngine/HYLogEngine.h>
#import "HYLogEngineHeader.h"
@interface HYDemoConfiger : HYLogConfiger
@end
| 17.571429 | 50 | 0.719512 |
3144d3543ed14317b4d0eb4bffe03af303292a11 | 1,284 | c | C | scripts/4_World/Classes/UserActionsComponent/Actions/Interact/ActionUnplugThisByCord.c | Da0ne/DayZCommunityOfflineMode | 77ebd221a877270e704c75bcc529a7b97c918f2e | [
"MIT"
] | 1 | 2018-11-07T18:38:15.000Z | 2018-11-07T18:38:15.000Z | SourceCode/scripts/4_World/Classes/UserActionsComponent/Actions/Interact/ActionUnplugThisByCord.c | DevulTj/DayZOfflineMode | 0ba7e58858c7cd62e6a08f451ba60a3961575353 | [
"MIT"
] | null | null | null | SourceCode/scripts/4_World/Classes/UserActionsComponent/Actions/Interact/ActionUnplugThisByCord.c | DevulTj/DayZOfflineMode | 0ba7e58858c7cd62e6a08f451ba60a3961575353 | [
"MIT"
] | null | null | null | class ActionUnplugThisByCord: ActionInteractBase
{
void ActionUnplugThisByCord()
{
m_MessageSuccess = "I've unplugged and folded the cord.";
m_MessageStart = "";
}
override int GetType()
{
return AT_UNPLUG_THIS_BY_CORD;
}
override string GetText()
{
return "unplug by cord";
}
override bool Action... | 24.226415 | 102 | 0.714174 |
39e82a47ff7a5793fd6a9cbc1137c2a73adfb678 | 1,872 | c | C | targets/TARGET_Realtek/TARGET_AMEBA/TARGET_MCU_RTL8195A/trng_api.c | pattyolanterns/mbed-os | f05af9a870580a0a81688e4d8f94cf72ca17a4d6 | [
"Apache-2.0"
] | 5 | 2020-02-18T00:32:15.000Z | 2021-08-02T06:16:48.000Z | targets/TARGET_Realtek/TARGET_AMEBA/TARGET_MCU_RTL8195A/trng_api.c | pattyolanterns/mbed-os | f05af9a870580a0a81688e4d8f94cf72ca17a4d6 | [
"Apache-2.0"
] | 12 | 2017-12-20T10:12:34.000Z | 2018-11-07T21:17:37.000Z | targets/TARGET_Realtek/TARGET_AMEBA/TARGET_MCU_RTL8195A/trng_api.c | pattyolanterns/mbed-os | f05af9a870580a0a81688e4d8f94cf72ca17a4d6 | [
"Apache-2.0"
] | 8 | 2020-01-21T08:44:01.000Z | 2020-03-12T04:50:28.000Z | /* mbed Microcontroller Library
* Copyright (c) 2013-2016 Realtek Semiconductor Corp.
*
* 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... | 24 | 77 | 0.641026 |
23251141a7d1d6b6f16bb0c13b1a505e890b68ad | 1,221 | h | C | dpdk/drivers/crypto/dpaa2_sec/dpaa2_sec_logs.h | muziding/jupiter | 1fd7df081f7b459ee5e951ff16ca1741f6c8e021 | [
"MIT"
] | 287 | 2017-12-17T14:48:00.000Z | 2022-03-28T06:12:07.000Z | dpdk/drivers/crypto/dpaa2_sec/dpaa2_sec_logs.h | Tominous/jupiter | 1fd7df081f7b459ee5e951ff16ca1741f6c8e021 | [
"MIT"
] | 18 | 2017-12-18T15:50:59.000Z | 2020-05-14T09:19:38.000Z | dpdk/drivers/crypto/dpaa2_sec/dpaa2_sec_logs.h | Tominous/jupiter | 1fd7df081f7b459ee5e951ff16ca1741f6c8e021 | [
"MIT"
] | 109 | 2017-12-19T03:42:09.000Z | 2022-03-25T11:25:39.000Z | /* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (c) 2016 Freescale Semiconductor, Inc. All rights reserved.
* Copyright 2016 NXP
*
*/
#ifndef _DPAA2_SEC_LOGS_H_
#define _DPAA2_SEC_LOGS_H_
#define PMD_INIT_LOG(level, fmt, args...) \
RTE_LOG(level, PMD, "%s(): " fmt "\n", __func__, ##args)
#ifdef RTE_... | 27.133333 | 74 | 0.690418 |
ea790983b6eb8325b3e3f9af7d1caa5240cd3535 | 18,441 | h | C | chrome/browser/autocomplete/base_search_provider.h | anirudhSK/chromium | a8f23c87e656ab9ba49de9ccccbc53f614cdcb41 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/autocomplete/base_search_provider.h | anirudhSK/chromium | a8f23c87e656ab9ba49de9ccccbc53f614cdcb41 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/autocomplete/base_search_provider.h | anirudhSK/chromium | a8f23c87e656ab9ba49de9ccccbc53f614cdcb41 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2015-04-17T13:19:09.000Z | 2021-10-21T12:55:15.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.
//
// This class contains common functionality for search-based autocomplete
// providers. Search provider and zero suggest provider both use it for common... | 41.721719 | 80 | 0.720297 |
267f200823085ab92b95316da74391a0f9d222c2 | 3,520 | c | C | medium/150_Evaluate_Reverse_Polish_Notation/150_Evaluate_Reverse_Polish_Notation.c | ZHANG-YU-CHENG/leetcode | 095ecda6cd36e55f65ce469a60a7b6ce4a349c55 | [
"MIT"
] | 2 | 2022-02-01T11:20:00.000Z | 2022-02-02T06:22:52.000Z | medium/150_Evaluate_Reverse_Polish_Notation/150_Evaluate_Reverse_Polish_Notation.c | ZHANG-YU-CHENG/leetcode | 095ecda6cd36e55f65ce469a60a7b6ce4a349c55 | [
"MIT"
] | null | null | null | medium/150_Evaluate_Reverse_Polish_Notation/150_Evaluate_Reverse_Polish_Notation.c | ZHANG-YU-CHENG/leetcode | 095ecda6cd36e55f65ce469a60a7b6ce4a349c55 | [
"MIT"
] | null | null | null | /**
* Evaluate the value of an arithmetic expression in Reverse Polish Notation.
* Valid operators are +, -, *, and /. Each operand may be an integer or another expression.
* Note that division between two integers should truncate toward zero.
* It is guaranteed that the given RPN expression is always valid.
* Th... | 25.693431 | 117 | 0.552273 |
1e5cd45c23b72b2a02425b5891f9dbc4835a00f8 | 209 | h | C | GPAZJU/UI/View/GZTranparentView.h | dongxinb/GPAZJU3.0 | df2c2369bc614eabd0e6085a982b8c44c1a527fa | [
"MIT"
] | 5 | 2016-11-22T01:44:08.000Z | 2018-04-22T13:08:14.000Z | GPAZJU/UI/View/GZTranparentView.h | dongxinb/GPAZJU3.0 | df2c2369bc614eabd0e6085a982b8c44c1a527fa | [
"MIT"
] | null | null | null | GPAZJU/UI/View/GZTranparentView.h | dongxinb/GPAZJU3.0 | df2c2369bc614eabd0e6085a982b8c44c1a527fa | [
"MIT"
] | null | null | null | //
// GZTranparentView.h
// GPAZJU
//
// Created by Xinbao Dong on 1/30/16.
// Copyright © 2016 com.dongxinbao. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface GZTranparentView : UIView
@end
| 14.928571 | 57 | 0.684211 |
9cf92125a5692fccba3f89a1c56d9d674b147456 | 1,787 | c | C | C_CPP/lib-pcap/grab1.c | egustafson/sandbox | 9804e966347b33558b0497a04edb1a591d2d7773 | [
"Apache-2.0"
] | 2 | 2019-09-27T21:25:26.000Z | 2019-12-29T11:26:54.000Z | C_CPP/lib-pcap/grab1.c | egustafson/sandbox | 9804e966347b33558b0497a04edb1a591d2d7773 | [
"Apache-2.0"
] | 7 | 2020-08-11T17:32:14.000Z | 2020-08-11T17:32:39.000Z | C_CPP/lib-pcap/grab1.c | egustafson/sandbox | 9804e966347b33558b0497a04edb1a591d2d7773 | [
"Apache-2.0"
] | 2 | 2016-07-18T10:55:50.000Z | 2020-08-19T01:46:08.000Z | #include <pcap.h>
#include <stdio.h>
int main()
{
pcap_t *handle=0; /* Session handle */
char* dev; /* The device to sniff on */
char errbuf[PCAP_ERRBUF_SIZE]; /* Error string */
struct bpf_program filter; /* The compiled filter */
cha... | 31.350877 | 75 | 0.554001 |
6cee1d0dd91c8d0a2e760b41cd0e920c54dde6bb | 364 | h | C | rtbench_cpu/render_sse.h | avgorshk/rtbench | 9946b8e229724789887126e55939348889d4e76a | [
"MIT"
] | null | null | null | rtbench_cpu/render_sse.h | avgorshk/rtbench | 9946b8e229724789887126e55939348889d4e76a | [
"MIT"
] | null | null | null | rtbench_cpu/render_sse.h | avgorshk/rtbench | 9946b8e229724789887126e55939348889d4e76a | [
"MIT"
] | null | null | null | #ifndef RTBENCH_RENDER_SSE_H_
#define RTBENCH_RENDER_SSE_H_
#include <vector>
#include "common/light.h"
#include "common/sphere.h"
namespace sse {
void Render(const std::vector<Sphere>& spheres,
const std::vector<Light>& lights,
std::vector<Vector>& image,
int w, int h);
} // na... | 20.222222 | 47 | 0.675824 |
5313861b656877f5222feb646e050825cce29543 | 6,000 | h | C | sss/device_fops.h | papan-singh/cortx-motr-1 | 79351a56dffcb3968db9a6d4fee685a5443ed2f7 | [
"Apache-2.0"
] | 45 | 2020-09-25T09:33:23.000Z | 2022-02-23T02:54:10.000Z | sss/device_fops.h | mbcortx/cortx-motr | 8d45476d627d0f82047e88dff317db64cc142f58 | [
"Apache-2.0"
] | 1,057 | 2020-09-24T15:29:24.000Z | 2022-03-31T20:48:17.000Z | sss/device_fops.h | mbcortx/cortx-motr | 8d45476d627d0f82047e88dff317db64cc142f58 | [
"Apache-2.0"
] | 178 | 2020-09-24T13:38:26.000Z | 2022-03-31T07:50:58.000Z | /* -*- C -*- */
/*
* Copyright (c) 2015-2020 Seagate Technology LLC and/or its Affiliates
*
* 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... | 27.64977 | 80 | 0.727167 |
23fce9e83b5a672eb47f932e14beb363d802d3b9 | 558 | h | C | ShortURL.h | ararog/ShortenizeMe | a6f2be7df285824347deac6e7d25d25ae6fa11dd | [
"MIT"
] | 1 | 2015-01-24T21:25:39.000Z | 2015-01-24T21:25:39.000Z | ShortURL.h | ararog/ShortenizeMe | a6f2be7df285824347deac6e7d25d25ae6fa11dd | [
"MIT"
] | null | null | null | ShortURL.h | ararog/ShortenizeMe | a6f2be7df285824347deac6e7d25d25ae6fa11dd | [
"MIT"
] | null | null | null | //
// ShorURL.h
// ShortenizeMe
//
// Created by ROGERIO ARAUJO on 12/09/09.
// Copyright 2009 __MyCompanyName__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@interface ShortURL : NSObject {
NSString *title;
NSString *error;
NSString *ident;
NSString *sourceUrl;
NSString *value;
}
@proper... | 21.461538 | 58 | 0.707885 |
0042d2423e3f4e45c816abd7c6a1906ae7abe797 | 4,086 | h | C | include/proofnetwork/jdf/data/media.h | DmitryNesterenok/proofnetworkjdf | 02dfb045c25ee17875208cf14a054ceac7daa683 | [
"BSD-3-Clause"
] | null | null | null | include/proofnetwork/jdf/data/media.h | DmitryNesterenok/proofnetworkjdf | 02dfb045c25ee17875208cf14a054ceac7daa683 | [
"BSD-3-Clause"
] | null | null | null | include/proofnetwork/jdf/data/media.h | DmitryNesterenok/proofnetworkjdf | 02dfb045c25ee17875208cf14a054ceac7daa683 | [
"BSD-3-Clause"
] | null | null | null | /* Copyright 2018, OpenSoft Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted
* provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice, this list of
* conditions a... | 40.058824 | 101 | 0.768478 |
12131e29ae51e692aed74c7cded513a0d1779d3e | 211 | c | C | samples/chap10/pro-10-4.c | qhan/CGuideforGodSon | 17e0cd6341220a1a6dbaad1331f381f700ce4844 | [
"MIT"
] | 3 | 2015-08-17T09:11:01.000Z | 2019-01-08T02:39:14.000Z | samples/chap10/pro-10-4.c | qhan/CGuideforGodSon | 17e0cd6341220a1a6dbaad1331f381f700ce4844 | [
"MIT"
] | null | null | null | samples/chap10/pro-10-4.c | qhan/CGuideforGodSon | 17e0cd6341220a1a6dbaad1331f381f700ce4844 | [
"MIT"
] | null | null | null | #include <stdio.h>
int main(void)
{
printf("Current line_num is %d\n", __LINE__);
#line 100
printf("Now redefine __LINE__ as %d\n", __LINE__);
printf("Current line_num is %d\n", __LINE__);
return 0;
}
| 17.583333 | 52 | 0.668246 |
4b7dd89482d66d3dc4a5049aeb2ef381ece13bd3 | 1,192 | h | C | runtime/gmm_helper/gmm_memory_base.h | tripzero/compute-runtime | cc960732db8775c471432d640d615d61640ee2cb | [
"MIT"
] | 3 | 2019-09-20T23:26:36.000Z | 2019-10-03T17:44:12.000Z | runtime/gmm_helper/gmm_memory_base.h | tripzero/compute-runtime | cc960732db8775c471432d640d615d61640ee2cb | [
"MIT"
] | 1 | 2019-09-17T08:06:24.000Z | 2019-09-17T08:06:24.000Z | runtime/gmm_helper/gmm_memory_base.h | tripzero/compute-runtime | cc960732db8775c471432d640d615d61640ee2cb | [
"MIT"
] | 3 | 2019-05-16T07:22:51.000Z | 2019-11-11T03:05:32.000Z | /*
* Copyright (C) 2018-2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "runtime/gmm_helper/gmm_lib.h"
#include <memory>
namespace NEO {
class GmmMemoryBase {
public:
virtual ~GmmMemoryBase() = default;
MOCKABLE_VIRTUAL bool configureDeviceAddressSpace(GMM_ESCAPE_HA... | 32.216216 | 85 | 0.513423 |
18a5cbb45e68298a48ec66034bb2cceb6f0f57e9 | 170 | c | C | src/imop/lib/testcases/simplification/test6.c | amannougrahiya/imop-compiler | a0f0c9aaea00c6e5d37a17172c5db2967822ba9b | [
"MIT"
] | 10 | 2020-02-24T20:39:06.000Z | 2021-11-01T03:33:22.000Z | src/imop/lib/testcases/simplification/test6.c | anonymousoopsla21/homeostasis | e56c5c2f8392027ad5a49a45d7ac49a139c33674 | [
"MIT"
] | 2 | 2020-02-25T20:30:46.000Z | 2020-07-18T19:05:27.000Z | src/imop/lib/testcases/simplification/test6.c | anonymousoopsla21/homeostasis | e56c5c2f8392027ad5a49a45d7ac49a139c33674 | [
"MIT"
] | 2 | 2020-03-11T11:53:47.000Z | 2021-08-23T06:49:57.000Z | int foo () {
printf("\nWorld");
return 1;
}
int bar(int i) {
return i;
}
int main () {
int i = 10;
#pragma omp parallel if (bar(foo()))
{
printf("\nHello");
}
}
| 10.625 | 36 | 0.541176 |
8d2b67db943b6e8bd52b4d9678c5465c9b30b762 | 416 | h | C | MOBIMDemo/Session/View/Cells/MOBIMContactsCell.h | MobClub/MobIM-For-iOS | 79a81332b1b1f5541dcdad36bb0f6c37cd214558 | [
"MIT"
] | 3 | 2018-07-29T14:20:57.000Z | 2019-05-14T09:09:36.000Z | MOBIMDemo/Session/View/Cells/MOBIMContactsCell.h | MobClub/MobIM-For-iOS | 79a81332b1b1f5541dcdad36bb0f6c37cd214558 | [
"MIT"
] | null | null | null | MOBIMDemo/Session/View/Cells/MOBIMContactsCell.h | MobClub/MobIM-For-iOS | 79a81332b1b1f5541dcdad36bb0f6c37cd214558 | [
"MIT"
] | null | null | null | //
// MOBIMContactsCell.h
// MOBIMDemo
//
// Created by hower on 2017/9/28.
// Copyright © 2017年 MOB. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "MOBIMUserModel.h"
@interface MOBIMContactsCell : UITableViewCell
@property (nonatomic, weak) IBOutlet UIImageView *avatarView;
@property (nonatomic, wea... | 18.909091 | 61 | 0.735577 |
9d14d0a717d5775323e4052c811ddcd0202a3bf6 | 3,562 | h | C | src/text-cairo-private.h | 1996v/libgdiplus | a6b4c3bbf54f8665e967b2e539c8e7a11adb8020 | [
"MIT"
] | 234 | 2015-01-06T09:25:22.000Z | 2022-03-31T09:59:10.000Z | src/text-cairo-private.h | directhex/xamarin-libgdiplus | f2d79843e67de102b152300b96d4e369786b3b14 | [
"MIT"
] | 520 | 2015-01-14T18:58:34.000Z | 2022-03-08T16:14:53.000Z | src/text-cairo-private.h | directhex/xamarin-libgdiplus | f2d79843e67de102b152300b96d4e369786b3b14 | [
"MIT"
] | 132 | 2015-01-14T17:56:39.000Z | 2022-03-21T01:29:08.000Z | /*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software
* and associated documentation files (the "Software"), to deal in the Software without restriction,
* including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell... | 42.404762 | 128 | 0.767546 |
77e663a090a6bc3f464276dd19ebe1b2bf8b6c80 | 421 | h | C | DiscuzQ_Mobile/DiscuzQ/Classes/Feature/Account/Register/View/DZUserRegisterView.h | webersongao/DiscuzQ_iOS | 71ee9bdbcce2fcadc18e1916febcea8d3470e704 | [
"Apache-2.0"
] | 27 | 2020-04-05T14:02:58.000Z | 2021-09-13T02:14:12.000Z | DiscuzQ_Mobile/DiscuzQ/Classes/Feature/Account/Register/View/DZUserRegisterView.h | webersongao/DiscuzQ_iOS | 71ee9bdbcce2fcadc18e1916febcea8d3470e704 | [
"Apache-2.0"
] | null | null | null | DiscuzQ_Mobile/DiscuzQ/Classes/Feature/Account/Register/View/DZUserRegisterView.h | webersongao/DiscuzQ_iOS | 71ee9bdbcce2fcadc18e1916febcea8d3470e704 | [
"Apache-2.0"
] | 6 | 2020-07-18T11:36:11.000Z | 2022-01-30T06:09:48.000Z | //
// DZUserRegisterView.h
// DiscuzQ
// 联系作者:微信: ChinaMasker gao@btbk.org
// Github :https://github.com/webersongao/DiscuzQ_iOS
// Created by WebersonGao on 17/1/11.
// Copyright © 2017年 WebersonGao. All rights reserved.
//
#import "DZTermsLabel.h"
#import "DZAccountScrollView.h"
@interface DZUserRegisterView ... | 21.05 | 69 | 0.736342 |
8b466b626a6cb678ce0f6c9c71cd9579f5c9229f | 1,747 | h | C | src/blinkit/ui/input_events.h | titilima/blink | 2de70073edfe0e1e0aaf2bb22b5d6abd9b776fad | [
"MIT"
] | 13 | 2020-04-21T13:14:00.000Z | 2021-11-13T14:55:12.000Z | src/blinkit/ui/input_events.h | titilima/blink | 2de70073edfe0e1e0aaf2bb22b5d6abd9b776fad | [
"MIT"
] | null | null | null | src/blinkit/ui/input_events.h | titilima/blink | 2de70073edfe0e1e0aaf2bb22b5d6abd9b776fad | [
"MIT"
] | 4 | 2020-04-21T13:15:43.000Z | 2021-11-13T14:55:00.000Z | #pragma once
// -------------------------------------------------
// BlinKit - BlinKit Library
// -------------------------------------------------
// File Name: input_events.h
// Description: Input Event Classes
// Author: Ziming Li
// Created: 2021-11-23
// -------------------------------------------------... | 30.649123 | 106 | 0.658271 |
a09c6115d8be9027972139f2955616ca6b4bdbf4 | 579 | h | C | release/src/router/pptp-client/dirutil.h | ghsecuritylab/tomato_egg | 50473a46347f4631eb4878a0f47955cc64c87293 | [
"FSFAP"
] | 278 | 2015-11-03T03:01:20.000Z | 2022-01-20T18:21:05.000Z | release/src/router/pptp-client/dirutil.h | ghsecuritylab/tomato_egg | 50473a46347f4631eb4878a0f47955cc64c87293 | [
"FSFAP"
] | 374 | 2015-11-03T12:37:22.000Z | 2021-12-17T14:18:08.000Z | release/src/router/pptp-client/dirutil.h | ghsecuritylab/tomato_egg | 50473a46347f4631eb4878a0f47955cc64c87293 | [
"FSFAP"
] | 96 | 2015-11-22T07:47:26.000Z | 2022-01-20T19:52:19.000Z | /* dirutil.h ... directory utilities.
* C. Scott Ananian <cananian@alumni.princeton.edu>
*
* $Id: dirutil.h,v 1.1.1.1 2000/12/23 08:19:51 scott Exp $
*/
/* Returned malloc'ed string representing basename */
char *basenamex(char *pathname);
/* Return malloc'ed string representing directory name (no tr... | 38.6 | 77 | 0.708117 |
3e7c145afcf87eaf4fc7b65a0bc1b0edd49cfb3e | 1,030 | h | C | test/testlog.h | rdkcmf/rdk-rdkbrowser2 | e0d60df7f090feca60562ff4d899f8452ce43a45 | [
"Apache-2.0"
] | 3 | 2017-04-26T13:28:19.000Z | 2019-11-19T08:24:46.000Z | test/testlog.h | rdkcmf/rdk-rdkbrowser2 | e0d60df7f090feca60562ff4d899f8452ce43a45 | [
"Apache-2.0"
] | null | null | null | test/testlog.h | rdkcmf/rdk-rdkbrowser2 | e0d60df7f090feca60562ff4d899f8452ce43a45 | [
"Apache-2.0"
] | 1 | 2018-08-16T20:10:16.000Z | 2018-08-16T20:10:16.000Z | /*
* If not stated otherwise in this file or this component's Licenses.txt file the
* following copyright and licenses apply:
*
* Copyright 2016 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 ... | 34.333333 | 81 | 0.758252 |
c420722330a2970d9c3360dfa8bd5fb9132f0e2e | 1,998 | h | C | tests/framework/ge_running_env/include/ge_running_env/fake_engine.h | mindspore-ai/graphengine | 460406cbd691b963d125837f022be5d8abd1a637 | [
"Apache-2.0"
] | 207 | 2020-03-28T02:12:50.000Z | 2021-11-23T18:27:45.000Z | tests/framework/ge_running_env/include/ge_running_env/fake_engine.h | mindspore-ai/graphengine | 460406cbd691b963d125837f022be5d8abd1a637 | [
"Apache-2.0"
] | 4 | 2020-04-17T07:32:44.000Z | 2021-06-26T04:55:03.000Z | tests/framework/ge_running_env/include/ge_running_env/fake_engine.h | mindspore-ai/graphengine | 460406cbd691b963d125837f022be5d8abd1a637 | [
"Apache-2.0"
] | 13 | 2020-03-28T02:52:26.000Z | 2021-07-03T23:12:54.000Z | /**
* Copyright 2021 Huawei Technologies Co., Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | 35.052632 | 114 | 0.787788 |
83b0f7f48ba37b5516dcb051a7c3f599ea2acd82 | 16,991 | c | C | third_party/UVM/1800.2-2017-1.0/src/dpi/uvm_hdl_xcelium.c | parzival3/Surelog | cf126533ebfb2af7df321057af9e3535feb30487 | [
"Apache-2.0"
] | 156 | 2019-11-16T17:29:55.000Z | 2022-01-21T05:41:13.000Z | third_party/UVM/1800.2-2017-1.0/src/dpi/uvm_hdl_xcelium.c | parzival3/Surelog | cf126533ebfb2af7df321057af9e3535feb30487 | [
"Apache-2.0"
] | 414 | 2021-06-11T07:22:01.000Z | 2022-03-31T22:06:14.000Z | third_party/UVM/1800.2-2017-1.0/src/dpi/uvm_hdl_xcelium.c | parzival3/Surelog | cf126533ebfb2af7df321057af9e3535feb30487 | [
"Apache-2.0"
] | 30 | 2019-11-18T16:31:40.000Z | 2021-12-26T01:22:51.000Z | //----------------------------------------------------------------------
// Copyright 2009-2011 Mentor Graphics Corporation
// Copyright 2010-2011 Synopsys, Inc.
// Copyright 2007-2018 Cadence Design Systems, Inc.
// Copyright 2013 NVIDIA Corporation
// All Rights Reserved Worldwide
//
// Licensed under the Apache ... | 25.060472 | 205 | 0.636278 |
2360c96f7e4b573561c70ec0d700d715e105676e | 5,014 | c | C | FW/edk2-ws/edk2/CryptoPkg/Library/OpensslLib/openssl/krb5/src/lib/krb5/os/lock_file.c | daxx-linux/edk-Lab_Material_FW | 0c92b0b861e33d949a73e3be96929570e6c7ec61 | [
"BSD-2-Clause"
] | 1 | 2021-12-03T05:07:39.000Z | 2021-12-03T05:07:39.000Z | FW/edk2-ws/edk2/CryptoPkg/Library/OpensslLib/openssl/krb5/src/lib/krb5/os/lock_file.c | daxx-linux/edk-Lab_Material_FW | 0c92b0b861e33d949a73e3be96929570e6c7ec61 | [
"BSD-2-Clause"
] | null | null | null | FW/edk2-ws/edk2/CryptoPkg/Library/OpensslLib/openssl/krb5/src/lib/krb5/os/lock_file.c | daxx-linux/edk-Lab_Material_FW | 0c92b0b861e33d949a73e3be96929570e6c7ec61 | [
"BSD-2-Clause"
] | 2 | 2021-07-04T02:59:41.000Z | 2021-07-18T08:07:16.000Z | /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/* lib/krb5/os/lock_file.c */
/*
* Copyright 1990, 1998 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* Export of this software from the United States of America may
* require a specific license from the United States Govern... | 27.398907 | 79 | 0.683287 |
5312474d9d8053cd6e491b1bb86a5db8d5aaaafb | 688 | c | C | libs/tf/count.c | juancot98/utn-frc_td2_proyecto-final | 7e8068f2d948c0fcadf82ba531005dedae77cfcf | [
"MIT"
] | null | null | null | libs/tf/count.c | juancot98/utn-frc_td2_proyecto-final | 7e8068f2d948c0fcadf82ba531005dedae77cfcf | [
"MIT"
] | null | null | null | libs/tf/count.c | juancot98/utn-frc_td2_proyecto-final | 7e8068f2d948c0fcadf82ba531005dedae77cfcf | [
"MIT"
] | null | null | null | #include "tf.h"
int count (void)
{
int i = 0, j = 0;
char data;
for (int c = 0; c < counter; c++)
{
if (digitalRead (push [0]) && digitalRead (push [1]))
{
shutDown ();
return 1;
}
if (digitalRead (push [0]) && i < 1)
{
counter += 25000;
i++;
}
if (digitalRead (push [1]) && j < 1 && c... | 12.740741 | 57 | 0.472384 |
5316ed635901a99b4f1d363ff07f5a5a37c6729e | 4,254 | h | C | sysroot/usr/include/tirpc/rpc/auth_gss.h | 219-design/sysroot_qt5.15.0_binaries_armv6zk_rpizero_bullseye_gcc10.3 | 60545a4471090a4c9ffcf207fb5a71831bfc3bb2 | [
"MIT"
] | null | null | null | sysroot/usr/include/tirpc/rpc/auth_gss.h | 219-design/sysroot_qt5.15.0_binaries_armv6zk_rpizero_bullseye_gcc10.3 | 60545a4471090a4c9ffcf207fb5a71831bfc3bb2 | [
"MIT"
] | null | null | null | sysroot/usr/include/tirpc/rpc/auth_gss.h | 219-design/sysroot_qt5.15.0_binaries_armv6zk_rpizero_bullseye_gcc10.3 | 60545a4471090a4c9ffcf207fb5a71831bfc3bb2 | [
"MIT"
] | null | null | null | /*
auth_gss.h
Copyright (c) 2000 The Regents of the University of Michigan.
All rights reserved.
Copyright (c) 2000 Dug Song <dugsong@UMICH.EDU>.
All rights reserved, all wrongs reversed.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that th... | 33.234375 | 76 | 0.749412 |
002cf7f952e2d778fdf377dc13120018c7b7fe07 | 2,379 | c | C | openeuler-kernel/net/dsa/tag_ar9331.c | Ddnirvana/test-CI | dd7a0a71281075e8ab300bddbab4a9fa039958f0 | [
"MulanPSL-1.0"
] | 31 | 2021-04-27T08:50:40.000Z | 2022-03-01T02:26:21.000Z | kernel/net/dsa/tag_ar9331.c | SFIP/SFIP | e428a425d2d0e287f23d49f3dd583617ebd2e4a3 | [
"Zlib"
] | 13 | 2021-07-10T04:36:17.000Z | 2022-03-03T10:50:05.000Z | kernel/net/dsa/tag_ar9331.c | SFIP/SFIP | e428a425d2d0e287f23d49f3dd583617ebd2e4a3 | [
"Zlib"
] | 12 | 2021-04-06T02:23:10.000Z | 2022-02-28T11:43:19.000Z | // SPDX-License-Identifier: GPL-2.0
/*
* Copyright (c) 2019 Pengutronix, Oleksij Rempel <kernel@pengutronix.de>
*/
#include <linux/bitfield.h>
#include <linux/etherdevice.h>
#include "dsa_priv.h"
#define AR9331_HDR_LEN 2
#define AR9331_HDR_VERSION 1
#define AR9331_HDR_VERSION_MASK GENMASK(15, 14)
#define AR9... | 25.308511 | 78 | 0.733501 |
18040e54ce2a253909fcd77bc66a0bfffd2a77fe | 26,803 | h | C | 2.4/include/guava/com/google/common/base/Ascii.h | yaohb/J2ObjCAuto | 8b5252896999f367066e3f68226620f78c020923 | [
"MIT"
] | null | null | null | 2.4/include/guava/com/google/common/base/Ascii.h | yaohb/J2ObjCAuto | 8b5252896999f367066e3f68226620f78c020923 | [
"MIT"
] | null | null | null | 2.4/include/guava/com/google/common/base/Ascii.h | yaohb/J2ObjCAuto | 8b5252896999f367066e3f68226620f78c020923 | [
"MIT"
] | null | null | null | //
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: /Users/antoniocortes/j2objcprj/relases/j2objc/guava/build_result/java/com/google/common/base/Ascii.java
//
#include "J2ObjC_header.h"
#pragma push_macro("INCLUDE_ALL_ComGoogleCommonBaseAscii")
#ifdef RESTRICT_ComGoogleCommonBaseAscii
#define INCLUDE... | 37.020718 | 185 | 0.787486 |
9bab62842d5a488cc7a4cccf23023d5de2d9283f | 824 | h | C | inc/tp_image_utils_functions/AddBorder.h | omi-lab/tp_image_utils_functions | 5d02c634a87304eeb9c5b0828ebf8f18383aa91a | [
"MIT"
] | null | null | null | inc/tp_image_utils_functions/AddBorder.h | omi-lab/tp_image_utils_functions | 5d02c634a87304eeb9c5b0828ebf8f18383aa91a | [
"MIT"
] | null | null | null | inc/tp_image_utils_functions/AddBorder.h | omi-lab/tp_image_utils_functions | 5d02c634a87304eeb9c5b0828ebf8f18383aa91a | [
"MIT"
] | 2 | 2019-01-30T14:02:44.000Z | 2020-11-25T09:19:14.000Z | #ifndef tp_image_utils_functions_AddBorder_h
#define tp_image_utils_functions_AddBorder_h
#include "tp_image_utils_functions/Globals.h"
#include "tp_image_utils/ByteMap.h"
#include "tp_utils/TPPixel.h"
namespace tp_image_utils_functions
{
//############################################################################... | 34.333333 | 100 | 0.48301 |
4b6ee8fc7eb28d02dd9b073ca9bca66a99e1d1dd | 463 | c | C | tests/main.c | patflick/splatt | b4bbad44824e1fd7893beb79c4ac99a25edff47e | [
"MIT"
] | 58 | 2016-06-29T05:32:23.000Z | 2021-10-30T05:59:13.000Z | tests/main.c | patflick/splatt | b4bbad44824e1fd7893beb79c4ac99a25edff47e | [
"MIT"
] | 23 | 2016-06-26T21:36:03.000Z | 2022-03-03T20:18:41.000Z | tests/main.c | patflick/splatt | b4bbad44824e1fd7893beb79c4ac99a25edff47e | [
"MIT"
] | 30 | 2016-06-26T03:34:30.000Z | 2022-02-28T11:17:29.000Z |
#define CTEST_MAIN
#define CTEST_SEGFAULT
#include "ctest/ctest.h"
#include "splatt_test.h"
#ifdef SPLATT_USE_MPI
#include <mpi.h>
#endif
int main(int argc, char ** argv)
{
#ifdef SPLATT_USE_MPI
/* even serial tests with MPI enabled need this */
MPI_Init(&argc, &argv);
#endif
/* this cast is annoying */
ch... | 15.965517 | 52 | 0.695464 |
6f3e84b263b77c6f3671f820371dbec08882feb2 | 526 | h | C | qSIP/SettingAccountForm.h | soramimi/qSIP | cd328f99c41342021fd316a5cd75bc2e48b42985 | [
"MIT"
] | 22 | 2017-10-10T09:52:26.000Z | 2022-03-31T14:55:45.000Z | qSIP/SettingAccountForm.h | soramimi/qSIP | cd328f99c41342021fd316a5cd75bc2e48b42985 | [
"MIT"
] | 5 | 2017-10-11T19:34:11.000Z | 2020-01-13T06:36:37.000Z | qSIP/SettingAccountForm.h | soramimi/qSIP | cd328f99c41342021fd316a5cd75bc2e48b42985 | [
"MIT"
] | 6 | 2018-12-19T16:07:22.000Z | 2021-03-29T02:32:34.000Z | #ifndef SETTINGACCOUNTFORM_H
#define SETTINGACCOUNTFORM_H
#include "AbstractSettingForm.h"
#include <QWidget>
namespace Ui {
class SettingAccountForm;
}
class SettingAccountForm : public AbstractSettingForm {
Q_OBJECT
private:
Ui::SettingAccountForm *ui;
void exchangeAccount(bool save, SIP::Account *a);
protect... | 18.785714 | 55 | 0.790875 |
8d63ba2fde45406e6f546c5a3503a84b581bfece | 2,888 | h | C | gl_src/glsl.h | skatto/glslRayTraceRenderer | 4425caa4d9ae5855002127cd054cb291736a144e | [
"MIT"
] | null | null | null | gl_src/glsl.h | skatto/glslRayTraceRenderer | 4425caa4d9ae5855002127cd054cb291736a144e | [
"MIT"
] | null | null | null | gl_src/glsl.h | skatto/glslRayTraceRenderer | 4425caa4d9ae5855002127cd054cb291736a144e | [
"MIT"
] | null | null | null | #ifndef GLSL_H_2016_06_16
#define GLSL_H_2016_06_16
#include <iostream>
#include <string>
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#ifdef MAC_OS_X
#include <OpenGL/OpenGL.h>
#elif LINUX
#include <GL/gl.h>
#endif
#define CHECK_GL_ERROR() \
{ ... | 30.723404 | 70 | 0.587604 |
02409241a2fc64025151aa0eadad81f700653775 | 2,839 | c | C | pc_sw/PC_01_Uart_Consol/src/hw/core/uart.c | chcbaram/nucleof103_fw | 8800d7dfbc7d856d22e0a43c2a70bea4a1157f21 | [
"Apache-2.0"
] | null | null | null | pc_sw/PC_01_Uart_Consol/src/hw/core/uart.c | chcbaram/nucleof103_fw | 8800d7dfbc7d856d22e0a43c2a70bea4a1157f21 | [
"Apache-2.0"
] | null | null | null | pc_sw/PC_01_Uart_Consol/src/hw/core/uart.c | chcbaram/nucleof103_fw | 8800d7dfbc7d856d22e0a43c2a70bea4a1157f21 | [
"Apache-2.0"
] | null | null | null | /*
* uart.c
*
* Created on: 2018. 9. 9.
* Author: Baram
*/
#include "uart.h"
#include <conio.h>
typedef struct
{
bool is_open;
bool is_consol;
uint32_t baud;
HANDLE serial_handle;
char port_name[256];
} uart_t;
uart_t uart_tbl[UART_MAX_CH];
void uartInit(void)
{
uin... | 11.978903 | 68 | 0.578725 |
9d75ac14f9f7cbafac2b0e359083e67c2dbec16c | 1,226 | h | C | CGProj/game.h | mayankmetha/Classical-Snakes-Game | dd56c344188cc48f5cb710f3aac07202f4009dab | [
"MIT"
] | null | null | null | CGProj/game.h | mayankmetha/Classical-Snakes-Game | dd56c344188cc48f5cb710f3aac07202f4009dab | [
"MIT"
] | null | null | null | CGProj/game.h | mayankmetha/Classical-Snakes-Game | dd56c344188cc48f5cb710f3aac07202f4009dab | [
"MIT"
] | null | null | null | //define header
#ifndef _GAME_H
#define _GAME_H
//include headers
#include"platforms.h"
#include<stdio.h>
#include<stdlib.h>
#include<cstring>
#include<cmath>
#include<time.h>
//constants
#define ROWS 40 //yaxis
#define COLUMNS 40 //xaxis
#define FPS 12 //frame per seconds
#define MIN_FPS 5 //minimum FPS
//directio... | 20.098361 | 50 | 0.685155 |
ae18fce65a945d70210014edfb7ff25acf861453 | 1,114 | c | C | str/str_rchr.c | jon-finkel/42-libft | 4e63939f2c02fcf22fccb2e7b20e3fb48d6a349c | [
"MIT"
] | null | null | null | str/str_rchr.c | jon-finkel/42-libft | 4e63939f2c02fcf22fccb2e7b20e3fb48d6a349c | [
"MIT"
] | null | null | null | str/str_rchr.c | jon-finkel/42-libft | 4e63939f2c02fcf22fccb2e7b20e3fb48d6a349c | [
"MIT"
] | null | null | null | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* mem_rchr.c :+: :+: :+: ... | 37.133333 | 80 | 0.193896 |
5b45fce6353515ae94df50952a09ece021f5d299 | 2,116 | c | C | test/mpi/pt2pt/anyall.c | grondo/mvapich2-cce | ec084d8e07db1cf2ac1352ee4c604ae7dbae55cb | [
"Intel",
"mpich2",
"Unlicense"
] | 1 | 2021-11-11T15:42:30.000Z | 2021-11-11T15:42:30.000Z | test/mpi/pt2pt/anyall.c | grondo/mvapich2-cce | ec084d8e07db1cf2ac1352ee4c604ae7dbae55cb | [
"Intel",
"mpich2",
"Unlicense"
] | null | null | null | test/mpi/pt2pt/anyall.c | grondo/mvapich2-cce | ec084d8e07db1cf2ac1352ee4c604ae7dbae55cb | [
"Intel",
"mpich2",
"Unlicense"
] | null | null | null | /* -*- Mode: C; c-basic-offset:4 ; -*- */
/*
* (C) 2009 by Argonne National Laboratory.
* See COPYRIGHT in top-level directory.
*/
#include "mpi.h"
#include <stdio.h>
#include <stdlib.h>
#include "mpitest.h"
#define MAX_MSGS 30
/*
static char MTEST_Descrip[] = "One implementation delivered incorrect data whe... | 23.775281 | 129 | 0.573724 |
162b6c1cdb4ebbc0cbc3664b34fa6b8de7386285 | 638 | h | C | stanford_cs110/assign2/inode.h | zhanshi-wang/zsw_main | 5ea70d9af1855dad7f3a249e0af04428608f0c07 | [
"MIT"
] | 12 | 2020-05-12T22:05:08.000Z | 2021-12-23T17:06:00.000Z | stanford_cs110/assign2/inode.h | zhanshi-wang/zsw_main | 5ea70d9af1855dad7f3a249e0af04428608f0c07 | [
"MIT"
] | null | null | null | stanford_cs110/assign2/inode.h | zhanshi-wang/zsw_main | 5ea70d9af1855dad7f3a249e0af04428608f0c07 | [
"MIT"
] | 14 | 2020-05-30T18:19:25.000Z | 2021-12-06T09:22:23.000Z | #ifndef _INODE_H
#define _INODE_H
#include "unixfilesystem.h"
/**
* Fetches the specified inode from the filesystem.
* Returns 0 on success, -1 on error.
*/
int inode_iget(struct unixfilesystem *fs, int inumber, struct inode *inp);
/**
* Given an index of a file block, retrieves the file's actual block numbe... | 24.538462 | 82 | 0.719436 |
64daa73d4749ba67deeb95fd36994b09ba994a8e | 21,171 | h | C | include/ultimate_msckf_vio/ekf_state.h | cqrtxwd/msckf_vio | 9b517877a21f61ea0969ebcc2b12d34480b75144 | [
"MIT"
] | 3 | 2019-04-08T16:35:27.000Z | 2019-09-03T15:31:41.000Z | include/ultimate_msckf_vio/ekf_state.h | cqrtxwd/msckf_vio | 9b517877a21f61ea0969ebcc2b12d34480b75144 | [
"MIT"
] | null | null | null | include/ultimate_msckf_vio/ekf_state.h | cqrtxwd/msckf_vio | 9b517877a21f61ea0969ebcc2b12d34480b75144 | [
"MIT"
] | null | null | null | #ifndef EKF_STATE_H_
#define EKF_STATE_H_
#include <eigen3/Eigen/Eigen>
#include <glog/logging.h>
#include <deque>
namespace ultimate_msckf_vio {
using Eigen::Matrix;
using Eigen::Matrix3d;
using Eigen::Quaternion;
using Eigen::Vector3d;
using std::vector;
using std::deque;
// state size :
constexpr int kVectorSta... | 35.22629 | 103 | 0.658731 |
d40638087ddfeb597f75b952eb57447b1b204669 | 1,011 | h | C | src/application/components/cameraPreview/CameraPreviewComponentImage.h | ferdikoomen/Capture3 | e4fe57d0c14e4deecddf9f1a9d19824076a49a03 | [
"MIT"
] | 18 | 2018-04-07T18:52:27.000Z | 2022-03-22T09:23:32.000Z | src/application/components/cameraPreview/CameraPreviewComponentImage.h | ferdikoomen/Capture3 | e4fe57d0c14e4deecddf9f1a9d19824076a49a03 | [
"MIT"
] | 1 | 2020-10-13T07:51:45.000Z | 2020-10-13T07:51:45.000Z | src/application/components/cameraPreview/CameraPreviewComponentImage.h | ferdikoomen/Capture3 | e4fe57d0c14e4deecddf9f1a9d19824076a49a03 | [
"MIT"
] | 3 | 2019-03-12T06:10:14.000Z | 2021-05-20T12:54:52.000Z | #ifndef CAPTURE3_CAMERA_PREVIEW_COMPONENT_PREVIEW_H
#define CAPTURE3_CAMERA_PREVIEW_COMPONENT_PREVIEW_H
#include <QtWidgets/QWidget>
#include <QtGui/QPainter>
#include <QtGui/QImage>
#include <QtGui/QPixmap>
#include <QtGui/QColor>
#include <QtGui/QMouseEvent>
#include "../graphic/GraphicComponent.h"
#... | 21.0625 | 67 | 0.727992 |
ac7cf25f9d46cf1afd3a217419a9db3e657b34e4 | 4,716 | h | C | zircon/kernel/include/kernel/event.h | opensource-assist/fuschia | 66646c55b3d0b36aae90a4b6706b87f1a6261935 | [
"BSD-3-Clause"
] | null | null | null | zircon/kernel/include/kernel/event.h | opensource-assist/fuschia | 66646c55b3d0b36aae90a4b6706b87f1a6261935 | [
"BSD-3-Clause"
] | null | null | null | zircon/kernel/include/kernel/event.h | opensource-assist/fuschia | 66646c55b3d0b36aae90a4b6706b87f1a6261935 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2016 The Fuchsia Authors
// Copyright (c) 2008-2014 Travis Geiselbrecht
//
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT
#ifndef ZIRCON_KERNEL_INCLUDE_KERNEL_EVENT_H_
#define ZIRCON_KERNEL_INCLUDE_KERNEL_... | 38.975207 | 100 | 0.724343 |
fecf278063f73b6d16348f4358a5434e13a41db7 | 159 | c | C | 2.IntroducingC/Exercises/3.c | HuangStomach/C-primer-plus | ecb24ab1ba3ec58e68cff2fce5049b328e84c24b | [
"MIT"
] | null | null | null | 2.IntroducingC/Exercises/3.c | HuangStomach/C-primer-plus | ecb24ab1ba3ec58e68cff2fce5049b328e84c24b | [
"MIT"
] | null | null | null | 2.IntroducingC/Exercises/3.c | HuangStomach/C-primer-plus | ecb24ab1ba3ec58e68cff2fce5049b328e84c24b | [
"MIT"
] | null | null | null | #include <stdio.h>
int main(void) {
int age;
int days;
age = 27;
days = age * 365;
printf("My age's days is %d\n", days);
return 0;
} | 14.454545 | 42 | 0.522013 |
fee8bc7a9f407caec1236a6f19fb5fa3963cfc5a | 1,084 | h | C | include/drivers/keyboard.h | DogOSdev/DogOScpp | ba99cd8ffbd627926cb5f4d0a5b9c5d404d2496c | [
"MIT"
] | null | null | null | include/drivers/keyboard.h | DogOSdev/DogOScpp | ba99cd8ffbd627926cb5f4d0a5b9c5d404d2496c | [
"MIT"
] | null | null | null | include/drivers/keyboard.h | DogOSdev/DogOScpp | ba99cd8ffbd627926cb5f4d0a5b9c5d404d2496c | [
"MIT"
] | null | null | null | #ifndef __DOGOS__DRIVERS__KEYBOARD_H
#define __DOGOS__DRIVERS__KEYBOARD_H
#include <common/types.h>
#include <hardware/interrupts.h>
#include <drivers/driver.h>
#include <hardware/port.h>
namespace dogos
{
namespace drivers
{
class KeyboardEventHandler
{
public:
KeyboardEve... | 26.439024 | 102 | 0.624539 |
3a4b73d735ffc6d634806029f3f2423e04ed4936 | 130 | h | C | Software/CPU/myscrypt/build/cmake-3.12.3/Tests/ExportImport/Export/sublib/subdir.h | duonglvtnaist/Multi-ROMix-Scrypt-Accelerator | 9cb9d96c72c3e912fb7cfd5a786e50e4844a1ee8 | [
"MIT"
] | 107 | 2021-08-28T20:08:42.000Z | 2022-03-22T08:02:16.000Z | Software/CPU/myscrypt/build/cmake-3.12.3/Tests/ExportImport/Export/sublib/subdir.h | duonglvtnaist/Multi-ROMix-Scrypt-Accelerator | 9cb9d96c72c3e912fb7cfd5a786e50e4844a1ee8 | [
"MIT"
] | 3 | 2021-09-08T02:18:00.000Z | 2022-03-12T00:39:44.000Z | Software/CPU/myscrypt/build/cmake-3.12.3/Tests/ExportImport/Export/sublib/subdir.h | duonglvtnaist/Multi-ROMix-Scrypt-Accelerator | 9cb9d96c72c3e912fb7cfd5a786e50e4844a1ee8 | [
"MIT"
] | 16 | 2021-08-30T06:57:36.000Z | 2022-03-22T08:05:52.000Z |
#ifndef SUBDIR_H
#define SUBDIR_H
#include "subdirlib_export.h"
struct SUBDIRLIB_EXPORT SubDirObject
{
int foo();
};
#endif
| 10 | 36 | 0.746154 |
b16aace4ffd7514e442049c748a50d87f12186b3 | 1,109 | h | C | ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/HexEditor.h | sscargal/ipmctl | 48e4cdc8682e9efafc838bda66d4af282c29dc11 | [
"BSD-3-Clause"
] | 151 | 2018-06-01T20:14:34.000Z | 2022-03-13T08:34:07.000Z | ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/HexEditor.h | sscargal/ipmctl | 48e4cdc8682e9efafc838bda66d4af282c29dc11 | [
"BSD-3-Clause"
] | 179 | 2018-06-21T18:07:54.000Z | 2022-03-30T16:06:39.000Z | ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/HexEditor.h | sscargal/ipmctl | 48e4cdc8682e9efafc838bda66d4af282c29dc11 | [
"BSD-3-Clause"
] | 58 | 2018-06-07T21:59:15.000Z | 2022-03-16T23:26:38.000Z | /** @file
Main include file for hex editor
Copyright (c) 2005 - 2011, Intel Corporation. All rights reserved. <BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license... | 26.404762 | 84 | 0.74752 |
b1d98c92d0e0909f9e052577c34d7fa66b9db8da | 2,789 | c | C | error.c | sashajenner/f5p | a206079a5f7747d21e93f39807e1a7a4a9c91103 | [
"MIT"
] | 6 | 2019-09-08T10:36:52.000Z | 2022-01-10T18:02:11.000Z | error.c | sashajenner/f5p | a206079a5f7747d21e93f39807e1a7a4a9c91103 | [
"MIT"
] | null | null | null | error.c | sashajenner/f5p | a206079a5f7747d21e93f39807e1a7a4a9c91103 | [
"MIT"
] | 4 | 2019-08-19T17:04:22.000Z | 2019-12-13T06:03:12.000Z | /* @error.c
**
** A simple wrapper for error checking and logging
** @author: Hasindu Gamaarachchi (hasindu@unsw.edu.au)
** @@
******************************************************************************/
/*
MIT License
Copyright (c) 2019 Hasindu Gamaarachchi
Permission is hereby granted, free of charge, to any perso... | 36.697368 | 79 | 0.645034 |
38c512d4c4decc3d5a513263f429076f64c14849 | 3,629 | h | C | OutPutHeaders/VoipUIManager.h | cocos543/WeChatTimeLineRobot | 1e93480e502e36ca9a21a506f481aa1fcb70ac4b | [
"MIT"
] | 106 | 2016-04-09T01:16:14.000Z | 2021-06-04T00:20:24.000Z | OutPutHeaders/VoipUIManager.h | cocos543/WeChatTimeLineRobot | 1e93480e502e36ca9a21a506f481aa1fcb70ac4b | [
"MIT"
] | 2 | 2017-06-13T09:41:29.000Z | 2018-03-26T03:32:07.000Z | OutPutHeaders/VoipUIManager.h | cocos543/WeChatTimeLineRobot | 1e93480e502e36ca9a21a506f481aa1fcb70ac4b | [
"MIT"
] | 58 | 2016-04-28T09:52:08.000Z | 2021-12-25T06:42:14.000Z | /**
* This header is generated by class-dump-z 0.2a.
* class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3.
*
* Source: (null)
*/
#import "WeChat-Structs.h"
#import "MMService.h"
#import "VideoVoipViewDelegate.h"
#import "VoipMinimizeWindowDelegate.h"
#import "MMKernelExt.h"
#import "VoipAlertVie... | 39.879121 | 192 | 0.83191 |
75aff575a0f70a9dff983069ec9123e10144970d | 3,061 | h | C | ZRXSDK/2014/inc/zAcDbLMgr.h | kevinzhwl/ZRXSDKMod | 2d2de60ab45db535439e6608fb4764835fd72ff7 | [
"MIT"
] | null | null | null | ZRXSDK/2014/inc/zAcDbLMgr.h | kevinzhwl/ZRXSDKMod | 2d2de60ab45db535439e6608fb4764835fd72ff7 | [
"MIT"
] | null | null | null | ZRXSDK/2014/inc/zAcDbLMgr.h | kevinzhwl/ZRXSDKMod | 2d2de60ab45db535439e6608fb4764835fd72ff7 | [
"MIT"
] | 2 | 2015-12-04T08:39:49.000Z | 2020-09-11T02:54:27.000Z |
#ifndef _ZCDBLMGR_H
#define _ZCDBLMGR_H
#include "zadesk.h"
#include "zdbid.h"
#include "zdblayout.h"
#include "zdblaymgrrctr.h"
#pragma pack (push, 8)
#define MAX_PSPACE_LAYOUTS 256
class ZcDbObjectId;
class ZcDbLayoutManager: public ZcRxObject {
public:
virtual Zcad::ErrorStat... | 32.913978 | 86 | 0.555047 |
5564bde3b9ea4c9885c6199a817d4dca4a66f422 | 1,190 | h | C | ble_ident_service.h | sanke/esp32_osdp_reader | 613495043a7b2ce518eb2d4eb639e93596b6c162 | [
"MIT"
] | 3 | 2021-09-09T04:50:07.000Z | 2022-03-21T11:29:23.000Z | ble_ident_service.h | Radee1970/esp32_osdp_reader | ddf9ba4fa2f79767ad3819ee36747bf4c5607bc5 | [
"MIT"
] | 1 | 2021-09-09T06:03:29.000Z | 2021-10-14T08:16:54.000Z | ble_ident_service.h | sanke/esp32_osdp_reader | 613495043a7b2ce518eb2d4eb639e93596b6c162 | [
"MIT"
] | 3 | 2021-10-03T05:53:45.000Z | 2022-03-15T09:31:57.000Z | //
// Created by unoco on 4/8/2021.
//
#ifndef OSDP_LIB_BLE_IDENT_SERVICE_H
#define OSDP_LIB_BLE_IDENT_SERVICE_H
#define SERVICE_UID "3ce420b5-d68d-46dd-82f2-b5d21ea24487"
#define CHARACTERISTIC_UID "fef63b43-99d4-43c9-8667-28b082353331"
#define CHARACTERISTIC_DATA_LEN 20
#include <Stream.h>
#include <vector... | 29.02439 | 88 | 0.777311 |
1d607f612b1d51012053fd4c0dd9af231a91d5ad | 5,019 | c | C | n-body.c | stevezhee/fort | 5ac074c4266cf1cf8b47740e7ebe4bf9e5f58775 | [
"BSD-3-Clause"
] | 3 | 2019-02-15T00:27:41.000Z | 2021-01-08T23:27:57.000Z | n-body.c | stevezhee/fort | 5ac074c4266cf1cf8b47740e7ebe4bf9e5f58775 | [
"BSD-3-Clause"
] | null | null | null | n-body.c | stevezhee/fort | 5ac074c4266cf1cf8b47740e7ebe4bf9e5f58775 | [
"BSD-3-Clause"
] | 3 | 2018-07-10T22:10:38.000Z | 2019-11-09T23:58:18.000Z | /* n-body gcc #6 (modified) */
/* The Computer Language Benchmarks Game
* https://salsa.debian.org/benchmarksgame-team/benchmarksgame/
*
* contributed by Christoph Bauer
* modified by Danny Angelo Carminati Grein
*
*/
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#define pi 3.141592653589793
#define ... | 26.555556 | 114 | 0.547121 |
df4dcfd23772aa99d8002e1ee2f46fd0e8cb7c48 | 528 | h | C | src/modelFactory/CFG/FunctionFactory.h | toebs88/SCAM | 0b5a8f1c57593da40e85d0b8ce6a6cf5616379ca | [
"MIT"
] | 3 | 2018-08-31T21:35:27.000Z | 2018-10-29T04:06:46.000Z | src/modelFactory/CFG/FunctionFactory.h | toebs88/SCAM | 0b5a8f1c57593da40e85d0b8ce6a6cf5616379ca | [
"MIT"
] | 1 | 2018-04-20T12:38:22.000Z | 2018-04-20T12:38:55.000Z | src/modelFactory/CFG/FunctionFactory.h | toebs88/SCAM | 0b5a8f1c57593da40e85d0b8ce6a6cf5616379ca | [
"MIT"
] | null | null | null | //
// Created by ludwig on 19.07.18.
//
#ifndef PROJECT_FUNCTIONFACTORY_H
#define PROJECT_FUNCTIONFACTORY_H
#include "SectionFactory.h"
namespace SCAM{
/***
* \bref Builds a function from a CFG
*
*/
class FunctionFactory {
public:
FunctionFactory(const std::map<int, CFGNode *> &controlFlowMap... | 16 | 90 | 0.681818 |
d9c031dbeb1a9634451608a29592a74002958dc3 | 2,443 | h | C | linux-4.14.90-dev/linux-4.14.90/tools/testing/radix-tree/test.h | bingchunjin/1806_SDK | d5ed0258fc22f60e00ec025b802d175f33da6e41 | [
"MIT"
] | 34 | 2019-07-19T20:44:15.000Z | 2022-03-07T12:09:00.000Z | linux-4.14.90-dev/linux-4.14.90/tools/testing/radix-tree/test.h | bingchunjin/1806_SDK | d5ed0258fc22f60e00ec025b802d175f33da6e41 | [
"MIT"
] | 3 | 2021-09-06T09:14:42.000Z | 2022-03-27T08:09:54.000Z | linux-4.14.90-dev/linux-4.14.90/tools/testing/radix-tree/test.h | bingchunjin/1806_SDK | d5ed0258fc22f60e00ec025b802d175f33da6e41 | [
"MIT"
] | 20 | 2021-10-22T02:21:23.000Z | 2022-03-31T04:55:35.000Z | /* SPDX-License-Identifier: GPL-2.0 */
#include <linux/gfp.h>
#include <linux/types.h>
#include <linux/radix-tree.h>
#include <linux/rcupdate.h>
struct item {
unsigned long index;
unsigned int order;
};
struct item *item_create(unsigned long index, unsigned int order);
int __item_insert(struct radix_tree_root *root... | 38.171875 | 77 | 0.801474 |
8aad42a832e8461d4de433004a6843a530fb9220 | 2,363 | h | C | src/IntaRNA/AccessibilityBasePair.h | fabio-gut/IntaRNA | 034bb1427673eda5b611dffdba37f464e1bb2835 | [
"MIT"
] | null | null | null | src/IntaRNA/AccessibilityBasePair.h | fabio-gut/IntaRNA | 034bb1427673eda5b611dffdba37f464e1bb2835 | [
"MIT"
] | 1 | 2019-06-27T07:39:05.000Z | 2019-06-27T11:10:52.000Z | src/IntaRNA/AccessibilityBasePair.h | fabio-gut/IntaRNA | 034bb1427673eda5b611dffdba37f464e1bb2835 | [
"MIT"
] | null | null | null |
#ifndef INTARNA_ACCESSIBILITYBASEPAIR_H_
#define INTARNA_ACCESSIBILITYBASEPAIR_H_
#include "IntaRNA/general.h"
#include "IntaRNA/RnaSequence.h"
#include "IntaRNA/Accessibility.h"
#include "IntaRNA/AccessibilityConstraint.h"
#include "IntaRNA/NussinovHandler.h"
namespace IntaRNA {
/**
* Provides accessibility pena... | 27.8 | 84 | 0.720271 |
0e4c16dd1b2fc5930b8925e81444eea834308c80 | 66 | h | C | test_c_lib/include/test3.h | kachsheev/MakeRules | d62166159d24d8f468365ff0e2ef97c9481b982a | [
"MIT"
] | null | null | null | test_c_lib/include/test3.h | kachsheev/MakeRules | d62166159d24d8f468365ff0e2ef97c9481b982a | [
"MIT"
] | null | null | null | test_c_lib/include/test3.h | kachsheev/MakeRules | d62166159d24d8f468365ff0e2ef97c9481b982a | [
"MIT"
] | null | null | null | #ifndef TEST3_H
#define TEST3_H
void test3();
#endif // TEST3_H
| 9.428571 | 17 | 0.712121 |
b8d554fec2feaafa9e48bb1d39898109eae0dd1a | 4,749 | h | C | src/hexview/view/view.h | ejrh/hex | 3c063ce142e6b62fb0f92f71bc94280305b53322 | [
"MIT"
] | 7 | 2015-09-15T13:20:23.000Z | 2020-12-07T10:14:57.000Z | src/hexview/view/view.h | ejrh/hex | 3c063ce142e6b62fb0f92f71bc94280305b53322 | [
"MIT"
] | null | null | null | src/hexview/view/view.h | ejrh/hex | 3c063ce142e6b62fb0f92f71bc94280305b53322 | [
"MIT"
] | 1 | 2018-09-07T00:54:35.000Z | 2018-09-07T00:54:35.000Z | #ifndef LEVEL_VIEW_H
#define LEVEL_VIEW_H
#include "hexgame/game/game.h"
#include "hexav/resources/paint.h"
#include "hexview/view/unit_painter.h"
#include "hexview/view/view_def.h"
#include "hexview/view/view_resources.h"
namespace hex {
class FactionView: public boost::enable_shared_from_this<FactionView> {
pub... | 24.734375 | 117 | 0.714045 |
d449249fd00b32f9075967e2e58754ddfa12a12e | 808 | h | C | msj_archives/code/MSJMar97.src/Custom Wizards/TippyDialog/TippyDialogAw.h | sarangbaheti/misc-code | d47a8d1cc41f19701ce628c9f15976bb5baa239d | [
"Unlicense"
] | 1 | 2020-10-22T12:58:55.000Z | 2020-10-22T12:58:55.000Z | msj_archives/code/MSJMar97.src/Custom Wizards/TippyDialog/TippyDialogAw.h | sarangbaheti/misc-code | d47a8d1cc41f19701ce628c9f15976bb5baa239d | [
"Unlicense"
] | null | null | null | msj_archives/code/MSJMar97.src/Custom Wizards/TippyDialog/TippyDialogAw.h | sarangbaheti/misc-code | d47a8d1cc41f19701ce628c9f15976bb5baa239d | [
"Unlicense"
] | 2 | 2020-10-19T23:36:26.000Z | 2020-10-22T12:59:37.000Z | // TippyDialogaw.h : header file
//
class CDialogChooser;
// All function calls made by mfcapwz.dll to this custom AppWizard (except for
// GetCustomAppWizClass-- see TippyDialog.cpp) are through this class. You may
// choose to override more of the CCustomAppWiz virtual functions here to
// further specialize th... | 35.130435 | 82 | 0.783416 |
54d72c0e2589eb6d8dda7a41195e03bfe6b190d7 | 647 | h | C | algorithms/easy/0557. Reverse Words in a String III.h | MultivacX/letcode2020 | f86289f8718237303918a7705ae31625a12b68f6 | [
"MIT"
] | null | null | null | algorithms/easy/0557. Reverse Words in a String III.h | MultivacX/letcode2020 | f86289f8718237303918a7705ae31625a12b68f6 | [
"MIT"
] | null | null | null | algorithms/easy/0557. Reverse Words in a String III.h | MultivacX/letcode2020 | f86289f8718237303918a7705ae31625a12b68f6 | [
"MIT"
] | null | null | null | // 557. Reverse Words in a String III
// https://leetcode.com/problems/reverse-words-in-a-string-iii/
// Runtime: 20 ms, faster than 75.93% of C++ online submissions for Reverse Words in a String III.
// Memory Usage: 9.9 MB, less than 89.30% of C++ online submissions for Reverse Words in a String III.
class Solu... | 34.052632 | 102 | 0.523957 |
0747337066c11a3a70dfe090b896480267253c8b | 273 | h | C | MJRefreshExample/MJRefreshExample/MJRefresh/MJRefreshLegendFooter.h | dacaiguoguo/LVMJRefresh | 4d41c0383014b6a2b359be5522afbe9d56419fa3 | [
"MIT"
] | null | null | null | MJRefreshExample/MJRefreshExample/MJRefresh/MJRefreshLegendFooter.h | dacaiguoguo/LVMJRefresh | 4d41c0383014b6a2b359be5522afbe9d56419fa3 | [
"MIT"
] | null | null | null | MJRefreshExample/MJRefreshExample/MJRefresh/MJRefreshLegendFooter.h | dacaiguoguo/LVMJRefresh | 4d41c0383014b6a2b359be5522afbe9d56419fa3 | [
"MIT"
] | null | null | null | // https://github.com/CoderMJLee/MJRefresh
// MJRefreshLegendFooter.h
// MJRefreshExample
//
// Created by MJ Lee on 15/3/5.
// Copyright (c) 2015年 itcast. All rights reserved.
//
#import "MJRefreshFooter.h"
@interface MJRefreshLegendFooter : MJRefreshFooter
@end
| 19.5 | 52 | 0.728938 |
b0ee40673bc5ffc2a4d648dddb4f54c9e3098168 | 383 | c | C | mem-dinamica.c | EduardoLlamasRad/C-Utilities | 5a23f2604f2ae43c9eda2d5eb4c8dc5a09428932 | [
"MIT"
] | 2 | 2019-06-06T19:31:04.000Z | 2019-07-30T23:34:20.000Z | mem-dinamica.c | EduardoLlamasRad/C-Utilities | 5a23f2604f2ae43c9eda2d5eb4c8dc5a09428932 | [
"MIT"
] | null | null | null | mem-dinamica.c | EduardoLlamasRad/C-Utilities | 5a23f2604f2ae43c9eda2d5eb4c8dc5a09428932 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
void imprime(int v[], int n){
int i;
for(i = 0; i < n; i++){
printf("%d %d\n", v[i], *(v+i));
}
return;
}
int main(){
int i, *v, n, w[100];
scanf("%d", &n);
v = (int*)malloc(n*sizeof(int));
for(i = 0; i < n; i++){
scanf("%d", &w[i]);
/* scanf("%d", (v+i*sizeof(int))... | 15.32 | 37 | 0.480418 |
c25f3d27d3243d706ec959d23935245e8c9d30a0 | 2,049 | h | C | src/prod/src/data/txnreplicator/loggingreplicator/MemoryLogReadStream.h | gridgentoo/ServiceFabricAzure | c3e7a07617e852322d73e6cc9819d266146866a4 | [
"MIT"
] | 2,542 | 2018-03-14T21:56:12.000Z | 2019-05-06T01:18:20.000Z | src/prod/src/data/txnreplicator/loggingreplicator/MemoryLogReadStream.h | gridgentoo/ServiceFabricAzure | c3e7a07617e852322d73e6cc9819d266146866a4 | [
"MIT"
] | 994 | 2019-05-07T02:39:30.000Z | 2022-03-31T13:23:04.000Z | src/prod/src/data/txnreplicator/loggingreplicator/MemoryLogReadStream.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... | 29.695652 | 99 | 0.488043 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.