code stringlengths 3 1.05M | repo_name stringlengths 4 116 | path stringlengths 4 991 | language stringclasses 9
values | license stringclasses 15
values | size int32 3 1.05M |
|---|---|---|---|---|---|
from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^$', views.map, name='map'),
url(r'^mapSim', views.mapSim, name='mapSim'),
url(r'^api/getPos', views.getPos, name='getPos'),
url(r'^api/getProjAndPos', views.getProjAndPos, name='getProjAndPos'),
]
| j-herrera/icarus | icarus_site/ISStrace/urls.py | Python | gpl-2.0 | 279 |
// RUN: %clang_cc1 -triple x86_64-unknown-unknown %s -fsyntax-only -verify
#define SA(n, p) int a##n[(p) ? 1 : -1]
struct A { int a; };
SA(0, sizeof(A) == 4);
struct B { };
SA(1, sizeof(B) == 1);
struct C : A, B { };
SA(2, sizeof(C) == 4);
struct D { };
struct E : D { };
struct F : E { };
struct G : E, F { };
SA... | vrtadmin/clamav-bytecode-compiler | clang/test/SemaCXX/empty-class-layout.cpp | C++ | gpl-2.0 | 1,034 |
using Halsign.DWM.Framework;
using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
using System.Threading;
namespace Halsign.DWM.Domain
{
public class DwmHost : DwmBase
{
private int _numCpus = 1;
private int _numVCpus;
private int _cpuSpeed;
private int _numNics = 1;
private... | yimng/wlb | wlb/Halsign.Dwm.Domain/Domain/DwmHost.cs | C# | gpl-2.0 | 29,482 |
#include "Converter.h"
#include <TFormula.h>
#include <iomanip>
#include <sstream>
std::string Converter::doubleToString(double x,int precision,bool scientifiStyle)
{
std::stringstream xs;
if(scientifiStyle)
xs<<std::scientific;
else
xs<<std::fixed;
xs<<std::setprecision(precision)<<x;
return xs.str()... | DingXuefeng/LegendOfNeutrino | libsrc/Converter.cc | C++ | gpl-2.0 | 614 |
#include <algorithm>
#include <bitset>
#include <cassert>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <deque>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <utility>
#include <vector>
// #pragma GCC optimize("Ofast")
// #pragma GCC opti... | Chaigidel/luogu-code | complete/LG-1199.cpp | C++ | gpl-2.0 | 4,983 |
<?
if (!defined("_GNUBOARD_")) exit; // °³º° ÆäÀÌÁö Á¢±Ù ºÒ°¡
if ($is_dhtml_editor) {
include_once("$g4[path]/lib/cheditor.lib.php");
echo "<script src='$g4[editor_path]/cheditor.js'></script>";
echo cheditor1('wr_content', $content);
}
?>
<script language="javascript">
// ±ÛÀÚ¼ö Á¦ÇÑ
var char_min = parse... | mrquestion/gnuboard4 | skin/board/basic_old/write.skin.php | PHP | gpl-2.0 | 12,050 |
/* Copyright (C) 2006 - 2012 ScriptDev2 <http://www.scriptdev2.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.... | udw/mangos_hw2system_335 | src/bindings/scriptdev2/scripts/northrend/icecrown_citadel/icecrown_citadel/boss_lord_marrowgar.cpp | C++ | gpl-2.0 | 1,417 |
var wocs_loading_first_time = true;//simply flag var
jQuery(function () {
if (woocs_drop_down_view == 'chosen') {
try {
if (jQuery("select.woocommerce-currency-switcher").length) {
jQuery("select.woocommerce-currency-switcher").chosen({
disable_search_thresho... | asshurimrepo/mont8 | wp-content/plugins/woocommerce-currency-switcher/js/front.js | JavaScript | gpl-2.0 | 2,447 |
# -*- coding: utf-8 -*-
#
from rest_framework import viewsets
from rest_framework.exceptions import ValidationError
from django.db import transaction
from django.utils.translation import ugettext as _
from django.conf import settings
from orgs.mixins.api import RootOrgViewMixin
from common.permissions import IsValidUs... | zsjohny/jumpserver | apps/ops/api/command.py | Python | gpl-2.0 | 2,150 |
package main
import (
"bytes"
"fmt"
"regexp"
)
func main() {
match, _ := regexp.MatchString("p([a-z]+)ch", "peach")
fmt.Println(match)
r, _ := regexp.Compile("p([a-z]+)ch")
fmt.Println(r.MatchString("peach"))
fmt.Println(r.FindString("peach punch"))
fmt.Println(r.FindStringIndex("peach punch"))
fmt.Pri... | coyotey/goLearnExample | 45_regularexpressions.go | GO | gpl-2.0 | 845 |
/*
MobileRobots Advanced Robotics Interface for Applications (ARIA)
Copyright (C) 2004, 2005 ActivMedia Robotics LLC
Copyright (C) 2006, 2007, 2008, 2009 MobileRobots Inc.
Copyright (C) 2010, 2011 Adept Technology, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms o... | admo/aria | aria/java/ArDPPTU.java | Java | gpl-2.0 | 10,851 |
<?php
/**********************************************************************************
*
* #####
* # # ##### ## ##### # # #### ###### # # #### # # # ######
* # # # # # # # # # ## # # # # ## # #
* ##### # # # # # # #### ##### # # #... | nook24/statusengine | cakephp/app/Console/Command/Task/GraphiteBackendTask.php | PHP | gpl-2.0 | 5,656 |
<?php
// Global variables
global $map_count, $ish_options;
$map_count++;
// Default SC attributes
$defaults = array(
'color' => '',
'zoom' => '15',
'invert_colors' => '',
'height' => '',
);
// Extract all attributes
$sc_atts = $this->extract_sc_attributes( $defaults, $atts );
// Add ID if empty... | tywzdbsd/wp_yanze | wp-content/plugins/ishyoboy-boldial-assets/ishyoboy-shortcodes/assets/backend/vc_extend/shortcodes_templates/ish_map.php | PHP | gpl-2.0 | 2,476 |
<?php
class acf_Wysiwyg extends acf_Field
{
/*--------------------------------------------------------------------------------------
*
* Constructor
*
* @author Elliot Condon
* @since 1.0.0
* @updated 2.2.0
*
*------------------------------------------------------------------------------------... | SAEBelgradeWeb/vencanje | wp-content/plugins/acf-master/core/fields/wysiwyg.php | PHP | gpl-2.0 | 7,948 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ESPSharp.Enums
{
public enum PackageScheduleDays : sbyte
{
Any = -1,
Sunday,
Monday,
Tuesday,
Wednesday,
Thursday,
Friday,
... | TaleOfTwoWastelands/ESPSharp | ESPSharp/Enums/PackageScheduleDays.cs | C# | gpl-2.0 | 417 |
<?php
/**
* @package Adminimize
* @subpackage Backend Options
* @author Frank Bültge
*/
if ( ! function_exists( 'add_action' ) ) {
echo "Hi there! I'm just a part of plugin, not much I can do when called directly.";
exit;
}
?>
<div id="poststuff" class="ui-sortable meta-box-sortables">
<div class="postbox"... | overneath42/wp-custom-install | wp-content/plugins/adminimize/inc-options/backend_options.php | PHP | gpl-2.0 | 14,171 |
<?php
/**
* Footer functions.
*
* @package Sento
*/
/* ----------------------------------------------------------------------------------
FOOTER WIDGETS LAYOUT
---------------------------------------------------------------------------------- */
/* Assign function for widget area 1 */
function thinkup_input_foot... | JulioKno/Portal-UNIVIM-2016 | wp-content/themes/sento/admin/main/options/04.footer.php | PHP | gpl-2.0 | 8,650 |
/*
* Copyright 2010, Intel Corporation
*
* This file is part of PowerTOP
*
* This program 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 Foundation; version 2 of the License.
*
* This program is distributed... | AllenDou/powertop | src/calibrate/calibrate.cpp | C++ | gpl-2.0 | 9,814 |
/* This file is part of the KDE project
Copyright (C) 2007, 2012 Dag Andersen danders@get2net>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (a... | wyuka/calligra | plan/libs/ui/kptdocumentseditor.cpp | C++ | gpl-2.0 | 9,173 |
/**
* Copyright (C) 2004 - 2012 Nils Asmussen
*
* 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... | script-solution/BBCodeEditor | bbcodeeditor/control/actions/AddImageAction.java | Java | gpl-2.0 | 2,158 |
<?php
/**
*
*/
# Define namespace
namespace WCFE\Modules\Editor\View\Editor\Templates\Tabs\Tabs;
# Imports
use WCFE\Modules\Editor\View\Editor\Templates\Tabs\FieldsTab;
/**
*
*/
class MultiSiteOptionsTab extends FieldsTab {
/**
* put your comment there...
*
* @var mixed
*/
protected $fieldsPluggableFilter... | kinko912000/public_html | wp-content/plugins/wp-config-file-editor/Modules/Editor/View/Editor/Templates/Tabs/Tabs/MultiSite.class.php | PHP | gpl-2.0 | 957 |
<?php
/***************************************************************************
*
* 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 o... | maudigan/charbrowser | factions.php | PHP | gpl-2.0 | 7,654 |
var elixir = require('laravel-elixir');
var gulp = require("gulp");
require('laravel-elixir-wiredep');
/*
|--------------------------------------------------------------------------
| Elixir Asset Management
|--------------------------------------------------------------------------
|
| Elixir provides a clean, f... | levofski/web-2-cv | gulpfile.js | JavaScript | gpl-2.0 | 1,696 |
package thesis;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import termo.component.Compound;
import termo.eos.Cubic;
import termo.eos.EquationsOfState;
import termo.eos.alpha.Alphas;
import termo.matter.Mixture;
import termo.matte... | HugoRedon/thesis-examples | src/main/java/thesis/CubicFileGenerator.java | Java | gpl-2.0 | 4,031 |
/*
* FileBrowser.cpp - implementation of the project-, preset- and
* sample-file-browser
*
* Copyright (c) 2004-2014 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of LMMS - http://lmms.io
*
* This program is free software; you can redistribute it and/or
* modify i... | badosu/lmms | src/gui/FileBrowser.cpp | C++ | gpl-2.0 | 22,711 |
# -*- coding: utf-8 -*-
"""
Created on Tue May 28 12:20:59 2013
=== MAYAXES (v1.1) ===
Generates a set of MayaVI axes using the mayavi.mlab.axes() object with a
white background, small black text and a centred title. Designed to better
mimic MATLAB style plots.
Unspecified arguments will be set to default values... | Nate28/mayaxes | mayaxes.py | Python | gpl-2.0 | 6,007 |
/*
This file is a part of the Depecher (Telegram client)
Copyright (C) 2017 Alexandr Akulich <akulichalexander@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 ve... | depecher/depecher | main.cpp | C++ | gpl-2.0 | 1,505 |
<?php
/**
* @version 1.0.0
* @package com_farmapp
* @copyright Copyright (C) 2012. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* @author Created by com_combuilder - http://www.notwebdesign.com
*/
// No direct access.
defined('_JEXEC') or die;
... | yogendra9891/farmapplication | administrator/components/com_farmapp/controllers/crops.php | PHP | gpl-2.0 | 4,429 |
<?php
namespace Drupal\search_api_autocomplete\Suggestion;
use Drupal\Core\Render\RenderableInterface;
/**
* Defines a single autocompletion suggestion.
*/
interface SuggestionInterface extends RenderableInterface {
/**
* Retrieves the keywords this suggestion will autocomplete to.
*
* @return string|n... | NickGH/agronomia | web/modules/contrib/search_api_autocomplete/src/Suggestion/SuggestionInterface.php | PHP | gpl-2.0 | 4,087 |
<?php
/**
* @package FrameworkOnFramework
* @subpackage database
* @copyright Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*
* This file is adapted from the Joomla! Platform. It is u... | alessandrorusso/Furia | libraries/fof/database/query/pdomysql.php | PHP | gpl-2.0 | 687 |
package sergio;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Calendar;
import java.util.GregorianCalendar;
//Ejercicio Metodos 18
//Realiza una clase llamada milibreria que contenga al menos cinco de los metodos realizados.
//Usalas de 3 formas diferent... | set92/Small-Programs | Java/CFGS/Interfaces-Ejercicios/Ejercicios propuestos de metodos/sergio/EjerMetods18.java | Java | gpl-2.0 | 3,147 |
#region
using System.Collections.Generic;
using System.Data;
using Albian.Persistence.Model;
#endregion
namespace Albian.Persistence.Context
{
public interface IStorageContext
{
string StorageName { get; set; }
IList<IFakeCommandAttribute> FakeCommand { get; set; }
IDbC... | xvhfeng/albian | Albian.Persistence/Context/IStorageContext.cs | C# | gpl-2.0 | 514 |
/**
* $Id$
* Copyright (C) 2008 - 2014 Nils Asmussen
*
* 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... | Nils-TUD/Escape | source/lib/esc/dns.cc | C++ | gpl-2.0 | 5,678 |
<?php /* included from WPML_Translation_Management::icl_dashboard_widget_content */?>
<p><?php if ($docs_sent)
printf(__('%d documents sent to translation.<br />%d are complete, %d waiting for translation.', 'wpml-translation-management'),
$docs_sent... | ilfungo/stefanopierini | wp-content/plugins/wpml-translation-management/menu/_icl_dashboard_widget.php | PHP | gpl-2.0 | 5,985 |
#include <cstdio>
#include <cstdlib>
#include <cstdarg>
#include <cstring>
#include "../../Port.h"
#include "../../NLS.h"
#include "../GBA.h"
#include "../GBAGlobals.h"
#include "../GBAinline.h"
#include "../GBACheats.h"
#include "GBACpu.h"
#include "../GBAGfx.h"
#include "../GBASound.h"
#include "../EEprom.h"
#includ... | TASVideos/vba-rerecording | src/gba/V8/GBA.cpp | C++ | gpl-2.0 | 91,319 |
using UnityEngine;
using System.Collections;
[RequireComponent(typeof(SpriteRenderer))]
public class SpriteRandomiser : MonoBehaviour {
[System.Serializable]
public class PossibleState
{
public Sprite texture = null;
public Color color = Color.white;
};
public PossibleState[] possibleStates = new PossibleS... | Almax27/LD31 | Assets/Scripts/Utility/SpriteRandomiser.cs | C# | gpl-2.0 | 759 |
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | EpicPonyTeam/RarityUpdater | AppTestDeployment/Properties/AssemblyInfo.cs | C# | gpl-2.0 | 2,393 |
using MediaBrowser.Controller.Entities;
using MediaBrowser.Controller.Session;
using System.Threading.Tasks;
using MediaBrowser.Model.Services;
namespace MediaBrowser.Controller.Net
{
public interface ISessionContext
{
Task<SessionInfo> GetSession(object requestContext);
Task<User> GetUser(ob... | jose-pr/Emby | MediaBrowser.Controller/Net/ISessionContext.cs | C# | gpl-2.0 | 469 |
<section id="options">
<?php
$terms = array();
$vid = NULL;
$vid_machine_name = 'portfolio_categories';
$vocabulary = taxonomy_vocabulary_machine_name_load($vid_machine_name);
if (!empty($vocabulary->vid)) {
$vid = $vocabulary->vid;
}
if (!empty($vid)) {
$terms = taxonomy_get_tree($vid);
}
?... | emperorcow/chaosbrewclub | sites/all/modules/tabvn/portfolio/portfolio_filter.tpl.php | PHP | gpl-2.0 | 791 |
/**
* jBorZoi - An Elliptic Curve Cryptography Library
*
* Copyright (C) 2003 Dragongate Technologies Ltd.
*
* 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, or (at your... | HateBreed/old-codes-from-studies | cryptoclient_in_java/com/dragongate_technologies/borZoi/ECPrivKey.java | Java | gpl-2.0 | 2,027 |
/*
The GTKWorkbook Project <http://gtkworkbook.sourceforge.net/>
Copyright (C) 2008, 2009 John Bellone, Jr. <jvb4@njit.edu>
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
v... | johnbellone/gtkworkbook | src/realtime/Realtime.cpp | C++ | gpl-2.0 | 10,844 |
/***************************************************************************
qgscalloutwidget.cpp
---------------------
begin : July 2019
copyright : (C) 2019 by Nyall Dawson
email : nyall dot dawson at gmail dot com
*****************************************... | JamesShaeffer/QGIS | src/gui/callouts/qgscalloutwidget.cpp | C++ | gpl-2.0 | 15,015 |
/*
* 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 Software Foundation. Oracle designates this
* particular file as subject to th... | upenn-acg/REMIX | jvm-remix/openjdk/jdk/src/share/classes/java/util/concurrent/atomic/AtomicMarkableReference.java | Java | gpl-2.0 | 7,816 |
(function ($) {
$(document).ready(function(){
$("#edit-title-0-value").change(update);
$("#edit-field-carac1-0-value").click(update);
$("#edit-field-carac1-0-value").change(update);
$("#edit-field-carac2-0-value").change(update);
$("#edit-field-carac3-0-value").change(update);
$("#edit-field-carac4-0-val... | TGR05/POEI-mini-projet | modules/custom/cardform/js/gamecards.js | JavaScript | gpl-2.0 | 6,227 |
<?php
/**
* @package WordPress
* @subpackage HTML5-Reset-WordPress-Theme
* @since HTML5 Reset 2.0
Template Name: Groups
*/
get_header(); ?>
<div class="content-background">
<div id="content-wrap">
<div class="grid">
<div class="col col-1-4">
<?php wp_nav_menu( array('menu' => 'Groups Menu', '... | markfaust/snowstar | wp-content/themes/snowstar/groups.php | PHP | gpl-2.0 | 1,854 |
/*
* Turbo Sliders++
* Copyright (C) 2013-2014 Martin Newhouse
*
* 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.
... | mnewhouse/tspp | src/resources/track_metadata.hpp | C++ | gpl-2.0 | 1,222 |
package edu.stanford.nlp.time;
import java.io.Serializable;
import java.util.Calendar;
import java.util.Map;
import java.util.regex.Pattern;
import edu.stanford.nlp.util.Pair;
import org.w3c.dom.Element;
/**
* Stores one TIMEX3 expression. This class is used for both TimeAnnotator and
* GUTimeAnnotator for storin... | rupenp/CoreNLP | src/edu/stanford/nlp/time/Timex.java | Java | gpl-2.0 | 19,256 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* This file is part of guh. *
* *
* Guh is f... | mzanetti/guh | plugins/deviceplugins/openweathermap/devicepluginopenweathermap.cpp | C++ | gpl-2.0 | 17,008 |
#!/usr/bin/env python
#
# Copyright (C) 2007 Sascha Peilicke <sasch.pe@gmx.de>
#
# 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 ... | saschpe/gnome_picross | gnomepicross/game.py | Python | gpl-2.0 | 5,836 |
/*
* Copyright (C) 2001-2015 Jacek Sieka, arnetheduck on gmail point 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 ... | airdcnano/airdcnano | client/Mapper_WinUPnP.cpp | C++ | gpl-2.0 | 5,723 |
<?php
/*******************************************************************************
* HA2.php
* year : 2014
*
* The HA2 algorithm is a combination between two algorithms (CBA and WBA), where
* the first one is based on the language characters, and the second one is
* based on the language and common words. T... | xprogramer/Language-Identification | HA2.php | PHP | gpl-2.0 | 5,238 |
/*
* IRIS -- Intelligent Roadway Information System
* Copyright (C) 2007-2016 Minnesota Department of Transportation
* Copyright (C) 2014 AHMCT, University of California
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published b... | CA-IRIS/mn-iris | src/us/mn/state/dot/tms/server/comm/CameraPoller.java | Java | gpl-2.0 | 1,437 |
# ----------------------------------------------------------------------------
# pyglet
# Copyright (c) 2006-2008 Alex Holkner
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redistribu... | ajhager/copycat | lib/pyglet/window/__init__.py | Python | gpl-2.0 | 65,226 |
// **********************************************************************
//
// Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved.
//
// **********************************************************************
#include <Ice/Ice.h>
#include <IceGrid/IceGrid.h>
#include <Hello.h>
using namespace std;
using namespac... | lejingw/ice-java | cpp/IceGrid/customLocator/Client.cpp | C++ | gpl-2.0 | 2,877 |
<?php
/**
* @package Joomla.Site
* @subpackage mod_menu
*
* @copyright Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
<<<<<<< HEAD
// Note. It is important to remove spaces... | JoomliC/joomla-cms | modules/mod_menu/tmpl/default_separator.php | PHP | gpl-2.0 | 1,436 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Data;
using System.Windows.Controls.Primitives;
using System.Reflection;
using System.Windows.Threading... | David-Desmaisons/MusicCollection | MusicCollectionWPF/MusicCollectionWPF/Infra/Element/CustoSlider.cs | C# | gpl-2.0 | 10,166 |
#include "stdafx.h"
#include "Emu/SysCalls/SysCalls.h"
#include "Emu/SysCalls/SC_FUNC.h"
#include "Emu/GS/GCM.h"
void cellGcmSys_init();
void cellGcmSys_load();
void cellGcmSys_unload();
Module cellGcmSys(0x0010, cellGcmSys_init, cellGcmSys_load, cellGcmSys_unload);
u32 local_size = 0;
u32 local_addr = 0;
enum
{
CE... | unknownbrackets/rpcs3 | rpcs3/Emu/SysCalls/Modules/cellGcmSys.cpp | C++ | gpl-2.0 | 26,937 |
<?php
/**
* ---------------------------------------------------------------------
* GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2015-2021 Teclib' and contributors.
*
* http://glpi-project.org
*
* based on GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2003-2014 by the INDEPNET... | trasher/glpi | inc/update.class.php | PHP | gpl-2.0 | 11,319 |
#!/usr/bin/env rspec
require_relative "../../../test_helper"
require "yaml"
require "users/clients/auto"
require "y2users/autoinst/reader"
require "y2issues"
Yast.import "Report"
# defines exported users
require_relative "../../../fixtures/users_export"
describe Y2Users::Clients::Auto do
let(:mode) { "autoinstall... | yast/yast-users | test/lib/users/clients/auto_test.rb | Ruby | gpl-2.0 | 6,417 |
using System;
using Server.Engines.Craft;
namespace Server.Items
{
public abstract class BaseRing : BaseJewel
{
public BaseRing(int itemID)
: base(itemID, Layer.Ring)
{
}
public BaseRing(Serial serial)
: base(serial)
{
}
public o... | ppardalj/ServUO | Scripts/Items/Equipment/Jewelry/Ring.cs | C# | gpl-2.0 | 2,101 |
# plugins module for amsn2
"""
Plugins with amsn2 will be a subclass of the aMSNPlugin() class.
When this module is initially imported it should load the plugins from the last session. Done in the init() proc.
Then the GUI should call plugins.loadPlugin(name) or plugins.unLoadPlugin(name) in order to deal with plugins.... | amsn/amsn2 | amsn2/plugins/core.py | Python | gpl-2.0 | 2,184 |
<?php
/*
Plugin Name: PoP CDN WordPress
Description: Implementation of the CDN for PoP
Plugin URI: https://getpop.org
Version: 0.1
Author: Leonardo Losovizen/u/leo/
*/
//-------------------------------------------------------------------------------------
// Constants Definition
//-------------------------------------... | leoloso/PoP | layers/Legacy/Schema/packages/migrate-everythingelse/migrate/plugins/pop-cdn-wp/pop-cdn-wp.php | PHP | gpl-2.0 | 1,305 |
#
# Copyright 2014 Red Hat, Inc.
#
# This software is licensed to you under the GNU General Public
# License as published by the Free Software Foundation; either version
# 2 of the License (GPLv2) or (at your option) any later version.
# There is NO WARRANTY for this software, express or implied,
# including the implie... | dustints/katello | app/lib/katello/util/errata.rb | Ruby | gpl-2.0 | 1,852 |
define(["require", "exports"], function (require, exports) {
"use strict";
exports.ZaOverviewPanelController = ZaOverviewPanelController;
});
| ZeXtras/zimbra-lib-ts | zimbraAdmin/common/ZaOverviewPanelController.js | JavaScript | gpl-2.0 | 146 |
// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s
// CHECK: ; ModuleID
struct A {
template<typename T>
A(T);
};
template<typename T> A::A(T) {}
struct B {
template<typename T>
B(T);
};
template<typename T> B::B(T) {}
// CHECK: define void @_ZN1BC1IiEET_(%struct.B* %this, i3... | vrtadmin/clamav-bytecode-compiler | clang/test/CodeGenCXX/member-templates.cpp | C++ | gpl-2.0 | 515 |
function playAudioVisualize(track) {
var bars = 50;
var waveResolution = 128;
var style = "bars"; //set default style upon loading here
var audio = new Audio();
var canvas, source, context, analyser, fFrequencyData, barX, barWidth, barHeight, red, green, blue, ctx;
audio.controls = true;
... | cp2846/audio-visualizer | visualizer.js | JavaScript | gpl-2.0 | 3,591 |
<?php
/**
* Plugin Name: Category Image Video
* Plugin URI: https://github.com/cheh/
* Description: This is a WordPress plugin that adds two additional fields to the taxonomy "Category".
* Version: 1.0.0
* Author: Dmitriy Chekhovkiy <chehovskiy.dima@gmail.com>
* Author URI: https://github.com/cheh/
* ... | cheh88/category-image-video | category-image-video.php | PHP | gpl-2.0 | 2,076 |
<?php
include $_SERVER['DOCUMENT_ROOT'].'/includes/php_header.php';
$problem = $u->getProblemById($_GET['p']);
if($_POST){
$data = $_POST;
$data['figure'] = file_get_contents($_FILES['figure']['tmp_name']);
$data['figure_file'] = $_FILES['figure']['tmp_name'];
$data['mml'] = file_get_content... | CarvingIT/science-problems | public_html/new_solution.php | PHP | gpl-2.0 | 2,151 |
/*global chrome */
// Check if the feature is enable
let promise = new Promise(function (resolve) {
chrome.storage.sync.get({
isEdEnable: true
}, function (items) {
if (items.isEdEnable === true) {
resolve();
}
});
});
promise.then(function () {
/*global removeIfExis... | hochgenug/BADW | scripts/ed.js | JavaScript | gpl-2.0 | 481 |
<?php
/*------------------------------------------------------------------------
# view.html.php - TrackClub Component
# ------------------------------------------------------------------------
# author Michael
# copyright Copyright (C) 2014. All Rights Reserved
# license GNU/GPL Version 2 or later - http://www.gn... | mstewartua/newprod | administrator/components/com_trackclubs/views/athletes/view.html.php | PHP | gpl-2.0 | 2,263 |
package com.nilsonmassarenti.app.currencyfair.model;
/**
* This class is to manager URL of Rest.
* @author nilsonmassarenti - nilsonmassarenti@gmail.com
* @version 0.1
* Last update: 03-Mar-2015 12:20 am
*/
public class CurrencyFairURI {
public static final String DUMMY_BP = "/rest/currencyfair/dummy";
public s... | nilsonmassarenti/currencyfair | currencyfair/src/main/java/com/nilsonmassarenti/app/currencyfair/model/CurrencyFairURI.java | Java | gpl-2.0 | 632 |
<?php
/*
Plugin Name: Vertical marquee post title
Description: This plug-in will create the vertical marquee effect in your website, if you want your post title to move vertically (scroll upward or downwards) in the screen use this plug-in.
Author: Gopi Ramasamy
Version: 2.5
Plugin URI: http://www.gopiplus.com/wo... | SK8-PTY-LTD/PinkRose | wp-content/plugins/vertical-marquee-post-title/vertical-marquee-post-title.php | PHP | gpl-2.0 | 19,986 |
<?php
namespace Icinga\Module\Businessprocess\Web\Form;
use Icinga\Application\Icinga;
use Icinga\Exception\ProgrammingError;
use Icinga\Web\Notification;
use Icinga\Web\Request;
use Icinga\Web\Response;
use Icinga\Web\Url;
use Exception;
/**
* QuickForm wants to be a base class for simple forms
*/
abstract class ... | Icinga/icingaweb2-module-businessprocess | library/Businessprocess/Web/Form/QuickForm.php | PHP | gpl-2.0 | 12,131 |
<?php
/****************************************************************************************\
** @name EXP Autos 2.0 **
** @package Joomla 1.6 **
** @author EXP TEAM::Alexey Kurguz (Grusha) ... | Chubaskin/buscarautos | components/com_expautospro/controllers/explist.php | PHP | gpl-2.0 | 4,236 |
<?php $captcha_word = 'BKPS'; ?> | CoordCulturaDigital-Minc/culturadigital.br | wp-content/plugins/si-captcha-for-wordpress/captcha-secureimage/captcha-temp/WX2pCemM1b2iQHf2.php | PHP | gpl-2.0 | 32 |
#include"population.h"
population::population() {
pop.clear();
}
population::population(Random *r) {
pop.clear();
this->r = r;
}
population::population(int n_individuos, int n_gene, Random *r) {
pop.clear();
for(int i = 0; i < n_individuos; i++) pop.push_back(*(new individuo(n_gene, r)));
this->... | dmelo/uspds | src/genetic_algorithm/population.cc | C++ | gpl-2.0 | 5,814 |
#Date: 2015-10-01 16:06:58 UTC
#Software: Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
#Fields: datetime priority message
2015-10-01T16:06:58+00:00 INFO |¯¯¯ Starting
2015-10-01T16:06:58+00:00 INFO | ^^ Connecting to ...
2015-10-01T16:06:58+00:00 ERROR | XX Unable to connect to FTP server
2015-10... | esorone/efcpw | logs/ecr_log.php | PHP | gpl-2.0 | 389 |
/*
* 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.
*
... | bwsrv/mangos | src/game/Player.cpp | C++ | gpl-2.0 | 923,318 |
package com.javarush.task.task11.task1109;
/*
Как кошка с собакой
*/
public class Solution {
public static void main(String[] args) {
Cat cat = new Cat("Vaska", 5);
Dog dog = new Dog("Sharik", 4);
cat.isDogNear(dog);
dog.isCatNear(cat);
}
public static class Cat {
... | biblelamp/JavaExercises | JavaRushTasks/2.JavaCore/src/com/javarush/task/task11/task1109/Solution.java | Java | gpl-2.0 | 1,210 |
<?php
/**
* Lost password form
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.0.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
?>
<?php wc_print_notices(); ?>
<section id="content">
<form method="post" class="form lost_reset_password">
<?php if( 'lost_password' == $args['form'] )... | kamil-incubasys/carpets | wp-content/plugins/woocommerce/templates/myaccount/form-lost-password.php | PHP | gpl-2.0 | 3,174 |
<?php
/**
* @package FOF
* @copyright Copyright (c)2010-2020 Nicholas K. Dionysopoulos / Akeeba Ltd
* @license GNU General Public License version 2, or later
*/
namespace FOF30\Less\Parser;
use FOF30\Less\Less;
use Exception;
defined('_JEXEC') or die;
/**
* This class is taken verbatim from:
*
* lessphp ... | pabloarias/Joomla3-Base | libraries/fof30/Less/Parser/Parser.php | PHP | gpl-2.0 | 39,937 |
namespace Rantory.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class ChemicalType : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.ChemicalTypes",
c => new
{
... | NurymKenzh/Rantory | Rantory/Rantory/Migrations/201604220851182_ChemicalType.cs | C# | gpl-2.0 | 621 |
using Windows.UI.Xaml.Navigation;
using Vocabulary;
using Vocabulary.ViewModels;
namespace Vocabulary.Views
{
public sealed partial class HomePage : PageBase
{
public HomePage()
{
this.ViewModel = new MainViewModel(8);
this.InitializeComponent();
}
... | mabaer/norwegian | Vocabulary.W10/Views/HomePage.xaml.cs | C# | gpl-2.0 | 520 |
<?php
/**
* @version 1.0.0
* @package com_somosmaestros
* @copyright Copyright (C) 2015. Todos los derechos reservados.
* @license Licencia Pública General GNU versión 2 o posterior. Consulte LICENSE.txt
* @author Daniel Gustavo Álvarez Gaitán <info@danielalvarez.com.co> - http://danielalvarez.... | emeraldstudio/somosmaestros | components/com_somosmaestros/models/formacions.php | PHP | gpl-2.0 | 7,857 |
class Admin::BadgesController < Admin::AdminController
def badge_types
badge_types = BadgeType.all.to_a
render_serialized(badge_types, BadgeTypeSerializer, root: "badge_types")
end
def create
badge = Badge.new
update_badge_from_params(badge)
badge.save!
render_serialized(badge, BadgeSeria... | vipuldadhich/discourse | app/controllers/admin/badges_controller.rb | Ruby | gpl-2.0 | 1,097 |
<?php
class UsuarioController extends Controller
{
/**
* @var string the default layout for the views. Defaults to '//layouts/column2', meaning
* using two-column layout. See 'protected/views/layouts/column2.php'.
*/
public $layout='//layouts/column2';
/**
* @return array action filters
*/
public functi... | bbidesenvolvimento/dm | protected/controllers/UsuarioController.php | PHP | gpl-2.0 | 4,143 |
import web
urls = (
'/hello','Index'
)
app = web.application(urls,globals())
render = web.template.render('/usr/local/LPTHW/ex51/gothonweb/templates/',base="layout")
class Index(object):
def GET(self):
return render.hello_form()
def POST(self):
form = web.input(name="No... | tridvaodin/Assignments-Valya-Maskaliova | LPTHW/projects/gothonweb/bin/app.py | Python | gpl-2.0 | 488 |
/*
* Copyright 1997-2005 Sun Microsystems, Inc. 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 Software Fou... | TheTypoMaster/Scaper | openjdk/jaxws/drop_included/jaf_src/src/javax/activation/CommandObject.java | Java | gpl-2.0 | 2,259 |
package edu.xored.tracker;
import com.fasterxml.jackson.annotation.JsonIgnore;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
public class Issue {
private String hash;
private String summary;
private String de... | edu-xored/tracker-web | src/main/java/edu/xored/tracker/Issue.java | Java | gpl-2.0 | 2,861 |
<!DOCTYPE html>
<!--
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.
-->
<html>
<head>
<meta charset="UTF-8">
<title></title>
<link rel="stylesheet" type="text/css" href="../css/boot... | Kellin-Andrea/culturaCalena | installer/view/felicidades.html.php | PHP | gpl-2.0 | 858 |
/*
NEshare is a peer-to-peer file sharing toolkit.
Copyright (C) 2001, 2002 Neill Miller
This file is part of NEshare.
NEshare 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... | thecodefactory/neshare | ne_client/neshareclientthreads.cpp | C++ | gpl-2.0 | 13,553 |
<?php // need to be separately enclosed like this
header("Content-Type: application/rss+xml; charset=".config_item("charset"));
echo '<?xml version="1.0" encoding="'.config_item("charset").'"?>'.PHP_EOL;
$this->load->helper('xml');
?>
<rss version="2.0"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:dc="... | IET-OU/cloudengine | system/application/views/rss/rss.php | PHP | gpl-2.0 | 1,985 |
final class Class3_Sub28_Sub2 extends Class3_Sub28 {
private static Class94 aClass94_3541 = Class3_Sub4.buildString("yellow:");
static int anInt3542;
private static Class94 aClass94_3543 = Class3_Sub4.buildString("Loading config )2 ");
static Class94 aClass94_3544 = aClass94_3541;
Class140_Sub2 ... | Lmctruck30/RiotScape-Client | src/Class3_Sub28_Sub2.java | Java | gpl-2.0 | 2,501 |
<?php
defined('_JEXEC') or die;
JHtml::_('behavior.formvalidation');
JHtml::_('formbehavior.chosen', 'select');
?>
<form
action="<?php echo JRoute::_('index.php?option=com_bookpro&id=' . (int) $this->item->id); ?>"
method="post" id="adminForm" name="adminForm" class="form-validate">
<div class="row-fluid">
<... | cuongnd/test_pro | administrator/components/com_bookpro/views/faq/tmpl/edit.php | PHP | gpl-2.0 | 1,925 |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\CatalogImportExport\Model\Import\Product;
use Magento\CatalogImportExport\Model\Import\Product;
use Magento\Framework\Validator\AbstractValidator;
use Magento\Catalog\Model\Product\Attribute\Backen... | kunj1988/Magento2 | app/code/Magento/CatalogImportExport/Model/Import/Product/Validator.php | PHP | gpl-2.0 | 10,486 |
<?php
/**
* Humescores functions and definitions.
*
* @link https://developer.wordpress.org/themes/basics/theme-functions/
*
* @package Humescores
*/
if ( ! function_exists( 'humescores_setup' ) ) :
/**
* Sets up theme defaults and registers support for various WordPress features.
*
* Note tha... | spraveenitpro/humescores | functions.php | PHP | gpl-2.0 | 6,984 |
/**
* Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
*
* 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... | iucn-whp/world-heritage-outlook | portlets/iucn-dbservice-portlet/docroot/WEB-INF/service/com/iucn/whp/dbservice/service/persistence/benefit_rating_lkpPersistence.java | Java | gpl-2.0 | 6,928 |
/*
* Copyright (C) 2012 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | rex-xxx/mt6572_x201 | packages/apps/Contacts/src/com/android/contacts/model/dataitem/SipAddressDataItem.java | Java | gpl-2.0 | 1,543 |
#include "stdafx.h"
#include "Emu/System.h"
#include "Emu/ARMv7/PSVFuncList.h"
#include "sceAppUtil.h"
s32 sceAppUtilInit(vm::psv::ptr<const SceAppUtilInitParam> initParam, vm::psv::ptr<SceAppUtilBootParam> bootParam)
{
throw __FUNCTION__;
}
s32 sceAppUtilShutdown()
{
throw __FUNCTION__;
}
s32 sceAppUtilSaveDataS... | Syphurith/rpcs3 | rpcs3/Emu/ARMv7/Modules/sceAppUtil.cpp | C++ | gpl-2.0 | 2,648 |
using System;
using System.Globalization;
using System.IO;
using System.Security.Permissions;
using System.Security.Policy;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class UserProfile : Page
{
protected void Page_Load(object sender, EventArgs e)
{
... | botezatumihaicatalin/Asp.net-Forum | Profile.aspx.cs | C# | gpl-2.0 | 5,818 |