text
stringlengths
84
499k
source
stringclasses
6 values
slice
stringclasses
1 value
est_tokens
int32
24
143k
score
float32
<gh_stars>0 #pragma once #include "envoy/data/accesslog/v3alpha/accesslog.pb.h" #include "envoy/extensions/access_loggers/grpc/v3alpha/als.pb.h" #include "envoy/stream_info/stream_info.h" namespace Envoy { namespace Extensions { namespace AccessLoggers { namespace GrpcCommon { class Utility { public: static void e...
code_c
code
252
null
int printf(char *, ...); int print_board(int board[][10]) { int i, j; for (i = 0; i < 10; i++) { for (j = 0; j < 10; j++) if (board[i][j]) printf("Q "); else printf(". "); printf("\n"); } printf("\n\n"); } int conflict(int board[][10], int row, int col) { int i,j; for (...
code_c
code
266
null
// // TDMyScene.h // tower // // Copyright (c) 2013 ATFinke Productions Incorperated. All rights reserved. // #import <SpriteKit/SpriteKit.h> #import <QuartzCore/QuartzCore.h> #import "TDElements.h" @protocol TDSceneDelegate <NSObject> @required - (void) gameOverWithFinalScore:(float)score; - (void) showScrollVi...
code_c
code
160
null
#ifndef FONT_H #define FONT_H #include "render_material2.c" /* proposal: int font_id = font("Roboto-Regular.ttf"); // [...] textFont(font_id); textAlign(ALIGN_CENTER); textSize(30); textLeading(5); text("test everything here", width/2, height/2); */ // build font enum FONT_FLAGS { FO...
code_c
code
37,420
null
<reponame>AnimatorPro/Animator-Pro<filename>src/PJ/poco/poekit/poepatch/patch10a.h /***************************************************************************** * PATCH10A.H - Header for patch10a module. ****************************************************************************/ #ifndef PATCH10A_H #define PA...
code_c
code
205
null
/* $OpenBSD$ */ /* * Copyright (c) 2017 <NAME> <<EMAIL>> * * 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" AND ...
code_c
code
1,561
null
<filename>dbswznm/WznmAMStateAction.h /** * \file WznmAMStateAction.h * database access for table TblWznmAMStateAction (declarations) * \copyright (C) 2016-2020 MPSI Technologies GmbH * \author <NAME> (auto-generation) * \date created: 5 Dec 2020 */ // IP header --- ABOVE #ifndef WZNMAMSTATEACTION_H #define WZN...
code_c
code
2,654
null
// // UCClient_Private.h // ExampleProject // // Created by <NAME> on 05.04.16. // Copyright © 2016 Uploadcare. All rights reserved. // #import "UCClient.h" @interface UCClient () - (NSURLSessionUploadTask *)uploadTaskWithRequest:(NSURLRequest *)request data:(NSData *)data; - (NSURLSessionDataTask *)dataTaskWit...
code_c
code
180
null
#ifndef __PERF_CLOEXEC_H #define __PERF_CLOEXEC_H unsigned long perf_event_open_cloexec_flag(void); #ifdef __GLIBC_PREREQ #if !__GLIBC_PREREQ(2, 6) && !defined(__UCLIBC__) int sched_getcpu(void) __THROW; #endif #endif #endif /* __PERF_CLOEXEC_H */
code_c
code
71
null
<reponame>tj812215542/LeyigoStore // // FSStoreDetailViewController.h // FSFurnitureStore // // Created by CODER_TJ on 2018/11/30. // Copyright © 2018 <NAME>. All rights reserved. // #import "FSBaseConfigViewController.h" #import "FSStorePartner.h" NS_ASSUME_NONNULL_BEGIN @interface FSStoreDetailBaseController :...
code_c
code
156
null
#include <std.h> #include <daemons.h> #define DEDICATIONS (["way of the shadow" : "%^BOLD%^%^BLACK%^Way of The Sh%^BOLD%^%^WHITE%^a%^BOLD%^%^BLACK%^d%^BOLD%^%^WHITE%^o%^BOLD%^%^BLACK%^w%^RESET%^",\ "way of the fist" : "%^BOLD%^%^WHITE%^Way of The F%^BOLD%^%^YELLOW%^i%^BOLD%^%^WHITE%^st%^RESET%^",...
code_c
code
1,875
null
#include "compiler/ast.h" #include "compiler/astparser.h" #include "compiler/asttransform.h" #include "compiler/compileproject.h" #include "compiler/optimizer.h" int _resolvercallback_PreevaluateConstants_visit_out( h64expression *expr, h64expression *parent, void *ud ) { return 1; } int optimize...
code_c
code
168
null
#pragma once // This file was created automatically, do not modify the contents of this file. PRAGMA_DISABLE_DEPRECATION_WARNINGS #include "CoreMinimal.h" #include "ManageEventSender.h" #include "Generate/Manage/ManageRotatingMovementComponent.h" #include "Runtime/Engine/Classes/GameFramework/RotatingMovementComponen...
code_c
code
2,980
null
/* -*- c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* ==================================================================== * Copyright (c) 1999-2004 Carnegie Mellon University. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided ...
code_c
code
1,577
null
/**************************************************************************** **************************************************************************** *** *** This header was automatically generated from a Linux kernel header *** of the same name, to make information necessary for userspace to *** call i...
code_c
code
544
null
<reponame>u230925/innova /* Copyright (c) 2001 <NAME>. * Copyright (c) 2001-2004, <NAME>. * Copyright (c) 2004-2006, <NAME>, <NAME>. * Copyright (c) 2007-2016, The Tor Project, Inc. */ /* See LICENSE for licensing information */ /** * \file routerset.c * * \brief Functions and structures to handle set-type selec...
code_c
code
4,153
null
/* This file is part of Motion. * * Motion is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 2 of the License, or * (at your option) any later version. * * Motion is distributed...
code_c
code
18,582
null
<reponame>bingchunjin/1806_SDK /* * Copyright (c) 2005-2011 Atheros Communications Inc. * Copyright (c) 2011-2013 Qualcomm Atheros, Inc. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this...
code_c
code
58,434
null
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-2014 Facebook, Inc. (http://www.facebook.com) | | Copyrigh...
code_c
code
819
null
<reponame>Gaukler/PlainRenderer #pragma once #include "pch.h" #include <functional> #include <mutex> class FunctionRingbufferThreadsafe { public: //bufferSize is the maximum number of elements the ringbuffer can hold at any time FunctionRingbufferThreadsafe(const size_t bufferSize); //appends function to ...
code_c
code
236
null
#include <stdio.h> #include <fcntl.h> #include <unistd.h> #include "tst.h" #include "ini_parser.h" FILE* rstream; FILE* wstream; static void setup() { int fds[2]; pipe(fds); fcntl(fds[0], F_SETFL, fcntl(fds[0], F_GETFL, 0) | O_NONBLOCK); fcntl(fds[1], F_SETFL, fcntl(fds[1], F_GETFL, 0) | O_NONBLOCK); rstream = ...
code_c
code
288
null
<filename>src/lwesp/lwesp.c /** * \file lwesp.c * \brief LwESP core file */ /* * Copyright (c) 2020 <NAME> * * 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 with...
code_c
code
5,718
null
/* * OpenSplice DDS * * This software and documentation are Copyright 2006 to TO_YEAR PrismTech * Limited, its affiliated companies and licensors. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in complia...
code_c
code
2,030
null
// Copyright (c) 2015 Nuxi, https://nuxi.nl/ // // SPDX-License-Identifier: BSD-2-Clause #include <search.h> #include <stdlib.h> #include "search_impl.h" void hdestroy_r(struct hsearch_data *htab) { // Free hash table object and its entries. struct __hsearch *hsearch = htab->__hsearch; free(hsearch->entries); ...
code_c
code
96
null
<reponame>JQZhangC/CZFilterMenuView // // CZFilterMenuCollectionViewCell.h // CZFilterMenuView // // Created by CZ on 2020/10/28. // Copyright © 2020 CZ. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface CZFilterMenuCollectionViewCell : UICollectionViewCell @property (weak, nonat...
code_c
code
110
null
/* * Copyright (C) 2006-2019 Apple Inc. All rights reserved. * Copyright (C) 2007 <NAME> <<EMAIL>> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyr...
code_c
code
2,523
null
<reponame>castvoid/type-safely /* * cifra - embedded cryptography library * Written in 2014 by <NAME> <<EMAIL>> * * To the extent possible under law, the author(s) have dedicated all * copyright and related and neighboring rights to this software to the * public domain worldwide. This software is distributed with...
code_c
code
2,137
null
// // KKBOfflineManager.h // KaiKeBa // // Created by zddMac on 2019/4/12. // Copyright © 2019 kaikeba. All rights reserved. // #import <Foundation/Foundation.h> #import <KKBUIFramework/KKBOfflineDefine.h> @class KKBCourseModel; @class KKBChapterModel; @class KKBSectionModel; @class KKBContentModel; @class KKBOf...
code_c
code
956
null
///////////////////////////////////////////////////////////////////////////// // Name: gauge.h // Purpose: interface of wxGauge // Author: wxWidgets team // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// // ---------------------------------...
code_c
code
1,643
null
/* poolncv.c: NULL POOL COVERAGE TEST * * $Id$ * Copyright (c) 2001-2020 Ravenbrook Limited. See end of file for license. */ #include "mpm.h" #include "mpsavm.h" #include "mpslib.h" #include "pooln.h" #include "testlib.h" #include <stdio.h> /* printf */ static void testit(ArenaClass klass, ArgList args) { ...
code_c
code
705
null
<reponame>ryo-rm/expo /* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <ComponentKit/CKComponent.h> #import <ABI45_0_0RCTSurfaceHostingComponent/ABI45_0_0RCTSurfaceHostin...
code_c
code
180
null
<gh_stars>1-10 /* $OpenBSD: uperf_sbus.c,v 1.7 2003/06/27 01:50:52 jason Exp $ */ /* * Copyright (c) 2002 <NAME> (<EMAIL>) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistribu...
code_c
code
2,521
null
<reponame>ilin-in/OP<filename>hookflash-core/webRTC/webRTC_ios/src/voice_engine/main/source/voice_engine_defines.h<gh_stars>1-10 /* * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the r...
code_c
code
5,311
null
<reponame>OscarGame/blade<filename>Source/Plugins/EditorPlugins/TerrainEditor/source/TerrainEditorPlugin.h /******************************************************************** created: 2010/06/12 filename: TerrainEditorPlugin.h author: Crazii purpose: ************************************************************...
code_c
code
473
null
#pragma once #include "Engine.h" namespace Ardor { class EngineImp : public IEngine { public: EngineImp(); virtual ~EngineImp(); virtual void Test(); }; }
code_c
code
48
null
/**************************************************************************/ /* */ /* WWIV Initialization Utility Version 5 */ /* Copyright (C)2014-2020, WWIV Software Services */ /* ...
code_c
code
10,121
null
/* * Copyright © 2009 <NAME> */ #include <u.h> #include <libc.h> #include <draw.h> #include <memdraw.h> #include <event.h> #include <panel.h> #include <ctype.h> #include <bio.h> typedef struct Article Article; struct Article { char *subject; char *from; Rtext *body; // currently this includes the entire header t...
code_c
code
1,988
null
/********************************************************** * @author <NAME> * Copyright 2018, <NAME>, All rights reserved. * https://github.com/vicmoh/DynamicStringAPI **********************************************************/ #include "DynamicString.h" #include "Tokenizer.h" #include "ArrayMap.h" #include "Link...
code_c
code
1,214
null
// Copyright (c) 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef QUICHE_QUIC_CORE_QUIC_CONFIG_H_ #define QUICHE_QUIC_CORE_QUIC_CONFIG_H_ #include <cstddef> #include <cstdint> #include <string> #include "ab...
code_c
code
7,845
null
// // UITextInputLimitCJHelper.h // CJUIKitDemo // // Created by ciyouzen on 2020/5/15. // Copyright © 2020 dvlproad. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> #import "UITextInputChangeResultModel.h" NS_ASSUME_NONNULL_BEGIN @interface UITextInputLimitCJHelper : NSObject ...
code_c
code
401
null
#include "../../tecqumin.h" inherit PLAT_BASE; void create() { ::create(); set_exits( ([ "east" : TREEHOUSE + "/rooms/"+ "platform05", "northwest" : TREEHOUSE + "/rooms/"+ "platform07"]) ); }
code_c
code
62
null
<reponame>r-c-f/wlroots /* * This an unstable interface of wlroots. No guarantees are made regarding the * future consistency of this API. */ #ifndef WLR_USE_UNSTABLE #error "Add -DWLR_USE_UNSTABLE to enable unstable wlroots features" #endif #ifndef WLR_TYPES_WLR_XDG_FOREIGN_V2_H #define WLR_TYPES_WLR_XDG_FOREIGN_V...
code_c
code
459
null
/* ***** BEGIN LICENSE BLOCK ***** Copyright (C) 2001-2022 <NAME> This file is part of CLIgen. 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/LICE...
code_c
code
843
null
/* * Copyright (c) 2014, STMicroelectronics International N.V. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, ...
code_c
code
1,988
null
#pragma once #include "../def/def.h" class AQUADLL ProxyTaskBind : public refcounted { public: ProxyTaskBind(void* ptr); ~ProxyTaskBind(); public: int GetData(int index); public: PRIME_IMPLEMENT_REFCOUNTING(ProxyTaskBind); AQUA_DECL_PUBLIC_ORIGIN; private: void* _rawptr; };
code_c
code
81
null
/** ****************************************************************************** * @file usbd_microsoft_os.c * @author <NAME> * @version 0.1 * @date 2020-08-25 * @brief Universal Serial Bus Device Driver * Microsoft OS descriptor definitions * * Copyright (c) 2020 <NAME> * * Li...
code_c
code
2,937
null
<gh_stars>1-10 /* * Copyright (C) 1995 Advanced RISC Machines Limited. All rights reserved. * * This software may be freely used, copied, modified, and distributed * provided that the above copyright notice is preserved in all copies of the * software. */ /* -*-C-*- * * $Revision: 1.3 $ * $Date: 2004/12...
code_c
code
479
null
/** * exN.c * Yet another debugging or memory exercise. */ // +---------+------------------------------------------------------- // | Headers | // +---------+ #include <stdio.h> #include <stdlib.h> // +------+---------------------------------------------------------- // | Main | // +------+ int main (int argc, ...
code_c
code
102
null
<filename>Code/Framework/AzCore/AzCore/Console/ILogger.h<gh_stars>10-100 /* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #pragma once #include <A...
code_c
code
3,109
null
<reponame>zwj222/TFWDemo // // TestClassFilesClass.h // Framework_ClassFiles // // Created by Willian on 2019/9/24. // Copyright © 2019 Willian. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface TestClassFilesClass : NSObject @property (nonatomic, copy) NSString *class...
code_c
code
137
null
<gh_stars>100-1000 /* * mach-support-x86.c: mach support for x86 * * Authors: * <NAME> (<EMAIL>) * <NAME> (<EMAIL>) * * (C) 2010 Novell, Inc. * (C) 2013 Xamarin, Inc. */ #include <config.h> #if defined(__MACH__) #include <stdint.h> #include <glib.h> #include <pthread.h> #include "utils/mono-sigcontext.h"...
code_c
code
952
null
// // PicturePickerCollectionViewController.h // picturePicker // // Created by maple on 16/10/26. // Copyright © 2016年 maple. All rights reserved. // #import <UIKit/UIKit.h> @interface PicturePickerCollectionViewController : UICollectionViewController @end
code_c
code
75
null
<reponame>kaildls/apollo /****************************************************************************** * Copyright 2017 The Apollo 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 ...
code_c
code
1,083
null
<filename>Software/CPU/myscrypt/build/cmake-3.12.3/Tests/CTestTest/SmallAndFast/echoargs.c #include <stdio.h> int main(int argc, const char* argv[]) { int i = 0; for (; i < argc; ++i) { fprintf(stdout, "%s\n", argv[i]); } return 0; }
code_c
code
70
null
<reponame>ezalos/malloc /* ************************************************************************** */ /* */ /* ::: :::::::: */ /* alloc_get.c ...
code_c
code
567
null
<filename>temp1/button.h<gh_stars>1-10 #ifndef __button_h__ #define __button_h__ #include "led.h" #include "color.h" #include "constants.h" #include <avr/io.h> #include "Arduino.h" class Button { private: int _pin; uint16_t _mask; public: Button(); Button(...
code_c
code
201
null
/* * Copyright (c) 2010 The WebM project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributin...
code_c
code
586
null
<gh_stars>10-100 // SPDX-License-Identifier: GPL-2.0 /* * R9A09G032 clock driver * * Copyright (C) 2018 Renesas Electronics Europe Limited * * <NAME> <<EMAIL>>, <<EMAIL>> */ #include <linux/clk.h> #include <linux/clk-provider.h> #include <linux/delay.h> #include <linux/init.h> #include <linux/io.h> #include <lin...
code_c
code
9,725
null
#include "graphics.h" #include <stdlib.h> int flag = 0; int id; void paint(int x,int y) { roundrect(x - 50, y - 10, x + 50, y + 10, 10, 10); drawTextBox(x-50,y-10,x+50,y+10,"hello world!", DT_CENTER); } void mouseEvent(int x,int y,int bt,int event) { if (event == BUTTON_DOWN&&bt == LEFT_BUTTON) { flag = 1; } ...
code_c
code
299
null
/************************************************************************** * * Copyright 2008 VMware, Inc. * All Rights Reserved. * Copyright 2009 <NAME> <<EMAIL>> * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the * "Soft...
code_c
code
11,194
null
<filename>phe/seal/SEAL/util/clipnormal.h #pragma once #include <random> #include <cmath> namespace seal { namespace util { class ClippedNormalDistribution { public: typedef double result_type; typedef ClippedNormalDistribution param_type; ClippedN...
code_c
code
606
null
/** * \file * Ring Buffer library */ #include "ringbuf.h" #include <stdio.h> #include <string.h> /** * \brief init a RINGBUF object * \param r pointer to a RINGBUF object * \param buf pointer to a byte array * \param size size of buf * \param block_size is size of data as block * \return 0 if successfull, ...
code_c
code
743
null
<reponame>Acidburn0zzz/audacious-plugins #ifndef FORMATTER_H #define FORMATTER_H #include <glib.h> typedef struct { gchar *values[256]; } Formatter; Formatter *formatter_new(void); void formatter_destroy(Formatter * formatter); void formatter_associate(Formatter * formatter, const guchar id, const gchar * value)...
code_c
code
133
null
// // HospitalCityTableViewController.h // DrugFinder // // Created by Satish on 3/30/17. // Copyright © 2017 AppCoda. All rights reserved. // #import <UIKit/UIKit.h> @interface HospitalCityTableViewController : UITableViewController @property (nonatomic) NSString *State; @end
code_c
code
81
null
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef MEDIA_BASE_RENDERER_H_ #define MEDIA_BASE_RENDERER_H_ #include "base/callback.h" #include "base/macros.h" #include "base/memory/ref_counted.h" #i...
code_c
code
692
null
/* * Copyright (c) 2019 Samsung Electronics Co., Ltd. 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...
code_c
code
460
null
<reponame>codeclassroom/cc-judge #include<stdio.h> int main(){ int F1 = 0, F2 = 1, F3, n = 15; if(n == 2) printf ("%d %d ", F1, F2); else{ printf("%d %d", F1, F2); do{ F3 = F1 + F2; printf("%d ", F3); F1 = F2; F2 = F3; n--; }while(n > 2); } return 0; }
code_c
code
80
null
<gh_stars>0 /* * * * * 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. * * * Note: DO NOT INCLUDE THIS FILE IN ANY OTHER FILE OTHER THAN * pm8x50.c */ #ifnde...
code_c
code
4,424
null
<gh_stars>0 /* * Copyright 2005, 2006 PathScale, Inc. All Rights Reserved. */ /* Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the ...
code_c
code
1,184
null
#include <math.h> #include "esp_err.h" #include "esp_log.h" #include "error.h" #include "lcd.h" #include "rm68090_regs.h" #include "rm68090.h" #include "utils.h" static const char *TAG = "rm68090"; // Init registers adapted from https://github.com/prenticedavid/MCUFRIEND_kbv/blob/master/MCUFRIEND_kbv.cpp static co...
code_c
code
3,381
null
<reponame>g1n0st/claymore<gh_stars>100-1000 #if 1 #include <string> #include <iostream> #include <fstream> #include <vector> #include <time.h> #include <ctime> #include "cySampleElim.h" #include "cyPoint.h" class SampleGenerator { public: SampleGenerator(); ~SampleGenerator(); void test(); void LoadSDF(std::stri...
code_c
code
4,238
null
<gh_stars>0 /**************************************************************************** ** Copyright 2019 The Open Group ** Copyright 2019 Bluware, 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...
code_c
code
2,557
null
// // SupportScene.h // 6Corners // // Created by <NAME> on 3/6/11. // Copyright 2011 __MyCompanyName__. All rights reserved. // #import <Foundation/Foundation.h> #import "cocos2d.h" @interface SupportScene : CCLayer { NSString *menuPath; NSString *menuButtonsPath; NSString *gameFieldPath; } + (id) scene...
code_c
code
93
null
<reponame>ghsecuritylab/N17 /* * Copyright (c) 2016 Cesanta Software Limited * All rights reserved * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; either version 2 of the License, or (at...
code_c
code
944
null
/* * branch_nested.c : Nested Branches * * ==================================================================== * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regardi...
code_c
code
6,606
null
<gh_stars>10-100 #define YYACTSH 13 #define YYAMASK 017777 #define YYSHIFTACT 0 #define YYREDACT 1 #define YYACCEPTACT 2 #define YYERRACT 3 #define YYGOTO 4 #define YYPACTION 5 #define YYEOFVAL (-1) #define YYERRVAL (-2) #define YYOTHERS (-1000) #include <common/ccompat.h> $D YYSTYPE yylval; #if ! defined (YYAL...
code_c
code
1,986
null
// // Shape.h // TestProject // // Created by lmg on 2018/8/22. // Copyright © 2018年 lmg. All rights reserved. // #import <Foundation/Foundation.h> typedef NS_ENUM(NSUInteger,ShapeType) { ShapeTypeCircle, ShapeTypeRectangle, ShapeTypeSquare }; @interface Shape : NSObject +(instancetype)getShapeWithT...
code_c
code
134
null
<filename>compiler/backends/runtime/notnullassert.h // File: vnusnotnullassert.h #ifndef INC_VNUSNOTNULLASSERT_H #define INC_VNUSNOTNULLASSERT_H extern void VnusEventNullPointer(); template <class T> inline T *VnusNotNullAssert( T *p ) { if( VNUS_UNLIKELY( p == NULL ) ){ VnusEventNullPointer(); } return...
code_c
code
95
null
// libSNL - Simple Nurbs Library // Copyright <NAME>, Australia. // --------------------------------------- // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 2 of the License, or...
code_c
code
520
null
/* * Copyright 2012, <NAME>. All rights reserved. * https://github.com/lyjdamzwf/chaos * * Use of this source code is governed by a BSD-style * license that can be found in the License file. */ #ifndef _CHAOS_SPINLOCK_H_ #define _CHAOS_SPINLOCK_H_ /*! * @file spinlock.h * @author yunjie.l...
code_c
code
425
null
<reponame>coreboot/chrome-ec<gh_stars>10-100 /* Copyright 2021 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ /* Richtek RT1718S Type-C Power Path Controller */ #ifndef __CROS_EC_PPC_RT1718S_H #define __CROS_EC_...
code_c
code
138
null
<filename>tools/vfscount.c /* * vfscount.c Count some VFS calls. * For Linux, uses BCC, eBPF. See the Python front-end. * * USAGE: vfscount.py * * Copyright (c) 2015 <NAME>. * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the GNU General Public * Lic...
code_c
code
198
null
<reponame>NicoleRobin/dovecot<gh_stars>0 /* Copyright (c) 2011-2017 Dovecot authors, see the included COPYING file */ #include "lib.h" #include "buffer.h" #include "unichar.h" #include "message-parser.h" #include "fts-parser.h" static const struct fts_parser_vfuncs *parsers[] = { &fts_parser_html, &fts_parser_scrip...
code_c
code
758
null
<filename>tests/shared/src/MovingMinMaxAvgTests.h // // MovingMinMaxAvgTests.h // tests/shared/src // // Created by <NAME> on 7/8/2014 // Copyright 2014 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.h...
code_c
code
183
null
<gh_stars>10-100 /** * ScapeEngine::HeightfieldGeomTileVertexUVBufferManager class * * Manages vertex buffer streams representing the UV coordinate vertex elements * of a regular grid of requested sizes and types * * <NAME>, Copyright (c) 2007. * Licensed under the Simplified BSD license. * See Docs/ScapeLicens...
code_c
code
572
null
#pragma once #include "Component.h" #include <string> #include <meta.h> #include <sol.hpp> #include <imgui.h> #include <imgui-SFML.h> #include <SFML/Graphics.hpp> /** Class that every component in this engine should inherit from. In order to correctly register everything in a component the usage is as follows: - Inc...
code_c
code
1,264
null
<reponame>2019dj/TIM-VX /**************************************************************************** * * Copyright (c) 2020 Vivante 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 ...
code_c
code
3,218
null
<gh_stars>1-10 #pragma once #include "component.h" #include "rendering/drawable.h" class Mesh; class Material; class Animator; class ConstantBuffer; class ModelComponent : public Component<ModelComponent>, public Drawable { friend class RenderSystem; private: std::string filePath; std::vector<std::shared_ptr<Ma...
code_c
code
269
null
// $Id$ // Main authors: <NAME> & <NAME>: 2006, 2007 /************************************************************************** * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. * * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for * * full copyright notice. ...
code_c
code
1,357
null
// generated from rosidl_typesupport_microxrcedds_c/resource/idl__rosidl_typesupport_c.h.em // with input from test_msgs:msg/UnboundedSequences.idl // generated code does not contain a copyright notice #ifndef TEST_MSGS__MSG__UNBOUNDED_SEQUENCES__ROSIDL_TYPESUPPORT_MICROXRCEDDS_C_H_ #define TEST_MSGS__MSG__UNBOUNDED_SE...
code_c
code
381
null
<filename>apps/mysql-5.1.65/storage/ndb/src/mgmapi/mgmapi_internal.h /* Copyright (C) 2005 MySQL AB 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; version 2 of the License. This program...
code_c
code
664
null
<filename>Trash/sandbox/qt_webkit/qt-qtwebkit-examples/examples/webkitwidgets/browser/.uic/ui_cookiesexceptions.h /******************************************************************************** ** Form generated from reading UI file 'cookiesexceptions.ui' ** ** Created by: Qt User Interface Compiler version 5.2.1 ** ...
code_c
code
2,021
null
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
code_c
code
2,302
null
<reponame>fcatrin/clc88 #ifndef _SOUND_H #define _SOUND_H void sound_init(); void sound_process(float samples); void sound_done(); void sound_register_write(UINT16 addr, UINT8 val); void sound_fill_buffer(UINT16 **buffer, unsigned *size); #endif
code_c
code
71
null
<gh_stars>1-10 /* Copyright (C) 2019-2020 Free Software Foundation, Inc. This file is part of GDB. 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 ...
code_c
code
1,447
null
<filename>src/midend/programAnalysis/genericDataflow/genericDataflowCommon.h #ifndef ROSE_GENERIC_DATAFLOW_COMMON_H #define ROSE_GENERIC_DATAFLOW_COMMON_H #include <sage3.h> #include <list> using std::list; #include <map> using std::map; using std::pair; using std::make_pair; #include <set> using std::set; #include <v...
code_c
code
437
null
<reponame>skolbin-ssi/OPOS-CCO //************************************************************************* //** OPOS ElectronicJournal Constants //************************************************************************* typedef [helpstring("OPOS ElectronicJournal Constants")] enum { EJ_S_RECEIPT ...
code_c
code
424
null
#include "game.h" #include "bmath.h" #include "bmp.h" #include "event.h" #include "gamestruct.h" #include "player.h" #include "room.h" #include "entity.h" #include "s2hooks.h" #include "texture.h" #include "types.h" #include <SDL2/SDL_timer.h> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <sys/time....
code_c
code
3,538
null
<filename>atlas-aapt/frameworks/base/libs/androidfw/tests/data/basic/R.h<gh_stars>1000+ /* * Copyright (C) 2014 The Android Open Source Project * * 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 Licen...
code_c
code
512
null
<filename>google-music-mac/PreferencesWindowController.h<gh_stars>0 /* * PreferencesWindowController.h * * Created by <NAME>. * * Subject to terms and conditions in LICENSE.md. * */ #import <MASPreferences/MASPreferencesWindowController.h> #import "GeneralPreferencesViewController.h" #import "LastFmPreferencesV...
code_c
code
172
null