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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8e3b9d6965a7c975f7d4cceea03a54c464ed1550 | 373 | c | C | HW-10/hello.c | gyf1214/ICS | d7a5e80d157853434a79e1fa0f83dd30dc7cb90a | [
"MIT"
] | 1 | 2016-12-22T09:59:44.000Z | 2016-12-22T09:59:44.000Z | HW-10/hello.c | gyf1214/ICS | d7a5e80d157853434a79e1fa0f83dd30dc7cb90a | [
"MIT"
] | null | null | null | HW-10/hello.c | gyf1214/ICS | d7a5e80d157853434a79e1fa0f83dd30dc7cb90a | [
"MIT"
] | null | null | null | #include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>
#include <sys/mman.h>
int main() {
int fd = open("hello.txt", O_RDWR);
size_t size = lseek(fd, 0, SEEK_END);
lseek(fd, 0, SEEK_SET);
char *buf = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
buf[0] += 2;
... | 20.722222 | 76 | 0.600536 |
32d7f7d6308a00f6b1785a64c6786107fb464b10 | 2,115 | h | C | include/star/3rdparty/UltraLib/Include/bcg/BCGPSDPlaceMarkerWnd.h | hara-y/StarROS | 03008d8acb46f606bf750cdbb4a9703fae427694 | [
"Apache-2.0"
] | 2 | 2020-05-16T03:14:54.000Z | 2020-05-16T08:27:24.000Z | include/star/3rdparty/UltraLib/Include/bcg/BCGPSDPlaceMarkerWnd.h | hara-y/StarROS | 03008d8acb46f606bf750cdbb4a9703fae427694 | [
"Apache-2.0"
] | null | null | null | include/star/3rdparty/UltraLib/Include/bcg/BCGPSDPlaceMarkerWnd.h | hara-y/StarROS | 03008d8acb46f606bf750cdbb4a9703fae427694 | [
"Apache-2.0"
] | 3 | 2020-05-15T09:50:06.000Z | 2020-08-26T12:47:05.000Z | #if !defined(AFX_BCGPSDPLACEMARKERWND_H__FA84F558_73E5_40AA_9C70_4D69E9FF496C__INCLUDED_)
#define AFX_BCGPSDPLACEMARKERWND_H__FA84F558_73E5_40AA_9C70_4D69E9FF496C__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
//*******************************************************************************
// ... | 25.481928 | 97 | 0.646809 |
0a5b4406b3d12c827f49e20b11fc9c6d6da86b91 | 1,500 | h | C | Intercom.xcframework/ios-arm64_armv7/Intercom.framework/PrivateHeaders/ICMDataManager.h | intercom/intercom-ios | c9135d7293b8e7d0ea47db5eb86a7ebee29132ab | [
"Apache-2.0",
"BSD-3-Clause"
] | 326 | 2015-01-06T01:11:52.000Z | 2022-03-29T22:43:59.000Z | Intercom.xcframework/ios-arm64_i386_x86_64-simulator/Intercom.framework/PrivateHeaders/ICMDataManager.h | intercom/intercom-ios | c9135d7293b8e7d0ea47db5eb86a7ebee29132ab | [
"Apache-2.0",
"BSD-3-Clause"
] | 277 | 2015-01-05T03:11:57.000Z | 2021-11-18T12:23:34.000Z | Intercom.xcframework/ios-arm64_armv7/Intercom.framework/PrivateHeaders/ICMDataManager.h | intercom/intercom-ios | c9135d7293b8e7d0ea47db5eb86a7ebee29132ab | [
"Apache-2.0",
"BSD-3-Clause"
] | 152 | 2015-03-03T00:46:40.000Z | 2021-12-15T18:56:53.000Z | //
// ICMDataManager.h
// IntercomSDK
//
// Created by Dale Cantwell on 28/04/2014.
// Copyright (c) 2014 Intercom. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "ICMUnreadManager.h"
#import "ICMDataManagerProtocol.h"
@class ICMConversation;
@interface ICMDataManager :... | 39.473684 | 186 | 0.789333 |
1140bd5b416300ae0619bf8f269069d509848dc3 | 1,619 | h | C | Scribble/stdafx.h | calgaryscientific/pureweb-cpp-samples | 71ba4e501a05f40dc6447a8e8888848c596c4ef5 | [
"Apache-2.0"
] | null | null | null | Scribble/stdafx.h | calgaryscientific/pureweb-cpp-samples | 71ba4e501a05f40dc6447a8e8888848c596c4ef5 | [
"Apache-2.0"
] | null | null | null | Scribble/stdafx.h | calgaryscientific/pureweb-cpp-samples | 71ba4e501a05f40dc6447a8e8888848c596c4ef5 | [
"Apache-2.0"
] | null | null | null | // Copyright 2013-2019 Calgary Scientific Inc. (operating under the brand name of PureWeb)
//
// 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-... | 26.983333 | 93 | 0.741816 |
76dd9e296f702d0d535039f2faf4a12d83582e64 | 211 | h | C | kandy-cpaas2-sample-ios-oc/Handlers/Chat_Controller.h | hclsampleapps/kandy-cpaas2-sample-ios-oc | d2ea32c3a6fee049769853f91cb47a07a43dc3b1 | [
"MIT"
] | null | null | null | kandy-cpaas2-sample-ios-oc/Handlers/Chat_Controller.h | hclsampleapps/kandy-cpaas2-sample-ios-oc | d2ea32c3a6fee049769853f91cb47a07a43dc3b1 | [
"MIT"
] | null | null | null | kandy-cpaas2-sample-ios-oc/Handlers/Chat_Controller.h | hclsampleapps/kandy-cpaas2-sample-ios-oc | d2ea32c3a6fee049769853f91cb47a07a43dc3b1 | [
"MIT"
] | null | null | null |
#import <UIKit/UIKit.h>
@import CPaaSSDK;
NS_ASSUME_NONNULL_BEGIN
@interface Chat_Controller : UIViewController <CPChatDelegate>
@property(strong, nonatomic) CPaaS* cpaasObject;
@end
NS_ASSUME_NONNULL_END
| 15.071429 | 62 | 0.810427 |
133bd54e8fda03efcb379b53e4ca60de76e5e250 | 2,301 | h | C | 2.4/include/java/sql/SQLPermission.h | yaohb/J2ObjCAuto | 8b5252896999f367066e3f68226620f78c020923 | [
"MIT"
] | null | null | null | 2.4/include/java/sql/SQLPermission.h | yaohb/J2ObjCAuto | 8b5252896999f367066e3f68226620f78c020923 | [
"MIT"
] | null | null | null | 2.4/include/java/sql/SQLPermission.h | yaohb/J2ObjCAuto | 8b5252896999f367066e3f68226620f78c020923 | [
"MIT"
] | null | null | null | //
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: android/platform/libcore/ojluni/src/main/java/java/sql/SQLPermission.java
//
#include "J2ObjC_header.h"
#pragma push_macro("INCLUDE_ALL_JavaSqlSQLPermission")
#ifdef RESTRICT_JavaSqlSQLPermission
#define INCLUDE_ALL_JavaSqlSQLPermission 0
#else
#def... | 32.408451 | 151 | 0.837897 |
92bac5fa9f58b508d6ac0bf06692f25dd3818088 | 400 | h | C | be/src/storage/lake/tablet_metadata.h | stephen-shelby/starrocks | 67932670efddbc8c56e2aaf5d3758724dcb44b0a | [
"Zlib",
"PSF-2.0",
"BSD-2-Clause",
"Apache-2.0",
"ECL-2.0",
"BSD-3-Clause-Clear"
] | 1 | 2022-03-08T09:13:32.000Z | 2022-03-08T09:13:32.000Z | be/src/storage/lake/tablet_metadata.h | stephen-shelby/starrocks | 67932670efddbc8c56e2aaf5d3758724dcb44b0a | [
"Zlib",
"PSF-2.0",
"BSD-2-Clause",
"Apache-2.0",
"ECL-2.0",
"BSD-3-Clause-Clear"
] | null | null | null | be/src/storage/lake/tablet_metadata.h | stephen-shelby/starrocks | 67932670efddbc8c56e2aaf5d3758724dcb44b0a | [
"Zlib",
"PSF-2.0",
"BSD-2-Clause",
"Apache-2.0",
"ECL-2.0",
"BSD-3-Clause-Clear"
] | null | null | null | // This file is licensed under the Elastic License 2.0. Copyright 2021-present, StarRocks Limited.
#pragma once
#include <memory>
#include "gen_cpp/starlake.pb.h"
namespace starrocks::lake {
using TabletMetadata = TabletMetadataPB;
using TabletMetadataPtr = std::shared_ptr<const TabletMetadata>;
using MutableTable... | 25 | 98 | 0.7875 |
dd4f344c8fbdc1cc8022d6839b455fd8a57d2c52 | 2,062 | c | C | screen.c | Goloman/crescent | 212ed93e9235e62bbe321f23c67b97cd1899db0e | [
"MIT"
] | 1 | 2016-07-27T10:15:08.000Z | 2016-07-27T10:15:08.000Z | screen.c | Goloman/crescent | 212ed93e9235e62bbe321f23c67b97cd1899db0e | [
"MIT"
] | null | null | null | screen.c | Goloman/crescent | 212ed93e9235e62bbe321f23c67b97cd1899db0e | [
"MIT"
] | null | null | null | #include <SDL2/SDL.h>
#include <SDL2/SDL_image.h>
#define SCREEN_WIDTH 640
#define SCREEN_HEIGHT 480
#define TICK_INTERNAL 100
#define SDL_ERR() (fprintf(stderr, "%s:%d %s\n", __FILE__, __LINE__, SDL_GetError()), exit(EXIT_FAILURE))
int main() {
if (SDL_Init(SDL_INIT_TIMER | SDL_INIT_VIDEO) != 0)
SDL_ERR();
S... | 22.172043 | 105 | 0.571775 |
46b48d22affe719f8e4d0d048a8ef9ec255e5f9d | 26,164 | h | C | DREAM3DReviewFilters/InsertTransformationPhases.h | JDuffeyBQ/DREAM3DReview | 098ddc60d1c53764e09e21e08d4636233071be31 | [
"BSD-3-Clause"
] | null | null | null | DREAM3DReviewFilters/InsertTransformationPhases.h | JDuffeyBQ/DREAM3DReview | 098ddc60d1c53764e09e21e08d4636233071be31 | [
"BSD-3-Clause"
] | 18 | 2017-09-01T23:13:02.000Z | 2021-09-02T12:58:57.000Z | DREAM3DReviewFilters/InsertTransformationPhases.h | JDuffeyBQ/DREAM3DReview | 098ddc60d1c53764e09e21e08d4636233071be31 | [
"BSD-3-Clause"
] | 9 | 2017-09-01T23:15:17.000Z | 2021-09-21T13:24:19.000Z | /* ============================================================================
* Copyright (c) 2011 Michael A. Jackson (BlueQuartz Software)
* Copyright (c) 2011 Dr. Michael A. Groeber (US Air Force Research Laboratories)
* Copyright (c) 2015 Dr. Joseph C. Tucker (UES, Inc.)
* Copyright (c) 2014 Sudipto Mandal & P... | 42.405186 | 194 | 0.792195 |
de07e6a0e3e535b029ba6f7d131677459c3e9d7a | 304 | h | C | MMSegObjC/MMSegObjC/MMSToken.h | younthu/mmsegObjc | f23606b93ff0750af7ae7288845fd3eb921c31a5 | [
"MIT"
] | 2 | 2016-03-28T05:38:46.000Z | 2016-12-05T09:59:04.000Z | MMSegObjC/MMSegObjC/MMSToken.h | younthu/mmsegObjc | f23606b93ff0750af7ae7288845fd3eb921c31a5 | [
"MIT"
] | null | null | null | MMSegObjC/MMSegObjC/MMSToken.h | younthu/mmsegObjc | f23606b93ff0750af7ae7288845fd3eb921c31a5 | [
"MIT"
] | null | null | null | //
// MMSToken.h
// MMSegObjC
//
// Created by Andrew(Zhiyong) Yang on 1/15/16.
// Copyright © 2016 FoolDragon. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface MMSToken : NSObject
@property (nonatomic, copy) NSString *text;
@property (nonatomic, assign) NSRange range;
@end
| 20.266667 | 53 | 0.703947 |
940891ea2e6a28da00ad30ea6d9c38a922aa622d | 958 | h | C | packages/mccomposite/lib/geometry/primitives/Sphere.h | mcvine/mcvine | 42232534b0c6af729628009bed165cd7d833789d | [
"BSD-3-Clause"
] | 5 | 2017-01-16T03:59:47.000Z | 2020-06-23T02:54:19.000Z | packages/mccomposite/lib/geometry/primitives/Sphere.h | mcvine/mcvine | 42232534b0c6af729628009bed165cd7d833789d | [
"BSD-3-Clause"
] | 293 | 2015-10-29T17:45:52.000Z | 2022-01-07T16:31:09.000Z | packages/mccomposite/lib/geometry/primitives/Sphere.h | mcvine/mcvine | 42232534b0c6af729628009bed165cd7d833789d | [
"BSD-3-Clause"
] | 1 | 2019-05-25T00:53:31.000Z | 2019-05-25T00:53:31.000Z | // -*- C++ -*-
//
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Jiao Lin
// California Institute of Technology
// (C) 2005 All Rights Reserved
//
// {LicenseText}
//
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~... | 18.784314 | 81 | 0.463466 |
7cbf0830aebbb61eafc36e692504700dcb0c1d7d | 1,418 | h | C | assembler/asmif.h | paulscottrobson/RCA-Cosmac-VIP-III | 5d3fcea325aacb7c99269f266bc14e30439cdc2b | [
"MIT"
] | null | null | null | assembler/asmif.h | paulscottrobson/RCA-Cosmac-VIP-III | 5d3fcea325aacb7c99269f266bc14e30439cdc2b | [
"MIT"
] | null | null | null | assembler/asmif.h | paulscottrobson/RCA-Cosmac-VIP-III | 5d3fcea325aacb7c99269f266bc14e30439cdc2b | [
"MIT"
] | null | null | null | #ifndef _ASMIF_H
#define _ASMIF_H
/* asmif.h */
/*****************************************************************************/
/* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only */
/* */
/* AS-Portierung ... | 30.826087 | 79 | 0.408322 |
f5d25e1d370344a74e4bf3d4573f677a3cc5b32f | 324 | h | C | server/src/Include.h | PolyProgrammist/UTBotCpp | 4886622f21c92e3b73daa553008e541be9d82f21 | [
"Apache-2.0"
] | null | null | null | server/src/Include.h | PolyProgrammist/UTBotCpp | 4886622f21c92e3b73daa553008e541be9d82f21 | [
"Apache-2.0"
] | null | null | null | server/src/Include.h | PolyProgrammist/UTBotCpp | 4886622f21c92e3b73daa553008e541be9d82f21 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) Huawei Technologies Co., Ltd. 2012-2021. All rights reserved.
*/
#ifndef UNITTESTBOT_INCLUDE_H
#define UNITTESTBOT_INCLUDE_H
#include "utils/path/FileSystemPath.h"
struct Include {
bool is_angled;
fs::path path;
Include(bool isAngled, fs::path path);
};
#endif //UNITTESTBOT_INCLUD... | 17.052632 | 78 | 0.722222 |
ea0e753a23665f6cbf5aee71b45cfdad8a734f66 | 21,832 | h | C | analogEtherNet/gr_sakura_ethernet/tkdnip.h | SaneyukiM/Arudino-Xamarine-UdpListener | 68249ecc8d5fee646a414c6aa9a7ed67d424f24f | [
"MIT"
] | null | null | null | analogEtherNet/gr_sakura_ethernet/tkdnip.h | SaneyukiM/Arudino-Xamarine-UdpListener | 68249ecc8d5fee646a414c6aa9a7ed67d424f24f | [
"MIT"
] | null | null | null | analogEtherNet/gr_sakura_ethernet/tkdnip.h | SaneyukiM/Arudino-Xamarine-UdpListener | 68249ecc8d5fee646a414c6aa9a7ed67d424f24f | [
"MIT"
] | 2 | 2022-01-24T21:58:51.000Z | 2022-01-24T21:59:42.000Z | /*******************************************************************************
* GR-SAKURA LIBRARY LICENSE. LIMITATION and DISCLAIMER of WARRANTY
*
* This software is supplied by Tokushu Denshi Kairo Inc. and is only intended
* for use with Gadget Renesas projects. No other uses are authorized.
* This software is o... | 41.505703 | 149 | 0.457127 |
73f060b079817c47a6aec1ccee46f9ec81654694 | 196 | h | C | sources/drivers/gpu/drm/nouveau/core/include/subdev/bios/bit.h | fuldaros/paperplane_kernel_wileyfox-spark | bea244880d2de50f4ad14bb6fa5777652232c033 | [
"Apache-2.0"
] | 55 | 2019-12-20T03:25:14.000Z | 2022-01-16T07:19:47.000Z | sources/drivers/gpu/drm/nouveau/core/include/subdev/bios/bit.h | fuldaros/paperplane_kernel_wileyfox-spark | bea244880d2de50f4ad14bb6fa5777652232c033 | [
"Apache-2.0"
] | 2 | 2020-11-02T08:01:00.000Z | 2022-03-27T02:59:18.000Z | sources/drivers/gpu/drm/nouveau/core/include/subdev/bios/bit.h | fuldaros/paperplane_kernel_wileyfox-spark | bea244880d2de50f4ad14bb6fa5777652232c033 | [
"Apache-2.0"
] | 11 | 2020-08-06T03:59:45.000Z | 2022-02-25T02:31:59.000Z | #ifndef __NVBIOS_BIT_H__
#define __NVBIOS_BIT_H__
struct bit_entry {
u8 id;
u8 version;
u16 length;
u16 offset;
};
int bit_entry(struct nouveau_bios *, u8 id, struct bit_entry *);
#endif
| 14 | 64 | 0.734694 |
90fd5b63ec2d1a1786001aa2d2f10c51dc276988 | 248 | c | C | src/action/actions/move/east_action.c | danielmunro/csaw | 83b9bd668ce47b20c0acc958177f134400d7263f | [
"MIT"
] | null | null | null | src/action/actions/move/east_action.c | danielmunro/csaw | 83b9bd668ce47b20c0acc958177f134400d7263f | [
"MIT"
] | null | null | null | src/action/actions/move/east_action.c | danielmunro/csaw | 83b9bd668ce47b20c0acc958177f134400d7263f | [
"MIT"
] | null | null | null | void do_east_action(GameServiceT *game_service, RequestT *request) {
do_move_action(game_service, request, EastDirection);
}
ActionT *create_east_action() {
return create_action(EastAction, "east", create_single_word(), do_east_action);
}
| 31 | 83 | 0.778226 |
4276b0ce1b931e2dff69497fee92db7d93cee70a | 860 | c | C | sys/taika/locore/x86/smbios.c | vendu/vaaja | 24066d15df39b8c4326707c004e0cc16495987a5 | [
"BSD-3-Clause"
] | 4 | 2020-05-11T15:19:54.000Z | 2020-08-29T00:19:09.000Z | kern/unit/x86/smbios.c | JamesLinus/OS-Zero | effa0bd7c35ac21ba6132120549b4e882001b0e6 | [
"BSD-3-Clause"
] | 1 | 2021-06-01T22:14:37.000Z | 2021-06-01T22:14:37.000Z | sys/taika/locore/x86/smbios.c | vendu/vaaja | 24066d15df39b8c4326707c004e0cc16495987a5 | [
"BSD-3-Clause"
] | null | null | null | #include <kern/conf.h>
#if (SMBIOS)
#include <stddef.h>
#include <stdint.h>
#include <kern/util.h>
#include <kern/unit/x86/smbios.h>
struct smbiosdrv smbiosdrv;
static struct smbioshdr *
smbiosfind(void)
{
struct smbioshdr *hdr = NULL;
uint32_t *ptr = (uint32_t *)0xf0000;
uint32_t *lim... | 16.862745 | 51 | 0.565116 |
5d013bdbaa5fba3143f769e2bc0eebdaf9cdf5e5 | 251 | h | C | src/mods/WorldGenMod/WorldGenMod.h | thetrueoneshots/CubeMegaMod | b5efbd559cbd2b7399f42b4ffab3453a1dd544bf | [
"MIT"
] | 39 | 2021-02-28T04:17:16.000Z | 2022-02-23T14:25:41.000Z | src/mods/WorldGenMod/WorldGenMod.h | thetrueoneshots/CubeMegaMod | b5efbd559cbd2b7399f42b4ffab3453a1dd544bf | [
"MIT"
] | 16 | 2021-03-12T04:44:33.000Z | 2022-03-31T14:16:16.000Z | src/mods/WorldGenMod/WorldGenMod.h | thetrueoneshots/CubeMegaMod | b5efbd559cbd2b7399f42b4ffab3453a1dd544bf | [
"MIT"
] | 3 | 2021-09-10T14:19:08.000Z | 2021-12-19T20:45:04.000Z | #pragma once
#include "../../CubeMod.h"
#include "../../hooks.h"
class WorldGenMod : public CubeMod
{
public:
WorldGenMod() {
m_Name = "World Gen Mod";
m_FileName = "WorldGenMod";
m_ID = 6;
m_Version = { 1, 1, 0 };
}
void Initialize();
}; | 15.6875 | 34 | 0.609562 |
513a5f3b164949bda31615d556a7e08f12651959 | 2,002 | h | C | source/main.h | Husamdababneh/Commandos-strike-force-extractor | 1205bed2c325e0351b714cd767dfd5661340ab0e | [
"Apache-2.0"
] | null | null | null | source/main.h | Husamdababneh/Commandos-strike-force-extractor | 1205bed2c325e0351b714cd767dfd5661340ab0e | [
"Apache-2.0"
] | null | null | null | source/main.h | Husamdababneh/Commandos-strike-force-extractor | 1205bed2c325e0351b714cd767dfd5661340ab0e | [
"Apache-2.0"
] | null | null | null | /* ========================================================================
$File: main.h
$Date: 2020-03-20
$Revision: : @Incomplete
$Creator: Husam Dababneh
========================================================================*/
#pragma once
#include <stdint.h>
typedef uint8_t u8;
typedef uint16_... | 16.276423 | 178 | 0.604895 |
b63901f6525033176a01cda69540f4fab6547228 | 301 | h | C | src/led_controller/led_controller.h | ojousima/ruuvi.node_nrf91.c | a157c5fa6bd8f6f8a411a7796fe84367fc32ed4f | [
"BSD-3-Clause"
] | null | null | null | src/led_controller/led_controller.h | ojousima/ruuvi.node_nrf91.c | a157c5fa6bd8f6f8a411a7796fe84367fc32ed4f | [
"BSD-3-Clause"
] | null | null | null | src/led_controller/led_controller.h | ojousima/ruuvi.node_nrf91.c | a157c5fa6bd8f6f8a411a7796fe84367fc32ed4f | [
"BSD-3-Clause"
] | null | null | null | #include <zephyr.h>
void led_init(void);
void toggle_led_one(u8_t on);
void flash_led_one(void);
void toggle_led_two(u8_t on);
void flash_led_two(void);
void toggle_led_three(u8_t on);
void flash_led_three(void);
void toggle_led_four(u8_t on);
void flash_led_four(void);
| 14.333333 | 32 | 0.717608 |
99b96cc37cddc2f49b61e223033c6078303f10a5 | 4,545 | h | C | src/util/gui/unhoverdeletemixin.h | MellonQ/leechcraft | 71cbb238d2dade56b3865278a6a8e6a58c217fc5 | [
"BSL-1.0"
] | 1 | 2017-01-12T07:05:45.000Z | 2017-01-12T07:05:45.000Z | src/util/gui/unhoverdeletemixin.h | MellonQ/leechcraft | 71cbb238d2dade56b3865278a6a8e6a58c217fc5 | [
"BSL-1.0"
] | null | null | null | src/util/gui/unhoverdeletemixin.h | MellonQ/leechcraft | 71cbb238d2dade56b3865278a6a8e6a58c217fc5 | [
"BSL-1.0"
] | null | null | null | /**********************************************************************
* LeechCraft - modular cross-platform feature rich internet client.
* Copyright (C) 2006-2014 Georg Rudoy
*
* Boost Software License - Version 1.0 - August 17th, 2003
*
* Permission is hereby granted, free of charge, to any person or organiz... | 36.653226 | 94 | 0.69945 |
797e2ce3ec7720a558cc335b917e82bcccacc3a5 | 679 | h | C | include/NoiseTools.h | fmidev/smartmet-qdcontour | 8cf0ea3f03f8784249ea4f69d9b2bcdf83accc4a | [
"MIT"
] | null | null | null | include/NoiseTools.h | fmidev/smartmet-qdcontour | 8cf0ea3f03f8784249ea4f69d9b2bcdf83accc4a | [
"MIT"
] | null | null | null | include/NoiseTools.h | fmidev/smartmet-qdcontour | 8cf0ea3f03f8784249ea4f69d9b2bcdf83accc4a | [
"MIT"
] | 1 | 2017-05-04T08:02:41.000Z | 2017-05-04T08:02:41.000Z | // ======================================================================
/*!
* \file
* \brief Interface of namespace NoiseTools
*/
// ======================================================================
#ifndef NOISETOOLS_H
#define NOISETOOLS_H
#include <newbase/NFmiDataMatrix.h>
namespace NoiseTools
{
// weig... | 24.25 | 73 | 0.430044 |
c3d22eae69eda502629659f09d2e85f02c3d873e | 203 | h | C | extras/common/timing.h | simondlevy/CrossPlatformI2C | 548522ab86100b98cf8dd2022ef55f2925abe0b0 | [
"MIT"
] | 9 | 2019-04-02T12:19:58.000Z | 2022-01-09T19:08:13.000Z | extras/common/timing.h | simondlevy/CrossPlatformI2C | 548522ab86100b98cf8dd2022ef55f2925abe0b0 | [
"MIT"
] | 3 | 2020-02-20T23:16:26.000Z | 2020-09-12T06:55:04.000Z | extras/common/timing.h | simondlevy/CrossPlatformDataBus | 548522ab86100b98cf8dd2022ef55f2925abe0b0 | [
"MIT"
] | 4 | 2019-06-13T19:27:32.000Z | 2020-03-14T03:28:13.000Z | /*
timing.h: Arduino-style delay(), micros() for Linux
Copyright (c) 2021 Simon D. Levy
MIT LIcense
*/
void delay(unsigned int msec);
unsigned int millis(void);
unsigned int micros(void);
| 14.5 | 54 | 0.679803 |
d7a9cfd8f7546d7efeec72731c9d8770715efb20 | 3,341 | c | C | ext/hal/nordic/nrfx/drivers/src/nrfx_spim.c | dmgerman/zephyrd3 | b6a23cc9c5d534c352e33fd18fff7799ac3c2886 | [
"Apache-2.0"
] | null | null | null | ext/hal/nordic/nrfx/drivers/src/nrfx_spim.c | dmgerman/zephyrd3 | b6a23cc9c5d534c352e33fd18fff7799ac3c2886 | [
"Apache-2.0"
] | null | null | null | ext/hal/nordic/nrfx/drivers/src/nrfx_spim.c | dmgerman/zephyrd3 | b6a23cc9c5d534c352e33fd18fff7799ac3c2886 | [
"Apache-2.0"
] | null | null | null | DECL|NRFX_LOG_MODULE|macro|NRFX_LOG_MODULE
DECL|SPIM0_LENGTH_VALIDATE|macro|SPIM0_LENGTH_VALIDATE
DECL|SPIM0_LENGTH_VALIDATE|macro|SPIM0_LENGTH_VALIDATE
DECL|SPIM1_LENGTH_VALIDATE|macro|SPIM1_LENGTH_VALIDATE
DECL|SPIM1_LENGTH_VALIDATE|macro|SPIM1_LENGTH_VALIDATE
DECL|SPIM2_LENGTH_VALIDATE|macro|SPIM2_LENGTH_VALIDATE
DE... | 72.630435 | 180 | 0.879976 |
be59210a1860aa9b0f9bcdfcc4b18dab49a201a9 | 327 | c | C | src/compat/vsyslog.c | awujek/lldpd | e25f1966e0d0b810ab88813b519e52efe4c62923 | [
"0BSD"
] | 312 | 2015-01-18T15:36:55.000Z | 2020-11-10T02:58:53.000Z | src/compat/vsyslog.c | awujek/lldpd | e25f1966e0d0b810ab88813b519e52efe4c62923 | [
"0BSD"
] | 308 | 2015-01-12T13:57:09.000Z | 2020-11-12T01:22:42.000Z | src/compat/vsyslog.c | awujek/lldpd | e25f1966e0d0b810ab88813b519e52efe4c62923 | [
"0BSD"
] | 129 | 2015-01-20T03:42:22.000Z | 2020-09-26T01:46:27.000Z | /* -*- mode: c; c-file-style: "openbsd" -*- */
#include <stdlib.h>
#include <syslog.h>
#include "compat.h"
/* vsyslog() doesn't exist on HP-UX */
void
vsyslog(int facility, const char *format, va_list ap) {
char *msg = NULL;
if (vasprintf(&msg, format, ap) == -1) {
return;
}
syslog(facility, "%s", msg);
free(m... | 19.235294 | 55 | 0.608563 |
71e64662557c10952cac35c9984ab30654393dec | 252 | h | C | DemoPageView/PageView/UIColor/UIColor+YGW.h | yangjw/iOS-Demo | dcf85a0a9cc521cf0fd3786e0908caf46f936fa9 | [
"MIT"
] | null | null | null | DemoPageView/PageView/UIColor/UIColor+YGW.h | yangjw/iOS-Demo | dcf85a0a9cc521cf0fd3786e0908caf46f936fa9 | [
"MIT"
] | null | null | null | DemoPageView/PageView/UIColor/UIColor+YGW.h | yangjw/iOS-Demo | dcf85a0a9cc521cf0fd3786e0908caf46f936fa9 | [
"MIT"
] | null | null | null | //
// UIColor+YGW.h
// PageView
//
// Created by yangjw on 2018/3/13.
// Copyright © 2018年 yangjw. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIColor (YGW)
+ (UIColor *)randomColor;
+ (UIColor *)colorWithHex:(NSString *)hex;
@end
| 16.8 | 50 | 0.662698 |
a7fe2655bab81785c554fa77ff19c7241b67d104 | 3,001 | h | C | KSOColorPicker/KSOColorPickerButton.h | Kosoku/KSOColorPicker | 7558e5ecd94649d5d9baead6f90f67f476f9bd13 | [
"Apache-2.0"
] | 2 | 2020-04-01T19:45:38.000Z | 2020-05-15T16:03:53.000Z | KSOColorPicker/KSOColorPickerButton.h | Kosoku/KSOColorPicker | 7558e5ecd94649d5d9baead6f90f67f476f9bd13 | [
"Apache-2.0"
] | 1 | 2018-09-10T19:42:26.000Z | 2018-09-10T19:42:26.000Z | KSOColorPicker/KSOColorPickerButton.h | Kosoku/KSOColorPicker | 7558e5ecd94649d5d9baead6f90f67f476f9bd13 | [
"Apache-2.0"
] | null | null | null | //
// KSOColorPickerButton.h
// KSOColorPicker-iOS
//
// Created by William Towe on 9/10/18.
// Copyright © 2018 Kosoku Interactive, LLC. 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 obtai... | 35.72619 | 171 | 0.785072 |
413ef1a8a44b66c029217edfca74e66b61c5d136 | 2,396 | c | C | nm/src/fill_elf.c | rectoria/PSU_2017_nmobjdump | 83ba06e832cfdb8243221eb33f91c4d8da78d35b | [
"MIT"
] | null | null | null | nm/src/fill_elf.c | rectoria/PSU_2017_nmobjdump | 83ba06e832cfdb8243221eb33f91c4d8da78d35b | [
"MIT"
] | null | null | null | nm/src/fill_elf.c | rectoria/PSU_2017_nmobjdump | 83ba06e832cfdb8243221eb33f91c4d8da78d35b | [
"MIT"
] | null | null | null | /*
** EPITECH PROJECT, 2021
** PSU_2017_nmobjdump
** File description:
** Created by rectoria
*/
#include <string.h>
#include <stdio.h>
#include "my_nm.h"
bool isElf(Elf64_Ehdr *elf)
{
return (elf->e_ident[EI_MAG0] == ELFMAG0
&& elf->e_ident[EI_MAG1] == ELFMAG1
&& elf->e_ident[EI_MAG2] == ELFMAG2
&& elf->e_ide... | 28.188235 | 73 | 0.613105 |
b381d41312074f24a72a15703332fdd959d3ea6f | 1,284 | h | C | PrivateFrameworks/CloudPhotoLibrary/CPLBaseSyncManager.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 17 | 2018-11-13T04:02:58.000Z | 2022-01-20T09:27:13.000Z | PrivateFrameworks/CloudPhotoLibrary/CPLBaseSyncManager.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 3 | 2018-04-06T02:02:27.000Z | 2018-10-02T01:12:10.000Z | PrivateFrameworks/CloudPhotoLibrary/CPLBaseSyncManager.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 1 | 2018-09-28T13:54:23.000Z | 2018-09-28T13:54:23.000Z | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import <CloudPhotoLibrary/CPLPlatformObject.h>
#import "CPLEngineSyncManagerImplementation.h"
@class NSString, _CPLProgress;
@interface CPLBaseSyncManager : CPLPlatformObject <C... | 29.181818 | 89 | 0.767134 |
7da8ea7e085fcd0ca8b07b2289b1adf739e9c746 | 385 | h | C | 29--Oscar/MovieMania/MovieMania/DetailTableViewController.h | PedroTrujilloV/TIY-Assignments | 774c927ad984d61d68ff66bc2b280a85bcfae513 | [
"CC0-1.0"
] | null | null | null | 29--Oscar/MovieMania/MovieMania/DetailTableViewController.h | PedroTrujilloV/TIY-Assignments | 774c927ad984d61d68ff66bc2b280a85bcfae513 | [
"CC0-1.0"
] | null | null | null | 29--Oscar/MovieMania/MovieMania/DetailTableViewController.h | PedroTrujilloV/TIY-Assignments | 774c927ad984d61d68ff66bc2b280a85bcfae513 | [
"CC0-1.0"
] | null | null | null | //
// DetailTableViewController.h
// MovieMania
//
// Created by Pedro Trujillo on 11/13/15.
// Copyright © 2015 The Iron Yard. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "Movie.h"
#import "MoviesCell.h"
@interface DetailTableViewController : UITableViewController
@property (nonatomic) Movie *movie;... | 20.263158 | 60 | 0.742857 |
f26a4905781921c00089aae08c4426ab588b805a | 1,918 | c | C | 8-0-kruskal/search_tree.c | Dimonchik0036/FIT-16211-All-labs | c380f1be0824dc8ad5844f355521c9b183852a0b | [
"MIT"
] | 4 | 2017-06-08T18:01:31.000Z | 2017-12-07T08:36:29.000Z | 8-0-kruskal/search_tree.c | Dimonchik0036/FIT-16211-All-labs | c380f1be0824dc8ad5844f355521c9b183852a0b | [
"MIT"
] | null | null | null | 8-0-kruskal/search_tree.c | Dimonchik0036/FIT-16211-All-labs | c380f1be0824dc8ad5844f355521c9b183852a0b | [
"MIT"
] | null | null | null | // Labs: 8-0-kruskal
// Author: Dimonchik0036
#include <stdio.h>
#include <stdlib.h>
#include "kruskal.h"
struct Stack
{
int indexFrom;
int indexTo;
struct Stack *next;
};
static void push(struct Stack **st, int from, int to)
{
if (!st)
{
fprintf(stderr, "ERROR: NULL pointer(Stack)\n");
exit(0);
}
stru... | 17.436364 | 123 | 0.583942 |
93d6ff696fbac5cc6c2c96a512f17dae7082baa9 | 64 | h | C | src/configFile.h | rexdex/lua_build | 3da086ab8ed9d120539c27e13f71026629f009ac | [
"MIT"
] | null | null | null | src/configFile.h | rexdex/lua_build | 3da086ab8ed9d120539c27e13f71026629f009ac | [
"MIT"
] | null | null | null | src/configFile.h | rexdex/lua_build | 3da086ab8ed9d120539c27e13f71026629f009ac | [
"MIT"
] | null | null | null | #pragma once
#include "common.h"
#include "utils.h"
//--
//-- | 8 | 19 | 0.578125 |
7a417f1927f84510ef41d3ddfa7db99d1d08880f | 477 | h | C | src/render/scene.h | ugozapad/pbr-sandbox | 07417cc68b9422ff01b4c293a42d8ce65f9297ca | [
"BSD-2-Clause"
] | null | null | null | src/render/scene.h | ugozapad/pbr-sandbox | 07417cc68b9422ff01b4c293a42d8ce65f9297ca | [
"BSD-2-Clause"
] | null | null | null | src/render/scene.h | ugozapad/pbr-sandbox | 07417cc68b9422ff01b4c293a42d8ce65f9297ca | [
"BSD-2-Clause"
] | null | null | null | #pragma once
#include "render/mesh.h"
#include "render/light.h"
class ConstantBuffer;
class Scene
{
public:
static int ms_lightsCount;
public:
static Scene* createFromFile(const char* filename);
private:
Scene(aiNode *node, const aiScene *scene);
void processNode(aiNode *node, const aiScene *scene);
void initSc... | 17.666667 | 54 | 0.744235 |
4d61c93f6fcf5284f641a17e34ee044ad452973b | 172 | h | C | src/ai/robot/GreenTargetRobot.h | elikos/elikos_decisionmaking | d48379643e69ad5fa5dfb2fc79034ca259cf0012 | [
"MIT"
] | 1 | 2019-02-24T08:29:06.000Z | 2019-02-24T08:29:06.000Z | src/ai/robot/GreenTargetRobot.h | elikos/elikos_decisionmaking | d48379643e69ad5fa5dfb2fc79034ca259cf0012 | [
"MIT"
] | null | null | null | src/ai/robot/GreenTargetRobot.h | elikos/elikos_decisionmaking | d48379643e69ad5fa5dfb2fc79034ca259cf0012 | [
"MIT"
] | 1 | 2019-02-12T23:06:13.000Z | 2019-02-12T23:06:13.000Z | //
// Created by olivier on 9/22/16.
//
#ifndef AI_GREEN_TARGET_ROBOT_H
#define AI_GREEN_TARGET_ROBOT_H
class GreenTargetRobot
{
};
#endif // AI_GREEN_TARGET_ROBOT_H
| 10.75 | 33 | 0.755814 |
7fab2832c243c62ee9536d52f8acc3403fcc45c9 | 5,895 | h | C | src/runtime/ext/profile/extprofile_function.h | zhangjiayin/hiphop-php | 7d2f56f342938ba8dc6c54d44e39aa0ba5390679 | [
"PHP-3.01",
"Zend-2.0"
] | 10 | 2019-01-20T18:09:28.000Z | 2021-06-17T01:29:31.000Z | src/runtime/ext/profile/extprofile_function.h | lorenzo/hiphop-php | 31a9c9039f309dcfa213f0db5d29e63bfa4643a9 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | src/runtime/ext/profile/extprofile_function.h | lorenzo/hiphop-php | 31a9c9039f309dcfa213f0db5d29e63bfa4643a9 | [
"PHP-3.01",
"Zend-2.0"
] | 4 | 2015-01-15T00:04:16.000Z | 2020-07-26T09:03:34.000Z | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010- Facebook, Inc. (http://www.facebook.com) |
| Copyrigh... | 38.529412 | 145 | 0.717218 |
36998899b4836f54ca50a140f6e5dd373b729532 | 5,020 | h | C | Marlin/src/lcd/extui/mks_ui/wifi_module.h | tom-2273/Tronxy_SKR_mini_E3_V20 | bc4a8dc2c6c627e4bd7aa423794246f5b051448d | [
"CC0-1.0"
] | null | null | null | Marlin/src/lcd/extui/mks_ui/wifi_module.h | tom-2273/Tronxy_SKR_mini_E3_V20 | bc4a8dc2c6c627e4bd7aa423794246f5b051448d | [
"CC0-1.0"
] | null | null | null | Marlin/src/lcd/extui/mks_ui/wifi_module.h | tom-2273/Tronxy_SKR_mini_E3_V20 | bc4a8dc2c6c627e4bd7aa423794246f5b051448d | [
"CC0-1.0"
] | null | null | null | /**
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | 24.851485 | 79 | 0.729482 |
36e4086b555c4d95001a1ea4fa7362379967c064 | 8,961 | h | C | os/board/rtl8721csm/src/component/soc/realtek/amebad/fwlib/include/rtl8721d_gpio.h | ziyik/TizenRT-1 | d510c03303fcfa605bc12c60f826fa5642bbe406 | [
"Apache-2.0"
] | 511 | 2017-03-29T09:14:09.000Z | 2022-03-30T23:10:29.000Z | os/board/rtl8721csm/src/component/soc/realtek/amebad/fwlib/include/rtl8721d_gpio.h | ziyik/TizenRT-1 | d510c03303fcfa605bc12c60f826fa5642bbe406 | [
"Apache-2.0"
] | 4,673 | 2017-03-29T10:43:43.000Z | 2022-03-31T08:33:44.000Z | os/board/rtl8721csm/src/component/soc/realtek/amebad/fwlib/include/rtl8721d_gpio.h | ziyik/TizenRT-1 | d510c03303fcfa605bc12c60f826fa5642bbe406 | [
"Apache-2.0"
] | 642 | 2017-03-30T20:45:33.000Z | 2022-03-24T17:07:33.000Z | /**
******************************************************************************
* @file rtl8721d_gpio.h
* @author
* @version V1.0.0
* @date 2016-05-17
* @brief This file contains all the functions prototypes for the GPIO firmware
* library.
*******************************************... | 33.815094 | 120 | 0.577056 |
9a8adaa6916516d16f4be52c5148544ac969ad28 | 32,778 | c | C | examples/fonts/fontcmss46b.c | aehparta/libeui | bf73d8dd7b13c4fdcf2524f4e5baa0187bb5fe6c | [
"MIT"
] | 1 | 2020-08-14T22:32:53.000Z | 2020-08-14T22:32:53.000Z | software/rfPacketRx_CC1352P1_LAUNCHXL_tirtos_gcc/fonts/fontcmss46b.c | nlbutts/cc1352_mini_board | ce18b36773f8626cc8bd09935166d7b5476379de | [
"MIT"
] | null | null | null | software/rfPacketRx_CC1352P1_LAUNCHXL_tirtos_gcc/fonts/fontcmss46b.c | nlbutts/cc1352_mini_board | ce18b36773f8626cc8bd09935166d7b5476379de | [
"MIT"
] | null | null | null | /* --COPYRIGHT--,BSD
* Copyright (c) 2014, Texas Instruments Incorporated
* 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 copy... | 58.220249 | 79 | 0.468027 |
9a922752ca9592b0aa3df29889a1b2ba7311abbf | 3,257 | h | C | Code/Tools/Animation/GraphEditor/EditorGraph/Animation_EditorGraph_Variations.h | JuanluMorales/KRG | f3a11de469586a4ef0db835af4bc4589e6b70779 | [
"MIT"
] | 419 | 2022-01-27T19:37:43.000Z | 2022-03-31T06:14:22.000Z | Code/Tools/Animation/GraphEditor/EditorGraph/Animation_EditorGraph_Variations.h | jagt/KRG | ba20cd8798997b0450491b0cc04dc817c4a4bc76 | [
"MIT"
] | 2 | 2022-01-28T20:35:33.000Z | 2022-03-13T17:42:52.000Z | Code/Tools/Animation/GraphEditor/EditorGraph/Animation_EditorGraph_Variations.h | jagt/KRG | ba20cd8798997b0450491b0cc04dc817c4a4bc76 | [
"MIT"
] | 20 | 2022-01-27T20:41:02.000Z | 2022-03-26T16:16:57.000Z | #pragma once
#include "System/Animation/AnimationSkeleton.h"
#include "System/Resource/ResourcePtr.h"
#include "System/TypeSystem/TypeRegistrationMacros.h"
#include "System/Core/Types/StringID.h"
#include "System/Core/ThirdParty/KRG_RapidJson.h"
//-----------------------------------------------------------------------... | 37.011364 | 169 | 0.617746 |
966510323912032545ab870a6c9051106bfdd447 | 1,318 | h | C | include/threadPoolBook.h | kiyoMatsui/concurrencyTests | eefe67ff8f7bf3d39d45977ddeba99861f1167da | [
"BSL-1.0"
] | null | null | null | include/threadPoolBook.h | kiyoMatsui/concurrencyTests | eefe67ff8f7bf3d39d45977ddeba99861f1167da | [
"BSL-1.0"
] | null | null | null | include/threadPoolBook.h | kiyoMatsui/concurrencyTests | eefe67ff8f7bf3d39d45977ddeba99861f1167da | [
"BSL-1.0"
] | null | null | null | #ifndef THREADPOOL_BOOK
#define THREADPOOL_BOOK
#include <vector>
#include <thread>
#include <functional>
#include <atomic>
#include "tsQueueBook.h"
class join_threads {
std::vector<std::thread> &threads;
public:
explicit join_threads(std::vector<std::thread> &threads_)
: threads(threads_) {}
~join_thre... | 20.920635 | 74 | 0.614568 |
3277b900498328e415b9eb049854138c3f2110d7 | 58,855 | c | C | ext/kameleon/ext/hdf5/hdf5-1.8.12/src/H5V.c | alexanderbock/Kameleon-Converter | 6c2e66bfea60b17a369a3615bc1a623bba100a6f | [
"BSD-3-Clause"
] | 6 | 2015-07-16T14:09:58.000Z | 2017-09-02T02:51:08.000Z | ext/kameleon/ext/hdf5/hdf5-1.8.12/src/H5V.c | alexanderbock/Kameleon-Converter | 6c2e66bfea60b17a369a3615bc1a623bba100a6f | [
"BSD-3-Clause"
] | null | null | null | ext/kameleon/ext/hdf5/hdf5-1.8.12/src/H5V.c | alexanderbock/Kameleon-Converter | 6c2e66bfea60b17a369a3615bc1a623bba100a6f | [
"BSD-3-Clause"
] | null | null | null | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* ... | 34.357852 | 125 | 0.55528 |
d03f98c336be7452f6ae4e94b3e9eb0d58e4b106 | 36,093 | c | C | sys/platform/pc32/apic/ioapic_abi.c | cooljeanius/DragonFlyBSD | 4c4e823ecc4019d4536be9493e38fef118f9a8cf | [
"BSD-3-Clause"
] | 1 | 2015-02-18T22:03:27.000Z | 2015-02-18T22:03:27.000Z | sys/platform/pc32/apic/ioapic_abi.c | cooljeanius/DragonFlyBSD | 4c4e823ecc4019d4536be9493e38fef118f9a8cf | [
"BSD-3-Clause"
] | null | null | null | sys/platform/pc32/apic/ioapic_abi.c | cooljeanius/DragonFlyBSD | 4c4e823ecc4019d4536be9493e38fef118f9a8cf | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2005 The DragonFly Project. All rights reserved.
* Copyright (c) 1996, by Steve Passe. All rights reserved.
* Copyright (c) 1991 The Regents of the University of California.
* All rights reserved.
*
* This code is derived from software contributed to The DragonFly Project
* by Matthew Dillo... | 24.874569 | 75 | 0.702657 |
65345ab7912a917d28d4a63629db1bf9d0c9abb6 | 2,035 | h | C | flang/lib/Semantics/assignment.h | mkinsner/llvm | 589d48844edb12cd357b3024248b93d64b6760bf | [
"Apache-2.0"
] | 2,338 | 2018-06-19T17:34:51.000Z | 2022-03-31T11:00:37.000Z | flang/lib/Semantics/assignment.h | mkinsner/llvm | 589d48844edb12cd357b3024248b93d64b6760bf | [
"Apache-2.0"
] | 3,740 | 2019-01-23T15:36:48.000Z | 2022-03-31T22:01:13.000Z | flang/lib/Semantics/assignment.h | mkinsner/llvm | 589d48844edb12cd357b3024248b93d64b6760bf | [
"Apache-2.0"
] | 500 | 2019-01-23T07:49:22.000Z | 2022-03-30T02:59:37.000Z | //===-- lib/Semantics/assignment.h ------------------------------*- 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
//
//===---------------------------... | 33.360656 | 80 | 0.733661 |
04ef00c8851e95194ba716439d1acf4fd907adcc | 1,590 | c | C | src/image/jpegload.c | ElArtista/AssetLoader | 1f2e102db40a7ffc379e7a442a23503424bd3350 | [
"MIT"
] | 4 | 2016-10-07T15:52:56.000Z | 2020-04-11T00:53:32.000Z | src/image/jpegload.c | ElArtista/AssetLoader | 1f2e102db40a7ffc379e7a442a23503424bd3350 | [
"MIT"
] | null | null | null | src/image/jpegload.c | ElArtista/AssetLoader | 1f2e102db40a7ffc379e7a442a23503424bd3350 | [
"MIT"
] | null | null | null | #include "assets/image/imageload.h"
#include "assets/error.h"
#include <stdio.h>
#include "jpeglib.h"
struct image* image_from_jpeg(const unsigned char* data, size_t sz) {
/* Create decompress struct */
struct jpeg_decompress_struct cinfo;
/* Set the error handling mechanism */
struct jpeg_error_mgr e... | 30 | 95 | 0.677987 |
ca2853146cc25a1d234f68571867ab8758f60069 | 5,819 | c | C | openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/glibc/2.29-r0/git/sunrpc/xdr_intXX_t.c | 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/glibc/2.29-r0/git/sunrpc/xdr_intXX_t.c | 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/glibc/2.29-r0/git/sunrpc/xdr_intXX_t.c | sotaoverride/backup | ca53a10b72295387ef4948a9289cb78ab70bc449 | [
"Apache-2.0"
] | null | null | null | /* Copyright (c) 1998-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>, 1998.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as publ... | 26.45 | 72 | 0.577419 |
c83ca377b40886571f16d589438064d8e3a8c5e7 | 971 | h | C | u-boot/arch/arm/include/asm/arch-sunxi/pwm.h | xregist/v3s-linux-sdk | a2b013e3959662d65650a13fc23ec1cd503865eb | [
"Apache-2.0"
] | 31 | 2018-01-16T17:11:44.000Z | 2022-03-16T13:51:24.000Z | uboot/u-boot-3s-spi-experimental/arch/arm/include/asm/arch-sunxi/pwm.h | linlyv/SUDA_V3S | 1809657dfdbd07c15304e941775441c478de2efb | [
"Apache-2.0"
] | 1 | 2021-04-29T09:08:08.000Z | 2021-05-08T07:57:06.000Z | uboot/u-boot-3s-spi-experimental/arch/arm/include/asm/arch-sunxi/pwm.h | linlyv/SUDA_V3S | 1809657dfdbd07c15304e941775441c478de2efb | [
"Apache-2.0"
] | 30 | 2018-05-02T08:43:27.000Z | 2022-01-23T03:25:54.000Z | /*
* (C) Copyright 2016 Hans de Goede <hdegoede@redhat.com>
*
* SPDX-License-Identifier: GPL-2.0+
*/
#ifndef _SUNXI_PWM_H
#define _SUNXI_PWM_H
#define SUNXI_PWM_CTRL_REG (SUNXI_PWM_BASE + 0)
#define SUNXI_PWM_CH0_PERIOD (SUNXI_PWM_BASE + 4)
#define SUNXI_PWM_CTRL_PRESCALE0(x) ((x) & 0xf)
#define SUNXI_PWM_CTRL... | 24.275 | 66 | 0.786818 |
bdc491ce313c07cd24051c6ebe6cc8d2c9fcacd8 | 8,526 | c | C | Smit/Sem VI/HPC/Lab1/q1e.c | Vishu26/Academics_Projects | d390a90b2740b6bd85381ca3a5292c42c29196a1 | [
"MIT"
] | null | null | null | Smit/Sem VI/HPC/Lab1/q1e.c | Vishu26/Academics_Projects | d390a90b2740b6bd85381ca3a5292c42c29196a1 | [
"MIT"
] | null | null | null | Smit/Sem VI/HPC/Lab1/q1e.c | Vishu26/Academics_Projects | d390a90b2740b6bd85381ca3a5292c42c29196a1 | [
"MIT"
] | null | null | null | /*#include <stdio.h>
#include <math.h>
#include <time.h>
#include <stdlib.h>
#include <omp.h>
long minSize,maxSize,total,size,i,j,k,bi,bj,bk,temp,blockSize,sum;
double throughput,runs,**a,**b,**c;
int main(){
minSize = pow(2,4);
maxSize = pow(2,10);
total = maxSize;
for(size=minSize;size<maxSize;size*... | 31.230769 | 98 | 0.433028 |
2605682c5a8eaa54474180fadb30c104b498799e | 7,416 | h | C | analysis/projection3D/point_quantities.h | jfbucas/PION | e0a66aa301e4d94d581ba4df078f1a3b82faab99 | [
"BSD-3-Clause"
] | null | null | null | analysis/projection3D/point_quantities.h | jfbucas/PION | e0a66aa301e4d94d581ba4df078f1a3b82faab99 | [
"BSD-3-Clause"
] | null | null | null | analysis/projection3D/point_quantities.h | jfbucas/PION | e0a66aa301e4d94d581ba4df078f1a3b82faab99 | [
"BSD-3-Clause"
] | null | null | null | ///
/// \file point_quantities.h
/// \author Jonathan Mackey
/// \date 2015.08.06
///
/// This file defines a number or functions to calculate physical
/// properties of a point in space, by bilinear interpolation from
/// four other coplanar points.
///
/// Modifications:
/// - 2015.08.06 JM: Trying to avoid code dupl... | 30.771784 | 75 | 0.621899 |
d3f3dee089f88aa08c4bc070b6bd34c71082e30e | 435 | h | C | handlers/serverlog/include/transaction.h | Nadrin/mcproxy | 1a4d881d666ade5796f7577d72ffff1a8837f269 | [
"MIT"
] | 2 | 2019-11-22T06:13:25.000Z | 2022-01-17T17:19:33.000Z | handlers/serverlog/include/transaction.h | Nadrin/mcproxy | 1a4d881d666ade5796f7577d72ffff1a8837f269 | [
"MIT"
] | null | null | null | handlers/serverlog/include/transaction.h | Nadrin/mcproxy | 1a4d881d666ade5796f7577d72ffff1a8837f269 | [
"MIT"
] | null | null | null | /* Minecraft Protocol Proxy (mcproxy)
* Copyright (c) 2011 Michał Siejak
* ServerLog handler library.
*
* Licensed under MIT open-source license.
* See COPYING file for details.
*/
#ifndef __MCPROXY_HANDLERS_TRANSACTION_H
#define __MCPROXY_HANDLERS_TRANSACTION_H
int transact_handler_main(cid_t client_id, char d... | 25.588235 | 80 | 0.765517 |
2ffa8d8dadeec0ca4281e26f8889c89be1653774 | 53,041 | h | C | Include/10.0.17763.0/cppwinrt/winrt/impl/Windows.Management.Deployment.0.h | sezero/windows-sdk-headers | e8e9d4d50769ded01a2df905c6bf4355eb3fa8b5 | [
"MIT"
] | 5 | 2020-05-29T06:22:17.000Z | 2021-11-28T08:21:38.000Z | Include/10.0.17763.0/cppwinrt/winrt/impl/Windows.Management.Deployment.0.h | sezero/windows-sdk-headers | e8e9d4d50769ded01a2df905c6bf4355eb3fa8b5 | [
"MIT"
] | null | null | null | Include/10.0.17763.0/cppwinrt/winrt/impl/Windows.Management.Deployment.0.h | sezero/windows-sdk-headers | e8e9d4d50769ded01a2df905c6bf4355eb3fa8b5 | [
"MIT"
] | 5 | 2020-05-30T04:15:11.000Z | 2021-11-28T08:48:56.000Z | // C++/WinRT v1.0.180821.2
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#pragma once
WINRT_EXPORT namespace winrt::Windows::ApplicationModel {
enum class PackageContentGroupState;
struct Package;
}
WINRT_EXPORT namespace winrt::Windows::Foundation {
struct Uri;... | 102.792636 | 671 | 0.815841 |
eacbdcd82d0b49ca3ab0d5d9875bb98576c6434d | 2,022 | c | C | openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/e2fsprogs/1.44.5-r0/git/misc/mklost+found.c | 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/e2fsprogs/1.44.5-r0/git/misc/mklost+found.c | 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/e2fsprogs/1.44.5-r0/git/misc/mklost+found.c | sotaoverride/backup | ca53a10b72295387ef4948a9289cb78ab70bc449 | [
"Apache-2.0"
] | null | null | null | /*
* mklost+found.c - Creates a directory lost+found on a mounted second
* extended file system
*
* Copyright (C) 1992, 1993 Remy Card <card@masi.ibp.fr>
*
* This file can be redistributed under the terms of the GNU General
* Public License
*/
/*
* History:
* 93/04/22 - Creation
*/
#include "config.h"... | 21.0625 | 70 | 0.519782 |
238eaecfe35c7d083c2220397b03496262883b2e | 574 | c | C | testnet/tests/scripts/test_modules/wasm-generator/libs-src.c | 3cL1p5e7/ic | 2b6011291d900454cedcf86ec41c8c1994fdf7d9 | [
"Apache-2.0"
] | 941 | 2021-05-10T08:14:14.000Z | 2022-03-31T11:40:24.000Z | testnet/tests/scripts/test_modules/wasm-generator/libs-src.c | 3cL1p5e7/ic | 2b6011291d900454cedcf86ec41c8c1994fdf7d9 | [
"Apache-2.0"
] | 4 | 2021-12-22T22:34:51.000Z | 2022-03-31T07:34:19.000Z | testnet/tests/scripts/test_modules/wasm-generator/libs-src.c | 3cL1p5e7/ic | 2b6011291d900454cedcf86ec41c8c1994fdf7d9 | [
"Apache-2.0"
] | 122 | 2021-05-10T08:21:23.000Z | 2022-03-25T20:34:12.000Z | /*
C implementation of some standard libraries that Csmith might include in a randomly generated C code
*/
void * memcpy(void* dst, const void* src, unsigned int cnt)
{
char *pszDest = (char *)dst;
const char *pszSource =( const char*)src;
while(cnt) //till cnt
{
//Copy byte by byte
*(pszDe... | 15.944444 | 100 | 0.576655 |
1e50797710f3c6d570f322001428fe486cb937fc | 19,179 | c | C | src/coregister_fine/coregister_fine.c | glshort/MapReady | c9065400a64c87be46418ab32e3a251ca2f55fd5 | [
"BSD-3-Clause"
] | 3 | 2017-12-31T05:33:28.000Z | 2021-07-28T01:51:22.000Z | src/coregister_fine/coregister_fine.c | glshort/MapReady | c9065400a64c87be46418ab32e3a251ca2f55fd5 | [
"BSD-3-Clause"
] | null | null | null | src/coregister_fine/coregister_fine.c | glshort/MapReady | c9065400a64c87be46418ab32e3a251ca2f55fd5 | [
"BSD-3-Clause"
] | 7 | 2017-04-26T18:18:33.000Z | 2020-05-15T08:01:09.000Z | /******************************************************************************
* *
* Copyright (c) 2004, Geophysical Institute, University of Alaska Fairbanks *
* All rights reserved. *
... | 35.385609 | 113 | 0.611189 |
632bff067fe377c52a1232ff33262b8239828000 | 5,591 | h | C | paddle/fluid/inference/experimental/javaapi/native/com_baidu_paddle_inference_Tensor.h | ZibinGuo/Paddle | 6e0892312de5e4ba76d980ff0e4322ac55ca0d07 | [
"Apache-2.0"
] | 11 | 2016-08-29T07:43:26.000Z | 2016-08-29T07:51:24.000Z | paddle/fluid/inference/experimental/javaapi/native/com_baidu_paddle_inference_Tensor.h | ZibinGuo/Paddle | 6e0892312de5e4ba76d980ff0e4322ac55ca0d07 | [
"Apache-2.0"
] | 1 | 2022-01-28T07:23:22.000Z | 2022-01-28T07:23:22.000Z | paddle/fluid/inference/experimental/javaapi/native/com_baidu_paddle_inference_Tensor.h | ZibinGuo/Paddle | 6e0892312de5e4ba76d980ff0e4322ac55ca0d07 | [
"Apache-2.0"
] | 1 | 2021-09-24T11:23:36.000Z | 2021-09-24T11:23:36.000Z | // Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... | 34.94375 | 85 | 0.617421 |
e4294a0d3fb8b064bf4f56ddcc4caf94ccbb1cc4 | 41 | h | C | test/nanafy-memory/src/test-copy-nanafy-memory.h | Tikubonn/nanafy | adc9476bd110b15d4ff92175a48c384bcfe8f0f3 | [
"MIT"
] | null | null | null | test/nanafy-memory/src/test-copy-nanafy-memory.h | Tikubonn/nanafy | adc9476bd110b15d4ff92175a48c384bcfe8f0f3 | [
"MIT"
] | null | null | null | test/nanafy-memory/src/test-copy-nanafy-memory.h | Tikubonn/nanafy | adc9476bd110b15d4ff92175a48c384bcfe8f0f3 | [
"MIT"
] | null | null | null |
extern void test_copy_nanafy_memory ();
| 13.666667 | 39 | 0.804878 |
17e996084257fe5f853fc64e5c517e9ab11bead2 | 1,752 | h | C | example/ads1115/main/main.h | bzgec/ADS1115_esp32_espIdf | 7a2e73c87742f39db4e8b2d8d23da3f6199970d3 | [
"MIT"
] | 1 | 2020-06-22T01:16:33.000Z | 2020-06-22T01:16:33.000Z | example/ads1115/main/main.h | bzgec/ADS1115_esp32_espIdf | 7a2e73c87742f39db4e8b2d8d23da3f6199970d3 | [
"MIT"
] | null | null | null | example/ads1115/main/main.h | bzgec/ADS1115_esp32_espIdf | 7a2e73c87742f39db4e8b2d8d23da3f6199970d3 | [
"MIT"
] | null | null | null | #ifndef __main_h
#define __main_h
#include "Types.h"
//#include "bitInRegOperations.h"
#define PIN_SDA GPIO_NUM_21
#define PIN_SCL GPIO_NUM_22
#define LED_BUILTIN GPIO_NUM_2
#define PIN_ADS1115_ALRT GPIO_NUM_23
// enable what you use
#define ENABLE_ADS1115
// intervals at which task is r... | 30.736842 | 103 | 0.791096 |
5b6fa7d8243b4f7d4c3e6ecb6242e55f7fe4ea1e | 4,910 | h | C | include/cnl/_impl/scaled_integer/tagged_convert_operator.h | NotifAi/cnl | 17e8c241b99d5c808b5de6b919ad82f4d0502074 | [
"BSL-1.0"
] | null | null | null | include/cnl/_impl/scaled_integer/tagged_convert_operator.h | NotifAi/cnl | 17e8c241b99d5c808b5de6b919ad82f4d0502074 | [
"BSL-1.0"
] | null | null | null | include/cnl/_impl/scaled_integer/tagged_convert_operator.h | NotifAi/cnl | 17e8c241b99d5c808b5de6b919ad82f4d0502074 | [
"BSL-1.0"
] | null | null | null |
// Copyright John McFarlane 2018.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file ../LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#if !defined(CNL_IMPL_SCALED_INTEGER_TAGGED_CONVERT_OPERATOR_H)
#define CNL_IMPL_SCALED_INTEGER_TAGGED_C... | 39.596774 | 111 | 0.587984 |
c0a25d544f6ec0be76640f3b864547856eb80f74 | 823 | c | C | c/command-injection.c | 0xdea/semgrep-rules | 1297667a6780af4060ef7bc0616a214087f1f88c | [
"MIT"
] | 1 | 2022-03-19T06:08:31.000Z | 2022-03-19T06:08:31.000Z | c/command-injection.c | 0xdea/semgrep-rules | 1297667a6780af4060ef7bc0616a214087f1f88c | [
"MIT"
] | null | null | null | c/command-injection.c | 0xdea/semgrep-rules | 1297667a6780af4060ef7bc0616a214087f1f88c | [
"MIT"
] | 1 | 2022-03-16T19:14:13.000Z | 2022-03-16T19:14:13.000Z | // Marco Ivaldi <raptor@0xdeadbeef.info>
#include <stdio.h>
#include <stdlib.h>
int invoke1(char *string)
{
char buf[] = "uname -a; id";
// ok: raptor-command-injection
system(buf);
// ok: raptor-command-injection
system("whoami");
// ruleid: raptor-command-injection
system(string);
}
int invoke2(char *str... | 15.240741 | 68 | 0.618469 |
cba3804f4a21b79b170aa9978566f428838c84b6 | 9,368 | c | C | mibench/office/rsynth/say.c | hyu-iot/gem5 | aeccc8bd8e9a86f96fc7a6f40d978f8494337fc5 | [
"BSD-3-Clause"
] | 165 | 2020-07-23T00:34:24.000Z | 2022-03-18T16:30:59.000Z | mibench/office/rsynth/say.c | hyu-iot/gem5 | aeccc8bd8e9a86f96fc7a6f40d978f8494337fc5 | [
"BSD-3-Clause"
] | 80 | 2019-08-27T14:43:46.000Z | 2020-12-16T11:56:19.000Z | mibench/office/rsynth/say.c | hyu-iot/gem5 | aeccc8bd8e9a86f96fc7a6f40d978f8494337fc5 | [
"BSD-3-Clause"
] | 98 | 2019-08-30T14:29:16.000Z | 2020-11-21T18:22:13.000Z | #include <config.h>
/* $Id: say.c,v 1.13 1994/11/08 13:30:50 a904209 Exp a904209 $
$Log: say.c,v $
* Revision 1.13 1994/11/08 13:30:50 a904209
* 2.0 release
*
* Revision 1.12 1994/11/04 13:32:31 a904209
* 1.99.1 - Change configure stuff
*
* Revision 1.11 1994/11/02 10:55:31 a904209
* Add autoconf. T... | 21.051685 | 93 | 0.511208 |
3fdd6221a0a1d92e639aff03d0c38b004b779cdc | 253 | h | C | anim/anim.h | ibarisic05/anim | e8c5504d5bb0b1af808d5fb16fd240c35903245f | [
"MIT"
] | 527 | 2016-01-20T16:46:02.000Z | 2022-03-01T05:27:19.000Z | anim/anim.h | ibarisic05/anim | e8c5504d5bb0b1af808d5fb16fd240c35903245f | [
"MIT"
] | 4 | 2016-09-19T01:38:52.000Z | 2018-09-28T09:48:41.000Z | anim/anim.h | ibarisic05/anim | e8c5504d5bb0b1af808d5fb16fd240c35903245f | [
"MIT"
] | 43 | 2016-02-10T23:06:38.000Z | 2022-01-29T15:58:07.000Z | //
// anim.h
// anim
//
// Created by Onur Ersel on 2017-02-17.
// Copyright © 2017 Onur Ersel. All rights reserved.
//
#import <UIKit/UIKit.h>
FOUNDATION_EXPORT double animVersionNumber;
FOUNDATION_EXPORT const unsigned char animVersionString[];
| 19.461538 | 58 | 0.727273 |
3f272b81ccdf79b9e4b999f4c9b625c056be045b | 2,045 | h | C | nhelper/args_check.h | xhcoding/node-addon-helper | 5d7f2e69e388eb22ed5a271bbdce35f0aa724e5d | [
"MIT"
] | 2 | 2020-07-25T20:43:12.000Z | 2020-11-18T06:29:57.000Z | nhelper/args_check.h | xhcoding/node-addon-helper | 5d7f2e69e388eb22ed5a271bbdce35f0aa724e5d | [
"MIT"
] | 1 | 2021-09-02T11:13:50.000Z | 2021-09-02T11:13:50.000Z | nhelper/args_check.h | xhcoding/node-addon-helper | 5d7f2e69e388eb22ed5a271bbdce35f0aa724e5d | [
"MIT"
] | null | null | null | #pragma once
#include <napi.h>
#include <sstream>
#include <string>
#include <type_traits>
#include "type_converter.h"
namespace Nhelper {
inline void CheckInfoLength(const Napi::CallbackInfo& info, size_t expect_length) {
if (info.Length() != expect_length) {
std::stringstream ss;
ss << "Wr... | 26.558442 | 107 | 0.623472 |
8b99e3783fb72321096bbaf37387154bea200f3f | 460 | h | C | Resources/Chat.h | stanwood/Stanwood_Chat_iOS | 134a18eaeed03a8ba444d59badd43bc626653f47 | [
"MIT"
] | 1 | 2018-08-22T07:04:38.000Z | 2018-08-22T07:04:38.000Z | Resources/Chat.h | stanwood/Stanwood_Chat_iOS | 134a18eaeed03a8ba444d59badd43bc626653f47 | [
"MIT"
] | null | null | null | Resources/Chat.h | stanwood/Stanwood_Chat_iOS | 134a18eaeed03a8ba444d59badd43bc626653f47 | [
"MIT"
] | 2 | 2018-08-19T19:55:40.000Z | 2018-11-30T10:39:17.000Z | //
// Chat.h
// Chat
//
// Created by Maciek on 17.01.2018.
// Copyright © 2018 Stanwood GmbH. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for Chat.
FOUNDATION_EXPORT double ChatVersionNumber;
//! Project version string for Chat.
FOUNDATION_EXPORT const unsigned char ChatVersionStr... | 23 | 129 | 0.741304 |
8bca734fe0977b507b944ffc4b13f588b31a6fce | 1,712 | h | C | Wml/Source/Graphics/WmlSkinController.h | 1iyiwei/deform2d | 1a350dd20f153e72de1ea9cffb873eb67bf3d668 | [
"MIT"
] | 26 | 2018-07-04T15:31:11.000Z | 2021-09-23T02:43:46.000Z | Wml/Source/Graphics/WmlSkinController.h | 1iyiwei/deform2d | 1a350dd20f153e72de1ea9cffb873eb67bf3d668 | [
"MIT"
] | null | null | null | Wml/Source/Graphics/WmlSkinController.h | 1iyiwei/deform2d | 1a350dd20f153e72de1ea9cffb873eb67bf3d668 | [
"MIT"
] | 1 | 2019-06-11T03:20:28.000Z | 2019-06-11T03:20:28.000Z | // Magic Software, Inc.
// http://www.magic-software.com
// http://www.wild-magic.com
// Copyright (c) 2004. All Rights Reserved
//
// The Wild Magic Library (WML) source code is supplied under the terms of
// the license agreement http://www.magic-software.com/License/WildMagic.pdf
// and may not be copied or ... | 25.552239 | 77 | 0.675818 |
8f9325d53033442597012097ac1c3513bd729160 | 97 | c | C | example/lang/future/anonymous.c | DaemonSnake/postfix | e26030e40985b664dbd329948c8a3077686783cd | [
"MIT"
] | 1 | 2019-12-12T04:27:06.000Z | 2019-12-12T04:27:06.000Z | example/lang/future/anonymous.c | DaemonSnake/macropp | e26030e40985b664dbd329948c8a3077686783cd | [
"MIT"
] | 3 | 2016-12-11T18:39:06.000Z | 2016-12-11T18:49:49.000Z | example/lang/future/anonymous.c | DaemonSnake/macropp | e26030e40985b664dbd329948c8a3077686783cd | [
"MIT"
] | null | null | null | int main()
{
int i;
Object tmp = new_class(Object, IStream)(i) {
}.as(Object)
}
| 12.125 | 48 | 0.525773 |
8f4e2da42bd47e02cac6d6057d711213da11da0b | 1,975 | h | C | src/include/mpichconfconst.h | OpenCMISS-Dependencies/mpich2 | cc5f4d3fd0f8c9f2774d10deaebdced77985d839 | [
"Unlicense"
] | 1 | 2015-09-11T07:55:48.000Z | 2015-09-11T07:55:48.000Z | src/include/mpichconfconst.h | grondo/mvapich2-cce | ec084d8e07db1cf2ac1352ee4c604ae7dbae55cb | [
"Intel",
"mpich2",
"Unlicense"
] | null | null | null | src/include/mpichconfconst.h | grondo/mvapich2-cce | ec084d8e07db1cf2ac1352ee4c604ae7dbae55cb | [
"Intel",
"mpich2",
"Unlicense"
] | 2 | 2015-11-27T23:24:14.000Z | 2021-03-29T07:06:34.000Z | /* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil ; -*- */
/*
* (C) 2009 by Argonne National Laboratory.
* See COPYRIGHT in top-level directory.
*/
/* This header file contains constants that might end up on the right hand side
* of a #define in mpichconf.h.
*
* In particular, this file must provide ... | 37.264151 | 80 | 0.730633 |
6aa8bb8a55d27037eb03c053d42610e0062d0ffb | 26,732 | c | C | ext/calendar/jewish.c | aria4c/brew71 | 44205bfccff32d55d93469617e7d74b527f46e84 | [
"PHP-3.01"
] | 45 | 2019-07-05T09:05:07.000Z | 2020-08-28T09:31:39.000Z | ext/calendar/jewish.c | aria4c/brew71 | 44205bfccff32d55d93469617e7d74b527f46e84 | [
"PHP-3.01"
] | null | null | null | ext/calendar/jewish.c | aria4c/brew71 | 44205bfccff32d55d93469617e7d74b527f46e84 | [
"PHP-3.01"
] | 6 | 2019-07-05T09:13:58.000Z | 2020-07-22T07:35:55.000Z | /* $selId: jewish.c,v 2.0 1995/10/24 01:13:06 lees Exp $
* Copyright 1993-1995, Scott E. Lee, all rights reserved.
* Permission granted to use, copy, modify, distribute and sell so long as
* the above copyright and this permission statement are retained in all
* copies. THERE IS NO WARRANTY - USE AT YOUR OWN RISK.... | 33.207453 | 92 | 0.622475 |
383584dae488bbebd7e2a808b0dbca4d959e7698 | 823 | h | C | CleverTapSDK/CTLoginInfoProvider.h | aakarsh-sasi/clevertap-ios-sdk | a2f9cffa6e2d0c6f763b7bfd4391f6e64ffa2fa1 | [
"MIT"
] | null | null | null | CleverTapSDK/CTLoginInfoProvider.h | aakarsh-sasi/clevertap-ios-sdk | a2f9cffa6e2d0c6f763b7bfd4391f6e64ffa2fa1 | [
"MIT"
] | null | null | null | CleverTapSDK/CTLoginInfoProvider.h | aakarsh-sasi/clevertap-ios-sdk | a2f9cffa6e2d0c6f763b7bfd4391f6e64ffa2fa1 | [
"MIT"
] | null | null | null | //
// CTLoginInfoProvider.h
// CleverTapSDK
//
// Created by Akash Malhotra on 05/12/21.
// Copyright © 2021 CleverTap. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "CTDeviceInfo.h"
#import "CleverTapInstanceConfig.h"
@interface CTLoginInfoProvider : NSObject
- (void)cacheGUID:(NSString *)gu... | 30.481481 | 101 | 0.767922 |
a85b6adb9c07be21b45759f68fa1bfd3ec83bd11 | 2,918 | h | C | Source/cryptography/implementation/SecApi/Hash.h | FitzerIRL/Thunder | bee4e8b0ca66c0feb8eed22587934f0c3e74c0c8 | [
"Apache-2.0"
] | null | null | null | Source/cryptography/implementation/SecApi/Hash.h | FitzerIRL/Thunder | bee4e8b0ca66c0feb8eed22587934f0c3e74c0c8 | [
"Apache-2.0"
] | null | null | null | Source/cryptography/implementation/SecApi/Hash.h | FitzerIRL/Thunder | bee4e8b0ca66c0feb8eed22587934f0c3e74c0c8 | [
"Apache-2.0"
] | 1 | 2021-06-11T10:58:46.000Z | 2021-06-11T10:58:46.000Z | /*
* If not stated otherwise in this file or this component's LICENSE file the
* following copyright and licenses apply:
*
* Copyright 2020 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 cop... | 30.715789 | 163 | 0.711789 |
ef95148553d3aacf138139006d6267df2bd3b3a9 | 231 | h | C | CPP/TuringSimulator.CPP.Core/Stdafx.h | sascha-schwegelbauer/turing-simulator | 3e84b4aa63174b4cfa46d8f0e569a6c9c7e42b19 | [
"MIT"
] | null | null | null | CPP/TuringSimulator.CPP.Core/Stdafx.h | sascha-schwegelbauer/turing-simulator | 3e84b4aa63174b4cfa46d8f0e569a6c9c7e42b19 | [
"MIT"
] | null | null | null | CPP/TuringSimulator.CPP.Core/Stdafx.h | sascha-schwegelbauer/turing-simulator | 3e84b4aa63174b4cfa46d8f0e569a6c9c7e42b19 | [
"MIT"
] | null | null | null | // <copyright file="Stdafx.h" company="Privat">
// Copyright (c) Sascha Schwegelbauer. All rights reserved.
// </copyright>
#pragma once
#include "TuringCommand.h"
#include "TuringCommandList.h"
#include "TuringLogic.h" | 25.666667 | 62 | 0.705628 |
81fa3564cd18f0c8de4bae942f4ad1f7817c7c8d | 15,489 | c | C | MetroMiniABS2/MetroMiniABS2/libraries/CAN/utility/mcp2517.c | RobertPHeller/RPi-RRCircuits | 19aff23e20eebdbd028c0407d68eef77cc6ee0ec | [
"CC-BY-4.0"
] | 10 | 2018-09-04T02:12:39.000Z | 2022-03-17T20:29:32.000Z | MetroMiniABS2/MetroMiniABS2/libraries/CAN/utility/mcp2517.c | RobertPHeller/RPi-RRCircuits | 19aff23e20eebdbd028c0407d68eef77cc6ee0ec | [
"CC-BY-4.0"
] | null | null | null | MetroMiniABS2/MetroMiniABS2/libraries/CAN/utility/mcp2517.c | RobertPHeller/RPi-RRCircuits | 19aff23e20eebdbd028c0407d68eef77cc6ee0ec | [
"CC-BY-4.0"
] | 1 | 2018-12-26T00:32:27.000Z | 2018-12-26T00:32:27.000Z | /* -*- C -*- ****************************************************************
*
* System :
* Module :
* Object Name : $RCSfile$
* Revision : $Revision$
* Date : $Date$
* Author : $Author$
* Created By : Robert Heller
* Created : Sun Jun 3 10:11:20 2018
*... | 30.430255 | 121 | 0.615598 |
a661081207c0bec424bac2519d0b0b29d4c85760 | 2,216 | c | C | gempak/source/contrib/awc/gprcm/radar_stats.c | oxelson/gempak | e7c477814d7084c87d3313c94e192d13d8341fa1 | [
"BSD-3-Clause"
] | 42 | 2015-06-03T15:26:21.000Z | 2022-02-28T22:36:03.000Z | gempak/source/contrib/awc/gprcm/radar_stats.c | oxelson/gempak | e7c477814d7084c87d3313c94e192d13d8341fa1 | [
"BSD-3-Clause"
] | 60 | 2015-05-11T21:36:08.000Z | 2022-03-29T16:22:42.000Z | gempak/source/contrib/awc/gprcm/radar_stats.c | oxelson/gempak | e7c477814d7084c87d3313c94e192d13d8341fa1 | [
"BSD-3-Clause"
] | 27 | 2016-06-06T21:55:14.000Z | 2022-03-18T18:23:28.000Z | #include "geminc.h"
#include "gemprm.h"
#include "rcm.h"
char *radar_mode_tostring(int mode)
{
static char NEstr[] = "NE";
static char OMstr[] = "OM";
static char NAstr[] = "NA";
static char CLRstr[] = "CLEAR AIR";
static char PCPstr[] = "PRECIP";
static char UNKstr[] = "UNKNOWN";
switch (mode)
{
case MDNE:
r... | 26.698795 | 102 | 0.599278 |
07378cfc793a1728f18cadb5f072f2b2bc0464f6 | 1,017 | h | C | twitter/View Controllers/ProfileViewController.h | nmachado26/twitter | ab8d60a07f1971aede2c704bcf7d3219b36cabd1 | [
"Apache-2.0"
] | null | null | null | twitter/View Controllers/ProfileViewController.h | nmachado26/twitter | ab8d60a07f1971aede2c704bcf7d3219b36cabd1 | [
"Apache-2.0"
] | 1 | 2018-07-08T10:51:53.000Z | 2018-07-08T10:51:53.000Z | twitter/View Controllers/ProfileViewController.h | nmachado26/twitter | ab8d60a07f1971aede2c704bcf7d3219b36cabd1 | [
"Apache-2.0"
] | null | null | null | //
// ProfileViewController.h
// twitter
//
// Created by Nicolas Machado on 7/5/18.
// Copyright © 2018 Emerson Malca. All rights reserved.
//
//#import <UIKit/UIKit.h>
//#import "TimelineViewController.h"
//#import "User.h"
//#import "Tweet.h"
#import <UIKit/UIKit.h>
#import "User.h"
#import "TimelineViewContro... | 31.78125 | 66 | 0.766962 |
60f3c633d5fec16d264f4d1ae8f30749864cae64 | 319 | c | C | test/val/bug250.c | C-Chads/cc65 | 52e43879298c2fb30c7bc6fd95fae3b3f1458793 | [
"Zlib"
] | 1,673 | 2015-01-01T23:03:31.000Z | 2022-03-30T21:49:03.000Z | test/val/bug250.c | Fabrizio-Caruso/cc65 | 84dba7f6ae43e8e93ed1601e1d565e97503cd0b2 | [
"Zlib"
] | 1,307 | 2015-01-06T09:32:26.000Z | 2022-03-31T19:57:16.000Z | test/val/bug250.c | Fabrizio-Caruso/cc65 | 84dba7f6ae43e8e93ed1601e1d565e97503cd0b2 | [
"Zlib"
] | 423 | 2015-01-01T19:11:31.000Z | 2022-03-30T14:36:00.000Z | /* bug #250 - Array size compile-time optimization stops halfway */
#include <stdlib.h>
#define LZO_MAX(a,b) ((a) >= (b) ? (a) : (b))
unsigned char c[2*4];
unsigned char b[2*LZO_MAX(8,sizeof(int))]; // this will not compile
int main(void)
{
/* FIXME: add some runtime check */
return EXIT_SUCCESS;
}
| 22.785714 | 68 | 0.626959 |
90420c1786081e05445fb20c1e64dee5d19f60f6 | 4,251 | c | C | processors/ARM/skyeye/arch/coldfire/common/handlers.c | zecke/pharo-vm-1 | c06ab62eab741547dc4e0ed2e107928bd8885eb7 | [
"MIT"
] | 2 | 2018-07-09T14:14:48.000Z | 2018-11-01T20:54:57.000Z | processors/ARM/skyeye/arch/coldfire/common/handlers.c | zecke/pharo-vm-1 | c06ab62eab741547dc4e0ed2e107928bd8885eb7 | [
"MIT"
] | 1 | 2016-09-30T10:16:44.000Z | 2016-09-30T10:16:44.000Z | processors/ARM/skyeye/arch/coldfire/common/handlers.c | zecke/pharo-vm-1 | c06ab62eab741547dc4e0ed2e107928bd8885eb7 | [
"MIT"
] | 1 | 2018-10-25T23:31:42.000Z | 2018-10-25T23:31:42.000Z | /**********************************/
/* */
/* Copyright 2000, David Grant */
/* */
/* see LICENSE for more details */
/* */
/**********************************/
#include <stdio.h>
#include <stdarg.h>
#include "coldfire.h... | 29.520833 | 194 | 0.585274 |
b80f13ff09418ef294e3e837f66215f39649644c | 1,163 | c | C | libft/libft/ft_btree_apply_prefix.c | fbertoia/42sh | 5dc12587c58b26814c55a50b8c83b198796ca91a | [
"MIT"
] | 1 | 2018-05-05T13:58:26.000Z | 2018-05-05T13:58:26.000Z | libft/libft/ft_btree_apply_prefix.c | fbertoia/42sh | 5dc12587c58b26814c55a50b8c83b198796ca91a | [
"MIT"
] | null | null | null | libft/libft/ft_btree_apply_prefix.c | fbertoia/42sh | 5dc12587c58b26814c55a50b8c83b198796ca91a | [
"MIT"
] | null | null | null | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_btree_apply_prefix.c :+: :+: :+: ... | 46.52 | 80 | 0.252794 |
e6d102cfc3ead2f1a636103f13e765b59c6278cc | 923 | h | C | Nathan Music Player/songPlayView.h | biubiublue/NathanMusic | 240c588ebfd9bdcb7c84c9a16ff2ebbb6018c880 | [
"MIT"
] | 1 | 2018-03-30T09:48:14.000Z | 2018-03-30T09:48:14.000Z | Nathan Music Player/songPlayView.h | bestnathan/NathanMusic | 240c588ebfd9bdcb7c84c9a16ff2ebbb6018c880 | [
"MIT"
] | null | null | null | Nathan Music Player/songPlayView.h | bestnathan/NathanMusic | 240c588ebfd9bdcb7c84c9a16ff2ebbb6018c880 | [
"MIT"
] | null | null | null | //
// songPlayView.h
// Nathan Music Player
//
// Created by 李宁 on 15/12/23.
// Copyright © 2015年 Nthan. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface songPlayView : UIView<UIScrollViewDelegate>
//左边是图片旋转,右边是歌词tableview
@property(nonatomic,strong)UIScrollView *myScrollView;
//显示北京
@property (strong... | 24.289474 | 60 | 0.749729 |
696e0d3f24e09f0cc13388cb9a45e54df3c7dd70 | 682 | h | C | Mesa-7.11.2_GPGPU-Sim/src/gallium/drivers/nouveau/nouveau_context.h | ayoubg/gem5-graphics_v1 | d74a968d5854dc02797139558430ccda1f71108e | [
"BSD-3-Clause"
] | 1 | 2019-01-26T10:34:02.000Z | 2019-01-26T10:34:02.000Z | Mesa-7.11.2_GPGPU-Sim/src/gallium/drivers/nouveau/nouveau_context.h | ayoubg/gem5-graphics_v1 | d74a968d5854dc02797139558430ccda1f71108e | [
"BSD-3-Clause"
] | null | null | null | Mesa-7.11.2_GPGPU-Sim/src/gallium/drivers/nouveau/nouveau_context.h | ayoubg/gem5-graphics_v1 | d74a968d5854dc02797139558430ccda1f71108e | [
"BSD-3-Clause"
] | 1 | 2021-07-06T10:40:34.000Z | 2021-07-06T10:40:34.000Z | #ifndef __NOUVEAU_CONTEXT_H__
#define __NOUVEAU_CONTEXT_H__
#include "pipe/p_context.h"
struct nouveau_context {
struct pipe_context pipe;
struct nouveau_screen *screen;
boolean vbo_dirty;
void (*copy_data)(struct nouveau_context *,
struct nouveau_bo *dst, unsigned, unsigned,
... | 25.259259 | 75 | 0.673021 |
5075db22243010ac6b97757de1a5ffce8c9a9eff | 1,516 | c | C | usr.bin/make/lst.lib/lstFake.c | weiss/original-bsd | b44636d7febc9dcf553118bd320571864188351d | [
"Unlicense"
] | 114 | 2015-01-18T22:55:52.000Z | 2022-02-17T10:45:02.000Z | usr.bin/make/lst.lib/lstFake.c | JamesLinus/original-bsd | b44636d7febc9dcf553118bd320571864188351d | [
"Unlicense"
] | null | null | null | usr.bin/make/lst.lib/lstFake.c | JamesLinus/original-bsd | b44636d7febc9dcf553118bd320571864188351d | [
"Unlicense"
] | 29 | 2015-11-03T22:05:22.000Z | 2022-02-08T15:36:37.000Z | /*
* Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
* All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Adam de Boor.
*
* Redistribution and use in source and binary forms are permitted
* provided that the above copyright notice and this paragr... | 37.9 | 78 | 0.745383 |
136162a8cc9c07ee5c5148d96c7e3bdd9f520313 | 7,079 | c | C | src/ocilib-4.2.1/src/agent.c | ysmgigi/dbss | c6c00c4990a00514e158d1b10bc5cf38743fd2cc | [
"Apache-2.0"
] | null | null | null | src/ocilib-4.2.1/src/agent.c | ysmgigi/dbss | c6c00c4990a00514e158d1b10bc5cf38743fd2cc | [
"Apache-2.0"
] | null | null | null | src/ocilib-4.2.1/src/agent.c | ysmgigi/dbss | c6c00c4990a00514e158d1b10bc5cf38743fd2cc | [
"Apache-2.0"
] | null | null | null | /*
* OCILIB - C Driver for Oracle (C Wrapper for Oracle OCI)
*
* Website: http://www.ocilib.net
*
* Copyright (c) 2007-2016 Vincent ROGIER <vince.rogier@ocilib.net>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* ... | 28.659919 | 106 | 0.422941 |
92e5b1d9d18e100a3abc52125cf5f44e45759abf | 1,071 | h | C | PoseFlow/deepmatching/main.h | jeongjuns/yolactpose | 6faea1707731e4a4bfb019856d3667e70238cfc6 | [
"MIT"
] | null | null | null | PoseFlow/deepmatching/main.h | jeongjuns/yolactpose | 6faea1707731e4a4bfb019856d3667e70238cfc6 | [
"MIT"
] | null | null | null | PoseFlow/deepmatching/main.h | jeongjuns/yolactpose | 6faea1707731e4a4bfb019856d3667e70238cfc6 | [
"MIT"
] | null | null | null | /*
Copyright (C) 2014 Jerome Revaud
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 3 of the License, or
(at your option) any later version.
This program is distributed in the... | 34.548387 | 205 | 0.760971 |
1c8c9430a9f087cbb5c62ff41e9c426d4669ac06 | 378 | c | C | clang/test/CodeGen/2009-06-01-addrofknr.c | ornata/llvm-project | 494913b8b4e4bce0b3525e5569d8e486e82b9a52 | [
"Apache-2.0"
] | null | null | null | clang/test/CodeGen/2009-06-01-addrofknr.c | ornata/llvm-project | 494913b8b4e4bce0b3525e5569d8e486e82b9a52 | [
"Apache-2.0"
] | null | null | null | clang/test/CodeGen/2009-06-01-addrofknr.c | ornata/llvm-project | 494913b8b4e4bce0b3525e5569d8e486e82b9a52 | [
"Apache-2.0"
] | null | null | null | // RUN: %clang_cc1 %s -o %t -emit-llvm -verify -std=c89
// PR4289
struct funcptr {
int (*func)();
};
static int func(f) // expected-warning {{a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x}}
void *f;
{
return 0;
}
int
main(int argc, char *argv[])
{
s... | 17.181818 | 148 | 0.650794 |
59e33a5058a3647285db447d6f690dde2b960790 | 2,424 | h | C | Scripts/Template/Headers/org/mockito/internal/matchers/ArrayEquals.h | zhouxl/J2ObjC-Framework | ff83a41f44aaab295dbd4f4b4b02d5e894cdc2e1 | [
"MIT"
] | null | null | null | Scripts/Template/Headers/org/mockito/internal/matchers/ArrayEquals.h | zhouxl/J2ObjC-Framework | ff83a41f44aaab295dbd4f4b4b02d5e894cdc2e1 | [
"MIT"
] | null | null | null | Scripts/Template/Headers/org/mockito/internal/matchers/ArrayEquals.h | zhouxl/J2ObjC-Framework | ff83a41f44aaab295dbd4f4b4b02d5e894cdc2e1 | [
"MIT"
] | null | null | null | //
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: /Users/antoniocortes/j2objcprj/relases/j2objc/testing/mockito/build_result/java/org/mockito/internal/matchers/ArrayEquals.java
//
#include "../../../../J2ObjC_header.h"
#pragma push_macro("INCLUDE_ALL_OrgMockitoInternalMatchersArrayEquals")
#ifdef R... | 34.628571 | 166 | 0.860974 |
0ccb9dd4600067a9c69525f2081fdcbe3400589f | 27,101 | c | C | minixbuilder/xc_minix_build.c | ivankelly/minix | 30caa3ccef22a9e9cfeefd4d3e5682ceb48e86d8 | [
"BSD-3-Clause"
] | 1 | 2020-04-01T01:05:25.000Z | 2020-04-01T01:05:25.000Z | minixbuilder/xc_minix_build.c | ivankelly/minix | 30caa3ccef22a9e9cfeefd4d3e5682ceb48e86d8 | [
"BSD-3-Clause"
] | null | null | null | minixbuilder/xc_minix_build.c | ivankelly/minix | 30caa3ccef22a9e9cfeefd4d3e5682ceb48e86d8 | [
"BSD-3-Clause"
] | 2 | 2020-04-19T18:22:06.000Z | 2020-09-08T00:51:49.000Z | /******************************************************************************
* xc_minix_build.c
* derived from xc_plan9_build.c
*/
#include "xc_private.h"
#define DEBUG 1
#ifdef DEBUG
#define DPRINTF(x) printf x; fflush(stdout);
#else
#define DPRINTF(x)
#endif
/** use this instead of free. prevents double free... | 28.769639 | 93 | 0.656987 |
f53ffc82bfe471c8b18295e56100fc67f5a6df3d | 31,276 | c | C | arch/amd64/code.c | matijaskala/pcc | 24419558147b85ddaeafad1c1a90ba7623316c88 | [
"BSD-3-Clause"
] | null | null | null | arch/amd64/code.c | matijaskala/pcc | 24419558147b85ddaeafad1c1a90ba7623316c88 | [
"BSD-3-Clause"
] | null | null | null | arch/amd64/code.c | matijaskala/pcc | 24419558147b85ddaeafad1c1a90ba7623316c88 | [
"BSD-3-Clause"
] | 1 | 2021-09-02T10:37:24.000Z | 2021-09-02T10:37:24.000Z | /* $Id: code.c,v 1.94 2020/04/10 20:00:08 plunky Exp $ */
/*
* Copyright (c) 2008 Michael Shalayeff
* Copyright (c) 2003 Anders Magnusson (ragge@ludd.luth.se).
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following co... | 23.35773 | 76 | 0.601707 |
7b3d9e0579daee7563641eeeef02c5bc6d8868ff | 5,500 | c | C | src/STE/ECS/Components/RenderableFunctions.c | silenttowergames/stonetowerenginw | f47977d864f177cb06e681c50c6120c5a630115d | [
"0BSD"
] | 7 | 2020-08-20T17:02:01.000Z | 2022-03-25T13:50:40.000Z | src/STE/ECS/Components/RenderableFunctions.c | silenttowergames/stonetowerenginw | f47977d864f177cb06e681c50c6120c5a630115d | [
"0BSD"
] | 23 | 2020-09-17T22:15:38.000Z | 2021-04-17T16:31:01.000Z | src/STE/ECS/Components/RenderableFunctions.c | silenttowergames/stonetowerengine | f47977d864f177cb06e681c50c6120c5a630115d | [
"0BSD"
] | null | null | null | #include <math.h>
#include "RenderableFunctions.h"
#include "../../Application/ApplicationState.h"
#include "../../Assets/FontStashFNA3D.h"
#include "../../Assets/TiledJSONFunctions.h"
#include "../../Rendering/SpriteBatchFunctions.h"
#include "../../Utilities/quadFunctions.h"
quad Renderable_Sprite_GetPosQuad(Rendera... | 29.569892 | 132 | 0.663636 |
72c18e84d5ceb1d29bf80f4c2ad7d04759a8c69e | 1,285 | h | C | common/event_log.h | eLong-INF/pyxis | 304820eb72bd62d3c211c3423f62dc87b535bb3c | [
"BSD-3-Clause"
] | 9 | 2016-07-21T01:45:17.000Z | 2016-08-26T03:20:25.000Z | common/event_log.h | eLong-opensource/pyxis | 304820eb72bd62d3c211c3423f62dc87b535bb3c | [
"BSD-3-Clause"
] | null | null | null | common/event_log.h | eLong-opensource/pyxis | 304820eb72bd62d3c211c3423f62dc87b535bb3c | [
"BSD-3-Clause"
] | null | null | null | #ifndef PYXIS_SERVER_EVENT_LOG_H
#define PYXIS_SERVER_EVENT_LOG_H
#include <string>
#include <toft/base/string/string_piece.h>
#include <stdio.h>
#include <time.h>
#include <muduo/base/Mutex.h>
#include <pyxis/server/proc_db.h>
#include <pyxis/common/types.h>
namespace pyxis {
namespace watch {
class Event;
}
}
nam... | 19.769231 | 91 | 0.690272 |
a73a6f53756daf8df8b5f3f87a38d32d0ebde1af | 39,778 | c | C | src/parser.c | jaredtking/cs4013-4 | 487384036392f2627f0334962e4ec1fdbef0f1c0 | [
"MIT"
] | 1 | 2015-03-22T17:18:49.000Z | 2015-03-22T17:18:49.000Z | src/parser.c | jaredtking/cs4013-4 | 487384036392f2627f0334962e4ec1fdbef0f1c0 | [
"MIT"
] | null | null | null | src/parser.c | jaredtking/cs4013-4 | 487384036392f2627f0334962e4ec1fdbef0f1c0 | [
"MIT"
] | null | null | null | #include "parser.h"
void parse(ParserData *parser_data)
{
parse_program(parser_data);
match(TOKEN_EOF, parser_data);
// output symbol table
fprint_symbol_table(parser_data->symbols, parser_data->symbol_table);
}
struct MachineResult *match(TokenType t, ParserData *parser_data)
{
MachineResult *tok = get_next_t... | 27.662031 | 208 | 0.709437 |
567d504c4271c38ea0fd6cb0a4afd23e822a5b33 | 6,699 | h | C | include/frontend/frontend.h | ViewFaceCore/TenniS | c1d21a71c1cd025ddbbe29924c8b3296b3520fc0 | [
"BSD-2-Clause"
] | null | null | null | include/frontend/frontend.h | ViewFaceCore/TenniS | c1d21a71c1cd025ddbbe29924c8b3296b3520fc0 | [
"BSD-2-Clause"
] | null | null | null | include/frontend/frontend.h | ViewFaceCore/TenniS | c1d21a71c1cd025ddbbe29924c8b3296b3520fc0 | [
"BSD-2-Clause"
] | null | null | null | //
// Created by kier on 2019/3/27.
//
#ifndef TENSORSTACK_FRONTEND_FRONTEND_H
#define TENSORSTACK_FRONTEND_FRONTEND_H
#include "module/menu.h"
#include "symbol.h"
#include <module/graph.h>
#include "frontend/desc.h"
#include <array>
namespace ts {
namespace frontend {
using namespace bubble;
... | 45.883562 | 128 | 0.528139 |
bc352212d01a5e79139dc4a893459668262caaf5 | 1,151 | h | C | include/process.h | raulpac/CPPND-System-Monitor | 2f4fa8008eed299c1a717a526ec31811f0dc04e8 | [
"MIT"
] | 2 | 2020-06-19T16:08:12.000Z | 2021-04-08T14:27:28.000Z | include/process.h | raulpac/CPPND-System-Monitor | 2f4fa8008eed299c1a717a526ec31811f0dc04e8 | [
"MIT"
] | null | null | null | include/process.h | raulpac/CPPND-System-Monitor | 2f4fa8008eed299c1a717a526ec31811f0dc04e8 | [
"MIT"
] | null | null | null | #ifndef PROCESS_H
#define PROCESS_H
#include "linux_parser.h"
#include <string>
/*
Basic class for Process representation
It contains relevant attributes as shown below
*/
class Process {
public:
int Pid(); // TODO: See src/process.cpp
std::string User(); // TODO... | 26.159091 | 71 | 0.588184 |
14f602e8603cd7d8b68a7f76b9f81a4159384dc5 | 1,562 | c | C | tests/for.c | tsubo164/acc | ea01169e21392d865af71744515db3ac43ce0a5f | [
"MIT"
] | null | null | null | tests/for.c | tsubo164/acc | ea01169e21392d865af71744515db3ac43ce0a5f | [
"MIT"
] | null | null | null | tests/for.c | tsubo164/acc | ea01169e21392d865af71744515db3ac43ce0a5f | [
"MIT"
] | null | null | null | #include "test.h"
int main()
{
{
int sum = 0;
int i;
for (i = 1; i <= 10; i++) {
sum = sum + i;
}
assert(55, sum);
}
{
int i;
for (i = 0; i < 10; ) {
i = 2 * i + 1;
}
assert(15, i);
}
{
int su... | 15.62 | 51 | 0.254161 |
423f0564da18df7f3c56acd205deb1ec2eef023d | 1,185 | h | C | DXMUI/D3D11_Interface/DXMRenderer.h | Ulvmane/DXMUI | 999d30c1d21777f382cbf37d7aa2c701d5951ac3 | [
"MIT"
] | null | null | null | DXMUI/D3D11_Interface/DXMRenderer.h | Ulvmane/DXMUI | 999d30c1d21777f382cbf37d7aa2c701d5951ac3 | [
"MIT"
] | null | null | null | DXMUI/D3D11_Interface/DXMRenderer.h | Ulvmane/DXMUI | 999d30c1d21777f382cbf37d7aa2c701d5951ac3 | [
"MIT"
] | null | null | null | #pragma once
#include <vector>
#include "DXMDrawSurface.h"
#include "DXMTextRenderer.h"
struct ID3D11DeviceContext;
struct ID3D11Buffer;
struct ID3D11Device;
struct ID3D11SamplerState;
struct ID3D11BlendState;
namespace DXMUI
{
class DXMRenderer
{
public:
DXMRenderer();
~DXMRenderer();
void Render(ID3D11Devic... | 29.625 | 76 | 0.8 |
f61c0138ec9cf056e85e264d725b124958cedef4 | 1,165 | c | C | rascull/src/c/vector.c | Shfty/rascull | 7a403d3622339c8f2ce131604f94e2e396388336 | [
"MIT"
] | 3 | 2020-06-25T08:40:44.000Z | 2021-02-14T04:30:02.000Z | rascull/src/c/vector.c | Shfty/rascull | 7a403d3622339c8f2ce131604f94e2e396388336 | [
"MIT"
] | null | null | null | rascull/src/c/vector.c | Shfty/rascull | 7a403d3622339c8f2ce131604f94e2e396388336 | [
"MIT"
] | 1 | 2020-08-12T08:55:48.000Z | 2020-08-12T08:55:48.000Z | #include "vector.h"
#include "math.h"
float fvec3_sqlen(fvec3 v)
{
return fvec3_dot(v, v);
}
float fvec3_length(fvec3 v)
{
float sqlen = fvec3_sqlen(v);
return (float)sqrt(fvec3_sqlen(v));
}
fvec3 fvec3_normalize(fvec3 v)
{
float len = fvec3_length(v);
return fvec3_div_float(v, len);
}
float fv... | 19.745763 | 59 | 0.618026 |
393389f270119329bf03e02f8b892c03d930257e | 12,576 | h | C | Sail/src/Sail/netcode/NetworkedStructs.h | BTH-StoraSpel-DXR/SPLASH | 1bf4c9b96cbcce570ed3a97f30a556a992e1ad08 | [
"MIT"
] | 12 | 2019-09-11T15:52:31.000Z | 2021-11-14T20:33:35.000Z | Sail/src/Sail/netcode/NetworkedStructs.h | BTH-StoraSpel-DXR/Game | 1bf4c9b96cbcce570ed3a97f30a556a992e1ad08 | [
"MIT"
] | 227 | 2019-09-11T08:40:24.000Z | 2020-06-26T14:12:07.000Z | Sail/src/Sail/netcode/NetworkedStructs.h | BTH-StoraSpel-DXR/Game | 1bf4c9b96cbcce570ed3a97f30a556a992e1ad08 | [
"MIT"
] | 2 | 2020-10-26T02:35:18.000Z | 2020-10-26T02:36:01.000Z | #pragma once
#include "ArchiveHelperFunctions.h"
#include "NetcodeTypes.h"
#include <atomic>
namespace Netcode {
// Global counter
extern std::atomic<ComponentID> gNetworkIDCounter;
extern ComponentID gNetworkBotIDCounter;
static constexpr ComponentID UNINITIALIZED = 0;
static constexpr ComponentID PLAYER_VALUE... | 28.910345 | 176 | 0.760973 |
05abf4cfb0e6938c6c74d530aaa9e19d2dad5188 | 197 | h | C | Example/Pods/Target Support Files/Pods-CPConfettiViewExample/Pods-CPConfettiViewExample-umbrella.h | phuongvnc/CPConfettiViewAnimation | 00ab6beb29cb724443a65b922caf3da457c97c92 | [
"MIT"
] | 19 | 2017-03-12T04:25:23.000Z | 2022-03-22T02:48:20.000Z | Example/Pods/Target Support Files/Pods-CPConfettiViewExample/Pods-CPConfettiViewExample-umbrella.h | phuongvnc/CPConfettiViewAnimation | 00ab6beb29cb724443a65b922caf3da457c97c92 | [
"MIT"
] | null | null | null | Example/Pods/Target Support Files/Pods-CPConfettiViewExample/Pods-CPConfettiViewExample-umbrella.h | phuongvnc/CPConfettiViewAnimation | 00ab6beb29cb724443a65b922caf3da457c97c92 | [
"MIT"
] | 2 | 2018-08-13T14:08:52.000Z | 2019-03-04T13:31:06.000Z | #ifdef __OBJC__
#import <UIKit/UIKit.h>
#endif
FOUNDATION_EXPORT double Pods_CPConfettiViewExampleVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_CPConfettiViewExampleVersionString[];
| 21.888889 | 80 | 0.862944 |
9f30138b7b11820d094db9dac56b9aa698793a44 | 36,846 | c | C | sdk-6.5.20/src/bcm/dnx/oam/oam_punt_and_protection.c | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/src/bcm/dnx/oam/oam_punt_and_protection.c | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/src/bcm/dnx/oam/oam_punt_and_protection.c | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null |
/** \file oam_punt_and_protection.c
*
*
* OAM punt and protection configurationprocedures for DNX.
*/
/*
* This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
*
* Copyright 2007-2020 Broadcom Inc. All rights reserved.
*/
#ifdef ... | 33.772686 | 134 | 0.69823 |
bf3c4827dee9bfcae7dcc3bb39062e7fed130aae | 214 | c | C | chapter6/ex3.c | basstal/CPrimerPlus | a90c1c78748d9ae8eb788222bfde9d51aa2ae702 | [
"MIT"
] | null | null | null | chapter6/ex3.c | basstal/CPrimerPlus | a90c1c78748d9ae8eb788222bfde9d51aa2ae702 | [
"MIT"
] | null | null | null | chapter6/ex3.c | basstal/CPrimerPlus | a90c1c78748d9ae8eb788222bfde9d51aa2ae702 | [
"MIT"
] | null | null | null | /**
使用嵌套循环产生下列图案:
F
FE
FED
FEDC
FEDCB
FEDCBA
*/
#include <stdio.h>
int main(void)
{
for(char ed = 'F' ; ed >= 'A' ; --ed)
{
for(char c = 'F' ; c >= ed ; --c)
printf("%c",c);
printf("\n");
}
return 0;
} | 9.727273 | 38 | 0.5 |
c9d538190b71898d7dcf7d4c66a46590c76b307b | 1,983 | h | C | components/drivers/peripheral/adc/include/aos/adc_core.h | wstong999/AliOS-Things | 6554769cb5b797e28a30a4aa89b3f4cb2ef2f5d9 | [
"Apache-2.0"
] | 4,538 | 2017-10-20T05:19:03.000Z | 2022-03-30T02:29:30.000Z | components/drivers/peripheral/adc/include/aos/adc_core.h | wstong999/AliOS-Things | 6554769cb5b797e28a30a4aa89b3f4cb2ef2f5d9 | [
"Apache-2.0"
] | 1,088 | 2017-10-21T07:57:22.000Z | 2022-03-31T08:15:49.000Z | components/drivers/peripheral/adc/include/aos/adc_core.h | wstong999/AliOS-Things | 6554769cb5b797e28a30a4aa89b3f4cb2ef2f5d9 | [
"Apache-2.0"
] | 1,860 | 2017-10-20T05:22:35.000Z | 2022-03-27T10:54:14.000Z | /*
* Copyright (C) 2021 Alibaba Group Holding Limited
*/
#ifndef _AOS_ADC_CORE_H
#define _AOS_ADC_CORE_H
#include <stdint.h>
#include <aos/kernel.h>
#include <aos/device_core.h>
#include <aos/adc.h>
/** @defgroup driver_api driver
* @ingroup aos_components
* @{
*/
/** @} */
/**
* @defgroup aos_adc_driver AD... | 22.534091 | 85 | 0.65053 |
a7e78ef49f461f10a1a9fd2ffbb4986c9698a36f | 6,712 | c | C | sys/src/cmd/gs/zimage2.c | Plan9-Archive/plan9-2e | ce6d0434246216e848babe4f56919dc28981ad04 | [
"MIT"
] | 1 | 2021-03-23T22:40:43.000Z | 2021-03-23T22:40:43.000Z | sys/src/cmd/gs/zimage2.c | Plan9-Archive/plan9-2e | ce6d0434246216e848babe4f56919dc28981ad04 | [
"MIT"
] | null | null | null | sys/src/cmd/gs/zimage2.c | Plan9-Archive/plan9-2e | ce6d0434246216e848babe4f56919dc28981ad04 | [
"MIT"
] | 1 | 2021-12-21T06:19:58.000Z | 2021-12-21T06:19:58.000Z | /* Copyright (C) 1992, 1994 Aladdin Enterprises. All rights reserved.
This file is part of Aladdin Ghostscript.
Aladdin Ghostscript is distributed with NO WARRANTY OF ANY KIND. No author
or distributor accepts any responsibility for the consequences of using it,
or for whether it serves any particular p... | 30.648402 | 77 | 0.671037 |
9c1f8c28578d6d39fc2452dda67c9033692306ca | 744 | h | C | System/Library/PrivateFrameworks/FontServices.framework/FontServicesFontPickerSupportProtocol.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | 2 | 2021-11-02T09:23:27.000Z | 2022-03-28T08:21:57.000Z | System/Library/PrivateFrameworks/FontServices.framework/FontServicesFontPickerSupportProtocol.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | null | null | null | System/Library/PrivateFrameworks/FontServices.framework/FontServicesFontPickerSupportProtocol.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 Friday, April 30, 2021 at 11:35:54 AM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/PrivateFrameworks/FontService... | 41.333333 | 130 | 0.626344 |
febe051caaed0070a11f65f928ce286322036bce | 321 | c | C | 0x02-functions_nested_loops/8-24_hours.c | Athesto/holbertonschool-low_level_programming | 91014500ccfae135ef2ab36846879d360609273b | [
"MIT"
] | null | null | null | 0x02-functions_nested_loops/8-24_hours.c | Athesto/holbertonschool-low_level_programming | 91014500ccfae135ef2ab36846879d360609273b | [
"MIT"
] | null | null | null | 0x02-functions_nested_loops/8-24_hours.c | Athesto/holbertonschool-low_level_programming | 91014500ccfae135ef2ab36846879d360609273b | [
"MIT"
] | null | null | null | #include "holberton.h"
/**
*jack_bauer - print time 0-24
*Return: no return
*/
void jack_bauer(void)
{
int s;
for (s = 0; s < 24 * 60; s++)
{
_putchar('0' + (s / 60) / 10);
_putchar('0' + (s / 60) % 10);
_putchar(':');
_putchar('0' + (s % 60) / 10);
_putchar('0' + (s % 60) % 10);
_putchar('\n');
}
}... | 16.05 | 32 | 0.495327 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.