text stringlengths 9 948k |
|---|
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// This file contains an implementation of an H264 Annex-B video stream parser.
#ifndef MEDIA_VIDEO_H264_PARSER_H_
#define MEDIA_VIDEO_H264_PARSER_H_
... |
cmd_shoot(string str) {
string w, t;
object shoot_ob;
object with;
object skill;
object spell;
skill = this_player()->query_use_skill();
spell = this_player()->query_spell();
if(!this_player()->check_condis()) { return 1; }
if (environment(this_player())->query_property("no_skill")) {
write("A m... |
/* $Id: getgateway.c,v 1.25 2014/04/22 10:28:57 nanard Exp $ */
/* libnatpmp
Copyright (c) 2007-2014, Thomas BERNARD
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... |
#pragma once
#include <vector>
#include <memory>
#include <string>
class COOGrid;
#include "COOGrid.h"
// A grid in Conway's Game of Life
class Grid
{
private:
int nrows = -1;
int ncols = -1;
bool parallel = true;
int cores = 1;
std::string new_data = "";
bool do_iteration_parallel(bool itera... |
/*
* Copyright (c) Citrix Systems, 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 lis... |
// Copyright (C) 2017 by bodguy
// This code is licensed under Apache 2.0 license (see LICENSE.md for details)
#ifndef ShapeGenerator_h
#define ShapeGenerator_h
#include <map>
#include <vector>
#include "Math/Matrix4x4.h"
#include "Math/Vector2d.h"
#include "Math/Vector3d.h"
#include "Math/Vector4d.h"
namespace The... |
/* Copyright (c) 2019 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 by applicable law or... |
/****************************************************************************
*
* 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 in the Software without ... |
//
// Pushwoosh.h
// Pushwoosh React Native Plugin
// (c) Pushwoosh 2016
//
#import <Foundation/Foundation.h>
#import <React/RCTBridgeModule.h>
#import <React/RCTEventEmitter.h>
#import "PushNotificationManager.h"
#import "PWInAppManager.h"
@interface Pushwoosh: RCTEventEmitter<RCTBridgeModule,PushNotificationDe... |
//////////////////////////////////////////////////////////////////////////////
//
// Copyright 2014 Autodesk, Inc. All rights reserved.
//
// Use of this software is subject to the terms of the Autodesk license
// agreement provided at the time of installation or download, or which
// otherwise accompanies this ... |
/*
** ClanLib SDK
** Copyright (c) 1997-2016 The ClanLib Team
**
** This software is provided 'as-is', without any express or implied
** warranty. In no event will the authors be held liable for any damages
** arising from the use of this software.
**
** Permission is granted to anyone to use this software for a... |
#ifndef CONSTANTS
#define CONSTANTS
#include <string>
namespace constants {
static const int kitti_parameters_per_point = 4;
static const int kitti_lidar_number_of_beams = 64;
static const int depth_image_width_default = 1440;
static const float kitti_lidar_vertical_resolution = 26.9;
static const unsign... |
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_POSITIONER_H_
#define CHROME_BROWSER_UI_APP_LIST_APP_LIST_POSITIONER_H_
#include "ui/gfx/display.h"
#include ... |
/*
* FreeRTOS Kernel V10.4.1
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, includ... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import <CloudPhotoLibrary/CPLCloudKitTransportTask.h>
#import "CPLEngineTransportInMemoryResourceDownloadTask.h"
@class CPLCloudKitScope, CPLResource, NSString;
@interface CPLCl... |
/****************************************************************************
*
* Copyright 2019 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... |
#pragma once
#include "pch.h"
#include "GameResourceObject.h"
class GameResourceObjectsStack
{
public:
GameResourceObjectsStack();
~GameResourceObjectsStack();
void Init(DX::DeviceResources *resources);
void Update();
void Render(int index, btTransform transform, btTransform scaling);
int CreateStaticMesh(Gam... |
/**
* C program to print natural numbers using do while loop
*/
#include <stdio.h>
int main()
{
/* Loop counter variable declaration */
int n = 1;
do
{
/* Body of loop */
printf("%d ", n);
/* Update loop counter variable */
n++;
} while (n <= 10); /* Loop condi... |
#include "drop.h"
//--------------------------------------STATIC FUNCTIONS------------------------
void
drop_reroll(drop_data_t *data)
{
for(MX_SIZE i = 0; i < data->mask->size; ++i)
data->mask->arr[i] = ((rand() % 100) >= data->drop_rate);
}
//--------------------------------------PUBLIC FUNCTIONS------... |
// File created: 2011-08-06 16:28:34
#ifndef MUSHSPACE_TYPENAMES_H
#define MUSHSPACE_TYPENAMES_H
#define MUSHSPACE_CATHELPER(a,b) a##b
#define MUSHSPACE_CAT(a,b) MUSHSPACE_CATHELPER(a,b)
#if MUSHSPACE_93
#define MUSHSPACE_NAME(x) MUSHSPACE_CAT(x,93)
#else
#define MUSHSPACE_NAME(x) MUSHSPACE_CAT(x,MUSHSPACE_DIM)
#end... |
/*
# This file is Copyright 2003, 2006, 2007, 2009, 2010 Dean Hall.
#
# This file is part of the PyMite VM.
# The PyMite VM is free software: you can redistribute it and/or modify
# it under the terms of the GNU GENERAL PUBLIC LICENSE Version 2.
#
# The PyMite VM is distributed in the hope that it will be useful,
# but... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, April 14, 2021 at 2:27:37 PM Mountain Standard Time
* Operating System: Version 14.4 (Build 18K802)
* Image Source: /System/Library/PrivateFrameworks/MediaPlayb... |
#include "int_64_test.h"
#include "int_64.h"
uint32_t int_64_conversions_test(void)
{
int32_t msb[] = {0xFF00FF00, 0xFF00FF0}, word_msb, test_val_32;
uint32_t lsb = 0x12345678, word_lsb;
int_64_t var1, var2;
uint8_t i;
for (i = 0; i < (sizeof(msb) / sizeof(msb[0])); i++)
{
var1 = int_... |
/*
* Copyright (c) 2007-2008, Orlando Bassotto. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this li... |
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2004-2005 The University of Tennessee and The University
* of Tennessee Resea... |
/*
* Kernel threads
* Copyright (c) 2001,2003,2004 David H. Hovemeyer <daveho@cs.umd.edu>
* Copyright (c) 2003,2013,2014 Jeffrey K. Hollingsworth <hollings@cs.umd.edu>
*
* All rights reserved.
*
* This code may not be resdistributed without the permission of the copyright holders.
* Any student solutions using ... |
// Generated by gencpp from file std_msgs/Int32.msg
// DO NOT EDIT!
#ifndef STD_MSGS_MESSAGE_INT32_H
#define STD_MSGS_MESSAGE_INT32_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>
... |
/* ISC license. */
#include <string.h>
#include <skalibs/stralloc.h>
#include <pamela/pamela.h>
#include <pamela/pam.h>
static char const *getvar (char const *s, size_t len, char const *var)
{
size_t varlen = strlen(var) ;
size_t i = 0 ;
while (i < len)
{
if (!strncmp(var, s + i, varlen) && s[i + varlen] ... |
#ifndef _GxBitmapExamples_H_
#define _GxBitmapExamples_H_
#if defined(ESP8266) || defined(ESP32)
#include <pgmspace.h>
#else
#include <avr/pgmspace.h>
#endif
const unsigned char BitmapExample1[] PROGMEM =
{
0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,
0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,... |
#pragma once
#include <initializer_list>
template<typename T>
class AStack
{
public:
struct AStackIterator
{
size_t pos;
const AStack& stk;
AStackIterator() {}
AStackIterator(const AStackIterator& other) : stk(other.stk), pos(other.pos) {}
AStackIterator(const AStack<T>& stk) : stk(stk), pos(0) {}
AStack... |
// C++ code
//
int
tempSensor=PB2,
pot=PB4,
mosfet=PB3;
//TODO add PID https://playground.arduino.cc/Code/PIDLibraryPonMExample/
int temp(int input,int voltage,int resolution);
void setup()
{
pinMode(tempSensor, INPUT);
pinMode(pot, INPUT);
pinMode(mosfet, OUTPUT);
//Serial.begin(9600); // s... |
/********************************
Copyright 2008 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by app... |
/**
* @file
*
* @author jeff.daily@pnnl.gov
*
* Copyright (c) 2015 Battelle Memorial Institute.
*/
#include "config.h"
#include <stdint.h>
#include <stdlib.h>
#include "parasail.h"
#include "parasail/memory.h"
#define NEG_INF_32 (INT32_MIN/2)
#define MAX(a,b) ((a)>(b)?(a):(b))
#ifdef PARASAIL_TABLE
#define EN... |
/**********************************************************************
*
* PostGIS - Spatial Types for PostgreSQL
* http://postgis.net
*
* PostGIS 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... |
//
// Created by ooooo on 6/15/2021.
//
#ifndef CPP_1449_SOLUTION1_H
#define CPP_1449_SOLUTION1_H
#include <iostream>
#include <vector>
using namespace std;
class Solution {
public:
string largestNumber(vector<int> &cost, int target) {
int n = cost.size();
// 恰好为target,所以初始化为 INT_MIN
vector<in... |
/*
* v1_resource_field_selector.h
*
* ResourceFieldSelector represents container resources (cpu, memory) and their output format
*/
#ifndef _v1_resource_field_selector_H_
#define _v1_resource_field_selector_H_
#include <string.h>
#include "../external/cJSON.h"
#include "../include/list.h"
#include "../include/key... |
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#else
#ifndef FOUNDATION_EXPORT
#if defined(__cplusplus)
#define FOUNDATION_EXPORT extern "C"
#else
#define FOUNDATION_EXPORT extern
#endif
#endif
#endif
FOUNDATION_EXPORT double Pods_ALWRefreshControl_TestsVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_ALWRefreshCon... |
#ifndef __GAFFILE__
#define __GAFFILE__
#include <string>
#include <map>
class GAFFile
{
private:
void* _data;
unsigned long _length;
int _data_ownership;
unsigned long _data_base;
typedef std::map<std::string, std::pair<unsigned long, unsigned long> > EntryList;
EntryList _entries;
void Decode();
public:
GAF... |
/* Obstack wrapper for GDB.
Copyright (C) 2002-2021 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 L... |
/*
Copyright (c) 2007-2008 Gordon Gremme <gordon@gremme.org>
Copyright (c) 2007-2008 Center for Bioinformatics, University of Hamburg
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 permissi... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#pragma once
#include <iostream>
#include <fstream>
#include <tuple>
#include <initializer_list>
#include "core/common/logging/logging.h"
namespace onnxruntime {
namespace profiling {
/*
Main class for profiling. It cont... |
//
// MSVideoAdDelegate.h
// MSAdSDKDev
//
// Created by Liumaos on 2020/7/23.
// Copyright © 2020 Adxdata. All rights reserved.
//
#ifndef MSVideoAdDelegate_h
#define MSVideoAdDelegate_h
@class MSVideoAd;
@protocol MSVideoAdDelegate <NSObject>
@optional
/**
* 视频广告加载成功
*/
- (void)msVideoLoad:(MSVideoAd *)vid... |
#ifndef __EVENT_MANAGER_H__
#define __EVENT_MANAGER_H__
#include "Utils.h"
#include "aeffectx.h"
typedef struct
{
VstMidiEvent midiEvent;
//long int program;
}
tEvent;
#include <deque>
using namespace std;
typedef deque<tEvent> tEventDeque;
class CEventInput
{
public:
virtual BOOL ProcessEvent(tEvent& event)... |
// Copyright 2015, VIXL authors
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright notice,
// this list of conditions ... |
/* This testcase is part of GDB, the GNU debugger.
Copyright 2009-2021 Free Software Foundation, Inc.
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
... |
#ifndef MENU_H
#define MENU_H
#include "sprite.h"
/** @defgroup Menu Menu
* @{
* Functions to deal with the game menu
*/
/**
* @brief In this function is the menu and all the subsections of it
* @return Returns 1 if there was an error. Otherwise returns 0
*/
int menu();
/**
* @brief Function to get the m... |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <UIKit/UIView.h>
@class NSString, UIImageView, UILabel;
@interface HoneyPayNormalCardView : UIView
{
NSString *_payerUser... |
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file stm32f4xx_it.h
* @brief This file contains the headers of the interrupt handlers.
******************************************************************************
* @attention
*
* <h2... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:52:49 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/TipsDaemon.framework/TipsDaemon
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by E... |
/*-------------------------------------------------------------------------
*
* session.c
* Encapsulation of user session.
*
* This is intended to contain data that needs to be shared between backends
* performing work for a client session. In particular such a session is
* shared between the leader and worker... |
#include "lcc.h"
#include "lcc.internal.h"
static Symbol *symtab = NULL, *cur_func = NULL;
static Expr_stack stack = {0};
FILE *output = NULL;
Symbol *make_symbol() {
Symbol *ptr = (Symbol *) malloc(sizeof(Symbol));
memset(ptr, 0, sizeof(Symbol));
return ptr;
}
Entity *new_identifier(char *str) {
Ide... |
/*
* Copyright (c) 2015, EURECOM (www.eurecom.fr)
* 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 ... |
/****************************************************************************
* arch/arm/src/sama5/sam_clockconfig.c
*
* Copyright (C) 2013-2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, a... |
/*----------------------------------------------------------------------------
* U S B - K e r n e l
*----------------------------------------------------------------------------
* Name: usbdesc.c
* Purpose: USB Descriptors
* Version: V1.20
*--------------------------------------------------------------... |
/* Compiler implementation of the D programming language
* Copyright (C) 1999-2018 by The D Language Foundation, All Rights Reserved
* written by Walter Bright
* http://www.digitalmars.com
* Distributed under the Boost Software License, Version 1.0.
* http://www.boost.org/LICENSE_1_0.txt
* https://github.com/dlan... |
/*
* Copyright (c) 2012 Stefano Sabatini
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, pu... |
/*
* This file is part of the GROMACS molecular simulation package.
*
* Copyright (c) 2012,2013, by the GROMACS development team, led by
* David van der Spoel, Berk Hess, Erik Lindahl, and including many
* others, as listed in the AUTHORS file in the top-level source
* directory and at http://www.gromacs.org.
*
... |
/*------------------------------------------------------------------------------
* MDK Middleware - Component ::Network
* Copyright (c) 2004-2014 ARM Germany GmbH. All rights reserved.
*------------------------------------------------------------------------------
* Name: SMTP_Client.c
* Purpose: SMTP Client ex... |
#ifndef SINGLEZONE_CCSNE_H
#define SINGLEZONE_CCSNE_H
#ifdef __cpluslpus
extern "C" {
#endif /* __cplusplus */
#include "../objects.h"
/*
* Determine the rate of mass enrichment of an element X from core-collapse
* supernovae at the current timestep. This is implemented acording to the
* following formulation (se... |
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently,
// but are changed infrequently
#pragma once
#ifndef VC_EXTRALEAN
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
#endif
// Modify the following defines if you have to ... |
/* Error handling */
#include "Python.h"
#include "pycore_initconfig.h"
#include "pycore_pyerrors.h"
#include "pycore_pystate.h" // _PyThreadState_GET()
#include "pycore_sysmodule.h"
#include "pycore_traceback.h"
#ifndef __STDC__
#ifndef MS_WINDOWS
extern char *strerror(int);
#endif
#endif
#ifdef MS_WINDOWS
#incl... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, June 7, 2020 at 11:15:47 AM Mountain Standard Time
* Operating System: Version 13.4.5 (Build 17L562)
* Image Source: /System/Library/PrivateFrameworks/CoreDuetContext.framework/CoreDuetContext
* classdump-dyld is licensed under GPLv3, Copyright © 2013-201... |
#ifndef RIMAGE_H
#define RIMAGE_H
#include <RSize.h>
#include <string>
#include <memory>
namespace Redopera {
using RData = uint8_t;
class RColor;
class RImage
{
public:
static const RImage& redoperaIcon();
RImage() = default;
explicit RImage(const std::string &path, bool flip = false);
RImage(con... |
/* ML5Imags.h ***************************************************-*-c++-*-
** **
** G A M M A **
** **
** MATLAB Imagi... |
// Copyright Golden Hammer Software
#pragma once
#include "GHStatTracker.h"
class GHAchievementsData;
class GHXMLSerializer;
// A stat tracker that just stores everything locally without middleware.
// currently supports achievements but not leaderboards.
// We load achievement definitions from achievementcfg.xml
//... |
#pragma once
#include "absl/base/internal/spinlock.h" |
// Copyright 2017 The Dawn Authors
//
// 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 t... |
/**
* @file AccumulatorProofOfKnowledge.h
*
* @brief AccumulatorProofOfKnowledge class for the Zerocoin library.
*
* @author Ian Miers, Christina Garman and Matthew Green
* @date June 2013
*
* @copyright Copyright 2013 Ian Miers, Christina Garman and Matthew Green
* @license This proje... |
/***********************************************************************
* Software License Agreement (BSD License)
*
* Copyright 2008-2009 Marius Muja (mariusm@cs.ubc.ca). All rights reserved.
* Copyright 2008-2009 David G. Lowe (lowe@cs.ubc.ca). All rights reserved.
*
* THE BSD LICENSE
*
* Redistribution an... |
/* -*- C -*- */
/*
* Copyright (c) 2005, Swedish Institute of Computer Science
* 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 co... |
/****************************************************************************
* include/nuttx/usb/usbdev_trace.h
*
* Copyright (C) 2008, 2009-2010, 2012-2013, 2017 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without... |
// Copyright 2019 DeepMind Technologies Limited.
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law ... |
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
/* integer linked list type */
typedef struct __int_list const *const int_list_t;
static int_list_t const Nil = NULL; /* empty list */
/* singly linked list element */
typedef struct __int_list {
int_list_t next;
int32_t const val;
} node_t;
/* A poi... |
//
// NRColorSettingViewController.h
// NRColorDemo
//
// Created by NicoRobine on 2020/8/19.
// Copyright © 2020 王文涛. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface NRColorSettingViewController : UIViewController
@end
NS_ASSUME_NONNULL_END |
/*
* Copyright (c) 2011 EMC Corporation All Rights Reserved
*
* This software is protected, without limitation, by copyright law
* and international treaties. Use of this software and the intellectual
* property contained therein is expressly limited to the terms and
* conditions of the License Agreement under wh... |
/**
* @file WifiConnect.h
* @author Gustice
* @brief WiFi Module that can either setup an access-point or connect to an access-point.
* @version 0.1
* @date 2021-01-01
*
* @copyright Copyright (c) 2021
*/
#pragma once
#ifdef __cplusplus
extern "C"
{
#endif
#include "esp_err.h"
#include "tcpip_adapter.h"
#in... |
/*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* 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 your option) any later version.
*
* This program is d... |
#pragma once
class TextEnteredEvent : public UserEvent {
public:
char* textField;
char lastChar;
TextEnteredEvent(char* text);
~TextEnteredEvent();
void undo() override;
void redo() override;
}; |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE36_Absolute_Path_Traversal__char_connect_socket_w32CreateFile_68b.c
Label Definition File: CWE36_Absolute_Path_Traversal.label.xml
Template File: sources-sink-68b.tmpl.c
*/
/*
* @description
* CWE: 36 Absolute Path Traversal
* BadSource: connect_socket Read data using... |
// Copyright (c) 2011-2019 The Llamacoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef LLAMACOIN_QT_OPENURIDIALOG_H
#define LLAMACOIN_QT_OPENURIDIALOG_H
#include <QDialog>
namespace Ui {
class Ope... |
/*
pins_arduino.h - Pin definition functions for Arduino
Part of Arduino - http://www.arduino.cc/
Copyright (c) 2007 David A. Mellis
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation... |
/*-
* Copyright (c) 2017-2020, AT&T Intellectual Property.
* All rights reserved.
* Copyright (c) 2015-2016 by Brocade Communications Systems, Inc.
* All rights reserved.
*
* SPDX-License-Identifier: LGPL-2.1-only
*
* Stubs for the parts of the dataplane that we don't link in
* to the test image.
*/
#include... |
/* Copyright (C) 2003-2005 Peter J. Verveer
*
* 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 the fol... |
// Copyright 2019 Yan Yan
//
// 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 w... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Copyright (c) 2017-2019 The PIVX developers
// Copyright (c) 2020 The BonorumCoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit... |
//=========================================================================
// Copyright (C) 2012 The Elastos 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 License at
//
// ... |
/*
* This header is generated by classdump-dyld 1.0
* on Saturday, June 1, 2019 at 6:52:50 PM Mountain Standard Time
* Operating System: Version 12.1.1 (Build 16C5050a)
* Image Source: /System/Library/PrivateFrameworks/PhotoFoundation.framework/PhotoFoundation
* classdump-dyld is licensed under GPLv3, Copyright © 2013-... |
int n;
int QuickSort(int arr[], int low, int high)
{
if (low < high)
{
int i;
i = low;
int j;
j = high;
int k;
k = arr[low];
while (i < j)
{
while(i < j && arr[j] > k - 1)
{
j = j - 1;
}
... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, October 27, 2021 at 3:22:16 PM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/PrivateFrameworks/Documen... |
#ifndef ZSAVELOAD_H
#define ZSAVELOAD_H
#include <types.h>
uint32 zSaveLoad_LoadLoop();
uint32 zSaveLoad_SaveLoop();
#endif |
#pragma once
#ifndef __EVENT_MANAGER__
#define __EVENT_MANAGER__
#include "SDL.h"
#include <vector>
#include "glm/vec2.hpp"
#include "MouseButtons.h"
#include "GameController.h"
#include "imgui.h"
#include "imgui.h"
/* singleton with magic static */
class EventManager
{
public:
static EventManager& Instance()
{
s... |
/****************************************************************************
** Copyright (c) 2020, Fougue Ltd. <http://www.fougue.pro>
** All rights reserved.
** See license at https://github.com/fougue/mayo/blob/master/LICENSE.txt
****************************************************************************/
#pragma... |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include "DexClass.h"
#include "MethodProfiles.h"
namespace inline_for_speed {
using namespace method_profiles;
st... |
/*
Copyright (C) 2016-2017 Alexander Borisov
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is ... |
#include "raylib_pb_helper.h"
int pbhelper_GetGlyphIndex(Font* font, int codepoint) {
if( font ) return GetGlyphIndex(*font, codepoint);
return 0;
} |
/* Copyright (C) 2012-2020 IBM Corp.
* This program is 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 a... |
/****************************************************************************/
// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
// Copyright (C) 2006-2020 German Aerospace Center (DLR) and others.
// This program and the accompanying materials are made available under the
// terms of the Ecli... |
/**
*
* Copyright (c) 2018 Manfred Mueller-Spaeth <fms1961@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
/*
* This header is generated by classdump-dyld 1.0
* on Saturday, August 24, 2019 at 9:47:44 PM Mountain Standard Time
* Operating System: Version 12.4 (Build 16M568)
* Image Source: /System/Library/PrivateFrameworks/CalDAV.framework/CalDAV
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limne... |
//
// Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Sep 26 2020 13:48:20).
//
// Copyright (C) 1997-2019 Steve Nygard.
//
#import <Foundation/NSDictionary.h>
@interface NSDictionary (SetupUtilities)
- (id)_buddy_stringForKey:(id)arg1; // IMP=0x000000010001aaa4
- (id)_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.