code
stringlengths
4
1.01M
language
stringclasses
2 values
/* * This file is part of the coreboot project. * * Copyright 2014 Google 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; version 2 of the License. * * This program is distribute...
Java
<?php # +------------------------------------------------------------------+ # | ____ _ _ __ __ _ __ | # | / ___| |__ ___ ___| | __ | \/ | |/ / | # | | | | '_ \ / _ \/ __| |/ / | |\/| | ' / | # | | |___| | | | _...
Java
<?php /** * @file * Contains \Drupal\google_analytics_reports\Routing\RouteSubscriber. */ namespace Drupal\google_analytics_reports\Routing; use Drupal\Core\Routing\RouteSubscriberBase; use Symfony\Component\Routing\RouteCollection; /** * Subscriber for google analytics reports routes. */ class RouteSubscriber e...
Java
/* Duplicate handle for selection of locales. Copyright (C) 1997, 2000, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of th...
Java
/* packet-bpkmreq.c * Routines for Baseline Privacy Key Management Request dissection * Copyright 2002, Anand V. Narwani <anand[AT]narwani.org> * * $Id: packet-bpkmreq.c 45015 2012-09-20 01:29:52Z morriss $ * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald...
Java
<?php declare(strict_types=1); namespace PhpMyAdmin\Tests\Controllers\Database\Structure; use PhpMyAdmin\Controllers\Database\Structure\RealRowCountController; use PhpMyAdmin\Template; use PhpMyAdmin\Tests\AbstractTestCase; use PhpMyAdmin\Tests\Stubs\ResponseRenderer as ResponseStub; use function json_encode; /** ...
Java
// // This file was automatically generated by wxrc, do not edit by hand. // #include <wx/wxprec.h> #ifdef __BORLANDC__ #pragma hdrstop #endif #include <wx/filesys.h> #include <wx/fs_mem.h> #include <wx/xrc/xmlres.h> #include <wx/xrc/xh_all.h> #if wxCHECK_VERSION(2,8,5) && wxABI_VERSION >= 20805 ...
Java
<?php /** * Copyright 2016 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 ...
Java
-- license:BSD-3-Clause -- copyright-holders:MAMEdev Team --------------------------------------------------------------------------- -- -- tools.lua -- -- Rules for the building of tools -- --------------------------------------------------------------------------- -----------------------------------------------...
Java
/* hostlist_sctp.c 2008 Stig Bjorlykke * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs * * 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 Sof...
Java
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright held by original author \\/ M anipulation | ------------------...
Java
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_17) on Mon Dec 02 20:33:00 CET 2013 --> <title>NVTextureRectangle (LWJGL API)</title> <meta name="date" content="2013-12-02"> <l...
Java
<?php if(!function_exists ('ew_code')){ function ew_code($atts,$content = false){ extract(shortcode_atts(array( ),$atts)); //add_filter('the_content','ew_do_shortcode',1001); return "<div class='border-code'><div class='background-code'><pre class='code'>".htmlspecialchars($content)."</pre></div></div>"; } } ...
Java
/* //@HEADER // ************************************************************************ // // Kokkos v. 3.0 // Copyright (2020) National Technology & Engineering // Solutions of Sandia, LLC (NTESS). // // Under the terms of Contract DE-NA0003525 with NTESS, // the U.S. Govern...
Java
/* * Fence mechanism for dma-buf and to allow for asynchronous dma access * * Copyright (C) 2012 Canonical Ltd * Copyright (C) 2012 Texas Instruments * * Authors: * Rob Clark <robdclark@gmail.com> * Maarten Lankhorst <maarten.lankhorst@canonical.com> * * This program is free software; you can redistribute it ...
Java
/* * Copyright (C) 2008-2017 TrinityCore <http://www.trinitycore.org/> * * 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 ve...
Java
/* * Copyright (C) 1996-2016 The Squid Software Foundation and contributors * * Squid software is distributed under GPLv2+ license and includes * contributions from numerous individuals and organizations. * Please see the COPYING and CONTRIBUTORS files for details. */ #include "squid.h" #include "anyp/PortCfg.h"...
Java
/* Thread pool 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 ...
Java
GCC_VERSION := $(shell $(CONFIG_SHELL) $(PWD)/scripts/gcc-version.sh $(CROSS_COMPILE)gcc) ifeq ($(GCC_VERSION),0404) CFLAGS_REMOVE_msm_vfe8x.o = -Wframe-larger-than=1024 endif ifeq ($(CONFIG_MSM_CAMERA_V4L2),y) EXTRA_CFLAGS += -Idrivers/media/video/msm/csi EXTRA_CFLAGS += -Idrivers/media/video/msm/io EXTRA_...
Java
require 'spec_helper' require 'boost_trust_level' describe BoostTrustLevel do let(:user) { Fabricate(:user, trust_level: TrustLevel.levels[:newuser]) } let(:logger) { StaffActionLogger.new(Fabricate(:admin)) } it "should upgrade the trust level of a user" do boostr = BoostTrustLevel.new(user: user, level:...
Java
/* * ------------------------------------------------------------------------ * JA Slideshow Module for J25 & J31 * ------------------------------------------------------------------------ * Copyright (C) 2004-2011 J.O.O.M Solutions Co., Ltd. All Rights Reserved. * @license - GNU/GPL, http://www.gnu.org/lice...
Java
/* * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa...
Java
/* * Copyright (C) 2005-2012 MaNGOS <http://getmangos.com/> * * 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. * ...
Java
#!/usr/bin/env python # The contents of this file are subject to the BitTorrent Open Source License # Version 1.1 (the License). You may not copy or use this file, in either # source code or executable form, except in compliance with the License. You # may obtain a copy of the License at http://www.bittorrent.com/li...
Java
/* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once #define VERB_ANY ((unsigned) -1) typedef enum VerbFlags { VERB_DEFAULT = 1 << 0, VERB_ONLINE_ONLY = 1 << 1, VERB_MUST_BE_ROOT = 1 << 2, } VerbFlags; typedef struct { const char *verb; unsigned min_args, max_args; ...
Java
/* SPDX-License-Identifier: LGPL-2.1+ */ /*** This file is part of systemd. Copyright 2010 Lennart Poettering systemd 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 Li...
Java
/* NSDate+MAPIStore.h - this file is part of SOGo * * Copyright (C) 2010-2012 Inverse inc. * * Author: Wolfgang Sourdeau <wsourdeau@inverse.ca> * * This file 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 Foundat...
Java
### 1.7.3 - 15/04/2015 Changes: * Fixed #114 Background image appears when page is loading ### 1.7.1 - 08/04/2015 Changes: * Fixed XSS vulnerability with contact form ### 1.7.1 - 07/04/2015 Changes: * Padding issue * Fixed #104 No image appears on the blog page on IE8 ### 1.6.9 - 04/04/2015 ...
Java
<?php class ITSEC_Away_Mode { function run() { //Execute away mode functions on admin init add_filter( 'itsec_logger_modules', array( $this, 'register_logger' ) ); add_action( 'itsec_admin_init', array( $this, 'execute_away_mode' ) ); add_action( 'login_init', array( $this, 'execute_away_mode' ) ); //Reg...
Java
/* * Altera SoCFPGA PinMux configuration * * SPDX-License-Identifier: BSD-3-Clause */ #ifndef __SOCFPGA_PINMUX_CONFIG_H__ #define __SOCFPGA_PINMUX_CONFIG_H__ const u8 sys_mgr_init_table[] = { 3, /* EMACIO0 */ 2, /* EMACIO1 */ 2, /* EMACIO2 */ 2, /* EMACIO3 */ 2, /* EMACIO4 */ 2, /* EMACIO5 */ 2, /* EMACIO6...
Java
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
Java
#!/usr/bin/python #============================================================================ # This library is free software; you can redistribute it and/or # modify it under the terms of version 2.1 of the GNU Lesser General Public # License as published by the Free Software Foundation. # # This library is distribu...
Java
/* Copyright (C) 1991, 1993, 1995, 1996, 1997 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either ...
Java
/* Copyright 2005,2006 Sven Reimers, Florian Vogler * * This file is part of the Software Quality Environment Project. * * The Software Quality Environment Project 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 Fou...
Java
/* Copyright (c) 2012, 2017, Oracle and/or its affiliates. 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; version 2 of the License. This program is distributed in t...
Java
/* * Asterisk -- An open source telephony toolkit. * * Copyright (C) 2007-2008, Trinity College Computing Center * Written by David Chappell <David.Chappell@trincoll.edu> * * See http://www.asterisk.org for more information about * the Asterisk project. Please do not directly contact * any of the maintainers of...
Java
<?php /** * Image helper class * * This class was derived from the show_image_in_imgtag.php and imageTools.class.php files in VM. It provides some * image functions that are used throughout the VirtueMart shop. * * @package VirtueMart * @subpackage Helpers * @author Max Milbers * @copyright Copyright (c) 2004...
Java
#ifndef __GEDIT_FILE_BROWER_MESSAGES_MESSAGES_H__ #define __GEDIT_FILE_BROWER_MESSAGES_MESSAGES_H__ #include "gedit-file-browser-message-activation.h" #include "gedit-file-browser-message-add-context-item.h" #include "gedit-file-browser-message-add-filter.h" #include "gedit-file-browser-message-get-root.h" #include "g...
Java
/*- * #%L * Fiji distribution of ImageJ for the life sciences. * %% * Copyright (C) 2007 - 2017 Fiji developers. * %% * 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 ...
Java
<? require_once("pdfoprdesubi.php"); $obj= new pdfreporte(); # $obj->AddPage(); # $obj->AliasNbPages(); # $obj->Cuerpo(); # $obj->Output(); $tb=$obj->bd->select($obj->sql); if (!$tb->EOF) { //HAY DATOS $obj->AliasNbPages(); $obj->AddPage(); $obj->Cuerpo(); $obj->Output(); } else { //NO H...
Java
<?php /** * --------------------------------------------------------------------- * GLPI - Gestionnaire Libre de Parc Informatique * Copyright (C) 2015-2022 Teclib' and contributors. * * http://glpi-project.org * * based on GLPI - Gestionnaire Libre de Parc Informatique * Copyright (C) 2003-2014 by the INDEPNE...
Java
/* * arch/arm/mach-tegra/board-smba1002.c * * Copyright (C) 2011 Eduardo José Tagle <ejtagle@tutopia.com> * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be copied, distributed, and modified under those terms. *...
Java
/* * Copyright (C) 2005-2010 MaNGOS <http://getmangos.com/> * * 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. * ...
Java
function ValidarPuntaje(id) { var aux = id.split("_"); var name=aux[0]; var fil=parseInt(aux[1]); var col=parseInt(aux[2]); var colpuntaje=col; var colpuntajereal=col+1; var puntaje=name+"_"+fil+"_"+colpuntaje; var puntajereal=name+"_"+fil+"_"+colpuntajereal; var num1=toFloat(punt...
Java
/* * XMIResultFormatter.java * * Copyright (c) 2011, Database Research Group, Institute of Computer Science, University of Heidelberg. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU General Public License. * * authors: Andreas Fay, Jannik...
Java
/** * Marlin 3D Printer Firmware * Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] * * Based on Sprinter and grbl. * Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General...
Java
<html><body>Karuda:<br> You can earn the following rewards:<br> <font color="LEVEL">S80 weapon recipe</font> - Requires 500 Cursed Grave Goods<br> <font color="LEVEL">Leonard</font> - Requires 8 Cursed Grave Goods<br> <font color="LEVEL">Adamantine</font> - Requires 15 Cursed Grave Goods<br> <font color="LEVEL">Orichal...
Java
/*********************************************************************** * * Copyright (C) 2011, 2014 Graeme Gott <graeme@gottcode.org> * * 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, ei...
Java
# -*- coding: utf-8 -*- """ InaSAFE Disaster risk assessment tool developed by AusAid - **metadata module.** Contact : ole.moller.nielsen@gmail.com .. note:: 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 Sof...
Java
<?php defined('PHALAPI_INSTALL') || die('no access'); ?> <!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- 上述3个meta标签*必须*放在最前面,任何其他内容都*必须*跟随其后! --> <meta ...
Java
/***************************************************************************** * Copyright (c) 2014-2018 OpenRCT2 developers * * For a complete list of all authors, please refer to contributors.md * Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2 * * OpenRCT2 is licensed under the GNU Gener...
Java
/* * Copyright 2011-2019 Arx Libertatis Team (see the AUTHORS file) * * This file is part of Arx Libertatis. * * Arx Libertatis 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 Li...
Java
IMAGES="test-r test-python" IMAGE_VERSION="0.1" DOCKER_REGISTRY="localhost:5000" for IMAGE in ${IMAGES} ; do docker build --tag ${DOCKER_REGISTRY}/dpa/${IMAGE}:${IMAGE_VERSION} tasks/${IMAGE} docker push ${DOCKER_REGISTRY}/dpa/${IMAGE}:${IMAGE_VERSION} done
Java
from django.conf.urls.defaults import * """ Also used in cms.tests.ApphooksTestCase """ urlpatterns = patterns('cms.test_utils.project.sampleapp.views', url(r'^$', 'sample_view', {'message': 'sample root page',}, name='sample-root'), url(r'^settings/$', 'sample_view', kwargs={'message': 'sample settings page'...
Java
############################################################################ # Copyright (c) 2010 Robotnik Automation, SLL # # Makefile for standard Robotnik component # ############################################################################ BUILD = ./build/ BINDIR = ./bin/ SRC = ./src/ LI...
Java
#ifndef MANTID_CURVEFITTING_SEQDOMAIN_H_ #define MANTID_CURVEFITTING_SEQDOMAIN_H_ //---------------------------------------------------------------------- // Includes //---------------------------------------------------------------------- #include "MantidCurveFitting/DllConfig.h" #include "MantidAPI/FunctionDomain.h"...
Java
/* XGGState - Implements graphic state drawing for Xlib Copyright (C) 1995 Free Software Foundation, Inc. Written by: Adam Fedor <fedor@boulder.colorado.edu> Date: Nov 1995 This file is part of the GNU Objective C User Interface Library. This library is free software; you can redistribute it and/o...
Java
#!/usr/bin/env python3 # # Copyright (C) 2018-2019 The ESPResSo project # # This file is part of ESPResSo. # # ESPResSo is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at...
Java
/* Drawpile - a collaborative drawing program. Copyright (C) 2014-2019 Calle Laakkonen Drawpile is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your opti...
Java
var classgr__interleave = [ [ "~gr_interleave", "classgr__interleave.html#ae342ba63322b78359ee71de113e41fc1", null ], [ "check_topology", "classgr__interleave.html#ade74f196c0fc8a91ca4f853a2d1202e1", null ], [ "work", "classgr__interleave.html#a44664518c86559da58b3feccb9e45d7f", null ], [ "gr_make_inter...
Java
(function(jQuery){jQuery.fn.addLittleSisToolbar=function(){var defaults={z_index:10002,height:180,width:100,background_color:'#FFF'};return this.each(function(){if(jQuery('#littlesis-toolbar').length==0){var elements=jQuery(this);elements.css({'margin-top':(defaults.height+10)+'px'});var wrapper=jQuery('<div id="little...
Java
! This file is F-compatible, except for upper/lower case conventions. !-------------------------------------------------------------------- Module CubatureRule_C2 USE Precision_Model, ONLY: stnd Implicit NONE PRIVATE PUBLIC :: Rule_C2a CONTAINS SUBROUTINE Rule_C2a(VER,INFOLD,AREA,NUMFUN,Integrand,BASVAL,RGNERR,NUM...
Java
/* FreeRTOS V7.4.2 - Copyright (C) 2013 Real Time Engineers Ltd. FEATURES AND PORTS ARE ADDED TO FREERTOS ALL THE TIME. PLEASE VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION. *************************************************************************** * ...
Java
#ifndef CA_USERTOOLS_H #define CA_USERTOOLS_H #include <vector> namespace ca { std::vector<int> range(int from, int upto); } #endif // CA_USERTOOLS_H
Java
// // VMime library (http://www.vmime.org) // Copyright (C) 2002-2013 Vincent Richard <vincent@vmime.org> // // 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...
Java
/* * This file is part of Cleanflight. * * Cleanflight is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Cleanflight is distr...
Java
/* 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.1 of the GNU Lesser General Public License as published by the Free Software Foundation. This program is distributed in the hope tha...
Java
/*********************************************************************/ /* */ /* Optimized BLAS libraries */ /* By Kazushige Goto <kgoto@tacc.utexas.edu> */ /* ...
Java
#ifdef __cplusplus extern "C" { #endif /* Get next in EBYEDAT data buffers (exogam) */ int acq_ebyedat_get_next_event(UNSINT16* Buffer, UNSINT16** EvtAddr, int* EvtNum, int EvtFormat); /* Get next in EBYEDAT data buffer...
Java
// Copyright 2015-2017 Parity Technologies (UK) Ltd. // This file is part of Parity. // Parity is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any lat...
Java
<?php /* * * ____ _ _ __ __ _ __ __ ____ * | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \ * | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) | * | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/ * |_| \___/ ...
Java
@charset "utf-8"; /* CSS Document */ /* **宽度变换** */ .main, .crumbcon {width:1190px !important;} .linqigou-nav, .linqigou-filter-box, .tuanIndex, .sscardIndex, .brandList-wrap, .brandIndex, .specialsub-btmnav, .specialsub-con, .specialsub-banner, .specialsub, .specialSell, .specialTop-con, .shanshanNav-con, .heade...
Java
/* * gain.cpp * * Created on: Sep 28, 2009 * Author: dc */ #include <ostream> #include <gtest/gtest.h> #include <barrett/systems/gain.h> #include <barrett/systems/manual_execution_manager.h> #include <barrett/systems/helpers.h> #include "./exposed_io_system.h" namespace { using namespace barrett; class ...
Java
<?php /** * OpenSKOS * * LICENSE * * This source file is subject to the GPLv3 license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://www.gnu.org/licenses/gpl-3.0.txt * If you did not receive a copy of the license and are unab...
Java
. $PSScriptRoot\Shared.ps1 InModuleScope PSJira { [System.Diagnostics.CodeAnalysis.SuppressMessage('PSUseDeclaredVarsMoreThanAssigments', '', Scope='*', Target='SuppressImportModule')] $SuppressImportModule = $true . $PSScriptRoot\Shared.ps1 Describe "Get-JiraIssueCreateMetadata" { if ($Show...
Java
#pragma once #define LONG_NAME "<%= config.info.longName %>" #define VERSION_LABEL "<%= config.info.versionLabel %>" #define UUID "<%= config.info.uuid %>" <% for (prop in config.info.appKeys) { %>#define <%= prop %> <%= config.info.appKeys[prop] %> <% } %>
Java
----------------------------------- -- Area: Western Adoulin -- NPC: Pagnelle -- Type: Standard NPC and Quest NPC -- Starts, Involved with, and Finishes Quest: 'Raptor Rapture' -- @zone 256 -- !pos -8 0 -100 256 ----------------------------------- package.loaded["scripts/zones/Western_Adoulin/TextIDs"] = nil; ---...
Java
#ifndef COIN_3DSLOADER_H #define COIN_3DSLOADER_H /**************************************************************************\ * * This file is part of the Coin 3D visualization library. * Copyright (C) 1998-2005 by Systems in Motion. All rights reserved. * * This library is free software; you can redistribu...
Java
<?php /** * @file * This is the template file for the metadata description for an object. * * Available variables: * - $islandora_object: The Islandora object rendered in this template file * - $found: Boolean indicating if a Solr doc was found for the current object. * * @see template_preprocess_islandora_solr...
Java
/* =========================================================================== Doom 3 GPL Source Code Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. Copyright (C) 2015 Robert Beckebans This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?). Doom 3 Source Code is free software: you ...
Java
----------------------------------- -- Area: King Ranperre's Tomb -- NPC: Tombstone -- Involved in Quest: Grave Concerns -- @pos 1 0.1 -101 190 ----------------------------------- package.loaded["scripts/zones/King_Ranperres_Tomb/TextIDs"] = nil; ----------------------------------- require("scripts/globals/s...
Java
#!/usr/bin/python # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Ansible is distributed...
Java
using EloBuddy; using LeagueSharp.Common; namespace Nasus { using LeagueSharp.Common; public class MenuInit { public static Menu Menu; public static void Initialize() { Menu = new Menu("Nasus - The Crazy Dog", "L# Nasus", true); var orbw...
Java
import lxml.html as l import requests def key_char_parse(char_id): url = 'https://vndb.org/c' + str(char_id) page = requests.get(url) root = l.fromstring(page.text) name = root.cssselect('.mainbox h1')[0].text kanji_name = root.cssselect('.mainbox h2.alttitle')[0].text img = 'https:' + root.c...
Java
<?php // Heading $_['heading_title'] = 'OpenBay Pro'; // Text $_['text_module'] = 'フィード設定'; $_['text_installed'] = 'OpenBayProモジュールがインストールされました。 拡張機能 -> OpenBay Proで利用することができます';
Java
/* * Copyright (C) 2009 Lalit Pant <pant.lalit@gmail.com> * * The contents of this file are subject to the GNU General Public License * Version 3 (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.gnu.org/copyleft/gpl.html * *...
Java
/* Copyright (C) 2003-2013 Runtime Revolution Ltd. This file is part of LiveCode. LiveCode is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License v3 as published by the Free Software Foundation. LiveCode is distributed in the hope that it will be useful, but WITH...
Java
define( [ 'jquery', 'stapes', './conditionals' ], function( $, Stapes, conditionalsMediator ) { 'use strict'; /** * Global Mediator (included on every page) * @module Globals * @implements {Stapes}...
Java
<html><head><body>Pet Manager Lundy:<br> All the people who can give you information about pet wolves are here in the <font color="LEVEL">Town of Gludio</font>.<br> First, go see <font color="LEVEL">Gatekeeper Bella</font>. </body></html>
Java
require 'spec_helper' describe 'puppet::agent' do on_supported_os.each do |os, os_facts| next if only_test_os() and not only_test_os.include?(os) next if exclude_test_os() and exclude_test_os.include?(os) context "on #{os}" do let (:default_facts) do os_facts.merge({ :clientcert =...
Java
/* Copyright 2005, 2006, 2007 Dennis van Weeren Copyright 2008, 2009 Jakub Bednarski This file is part of Minimig Minimig is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at y...
Java
<?php return [ 'AF' => 'Afganisztán', 'AX' => 'Åland-szigetek', 'AL' => 'Albánia', 'DZ' => 'Algéria', 'AS' => 'Amerikai Szamoa', 'VI' => 'Amerikai Virgin-szigetek', 'AD' => 'Andorra', 'AO' => 'Angola', 'AI' => 'Anguilla', 'AQ' => 'Antarktisz', 'AG' => 'Antigua és Barbuda', ...
Java
/* * This file is part of Cleanflight. * * Cleanflight is free software. You can redistribute * this software and/or modify this software under the terms of the * GNU General Public License as published by the Free Software * Foundation, either version 3 of the License, or (at your option) * any later version. ...
Java
/* GIMP - The GNU Image Manipulation Program * Copyright (C) 1995 Spencer Kimball and Peter Mattis * * gimpuiconfigurer.c * Copyright (C) 2009 Martin Nordholts <martinn@src.gnome.org> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License a...
Java
<?php namespace AfriCC\Tests\EPP\DOM; use AfriCC\EPP\DOM\DOMElement; use DOMDocument; use PHPUnit\Framework\TestCase; class DOMElementTest extends TestCase { public function testHasChildNodes() { $dom = new DOMDocument('1.0', 'utf-8'); $parent = new DOMElement('foo'); $dom->appendChi...
Java
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Struct template customize_stream&lt;Ch, Traits, signed char, void&gt;</title> <link rel="stylesheet" href="../../../../doc/sr...
Java
// Generated by typings // Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/7d23177b1abff1b80b9a2d6ffbc881f6562a2359/hapi/hapi.d.ts declare module "hapi" { import http = require("http"); import stream = require("stream"); import Events = require("events"); import url = require("url"); int...
Java
//----------------------------------------------------------------------- // // mod parser::atom TEST // //----------------------------------------------------------------------- use super::Status; use super::{parse_dot, parse_eof, parse_literal, parse_match, MatchRules}; #[test] fn test_parse_literal_ok() { let...
Java
/* * Copyright (C) 2006 by Martin J. Muench <mjm@codito.de> * * Part of mpd - mobile phone dumper * * Some code stolen from btxml.c by Andreas Oberritter * */ #include "wrap.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <errno.h> /* Simple malloc() wrapper */ void *Malloc(size_t size)...
Java
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Routing\Generator; use Symfony\Component\Routing\Rout...
Java