code stringlengths 3 1.01M | repo_name stringlengths 5 116 | path stringlengths 3 311 | language stringclasses 30
values | license stringclasses 15
values | size int64 3 1.01M |
|---|---|---|---|---|---|
/**
********************************************************************************
\file ctrlkcal.h
\brief Definitions for kernel ctrl CAL module
This file contains the definitions for the kernel ctrl CAL module.
*******************************************************************************/
/*---------------... | SylvainLesne/openPOWERLINK_V2 | stack/include/kernel/ctrlkcal.h | C | gpl-2.0 | 3,399 |
<?php
/**
* Template to display the main page for the new forum
* @access public
*/
$this->setLayoutTemplate('poll_layout_tpl.php');
echo $display.'<br />';
?>
| chisimba/modules | poll/templates/content/home_tpl.php | PHP | gpl-2.0 | 171 |
/*
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
*
* Copyright (C) 2008-2010 Trinity <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 vers... | Muglackh/cejkaz-tc | src/game/SpellAuras.cpp | C++ | gpl-2.0 | 65,021 |
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#include "errno-util.h"
#include "format-table.h"
#include "hexdecoct.h"
#include "homectl-pkcs11.h"
#include "libcrypt-util.h"
#include "memory-util.h"
#include "openssl-util.h"
#include "pkcs11-util.h"
#include "random-util.h"
#include "strv.h"
struct pkcs11_callback... | endlessm/systemd | src/home/homectl-pkcs11.c | C | gpl-2.0 | 16,567 |
using OpenDBDiff.Abstractions.Schema;
using OpenDBDiff.Abstractions.Schema.Model;
using System;
using System.Linq;
namespace OpenDBDiff.SqlServer.Schema.Model
{
public class Columns<T> : SchemaList<Column, T> where T : ISchemaBase
{
public Columns(T parent) : base(parent)
{
}
/... | OpenDBDiff/OpenDBDiff | OpenDBDiff.SqlServer.Schema/Model/Columns.cs | C# | gpl-2.0 | 4,997 |
#pragma once
#include <obs.hpp>
#include <map>
const std::map<int, const char*> &GetAACEncoderBitrateMap();
const char *GetAACEncoderForBitrate(int bitrate);
int FindClosestAvailableAACBitrate(int bitrate);
| JohnnyLeone/obs-studio | UI/audio-encoders.hpp | C++ | gpl-2.0 | 210 |
<?php
/**
* @package snow-monkey
* @author inc2734
* @license GPL-2.0+
* @version 15.13.0
*/
use Inc2734\WP_Customizer_Framework\Framework;
use Framework\Helper;
Framework::control(
'select',
'footer-widget-area-column-size',
[
'label' => __( 'Number of columns in the footer widget area on PC', 's... | inc2734/snow-monkey | app/customizer/design/sections/footer/controls/footer-widget-area-column-size.php | PHP | gpl-2.0 | 968 |
// license:BSD-3-Clause
// copyright-holders:Curt Coder
/**********************************************************************
Kempston Disk Interface emulation
**********************************************************************/
#include "kempston_di.h"
//*************************************************... | GiuseppeGorgoglione/mame | src/devices/bus/ql/kempston_di.cpp | C++ | gpl-2.0 | 2,486 |
extern sf::Time deltaTime;
| johan-bjareholt/spacesim-2d | include/main.h | C | gpl-2.0 | 28 |
////////////////////////////////////////////////////////////////////////////////
//
// Copyright 2016 RWS Inc, All Rights Reserved
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of version 2 of the GNU General Public License as published by
// the Free Software Foundati... | PixelDevLabs/Ezia-Cleaner_Build-934afd57b26a | fire.cpp | C++ | gpl-2.0 | 29,776 |
/* $Id: elsa_ser.c,v 1.1.1.1 2011/08/19 02:08:59 ronald Exp $
*
* stuff for the serial modem on ELSA cards
*
* This software may be used and distributed according to the terms
* of the GNU General Public License, incorporated herein by reference.
*
*/
#include <linux/serial.h>
#include <linux/serial_reg.h>
#inc... | embeddedarm/linux-2.6.35-ts4800 | drivers/isdn/hisax/elsa_ser.c | C | gpl-2.0 | 17,033 |
<?php
namespace Themosis\Core\Console;
use Illuminate\Console\Command;
use Illuminate\Console\ConfirmableTrait;
use Illuminate\Encryption\Encrypter;
class KeyGenerateCommand extends Command
{
use ConfirmableTrait;
/**
* Name and signature of the console command.
*
* @var string
*/
pr... | themosis/framework | src/Core/Console/KeyGenerateCommand.php | PHP | gpl-2.0 | 2,827 |
#!/bin/sh -e
# Glen Pitt-Pladdy (ISC)
. ./functions.sh
depends_SLES() {
echo >/dev/null
}
depends_RHEL() {
[ -x /usr/bin/expect ] || yum install -y expect
}
trakapacheconf_SLES() {
CONFDIR=/etc/apache2/conf.d
CONF=$CONFDIR/t2016-$TRAKNS.conf
echo $CONF
}
trakapacheconf_RHEL() {
CONFDIR=/etc/httpd/conf.d
CONF=... | casep/isc_coding | trakautomation/do_TrakVanillaT2015_Install.sh | Shell | gpl-2.0 | 4,564 |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="style/style.css">
<link rel="stylesheet" type="text/css" media="only screen and (min-device-width: 360px)" href="style-compact.css">
<script>
(function(i,s,o,g,r,a,m){i['Google... | Blackrobe/blackrobe.github.io | BFJPStoryArchive/BFJPStoryArchive/map4-dungeon7.html | HTML | gpl-2.0 | 17,355 |
<?php
require_once './includes/bootstrap.inc';
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
global $base_url;
require_once ('tcpdf/pdfcss.php');
require_once('tcpdf/config/lang/eng.php');
require_once('tcpdf/tcpdf.php');
// create new PDF document
$pdf = new TCPDF(L, PDF_UNIT, B4, true, 'UTF-8', false);
// set document inf... | himan5050/hpbc | assetRegisterpdf.php | PHP | gpl-2.0 | 7,049 |
/**
* AshtavargaChartData.java
* Created On 2006, Mar 31, 2006 5:12:23 PM
* @author E. Rajasekar
*/
package app.astrosoft.beans;
import java.util.EnumMap;
import app.astrosoft.consts.AshtavargaName;
import app.astrosoft.consts.AstrosoftTableColumn;
import app.astrosoft.consts.Rasi;
import app.astrosoft.core.Asht... | erajasekar/Astrosoft | src/app/astrosoft/beans/AshtaVargaChartData.java | Java | gpl-2.0 | 2,069 |
package mcmod.nxs.animalwarriors.lib;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.ItemArmor;
public class ArmorHelper extends ItemArmor {
public ArmorHelper(ArmorMaterial material, int type, int layer)
{
super(material, type, layer);
}
public ItemArmor setNameAndTab(String name, Cr... | AlphaSwittle-Team/AnimalWarriors | src/main/java/mcmod/nxs/animalwarriors/lib/ArmorHelper.java | Java | gpl-2.0 | 489 |
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<title> </title>
<style>
.municipios{
font-size:12px;
font-family: 'helvetica','raleway';
padding:1em 1em;
background-color:#2C85AF;
color:#FFFFFF;
}
.direccion{
font-size:12px;
font-family: 'helvetica','ralewa... | master777/tap | sinaloa.php | PHP | gpl-2.0 | 19,724 |
// float_digits().
// General includes.
#include "base/cl_sysdep.h"
// Specification.
#include "cln/dfloat.h"
// Implementation.
#include "float/dfloat/cl_DF.h"
namespace cln {
CL_INLINE uintC CL_INLINE_DECL(float_digits) (const cl_DF& x)
{
unused x;
return DF_mant_len+1; // 53
}
} // namespace cln
| ARudik/feelpp.cln | src/float/dfloat/misc/cl_DF_digits.cc | C++ | gpl-2.0 | 311 |
package org.scada_lts.dao.model.multichangehistory;
import java.util.Objects;
/**
* @author [email protected] on 16.10.2019
*/
public class MultiChangeHistoryValues {
private int id;
private int userId;
private String userName;
private String viewAndCmpIdentyfication;
private String in... | SCADA-LTS/Scada-LTS | src/org/scada_lts/dao/model/multichangehistory/MultiChangeHistoryValues.java | Java | gpl-2.0 | 3,725 |
<?php
/**
V4.50 6 July 2004 (c) 2000-2004 John Lim ([email protected]). All rights reserved.
Released under both BSD license and Lesser GPL library license.
Whenever there is any discrepancy between the two licenses,
the BSD license will take precedence.
Set tabs to 4 for best viewing.
*/
// securi... | freemed/freemed-0.8.x | lib/acl/adodb/datadict/datadict-ibase.inc.php | PHP | gpl-2.0 | 1,369 |
# -*- coding: utf-8 -*-
# ..#######.########.#######.##....#..######..######.########....###...########.#######.########..######.
# .##.....#.##.....#.##......###...#.##....#.##....#.##.....#...##.##..##.....#.##......##.....#.##....##
# .##.....#.##.....#.##......####..#.##......##......##.....#..##...##.##.....#.... | repotvsupertuga/tvsupertuga.repository | script.module.openscrapers/lib/openscrapers/sources_openscrapers/en/coolmoviezone.py | Python | gpl-2.0 | 2,749 |
/*
* 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 not use... | sencko/NALB | nalb2013/src/org/apache/fontbox/cff/charset/CFFExpertCharset.java | Java | gpl-2.0 | 8,359 |
</main>
<div class="footer__break"></div>
<footer id="footer" class="footer" role="contentinfo">
<div class="content__wrapper">
<?php
get_template_part( 'template-parts/footer/newsletter' );
get_template_part( 'template-parts/footer/social' );
?>
</div>
<?php get_template_part( 'template-parts... | Fulcrum-Creatives/wordup | footer.php | PHP | gpl-2.0 | 454 |
package com.starfarers.dao;
import java.util.List;
public interface BaseDao<T> {
public void create(T entity);
public T save(T entity);
public void save(List<T> entities);
public void remove(T entity);
public T find(Integer id);
public List<T> findAll();
public <P> T findBy(String attribute, P parameter... | Zweanslord/starfarers | src/main/java/com/starfarers/dao/BaseDao.java | Java | gpl-2.0 | 325 |
/*
* YAFFS: Yet another Flash File System . A NAND-flash specific file system.
*
* Copyright (C) 2002-2007 Aleph One Ltd.
* for Toby Churchill Ltd and Brightstar Engineering
*
* Created by Charles Manning <[email protected]>
*
* This program is free software; you can redistribute it and/or modify
* it und... | xtreamerdev/linux-xtr | fs/yaffs2/yaffs_packedtags2.h | C | gpl-2.0 | 1,350 |
/*
* Multiple format streaming server
* Copyright (c) 2000, 2001, 2002 Fabrice Bellard
*
* 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 of the License, or (at y... | sofian/drone | lib/ffmpeg/ffserver.c | C | gpl-2.0 | 152,555 |
'''
Ohm's law is a simple equation describing electrical circuits. It
states that the voltage V through a resistor is equal to the current
(I) times the resistance:
V = I * R
The units of these are volts, ampheres (or "amps"), and ohms,
respectively. In real circuits, often R is actually measured in
kiloohms (10**3 o... | ketan-analytics/learnpython | Safaribookonline-Python/courseware-btb/solutions/py3/patterns/properties_extra.py | Python | gpl-2.0 | 2,255 |
---
layout: post
title: 从垃圾回收算法到Object Pool
description: "Just about everything you'll need to style in the theme: headings, paragraphs, blockquotes, tables, code blocks, and more."
modified: 2014-02-28
tags: [javascript, GC]
image:
feature: abstract-3.jpg
credit: dargadgetz
creditlink: http://www.dargadgetz.com/... | hh54188/jekyll-blog | _posts/2014-02-28-from-GC-algorithm-to-ObjectPool.md | Markdown | gpl-2.0 | 16,139 |
set(PROCESSORS 4)
set(CMAKE_RELEASE_DIRECTORY /Users/kitware/CMakeReleaseDirectory)
# set(USER_OVERRIDE "set(CMAKE_CXX_LINK_EXECUTABLE \\\"gcc <FLAGS> <CMAKE_CXX_LINK_FLAGS> <LINK_FLAGS> <OBJECTS> -o <TARGET> <LINK_LIBRARIES> -shared-libgcc -lstdc++-static\\\")")
set(INSTALL_PREFIX /)
set(HOST dashmacmini5)
set(MAKE... | DDTChen/CookieVLC | vlc/extras/tools/cmake/Utilities/Release/dashmacmini5_release.cmake | CMake | gpl-2.0 | 882 |
@(contestId: Long, form: Form[org.iatoki.judgels.uriel.forms.ContestAnnouncementUpsertForm])
@import play.i18n.Messages
@import org.iatoki.judgels.uriel.controllers.routes
@import org.iatoki.judgels.play.views.html.formErrorView
@import org.iatoki.judgels.uriel.views.html.contest.announcement.upsertAnnouncementView
@i... | ia-toki/judgels-uriel | app/org/iatoki/judgels/uriel/views/contest/announcement/createAnnouncementView.scala.html | HTML | gpl-2.0 | 721 |
using UnityEngine;
using System.Collections;
public class Metrics : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
}
| JoeProgram/monster | Assets/Scripts/Metrics.cs | C# | gpl-2.0 | 206 |
<?php
declare(strict_types=1);
namespace PoPCMSSchema\QueriedObject\TypeResolvers\InterfaceType;
use PoP\ComponentModel\TypeResolvers\InterfaceType\AbstractInterfaceTypeResolver;
class QueryableInterfaceTypeResolver extends AbstractInterfaceTypeResolver
{
public function getTypeName(): string
{
retu... | leoloso/PoP | layers/CMSSchema/packages/queriedobject/src/TypeResolvers/InterfaceType/QueryableInterfaceTypeResolver.php | PHP | gpl-2.0 | 497 |
*,
*:before,
*:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
span.grid_module {
width: 10em;
overflow: hidden;
display: inline-block;
vertical-align: bottom;
text-overflow: ellipsis;
}
#tblda th,#tblda td {
display: block;
text-a... | ltlam93/UNETI.FIT | UNETI.FIT/Content/Main.css | CSS | gpl-2.0 | 69,740 |
/*
* Copyright (C) 2014-2017 StormCore
*
* 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 dis... | Ragebones/StormCore | src/server/game/Entities/Totem/Totem.h | C | gpl-2.0 | 2,197 |
#!/usr/bin/perl -w
#
# This script generates a C header file that maps the target device (as
# indicated via the sdcc generated -Dpic18fxxx macro) to its device
# family and the device families to their respective style of ADC and
# USART programming for use in the SDCC PIC16 I/O library.
#
# Copyright 2010 Raphael Ne... | atsidaev/sdcc-z80-gas | support/scripts/pic18fam-h-gen.pl | Perl | gpl-2.0 | 6,558 |
<?php
/**
* ifeelweb.de WordPress Plugin Framework
* For more information see http://www.ifeelweb.de/wp-plugin-framework
*
* Adapter to use ZendFramework as admin application
*
* @author Timo Reith <[email protected]>
* @copyright Copyright (c) ifeelweb.de
* @version $Id: ZendFw.php 911603 2014-05-10 10:58... | brasadesign/wpecotemporadas | wp-content/plugins/post-status-notifier-lite/lib/IfwPsn/Wp/Plugin/Application/Adapter/ZendFw.php | PHP | gpl-2.0 | 6,435 |
#ifndef _FFNet_Pattern_h_
#define _FFNet_Pattern_h_
/* FFNet_Pattern.h
*
* Copyright (C) 1997-2011, 2015 David Weenink
*
* 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... | motiz88/praat | FFNet/FFNet_Pattern.h | C | gpl-2.0 | 1,073 |
/***************************************************************************
* Project TUPITUBE DESK *
* Project Contact: [email protected] *
* Project Website: http://www.maefloresta.com *
* Project ... | xtingray/tupitube.desk | src/components/library/tupsoundplayer.h | C | gpl-2.0 | 4,307 |
/*
* arch/arm/mach-tegra/baseband-xmm-power.c
*
* Copyright (C) 2011 NVIDIA Corporation
*
* 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.
*
* This program i... | bedalus/hxore | arch/arm/mach-tegra/baseband-xmm-power.c | C | gpl-2.0 | 61,756 |
include ../../../Makefile.inc
CLC_ROOT = ../../../inc
all: exe_src exe_src_m2s exe_bin amd_compile m2c_compile run_m2s run_native check_result
exe_src:
@-$(CC) $(CC_FLAG) *src.c -o exe_src $(CC_INC) $(CC_LIB) > isgreaterequal_floatfloat.exe_src.log 2>&1
exe_src_m2s:
@-$(CC) $(CC_FLAG) -m32 *src.c -o exe_src_m2s $... | xianggong/m2c_unit_test | test/relational/isgreaterequal_floatfloat/Makefile | Makefile | gpl-2.0 | 1,047 |
# coding=utf-8
# ---------------------------------------------------------------
# Desenvolvedor: Arannã Sousa Santos
# Mês: 12
# Ano: 2015
# Projeto: pagseguro_xml
# e-mail: [email protected]
# ---------------------------------------------------------------
import loggin... | arannasousa/pagseguro_xml | exemplos/testes_notificacao.py | Python | gpl-2.0 | 1,090 |
<?php
/**
* @package Mambo
* @author Mambo Foundation Inc see README.php
* @copyright Mambo Foundation Inc.
* See COPYRIGHT.php for copyright notices and details.
* @license GNU/GPL Version 2, see LICENSE.php
* Mambo is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public ... | chanhong/mambo | includes/agent_browser.php | PHP | gpl-2.0 | 9,696 |
<style type="text/css">
.ppsAdminMainLeftSide {
width: 56%;
float: left;
}
.ppsAdminMainRightSide {
width: <?php echo (empty($this->optsDisplayOnMainPage) ? 100 : 40)?>%;
float: left;
text-align: center;
}
#ppsMainOccupancy {
box-shadow: none !important;
}
</style>
<section>
<div class="supsystic-ite... | Sciado/whitelabelheros.com | wp-content/plugins/popup-by-supsystic/modules/options/views/tpl/optionsAdminMain.php | PHP | gpl-2.0 | 486 |
/***************************************************************************
*
* Copyright (c) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
* 2010, 2011 BalaBit IT Ltd, Budapest, Hungary
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General... | kkovaacs/zorp | zorpaddr/zorpaddr.h | C | gpl-2.0 | 1,392 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Sat Aug 06 17:04:40 EDT 2005 -->
<TITLE>
Xalan-Java 2.7.0: Uses of Class org.apache.xml.serializer.utils.SystemIDResolver
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" T... | MrStaticVoid/iriverter | lib/xalan-j_2_7_0/docs/apidocs/org/apache/xml/serializer/utils/class-use/SystemIDResolver.html | HTML | gpl-2.0 | 4,673 |
/*
* Copyright (C) 2008-2014 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
*
* 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... | madisodr/legacy-core | src/server/scripts/World/npc_taxi.cpp | C++ | gpl-2.0 | 16,513 |
/**
* UGENE - Integrated Bioinformatics Tools.
* Copyright (C) 2008-2022 UniPro <[email protected]>
* http://ugene.net
*
* 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
* ... | ugeneunipro/ugene | src/corelibs/U2Gui/src/util/ScriptEditorWidget.cpp | C++ | gpl-2.0 | 2,409 |
/*
YUI 3.7.3 (build 5687)
Copyright 2012 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('dom-class', function(Y) {
var addClass, hasClass, removeClass;
Y.mix(Y.DOM, {
/**
* Determines whether a DOM element has the given className.
... | artefactual-labs/trac | sites/all/libraries/yui/build/dom-class/dom-class-debug.js | JavaScript | gpl-2.0 | 3,423 |
import { Injectable } from '@angular/core';
import { of } from 'rxjs';
import { Resolve, ActivatedRouteSnapshot } from '@angular/router';
import { catchError } from 'rxjs/operators';
import { CatalogoService } from './catalogo.service';
@Injectable()
export class EdicaoNovoResolverService implements Resolve<any> ... | lexml/madoc | ui/src/app/service/edicao-novo.resolver.service.ts | TypeScript | gpl-2.0 | 589 |
package agaroyun.view;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.util.ArrayList;
import javax.swing.JPanel;
import agaroyun.Model.GameObject;
import agaroyun.Model.Player;
/**
* draws GameObjects to panel
* @author varyok... | by-waryoq/LYKJava2017Basics | src/agaroyun/view/GamePanel.java | Java | gpl-2.0 | 916 |
package net.sf.memoranda.util;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import net.sf.memoranda.ui.AppFrame;
/**
* <p>
* Title:
* </p>
* <p>
* Description:
* </p>
* <p>
* Copyright: Copyright (c) 2002
* </p>
* <p>
* Company:
* </p>
*
* @author unascribed
* @version 1.0... | cst316/spring16project-Fortran | src/net/sf/memoranda/util/Context.java | Java | gpl-2.0 | 845 |
## 1.8.0 (September 2015)
- New MATERIAL DESIGN theme
- Updated FILE TYPE ICONS
- Preview TXT files within the app
- COPY files & folders
- Preview the full file/folder name from the long press menu
- Set a file as FAVORITE (kept-in-sync) from the CONTEXT MENU
- Updated CONFLICT RESOLUTION dialog (wording)
- Images wit... | maduhu/android | CHANGELOG.md | Markdown | gpl-2.0 | 1,684 |
joomla_wisco_p
==============
joomla .wisco.templates
| pyyxx123/joomla_wisco_p | README.md | Markdown | gpl-2.0 | 55 |
#ifndef SPRINGLOBBY_HEADERGUARD_USER_H
#define SPRINGLOBBY_HEADERGUARD_USER_H
#include <wx/string.h>
#include <wx/colour.h>
#include "utils/mixins.hh"
class Server;
const unsigned int SYNC_UNKNOWN = 0;
const unsigned int SYNC_SYNCED = 1;
const unsigned int SYNC_UNSYNCED = 2;
//! @brief Struct used to store a client'... | N2maniac/springlobby-join-fork | src/user.h | C | gpl-2.0 | 6,758 |
<?php
/**
*
*
* Created on Jan 4, 2008
*
* Copyright © 2008 Yuri Astrakhan <Firstname><Lastname>@gmail.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 Lic... | ezc/mediawiki | includes/api/ApiWatch.php | PHP | gpl-2.0 | 3,488 |
/* -*- c -*- */
/* $Id: sha.h 6172 2011-03-27 12:40:30Z cher $ */
#ifndef __SHA_H__
#define __SHA_H__ 1
/*
* 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, o... | stden/ejudge | sha.h | C | gpl-2.0 | 3,310 |
/* SET.C - performing :set - command
*
* NOTE: Edit this file with tabstop=4 !
*
* 1996-02-29 created;
* 1998-03-14 V 1.0.1
* 1999-01-14 V 1.1.0
* 1999-03-17 V 1.1.1
* 1999-07-02 V 1.2.0 beta
* 1999-08-14 V 1.2.0 final
* 2000-07-15 V 1.3.0 final
* 2001-10-10 V 1.3.1
* 2003-07-03 V 1.3.2
*
* Copyright 199... | XVilka/bvim | set.c | C | gpl-2.0 | 12,671 |
local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg)... | Tatuy/UAServer | data/npc/FORGOTTENSERVER-ORTS/scripts/Frodo.lua | Lua | gpl-2.0 | 904 |
/* coff object file format
Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009
Free Software Foundation, Inc.
This file is part of GAS.
GAS is free software; you can redistribute it and/or modify
it under the terms of the G... | WojciechMigda/binutils | gas/config/obj-coff.h | C | gpl-2.0 | 14,188 |
/**************************************************************
* Copyright (C) 2010 STMicroelectronics. All Rights Reserved.
* This file is part of the latest release of the Multicom4 project. This release
* is fully functional and provides all of the original MME functionality.This
* release is now considere... | project-magpie/tdt-driver | multicom-4.0.6/src/bsp/stx7200/st231/video1/name.c | C | gpl-2.0 | 1,425 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_18) on Tue Nov 02 13:16:47 CET 2010 -->
<TITLE>
Filter
</TITLE>
<META NAME="date" CONTENT="2010-11-02">
<LINK REL ="stylesheet" TYPE="text/css" HRE... | colloquium/spacewalk | documentation/javadoc/com/redhat/rhn/domain/monitoring/notification/Filter.html | HTML | gpl-2.0 | 33,065 |
<?php
/**
* @version $Id: #component#.php 125 2012-10-09 11:09:48Z michel $ 1 2014-05-11Z FT $
* @package Kepviselojeloltek
* @copyright Copyright (C) 2014, Fogler Tibor. All rights reserved.
* @license #GNU/GPL
*/
//--No direct access
defined('_JEXEC') or die('=;)');
// DS has removed from J 3.0
if(!defined('DS'))... | utopszkij/li-de | componens_telepitok/com_kepviselojeltek/site/kepviselojeloltek.php | PHP | gpl-2.0 | 1,527 |
package org.emulinker.kaillera.controller.v086.action;
import java.util.*;
import org.apache.commons.logging.*;
import org.emulinker.kaillera.access.AccessManager;
import org.emulinker.kaillera.controller.messaging.MessageFormatException;
import org.emulinker.kaillera.controller.v086.V086Controller;
import org.emulin... | monospacesoftware/emulinker | src/org/emulinker/kaillera/controller/v086/action/GameOwnerCommandAction.java | Java | gpl-2.0 | 4,749 |
<?php
/**
* Manages the social plugins.
*
* @copyright 2009-2019 Vanilla Forums Inc.
* @license GPL-2.0-only
* @package Dashboard
* @since 2.1
*/
/**
* Handles /social endpoint, so it must be an extrovert.
*/
class SocialController extends DashboardController {
/** @var array Models to automatically inst... | vanilla/vanilla | applications/dashboard/controllers/class.socialcontroller.php | PHP | gpl-2.0 | 2,628 |
<?php
// if( isset( $_POST ) ) {
// echo '<code><pre>';
// var_dump( $_POST );
// echo '</pre></code>';
// }
class SpeoOptions
{
/**
* Holds the values to be used in the fields callbacks
*/
private $options;
/**
* Start up
*/
public function __construct()
{
add_actio... | alpipego/speo-exiftool | speo-options.php | PHP | gpl-2.0 | 4,439 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Management;
using ProductMan.Utilities;
using ProductMan.Win32;
using System.Reflection;
namespace ProductMan
{
public class WMIVendor : IDisposable
{
protected static WMIVendor instance;
... | CecleCW/ProductMan | ProductMan/ProductMan/WMIVendor.cs | C# | gpl-2.0 | 4,918 |
/*
* linux/drivers/mmc/core/core.c
*
* Copyright (C) 2003-2004 Russell King, All Rights Reserved.
* SD support Copyright (C) 2004 Ian Molton, All Rights Reserved.
* Copyright (C) 2005-2008 Pierre Ossman, All Rights Reserved.
* MMCv4 support Copyright (C) 2006 Philip Langdale, All Rights Reserved.
*
* This ... | VilleEvitaCake/android_kernel_htc_msm8960 | drivers/mmc/core/core.c | C | gpl-2.0 | 80,989 |
var options={}; options.login=true;
LoginRadius_SocialLogin.util.ready(function ()
{ $ui = LoginRadius_SocialLogin.lr_login_settings;
$ui.interfacesize = Drupal.settings.lrsociallogin.interfacesize;
$ui.lrinterfacebackground=Drupal.settings.lrsociallogin.lrinterfacebackground;
$ui.noofcolumns= Drupal.settin... | bedesign323/aimhigh | sites/all/modules/contrib/sociallogin/js/sociallogin_interface.js | JavaScript | gpl-2.0 | 1,057 |
<?php
namespace Drupal\materialize\Plugin\Setting\General\Tables;
use Drupal\materialize\Annotation\MaterializeSetting;
use Drupal\materialize\Plugin\Setting\SettingBase;
use Drupal\Core\Annotation\Translation;
/**
* The "table_bordered" theme setting.
*
* @ingroup plugins_setting
*
* @MaterializeSetting(
* ... | sunlight25/d8 | web/themes/contrib/materialize/src/Plugin/Setting/General/Tables/TableBordered.php | PHP | gpl-2.0 | 682 |
package net.senmori.customtextures.events;
import net.senmori.customtextures.util.MovementType;
import org.bukkit.entity.Player;
import org.bukkit.event.player.PlayerEvent;
import com.sk89q.worldguard.protection.regions.ProtectedRegion;
/**
* event that is triggered after a player entered a WorldGuard re... | Senmori/CustomTextures | src/main/java/net/senmori/customtextures/events/RegionEnteredEvent.java | Java | gpl-2.0 | 851 |
<?php
/*
* @package Joomla.Framework
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*
* @component Phoca Component
* @copyright Copyright (C) Jan Pavelka www.phoca.cz
* @license http://www.gnu.org/c... | LuxitoHD/mmall-chen | administrator/components/com_phocagallery/models/phocagalleryimg.php | PHP | gpl-2.0 | 22,198 |
#include "config.h"
#include <arki/tests/tests.h>
#include <arki/iotrace.h>
namespace {
using namespace std;
using namespace arki;
using namespace arki::tests;
class Tests : public TestCase
{
using TestCase::TestCase;
void register_tests() override;
} test("arki_iotrace");
void Tests::register_tests() {
ad... | ARPA-SIMC/arkimet | arki/iotrace-test.cc | C++ | gpl-2.0 | 353 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>widget-locale - YUI 3</title>
<link rel="stylesheet" href="http://yui.yahooapis.com/3.5.0pr4/build/cssgrids/cssgrids-min.css">
<link rel="stylesheet" href="../assets/vendor/prettify/prettify-mi... | dkist/t-h-inker | sites/all/libraries/yui/api/modules/widget-locale.html | HTML | gpl-2.0 | 66,604 |
/*
* Xiphos Bible Study Tool
* sword.cc - glue
*
* Copyright (C) 2000-2020 Xiphos Developer Team
*
* 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
* ... | crosswire/xiphos | src/main/sword.cc | C++ | gpl-2.0 | 45,237 |
<?php
global $PPT,$PPTDesign;
PremiumPress_Header(); ?>
<div id="premiumpress_box1" class="premiumpress_box premiumpress_box-100"><div class="premiumpress_boxin"><div class="header">
<h3><img src="<?php echo $GLOBALS['template_url']; ?>/images/premiumpress/h-ico/GeneralPreferences.png" align="middle"> Display S... | magictortoise/voucheroffer | wp-content/themes/couponpress/admin/_ad_couponpress_1.php | PHP | gpl-2.0 | 22,576 |
# 考勤
----
考勤信息查询 <br>
http://yun.kqapi.com/Default/Index/index | FlyingRunSnail/myHelloWorld | notebook/vnote/日常工作记录/考勤.md | Markdown | gpl-2.0 | 78 |
/**
* AuthenticationUserLibraryPortType.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
*/
package it.depositolegale.www.webservice_authenticationUserLibrary;
public interface AuthenticationUserLibraryPortType extends java.rmi.Remote {
p... | MagazziniDigitali/Magazzini-Digitali-Client | MagazziniDigitaliServicesClient/src/main/java/it/depositolegale/www/webservice_authenticationUserLibrary/AuthenticationUserLibraryPortType.java | Java | gpl-2.0 | 563 |
/*
* linux/arch/arm/kernel/traps.c
*
* Copyright (C) 1995-2009 Russell King
* Fragments that appear the same as linux/arch/i386/kernel/traps.c (C) Linus Torvalds
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* publ... | Mazout360/lge-kernel-gb | arch/arm/kernel/traps.c | C | gpl-2.0 | 19,685 |
/*
Theme Name: Metaspace Mobile
Theme URI: http://metaspace.co
Description: Metaspace for Dettol MHSD
Version: 1
Author: Metaspace
Author URI: http://metaspace.co
*/ | ariniastari/mhsd_dettol | wp-content/themes/metaspace mobile/style.css | CSS | gpl-2.0 | 165 |
<?php
/**
* @copyright Ilch 2.0
* @package ilch
*/
namespace Modules\Admin\Models;
/**
* The layout model class.
*/
class Layout extends \Ilch\Model
{
/**
* Key of the layout.
*
* @var string
*/
protected $key;
/**
* Name of the layout.
*
* @var string
*/
... | jurri/Ilch-2.0 | application/modules/admin/models/Layout.php | PHP | gpl-2.0 | 2,550 |
.NoInherit {
font-style: oblique;
opacity: 0.5;
}
.AccessTableHeading {
padding-top: 0.5em;
padding-bottom: 0.25em;
font-weight: bold;
}
.AccessTable th {
white-space: nowrap;
}
.AccessTable .GroupName {
width: 40%;
}
.AccessTable .Narrow {
width: 10%;
}
| apeisa/UserGroups | UserGroupsHooks.css | CSS | gpl-2.0 | 263 |
#
#
# (C) Copyright 2001 The Internet (Aust) Pty Ltd
# ACN: 082 081 472 ABN: 83 082 081 472
# All Rights Reserved
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A ... | denys-duchier/Scolar | ZopeProducts/exUserFolder/Plugins.py | Python | gpl-2.0 | 1,784 |
<!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=ISO-8859-1">
<script src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/js.cookie.js"></script>
<title>BenchmarkTest00199<... | thc202/Benchmark | src/main/webapp/BenchmarkTest00199.html | HTML | gpl-2.0 | 1,755 |
/* BGP-4, BGP-4+ daemon program
Copyright (C) 1996, 97, 98, 99, 2000 Kunihiro Ishiguro
This file is part of GNU Kroute.
GNU Kroute 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, or (at your... | AirbornWdd/qpimd | bgpd/bgpd.c | C | gpl-2.0 | 144,930 |
/****************************************************************************
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation ([email protected])
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Comm... | librelab/qtmoko-test | qtopiacore/qt/examples/layouts/flowlayout/flowlayout.h | C | gpl-2.0 | 2,910 |
@charset "utf-8";
/* CSS Document */
/* Dark Categories */
#categories_container{
background:url(images/categories_bg.png) !important;
border:1px solid #4e4e4e !important;
border-right:0 !important;
border-left:0 !important;
}
#categories ul li a{
color:#fff !important;
text-shadow:1px 1px #000 !... | tbinjiayou/CSerzs | wp-content/themes/broadcast/scripts/css/styles/dark/categories.css | CSS | gpl-2.0 | 1,067 |
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
<title>Index of Types</title>
<link href='reno.css' type='text/... | FFMG/myoddweb.piger | myodd/boost/libs/qvm/doc/Index_of_Types.html | HTML | gpl-2.0 | 2,996 |
using Mono.Data.Sqlite;
namespace Noised.Core.DB.Sqlite
{
/// <summary>
/// Factory for creating Sqlite connections
/// </summary>
public interface ISqliteConnectionFactory
{
/// <summary>
/// Creates a new, still closed connection
/// </summary>
SqliteConnection Create();
};
}
| bennygr/noised | src/NoisedCore/DB/Sqlite/ISqliteConnectionFactory.cs | C# | gpl-2.0 | 296 |
module.exports = function(grunt) {
require("matchdep").filterDev("grunt-*").forEach(grunt.loadNpmTasks);
grunt.initConfig({
pkg: grunt.file.readJSON("package.json"),
copy: {
main: {
expand: true,
cwd: "src/",
src: ["**", "!css/**/*.scss", "!css/**/*.less"],
dest: "dis... | MDIAZ88/mad-css-less-sass | Gruntfile.js | JavaScript | gpl-2.0 | 1,266 |
<div class="toggle-region"></div> | atogle/assisi | src/web/jstemplates/request-layout-tpl.html | HTML | gpl-2.0 | 33 |
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<title>PHPXRef 0.7.1 : Unnamed Project : Variable Reference: $force_regexp_dirname</title>
<link rel="stylesheet" href="../sample.css" type="text/css">
<link rel="stylesheet" href="../sam... | mgsolipa/b2evolution_phpxref | _variables/force_regexp_dirname.html | HTML | gpl-2.0 | 5,639 |
/* vi: set sw=4 ts=4: */
/*
* Utility routines.
*
* Copyright (C) 1999-2004 by Erik Andersen <[email protected]>
*
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*/
#include "libbb.h"
void bb_herror_msg(const char *s, ...)
{
va_list p;
va_start(p, s);
bb_vherror_msg(s, p)... | xxha/busybox-1.6.0 | libbb/herror_msg.c | C | gpl-2.0 | 336 |
#!/usr/bin/python
"feed fetcher"
from db import MySQLDatabase
from fetcher import FeedFetcher
def main():
db = MySQLDatabase()
fetcher = FeedFetcher()
feeds = db.get_feeds(offset=0, limit=10)
read_count = 10
while len(feeds) > 0:
for feed in feeds:
fid = feed[0]
ur... | hylom/grrreader | backend/feedfetcher.py | Python | gpl-2.0 | 889 |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package sv.edu.uesocc.ingenieria.disenio2_2015.pymesell.presentacion.pymesellv1desktopclient;
/**
*
* @author David
*/
public class... | girondave/Proyecto_Disenio2_2015-PymeSell_v1 | PymeSellV1DesktopClient/src/java/sv/edu/uesocc/ingenieria/disenio2_2015/pymesell/presentacion/pymesellv1desktopclient/Main.java | Java | gpl-2.0 | 496 |
<?php
global $post;
$date_format = get_option('date_format');
$author_id=$post->post_author;
$options = ST_Page_Builder::get_page_options($post->ID, array());
?>
<div <?php post_class(); ?>>
<?php
// show thumbnails
if(st_get_setting('sc_show_featured_img','y')!='n'){
$thumb = st_theme_post_th... | dangxuanha/wordpress_language | wp-content/themes/Edu/content-course.php | PHP | gpl-2.0 | 2,082 |
INTERFACE:
#include "initcalls.h"
#include "types.h"
class Jdb_symbol_info;
class Jdb_lines_info;
class Jdb_dbinfo
{
};
//---------------------------------------------------------------------------
IMPLEMENTATION:
#include "config.h"
// We have to do this here because Jdb_symbol and Jdb_lines must not depend
// ... | MicroTrustRepos/microkernel | src/kernel/fiasco/src/jdb/jdb_dbinfo.cpp | C++ | gpl-2.0 | 5,858 |
package org.booleanfloat.traveler.links;
import org.booleanfloat.traveler.Location;
import org.booleanfloat.traveler.interfaces.Traversable;
import java.util.ArrayList;
import java.util.concurrent.Callable;
public class OneWayLink {
public OneWayLink(Location start, Location end) {
this(start, end, new A... | BooleanFloat/Traveler | src/org/booleanfloat/traveler/links/OneWayLink.java | Java | gpl-2.0 | 662 |
<?php
/**
* Template Name: Library
* @package mjv-theme
*/
if (is_home()) :
get_header();
else :
get_header('insiders');
endif;
?>
<div id="primary" class="content-area library">
<main id="main" class="site-main" role="main">
<?php
//carrega os cases, clients e content
ge... | DiegoDCosta/mjv-wp | page-library.php | PHP | gpl-2.0 | 472 |
public class trace {
public void mnonnullelements(int[] a) {
int i = 0;
//@ assert i == 0 && \nonnullelements(a);
return ;
}
public void mnotmodified(int i) {
//@ assert \not_modified(i);
i = 4;
//@ assert i == 4 && \not_modified(i);
... | shunghsiyu/OpenJML_XOR | OpenJML/testfiles/escTraceBS/trace.java | Java | gpl-2.0 | 342 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.