text
stringlengths
84
499k
source
stringclasses
6 values
slice
stringclasses
1 value
est_tokens
int32
24
143k
score
float32
/* * 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 may ...
code_c
code
1,135
null
<reponame>f4deb/cen-electronic #include "gameStrategyMotionHandler.h" #include <math.h> #include <stdlib.h> #include "gameStrategyHandler.h" #include "gameStrategyContext.h" #include "nextGameStrategyItemComputer.h" #include "../../common/error/error.h" #include "../../common/math/cenMath.h" #include ...
code_c
code
1,656
null
#include <stdbool.h> #include <stdlib.h> #include <string.h> #include <signal.h> #include <unistd.h> #include <fcntl.h> #include <errno.h> #include <sys/ioctl.h> #include <sys/queue.h> #include <sys/select.h> #include <sys/types.h> #include <libwebsockets.h> #include <json.h> #include "server.h" #include "utils.h" /...
code_c
code
3,670
null
#define USED(v) ((void)v) void die(const char*, ...); char* expandpath(const char*); int dirfilecount(const char*);
code_c
code
33
null
/* * Copyright (C) Research In Motion Limited 2010-2012. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your optio...
code_c
code
525
null
<gh_stars>1-10 #pragma once #include <memory> #include <QWidget> #include "../QuartzBase.h" namespace Quartz { class QUARTZ_BASE_API AbstractConfigPage : public QWidget { Q_OBJECT public: AbstractConfigPage(const QStringList& parentPath, const QString& name, c...
code_c
code
221
null
// Copyright 2011 Google Inc. // // This code is licensed under the same terms as WebM: // Software License Agreement: http://www.webmproject.org/license/software/ // Additional IP Rights Grant: http://www.webmproject.org/license/additional/ // -----------------------------------------------------------------------...
code_c
code
1,870
null
<reponame>YDLIDAR/ydlidar_apollo_driver /****************************************************************************** * Copyright 2020 EAIBOT. 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 obta...
code_c
code
621
null
#include <driver/spi_master.h> #include <esp_log.h> #include <freertos/FreeRTOS.h> #include <freertos/task.h> #include "sdkconfig.h" static char tag[] = "test_spi"; void test_spi_task(void *ignore) { ESP_LOGD(tag, ">> test_spi_task"); spi_bus_config_t bus_config; bus_config.sclk_io_num = 21; // CLK bus_config.m...
code_c
code
502
null
/**************************************************************************** * net/igmp/igmp_mcastmac.c * * Copyright (C) 2010 <NAME>. All rights reserved. * Author: <NAME> <<EMAIL>> * * The NuttX implementation of IGMP was inspired by the IGMP add-on for the * lwIP TCP/IP stack by <NAME>: * * Copyright...
code_c
code
1,315
null
// // DMRConsignor.h // IOS_DesignMode_Demo // // Created by Mac on 2018/7/6. // Copyright © 2018年 Riven. All rights reserved. // #import <Foundation/Foundation.h> #import "DMRProxyProtocol.h" @interface DMRConsignor : NSObject @property (nonatomic, weak, nullable) id<DMRProxyProtocol> delegate; - (void)doSometh...
code_c
code
94
null
<gh_stars>0 /* Copyright (c) 2015-2016, Apple Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and ...
code_c
code
5,971
null
<gh_stars>1-10 #ifndef CARBUNCLE_TILEMAP_H #define CARBUNCLE_TILEMAP_H #include <mruby.h> #include <tmx.h> #ifdef __cplusplus extern "C" { #endif void mrb_init_carbuncle_tilemap(mrb_state *mrb); tmx_map * mrb_carbuncle_get_tilemap(mrb_state *mrb, mrb_value obj); mrb_bool mrb_carbuncle_tilemap_p(mrb_value obj); #i...
code_c
code
101
null
<reponame>isabella232/AIAClientSDK<filename>AiaCore/source/aiacore/capabilities_sender/aia_capabilities_sender.c<gh_stars>10-100 /* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in complianc...
code_c
code
4,146
null
/* Copyright 2018 The Open SoC Debug 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 License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
code_c
code
2,374
null
<gh_stars>10-100 /******************************************************************************* * DISCLAIMER * This software is supplied by Renesas Electronics Corporation and is only * intended for use with Renesas products. No other uses are authorized. This * software is owned by Renesas Electronics Corporation an...
code_c
code
28,908
null
#include <stdio.h> #include <stdlib.h> int main(){ char dato[15]; int datoInt; printf("Ingrese el dato: "); scanf("%s", dato); datoInt = atoi(dato); printf("\ndatoInt: %d", datoInt+3); sprintf(dato,"%d",datoInt+5); printf("\ndato: %s", dato); return 0; }
code_c
code
90
null
<filename>mmwave_sdk/packages/ti/alg/mmwavelib/test/lib_aoaest_test.c /* * @file lib_aoaest_test.c * * @brief * Unit Test code for floating-point AOAestimate mmwavelib functions * */ /* * (C) Copyright 2017 Texas Instruments, Inc. -----------------------------------------------------------------------...
code_c
code
4,110
null
<gh_stars>1-10 // C++/WinRT v1.0.180227.3 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #include "winrt/impl/Windows.ApplicationModel.Contacts.1.h" #include "winrt/impl/Windows.ApplicationModel.DataTransfer.1.h" #include "winrt/impl/Windows.Storage.Strea...
code_c
code
318
null
<filename>GLengine/RPointLightComponent.h #pragma once #include <glm/glm.hpp> #include "Component.h" #include "RColor.h" #include "LightData.h" class REntity; class RLightingManager; class RPointLightComponent : public RComponent { public: RPointLightComponent(const std::weak_ptr<REntity> _entity, const RColor& colo...
code_c
code
178
null
<filename>OsiriXAPI.framework/Versions/A/Headers/N2AdaptiveBox.h /*========================================================================= Program: OsiriX Copyright (c) OsiriX Team All rights reserved. Distributed under GNU - LGPL See http://www.osirix-viewer.com/copyright.html for details. This...
code_c
code
249
null
#pragma once #include <stdbool.h> #include <stddef.h> typedef struct State State; typedef struct Symbol Symbol; typedef struct Transition Transition; typedef struct Vector Vector; typedef struct State { size_t Index; Vector *Items; Vector *Transitions; } State; State *StateCreate(void); void StateDelete...
code_c
code
136
null
<filename>assingments/asn_01/de2io_part1_new/interrupt_example.c #include "address_map_nios2.h" #include "globals.h" // defines global values #include "nios2_ctrl_reg_macros.h" /* the global variables are written by interrupt service routines; we have to * declare * these as volatile to avoid the compiler caching th...
code_c
code
643
null
<gh_stars>1-10 // // Copyright (c) 2013-2014 The ANGLE 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. // // ShaderVars.h: // Types to represent GL variables (varyings, uniforms, etc) // #ifndef GLSLANG_SHADERVARS_H_ #define...
code_c
code
2,383
null
// // FrameLayoutLayoutParams.h // iDroidLayout // // Created by <NAME> on 22.07.12. // Copyright (c) 2012 <NAME>. All rights reserved. // #import "IDLMarginLayoutParams.h" #import "IDLGravity.h" @interface IDLFrameLayoutLayoutParams : IDLMarginLayoutParams @property (nonatomic, assign) IDLViewContentGravity gra...
code_c
code
94
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #pragma once #include "CoreMinimal.h" #include "UObject/Object.h" #include "UObject/ScriptMacros.h" #include "Leap_NoPI.h" #include "LeapImageList.generated.h" /** * The ImageList class represents a list of Image objects. * * Leap API reference: https://de...
code_c
code
399
null
#include <stdio.h> #include <stdlib.h> #include <time.h> #include <unistd.h> #include <string.h> #include <fcntl.h> #include "linear_regression.h" #define SIZE 1 #define NUMELEM 74 int main(int argc, char** argv) { FILE* fp = NULL; char buff[100]; char temp_raw[7]; float temp_c, temp_chart[12] = { 0 ...
code_c
code
1,003
null
// :copyright: (c) 2017 <NAME>. // :license: MIT, see licenses/mit.md for more details. /** * \addtogroup PyCPP * \brief Iterator utilities. */ #pragma once #include <pycpp/preprocessor/compiler.h> #include <pycpp/stl/iterator.h> #include <pycpp/stl/type_traits.h> PYCPP_BEGIN_NAMESPACE // DECLARATION // ----...
code_c
code
788
null
<reponame>wstong999/AliOS-Things #include <stdint.h> #include "upload_crc64.h" static const uint64_t crc64_table[256] = { 0x0000000000000000, 0xb32e4cbe03a75f6f, 0xf4843657a840a05b, 0x47aa7ae9abe7ff34, 0x7bd0c384ff8f5e33, 0xc8fe8f3afc28015c, 0x8f54f5d357cffe68, 0x3c7ab96d5468a107, 0xf7a18709ff1ebc66, 0x448fcbb7fcb9...
code_c
code
1,583
null
#pragma once #include "common/options.h" #include "functional/functional.h" #include "graph/expression_graph.h" #include "graph/expression_operators.h" #include "layers/factory.h" #include "tensors/backend.h" #include "tensors/tensor.h" #include "tensors/tensor_allocator.h" #include "tensors/tensor_operators.h" #incl...
code_c
code
4,088
null
<reponame>zhiqiang-hu/bl_iot_sdk /* Support routines for Value Range Propagation (VRP). Copyright (C) 2016-2020 Free Software Foundation, Inc. This file is part of GCC. GCC 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...
code_c
code
1,258
null
<filename>u-boot/include/fsl_sec.h<gh_stars>10-100 /* * Common internal memory map for some Freescale SoCs * * Copyright 2014 Freescale Semiconductor, Inc. * */ #ifndef __FSL_SEC_H #define __FSL_SEC_H #include <common.h> #include <asm/io.h> #ifdef CONFIG_SYS_FSL_SEC_LE #define sec_in32(a) in_le32(a) #defi...
code_c
code
1,445
null
// // predict.h // entree // // Created by MPB on 5/7/13. // Copyright (c) 2013 Quadrivio Corporation. All rights reserved. // License http://opensource.org/licenses/BSD-2-Clause // <YEAR> = 2013 // <OWNER> = Quadrivio Corporation // // // Predict response from attributes and ensemble of decisi...
code_c
code
330
null
<filename>lib/PaxHeaders.47482/nx-match.h<gh_stars>0 30 mtime=1440116301.442479276 30 atime=1440176525.749216463 30 ctime=1440177385.541330274
code_c
code
40
null
// // ViewController.h // CustomPushDemo // // Created by <NAME> on 18/09/14. // Copyright (c) 2014 Internet Business Technologies. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @property (weak, nonatomic) IBOutlet UITextField *textAppKey; @property (weak, nonatomic...
code_c
code
241
null
/***************************************************************************//** * \file cyabs_rtos_freertos.c * * \brief * Implementation for FreeRTOS abstraction * ******************************************************************************** * \copyright * Copyright 2018-2020 Cypress Semiconductor Corporation * SP...
code_c
code
6,527
null
/* * Copyright 2011 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 root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing ...
code_c
code
1,695
null
<reponame>appotry/cosmopolitan #ifndef COSMOPOLITAN_LIBC_ISYSTEM_SYS_PTRACE_H_ #define COSMOPOLITAN_LIBC_ISYSTEM_SYS_PTRACE_H_ #include "libc/calls/calls.h" #include "libc/sysv/consts/ptrace.h" #endif /* COSMOPOLITAN_LIBC_ISYSTEM_SYS_PTRACE_H_ */
code_c
code
70
null
<gh_stars>0 #pragma once typedef struct link_s { struct link_s *next; char *num; //Short number eg 10 char *page; //long number eg 123432 } link_t;
code_c
code
43
null
<filename>src/atlas/interpolation/nonlinear/Missing.h /* * (C) Copyright 1996- ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * * In applying this licence, ECMWF does not waive the privileges and immunit...
code_c
code
2,241
null
<filename>media_driver/media_driver_next/agnostic/common/vp/hal/feature_manager/vp_feature_caps.h /* * Copyright (c) 2020 Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software w...
code_c
code
2,616
null
/* Copyright 2017 Google Inc. 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 by applicable law or agreed to in ...
code_c
code
480
null
// // WMGCanvasControl.h // Graver-Meituan-Waimai // // Created by yangyang // // Copyright © 2018-present, Beijing Sankuai Online Technology Co.,Ltd (Meituan). All rights reserved. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the Licen...
code_c
code
1,069
null
<filename>project/c++/mri/src/common/include/xtreme/common/dimension/imsi.h // Copyright (2013) JDSU. All rights reserved. #ifndef XTREME_COMMON_DIMENSION_IMSI_H_ #define XTREME_COMMON_DIMENSION_IMSI_H_ #include <string> #include <boost/functional/hash.hpp> #include "xtreme/common/dimension/base.h" #include "xtreme/...
code_c
code
711
null
<filename>BroadCast_QT/group.h /* Copyright (C) 2014 by Project Tox <https://tox.im> This file is part of qTox, a Qt-based graphical interface for Tox. This program is libre software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Fre...
code_c
code
385
null
// See the file "COPYING" in the main distribution directory for copyright. #pragma once #include "zeek/analyzer/protocol/tcp/ContentLine.h" #define TELNET_OPTION_BINARY 0 #define TELNET_OPTION_TERMINAL 24 #define TELNET_OPTION_AUTHENTICATE 37 #define TELNET_OPTION_ENCRYPT 38 #define TELNET_OPTION_ENVIRON 39 #define...
code_c
code
1,448
null
<gh_stars>1-10 /*************************************************************************** Copyright (c) 2013, The OpenBLAS Project 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 s...
code_c
code
2,596
null
#pragma once #include "RE/B/BSPointerHandle.h" #include "RE/F/FormTypes.h" #include "RE/P/Projectile.h" namespace RE { class BarrierProjectile : public Projectile { public: inline static constexpr auto RTTI = RTTI_BarrierProjectile; inline static constexpr auto FORMTYPE = FormType::ProjectileBarrier; struct...
code_c
code
469
null
/* * Copyright (C) 2017 - 2020, <NAME> <<EMAIL>> * * License: see LICENSE file in root directory * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF * WHICH ARE HE...
code_c
code
1,671
null
const char* const brcm_patch_version = "Where can I get the rampatch to bcm20702?"; const unsigned char brcm_patchram_buf[] = {}; const unsigned long brcm_patch_ram_length = sizeof(brcm_patchram_buf);
code_c
code
59
null
<filename>vuxml.c /* $Id: vuxml.c,v 1.1 2014/03/05 21:15:11 weerd Exp $ */ /* * Copyright (c) 2004 <NAME> * 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 sou...
code_c
code
1,996
null
// // XLNewResult.h // XLMiaoBo // // Created by XuLi on 16/8/31. // Copyright © 2016年 XuLi. All rights reserved. // #import <Foundation/Foundation.h> @interface XLNewResult : NSObject /** 状态码 */ @property (nonatomic, copy) NSString *code; /** 状态 */ @property (nonatomic, copy) NSString *msg; /** 返回主播信息 */ @pro...
code_c
code
106
null
/**************************************************************************** * * Copyright 2016 Samsung Electronics All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at...
code_c
code
6,647
null
<reponame>smanschi/Rcs<filename>src/RcsCore/Rcs_dynamics.c<gh_stars>0 /******************************************************************************* Copyright (c) 2017, Honda Research Institute Europe GmbH. All rights reserved. Redistribution and use in source and binary forms, with or without modification,...
code_c
code
7,163
null
<reponame>BlueCannonBall/cppparser ///////////////////////////////////////////////////////////////////////////// // Name: wx/printdlg.h // Purpose: Base header and class for print dialogs // Author: <NAME> // Modified by: // Created: // Copyright: (c) <NAME> // Licence: wxWindows Licence /////////...
code_c
code
996
null
#ifndef _DRONE_GYROSCOPE_H_ #define _DRONE_GYROSCOPE_H_ #include "Arduino.h" //ALL OF THESE SHOULD BE SET DURING THE initializeGyro() FUNCTION bool gyroInitialized = false; bool gyroCalibrated = false; float gyroRate[3] = {0.0,0.0,0.0}; double gyroZero[3] = {0.0,0.0,0.0}; //cal...
code_c
code
228
null
#include"utils.h" double Albedo_Term(int *tlist,double *vlist,int nfac,int nvert, double *Alimit,double *Alb,int index,double* dAlbv) /*Calculate albedo values for the each facet * Here albedo value is mean of vertex values */ { int v1,v2,v3; int talb; double la,ha; double Albedo; la=Alimit[0]; ...
code_c
code
207
null
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // // This grammar is based on the June 2018 Edition of the GraphQL spec: // https://facebook.github.io/graphql/June2018/ #pragma once #include <graphqlservice/GraphQLTree.h> namespace facebook { namespace grap...
code_c
code
8,388
null
// // Created by <NAME> on 25.04.2021. // #ifndef WENDEXTAXI_ADDRESS_H #define WENDEXTAXI_ADDRESS_H #include "Coordinates.h" #include <string> using namespace std; class Address { public: Address(string address, Coordinates coordinates); Address(); string getAddress(); Coordinates getCoordinates(); ...
code_c
code
122
null
/* Copyright (C) 1999-2005 by <NAME> and <NAME> for the Wisconsin Multifacet Project. Contact: <EMAIL> http://www.cs.wisc.edu/gems/ -------------------------------------------------------------------- This file is part of the Opal Timing-First Microarchitectural Simulator, a component of the...
code_c
code
1,222
null
// // Felucia.h // Felucia // // Created by <NAME> on 19/10/15. // Copyright © 2015 <NAME>. All rights reserved. // @import Foundation; //! Project version number for Felucia. FOUNDATION_EXPORT double FeluciaVersionNumber; //! Project version string for Felucia. FOUNDATION_EXPORT const unsigned char FeluciaVersi...
code_c
code
133
null
#pragma once #include <XCurses/System/Object.h> #include "XCurses/Graphics/VirtualScreen.h" namespace xcur { class Char; class Window; class Input { public: /** * \brief Update m_pressedChar */ static void handleEvents(Object::Ptr<VirtualScreen> screen); /** * \brief Get pressed key ...
code_c
code
148
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 may...
code_c
code
763
null
/* Processed by ecpg (regression mode) */ /* These include files are added by the preprocessor */ #include <ecpglib.h> #include <ecpgerrno.h> #include <sqlca.h> /* End of automatic include section */ #define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y)) #line 1 "num_test2.pgc" #include <stdio.h> #include <stdlib.h> #include <...
code_c
code
1,773
null
<filename>ccstruct/labls.h /********************************************************************** * File: labls.h (Formerly labels.h) * Description: Attribute definition tables * Author: <NAME>? * Created: * * (C) Copyright 1993, Hewlett-Packard Ltd. ** Licensed under the Apache License, Version 2.0...
code_c
code
405
null
<filename>fastNonceFinder/sha3.h /* * Copyright (C) 2012 <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 copyright * notice, this li...
code_c
code
528
null
/**************************************************************************** * Grainuum Software USB Stack * * * * MIT License: * * C...
code_c
code
1,699
null
<filename>be/src/exec/hash_join_node.h // 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, ...
code_c
code
2,328
null
<gh_stars>1-10 #include "grid.h" Grid grid = {0}; Grid next_grid = {0}; // TODO: null check void change_grid_size(int new_rows, int new_cols) { cell_height = cell_width = min(w, h) / min(new_rows, new_cols); grid.rows = w / cell_width; grid.cols = h / cell_height; next_grid.rows = grid.rows; next_...
code_c
code
1,565
null
<filename>include/Paladin.h #ifndef PALADIN_H #define PALADIN_H #include <Fighter.h> class Paladin : public Fighter { public: Paladin(); virtual ~Paladin(); protected: private: }; #endif // PALADIN_H
code_c
code
66
null
#ifndef RTCID_H #define RTCID_H #define DAY_RTC_ID 0x07 #define MONTH_RTC_ID 0x08 #define YEAR_RTC_ID 0x09 #define HOUR_RTC_ID 0x04 #define MINUTE_RTC_ID 0x02 #define SECOND_RTC_ID 0x00 #endif
code_c
code
55
null
<reponame>cofenberg/unrimp<filename>Example/Source/Examples/Private/Basics/ComputeShader/ComputeShader_HLSL_D3D11_D3D12.h<gh_stars>100-1000 /*********************************************************\ * Copyright (c) 2012-2021 The Unrimp Team * * Permission is hereby granted, free of charge, to any person obtaining a...
code_c
code
2,489
null
<reponame>sdk-team/aliyun-openapi-cpp-sdk /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/l...
code_c
code
527
null
<filename>Source/DemoProject1/EnemyWaves.h #pragma once #include "CoreMinimal.h" class ADemoProject1GameModeBase; /** * */ class EnemyWaves { public: void Init(ADemoProject1GameModeBase* GameMode); void FirstWave(); private: void OnEnemyDestroyed(); void SpawnNext(int32 Count); class A...
code_c
code
142
null
<gh_stars>10-100 /* * Copyright (c) 2017 <NAME>, Inc. All rights reserved. */ #ifndef __IFMAP__IFMAP_FACTORY_H__ #define __IFMAP__IFMAP_FACTORY_H__ #include <string> #include <vector> #include <boost/function.hpp> #include "base/factory.h" class EventManager; class IFMapChannelManager; class IFMapServer; class IFM...
code_c
code
164
null
<filename>Facade/Category/UINavigationController+Jump.h // // UINavigationController+Jump.h // live // // Created by 孔凡列 on 2017/7/10. // Copyright © 2017年 gitKong. All rights reserved. // http://www.jianshu.com/u/fe5700cfb223 欢迎关注 #import <UIKit/UIKit.h> @interface UINavigationController (Jump) - (UIViewContro...
code_c
code
314
null
/* Automatically generated; do not edit */ #ifndef _OPT_DUMBVM_H_ #define _OPT_DUMBVM_H_ #define OPT_DUMBVM 0 #endif /* _OPT_DUMBVM_H_ */
code_c
code
39
null
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/kms/KMS_EXPORTS.h> #include <aws/kms/KMSRequest.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <aws/core/utils/Array.h> #include <aws/core/utils/memory/stl/AWS...
code_c
code
11,326
null
#ifndef _ROS_asv_msgs_UsvDrive_h #define _ROS_asv_msgs_UsvDrive_h #include <stdint.h> #include <string.h> #include <stdlib.h> #include "ros/msg.h" #include "std_msgs/Header.h" namespace asv_msgs { class UsvDrive : public ros::Msg { public: typedef std_msgs::Header _header_type; _header_type heade...
code_c
code
785
null
/* * pte_threadStart.c * * Description: * This translation unit implements routines which are private to * the implementation and may be used throughout it. * * -------------------------------------------------------------------------- * * Pthreads-embedded (PTE) - POSIX Threads Library for embedded syst...
code_c
code
2,160
null
<filename>TAO/tao/String_Manager_T.h<gh_stars>10-100 // -*- C++ -*- //============================================================================= /** * @file String_Manager_T.h * * $Id: String_Manager_T.h 91845 2010-09-20 03:08:26Z harriss $ * * @author <NAME> <<EMAIL>> */ //============================...
code_c
code
1,111
null
<reponame>alex-free/sm64ex-creator<filename>sm64ex-nightly/levels/bitdw/collapsing_stairs_2/collision.inc.c // 0x0700FA3C - 0x0700FB5C const Collision bitdw_seg7_collision_0700FA3C[] = { COL_INIT(), COL_VERTEX_INIT(0x14), COL_VERTEX(-409, 512, 307), COL_VERTEX(-716, 471, 307), COL_VERTEX(-716, 256, ...
code_c
code
445
null
<gh_stars>0 // // ProfileViewController.h // twitter // // Created by <NAME> on 7/1/20. // Copyright © 2020 <NAME>. All rights reserved. // #import "User.h" #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface ProfileViewController : UIViewController @property (weak, nonatomic) IBOutlet UIImageView *backgr...
code_c
code
247
null
<gh_stars>0 //_Catalogo_ #ifndef _CATALOGO_ #define _CATALOGO_ #include <iostream> #include <string> #include <sstream> using namespace std; class Catalogo{ private: string filmes = "|= 1 = Um Lugar Silencioso|= 2 = Deadpool|= 3 = Infiltrado na Klan|"; int numTot = 4; public: Catalogo(...
code_c
code
150
null
/*++ Copyright (c) 1989 Microsoft Corporation Module Name: srvinit.c Abstract: This is the main initialization module for the Server side of the Client Server Runtime Subsystem (CSRSS) Author: <NAME> (stevewo) 08-Oct-1990 Environment: User Mode Only Revision History: ...
code_c
code
15,694
null
// // NSString+HUTLife.h // HUTLife // // Created by Lingyu on 16/4/17. // Copyright © 2016年 Lingyu. All rights reserved. // #import <Foundation/Foundation.h> @interface NSString (HUTLife) -(BOOL)isNotEmpty; -(NSInteger)toIntegetValue; @end
code_c
code
70
null
// Copyright 2013-2016 Espressif Systems (Shanghai) PTE LTD // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by a...
code_c
code
634
null
<reponame>Grosskopf/openoffice /************************************************************** * * 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...
code_c
code
4,400
null
#include <avro/Generic.hh> #include <avro/Compiler.hh> #include <boost/uuid/uuid.hpp> #pragma once namespace kspp { namespace avro_utils { std::string normalize(const avro::ValidSchema &vs); std::string to_string(avro::Type t); std::string sanitize_schema_name(std::string s); // not implemented for //...
code_c
code
1,459
null
<gh_stars>1-10 #ifndef TEAM33_DISTANCES_SUPREMUM_DISTANCE_H #define TEAM33_DISTANCES_SUPREMUM_DISTANCE_H #include <cstddef> #include <cstdlib> #include <cmath> #include <immintrin.h> #include <common/vector_reductions.h> /** * @brief Computes the Supremum distance between a and b * * @param a Vector of length >= n...
code_c
code
1,760
null
/* * Copyright 2011-2013 Blender Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
code_c
code
387
null
<reponame>pazamelin/openvino // Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include "max_unpooling_kernel_base.h" namespace kernel_selector { class MaxUnpoolingKernelGPURef : public MaxUnpoolingKernelBase { public: MaxUnpoolingKernelGPURef() : MaxUnpoolingKe...
code_c
code
198
null
<filename>protocol/flex/ota-broadcast-bootloader/ota-broadcast-bootloader-client/ota-broadcast-bootloader-client-internal.h<gh_stars>10-100 /***************************************************************************//** * @brief Marcos, includes, and typedefs for ota-broadcast-bootloader-client. ********************...
code_c
code
936
null
/* * libmfcc.c - Code implementation for libMFCC * Copyright (c) 2010 <NAME> * * This code is released under the MIT License. * For conditions of distribution and use, see the license in LICENSE */ #include <math.h> #include "libmfcc.h" /* * Computes the specified (mth) MFCC * * spectralData ...
code_c
code
1,342
null
/******************************************************************************* * Copyright 2004-2020 Intel Corporation * * 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.apa...
code_c
code
554
null
<gh_stars>10-100 // -------------------------------------------------------------------------- // Dingus project - a collection of subsystems for game/graphics applications // -------------------------------------------------------------------------- #ifndef __VERTEX_FORMAT_H #define __VERTEX_FORMAT_H namesp...
code_c
code
1,585
null
/*====================================================================* * * Copyright (c) 2011 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 per...
code_c
code
1,188
null
<filename>libcgi/request.c /* * Phoenix-RTOS * * cgi helper library * * helps with cgi and related stuff * * Copyright 2019 Phoenix Systems * Author: <NAME> * * This file is part of Phoenix-RTOS. * * %LICENSE% */ #include <stdlib.h> #include <string.h> #include <strings.h> #include <stdio.h> #include "lib...
code_c
code
292
null
#ifndef JAVA_CLASSFILE_PARSER_INTERNAL_ONSTACK_CONSTANT_INTEGER_INFO_H #define JAVA_CLASSFILE_PARSER_INTERNAL_ONSTACK_CONSTANT_INTEGER_INFO_H #define _JAVA_CLASSFILE_PARSER_CONSTANT_Integer_info(scope, endianness, onstack, bufferp, lengthl) do { \ _JAVA_CLASSFILE_PARSER_U4(_##scope, CONSTANT_Integer_info, onstack,...
code_c
code
296
null
/* * edma3_rm.h * * EDMA3 Controller Resource Manager Interface * * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com/ * * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redist...
code_c
code
25,779
null