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 |
|---|---|---|---|---|---|
package net.minecraft.server;
public class IntHashMap {
private transient IntHashMapEntry[] a = new IntHashMapEntry[16];
private transient int b;
private int c = 12;
private final float d = 0.75F;
public IntHashMap() {}
private static int g(int i) {
i ^= i >>> 20 ^ i >>> 12;
... | Codecarinas/massive-octo-shame | Server/work/decompile-8eb82bde/net/minecraft/server/IntHashMap.java | Java | cc0-1.0 | 4,349 |
var clone = require('clone');
var async = require('async');
Patch.prototype.get_jot_operations = function(callback) {
/* Computes an array of JOT object APPLY operations that represent the changes
made by this patch. Passes the array to the callback. Each APPLY operation
encodes which path it is for. */
var... | JoshData/dc-code-editor | editor/management.js | JavaScript | cc0-1.0 | 14,423 |
#!/bin/bash
set -eu
source ../../common-functions.sh
PATCHES_FOLDER="mypatches/java.base"
MODS_FOLDER="mods/com.greetings"
SRC_FOLDER="src"
echo ""
echo "${info} *** Displaying the contents of the '$SRC_FOLDER' folder *** ${normal}"
runTree "$SRC_FOLDER"
echo ""
echo "${info} *** Compiling a new version of Concurr... | AdoptOpenJDK/jdk9-jigsaw | session-1-jigsaw-intro/07_patch_module_option/compile.sh | Shell | cc0-1.0 | 933 |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="refresh" content="0;url=/2011/06/05/sunday-warning-signals-manuscript-mostly.html" />
</head>
</html>
| sunbjt/cboettig.github.com | wordpress/archives/1903/index.html | HTML | cc0-1.0 | 232 |
package worker
import scala.collection.immutable.Queue
import akka.actor.Actor
import akka.actor.ActorLogging
import akka.actor.ActorRef
import akka.contrib.pattern.DistributedPubSubExtension
import akka.contrib.pattern.DistributedPubSubMediator
import akka.contrib.pattern.DistributedPubSubMediator.Put
import scala.co... | kitingChris/planetsim2 | src/main/scala/worker/Master.scala | Scala | cc0-1.0 | 5,859 |
package scorex.crypto.authds.avltree.batch
import com.google.common.primitives.Longs
import org.scalacheck.commands.Commands
import org.scalacheck.{Gen, Prop}
import org.scalatest.propspec.AnyPropSpec
import scorex.crypto.authds._
import scorex.crypto.hash.{Blake2b256, Digest32}
import scorex.utils.{Random => RandomBy... | ScorexProject/scrypto | src/test/scala/scorex/crypto/authds/avltree/batch/AVLBatchStatefulSpecification.scala | Scala | cc0-1.0 | 4,070 |
/*******************************************************************************
* Copyright (C) 2008, Marek Zawirski <marek.zawirski@gmail.com>
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this dist... | mdoninger/egit | org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/push/PushResultTable.java | Java | epl-1.0 | 9,918 |
/**
* Copyright (c) 2010-2020 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.... | openhab/openhab | bundles/binding/org.openhab.binding.knx.test/src/test/java/org/openhab/binding/knx/internal/bus/KNXBusReaderSchedulerTest.java | Java | epl-1.0 | 4,982 |
/*******************************************************************************
* Copyright (c) 2012 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is a... | OpenLiberty/open-liberty | dev/com.ibm.ws.kernel.feature.core/src/com/ibm/ws/kernel/feature/provisioning/HeaderElementDefinition.java | Java | epl-1.0 | 788 |
/**
* Copyright (c) 2010-2021 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.... | MikeJMajor/openhab2-addons-dlinksmarthome | bundles/org.openhab.binding.fmiweather/src/test/java/org/openhab/binding/fmiweather/FMIResponseParsingSinglePlaceTest.java | Java | epl-1.0 | 3,972 |
package latis.ops.filter
import latis.dm.Function
import latis.ops.OperationFactory
import latis.dm.Sample
import latis.metadata.Metadata
import latis.dm.WrappedFunction
import latis.util.iterator.MappingIterator
import latis.util.LatisServiceException
/**
* Keep only the first 'limit' samples of any outer Function ... | dlindhol/LaTiS | src/main/scala/latis/ops/filter/LimitFilter.scala | Scala | epl-1.0 | 1,577 |
/*******************************************************************************
* Copyright (c) 2020 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is a... | OpenLiberty/open-liberty | dev/com.ibm.ws.security.common/src/io/openliberty/security/common/config/package-info.java | Java | epl-1.0 | 657 |
/*******************************************************************************
* Copyright (c) 2020 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is a... | OpenLiberty/open-liberty | dev/io.openliberty.grpc.1.0.internal.client/src/io/openliberty/grpc/internal/client/config/package-info.java | Java | epl-1.0 | 634 |
/*******************************************************************************
* Copyright (c) 2013 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is a... | OpenLiberty/open-liberty | dev/com.ibm.ws.jca.utils/src/com/ibm/ws/jca/utils/xml/ra/v10/Ra10SecurityPermission.java | Java | epl-1.0 | 1,269 |
/*!
* Copyright 2002 - 2013 Webdetails, a Pentaho company. All rights reserved.
*
* This software was developed by Webdetails and is provided under the terms
* of the Mozilla Public License, Version 2.0, or any later version. You may not use
* this file except in compliance with the license. If you need a copy of... | SteveSchafer-Innovent/innovent-pentaho-birt-plugin | js-lib/expanded/cdf/lib/CCC/protovis.js | JavaScript | epl-1.0 | 391,603 |
/*******************************************************************************
* Copyright (c) 2012-2016 Codenvy, S.A.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available ... | Mirage20/che | ide/che-core-ide-api/src/main/java/org/eclipse/che/ide/api/debug/DebuggerServiceClientImpl.java | Java | epl-1.0 | 8,132 |
// Shamelessly stolen from ztellman's byte-streams
package gnuplot;
import java.io.IOException;
public class InputStream extends java.io.InputStream {
public interface Streamable {
int available();
void close();
long skip(long n);
int read() throws IOException;
int read(by... | edipofederle/gnuplot | src/gnuplot/InputStream.java | Java | epl-1.0 | 1,114 |
package anatlyzer.atl.analyser.batch.invariants;
import java.util.List;
import java.util.Set;
import java.util.function.Function;
import anatlyzer.atl.analyser.generators.CSPModel2;
import anatlyzer.atl.analyser.generators.ErrorSlice;
import anatlyzer.atl.analyser.generators.GraphvizBuffer;
import anatlyzer.atl.util.... | jesusc/anatlyzer | plugins/anatlyzer.atl.typing/src/anatlyzer/atl/analyser/batch/invariants/SplitIteratorBodyNode.java | Java | epl-1.0 | 2,530 |
/*
* (C) Copyright IBM Corp. 2009, 2012
*
* LICENSE: Eclipse Public License v1.0
* http://www.eclipse.org/legal/epl-v10.html
*/
package fabric.bus.routing;
import fabric.Fabric;
import fabric.core.xml.XML;
/**
* Data structure representing the the route embedded in a Fabric message.
*
*/
public abstract clas... | acshea/edgware | fabric.lib/src/fabric/bus/routing/MessageRoutingFactory.java | Java | epl-1.0 | 1,751 |
---
layout : new-simple
title: Recover password
---
<div class="vmiddle">
<div class="container">
<div class="row text-center">
<div class="col-md-12">
<a href="/"><img src="images/logo@3x.png" alt="logo" class="logo" /></a>
<div class="notice">
<h2>Forgot your password?... | R-Brain/codenvy | site/app/site/recover-password.html | HTML | epl-1.0 | 1,031 |
/**
* Copyright (c) 2010-2018 by the respective copyright holders.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/... | tavalin/openhab2-addons | addons/binding/org.openhab.binding.smaenergymeter/src/main/java/org/openhab/binding/smaenergymeter/internal/handler/EnergyMeter.java | Java | epl-1.0 | 3,231 |
///////////////////////////////////////////////////////////////////////////////
//
// JTOpenLite
//
// Filename: AttributePackageLibrary.java
//
// The source code contained herein is licensed under the IBM Public License
// Version 1.0, which has been approved by the Open Source Initiative.
// Copyright (C) 2011-2012... | devjunix/libjt400-java | jtopenlite/com/ibm/jtopenlite/database/AttributePackageLibrary.java | Java | epl-1.0 | 689 |
package com.linkonworks.df.vo;
public class LoginLog implements java.io.Serializable{
private String id;
private String code;
private String loginTime;
private String loginIp;
private String machineName;
private String operation;
public LoginLog() {
super();
}
public LoginLog(String id, String code, Str... | helylinhe/Test | ps/src/com/linkonworks/df/vo/LoginLog.java | Java | epl-1.0 | 1,319 |
/*
* Copyright (c) [2015] - [2017] Red Hat, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* ... | R-Brain/codenvy | dashboard/src/app/billing/card-info/add-credit-card/add-credit-card.directive.ts | TypeScript | epl-1.0 | 2,261 |
import xml.sax
import unittest
import test_utils
import xmlreader
import os
path = os.path.dirname(os.path.abspath(__file__) )
class XmlReaderTestCase(unittest.TestCase):
def test_XmlDumpAllRevs(self):
pages = [r for r in xmlreader.XmlDump(path + "/data/article-pear.xml", allrevisions=True).parse()]
... | races1986/SafeLanguage | CEM/tests/test_xmlreader.py | Python | epl-1.0 | 1,809 |
/******************************************************************************
* Copyright (C) 2006-2012 IFS Institute for Software and others
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribut... | akurtakov/Pydev | plugins/org.python.pydev.refactoring/src/org/python/pydev/refactoring/coderefactoring/extractmethod/edit/ParameterReturnDeduce.java | Java | epl-1.0 | 9,397 |
// $Id$
# ifndef CPPAD_OP_HPP
# define CPPAD_OP_HPP
/* --------------------------------------------------------------------------
CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-15 Bradley M. Bell
CppAD is distributed under multiple licenses. This distribution is under
the terms of the
... | wegamekinglc/CppAD | cppad/local/op.hpp | C++ | epl-1.0 | 2,085 |
/*******************************************************************************
* Copyright (c) 2003, 2019 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.timer.persistent_fat/test-applications/PersistentTimerCoreEJB.jar/src/com/ibm/ws/ejbcontainer/timer/persistent/core/ejb/StatelessHome.java | Java | epl-1.0 | 1,111 |
#include "Corridor.h"
Corridor::Corridor():leftWall(-5.0),rightWall(5.0),topWall(5.0f),bottomWall(-5.0f),farWall(-32.0f){
}
double Corridor::getRW() const{
return rightWall;
}
double Corridor::getLW() const{
return leftWall;
}
double Corridor::getTW() const{
return topWall;
}
double Corridor::getBW() const{
r... | cis542/VR_Wall | SquashGame/Game/Corridor.cpp | C++ | epl-1.0 | 392 |
/**
* Copyright (c) 2015-2018 by the respective copyright holders.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.ht... | lewie/openhab | bundles/api/org.openhab.core1/src/main/java/org/openhab/core/types/Command.java | Java | epl-1.0 | 523 |
/****************************************************************
*
* Copyright 2013, Big Switch Networks, Inc.
*
* Licensed under the Eclipse Public License, Version 1.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* ... | rlane/indigo | Modules/loci/src/loci_config.c | C | epl-1.0 | 3,990 |
package org.camunda.bpm.modeler.ui.property.tabs;
import org.camunda.bpm.modeler.core.property.AbstractTabSection;
import org.eclipse.bpmn2.BaseElement;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.swt.widgets.Composite;
/**
* Extensions tab for form data properties
*
* @author kristin.polenz
*/
publ... | camunda/camunda-eclipse-plugin | org.camunda.bpm.modeler/src/org/camunda/bpm/modeler/ui/property/tabs/ExtensionsTabSection.java | Java | epl-1.0 | 670 |
/*
* mmx.h
* Copyright (C) 1997-1999 H. Dietz and R. Fisher
*
* This file is part of mpeg2dec, a free MPEG-2 video stream decoder.
*
* mpeg2dec is free software; you can redistribute it and/or modify
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; eithe... | sunqueen/vlc-2.2.1.32-2013 | modules/video_filter/deinterlace/mmx.h | C | gpl-2.0 | 11,906 |
/*
Copyright (C) 2008-2016 Vana Development 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; version 2
of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT... | diamondo25/Vana | src/common/data/type/consume_info.hpp | C++ | gpl-2.0 | 2,309 |
/* (c) 2014 Open Source Geospatial Foundation - all rights reserved
* This code is licensed under the GPL 2.0 license, available at the root
* application directory.
*/
package org.geoserver.geofence.services.rest;
import org.geoserver.geofence.services.rest.exception.BadRequestRestEx;
import org.geoserver.geofenc... | andrefilo/geofence | src/services/modules/rest/api/src/main/java/org/geoserver/geofence/services/rest/RESTRuleService.java | Java | gpl-2.0 | 3,780 |
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; c-indent-level: 8 -*- */
/*
* Copyright (C) 2017, Bastien Nocera <hadess@hadess.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 Softw... | gpoo/evince | backend/comics/ev-archive.c | C | gpl-2.0 | 9,120 |
/*
* This file is part of DrFTPD, Distributed FTP Daemon.
*
* DrFTPD 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.
*
* DrFTPD... | dr3plus/dr3 | src/plugins/org.drftpd.commands.find/src/org/drftpd/commands/find/action/PrintAction.java | Java | gpl-2.0 | 1,432 |
/******************************************************************************
* Copyright (C) 2010 by Sebastian Doerner <sebastian@sebastian-doerner.de> *
* *
* This program is free software; you can redistribute it and/or modify *
... | vishesh/dolphin-plugins | git/checkoutdialog.h | C | gpl-2.0 | 3,446 |
package org.checkerframework.mavenplugin;
import org.apache.maven.plugin.CompilationFailureException;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;
import org.apache.maven.plugin.logging.Log;
import org.codehaus.plexus.compiler.CompilerError;
import org.cod... | atomicknight/checker-framework | maven-plugin/src/main/java/org/checkerframework/mavenplugin/MavenIOExecutor.java | Java | gpl-2.0 | 4,931 |
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
// $Id: debversion.cc,v 1.8 2003/09/10 23:39:49 mdz Exp $
/* ######################################################################
Debian Version - Versioning system for Debian
This implements the standard Debian versioning system.
#########... | nexgenta/apt | apt-pkg/deb/debversion.cc | C++ | gpl-2.0 | 6,201 |
/**********************************************************************
Android-Freeciv - Copyright (C) 2010 - C Vaughn
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, ... | teknoa/freeciv-android | jni/freeciv/include/config.h | C | gpl-2.0 | 1,069 |
#ifndef _ASM_ARM_FUTEX_H
#define _ASM_ARM_FUTEX_H
#ifdef __KERNEL__
#include <linux/futex.h>
#include <linux/uaccess.h>
#include <asm/errno.h>
#define __futex_atomic_ex_table(err_reg) \
"3:\n" \
" .pushsection __ex_table,\"a\"\n" \
" .align 3\n" \
" .long 1b, 4f, 2b, 4f\n" \
" .popsection\n" ... | tellapart/ubuntu-precise | arch/arm/include/asm/futex.h | C | gpl-2.0 | 4,071 |
#include "gp2xsdk.h"
#include "burner.h"
#include "config.h"
#include <bcm_host.h>
#include <SDL.h>
#include <assert.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <glib.h>
#include <EGL/egl.h>
#include <EGL/eglext.h>
static SDL_Window *sdlscreen = NULL;
void logoutput(const char *te... | digitalLumberjack/pifba | rpi/gp2xsdk.cpp | C++ | gpl-2.0 | 28,893 |
<?php
/**
* The template page 404
*
*
* @author KuteTheme
* @package THEME/WooCommerce
* @version KuteTheme 1.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
get_header(); ?>
<div id="primary" class="content-area ">
<main id="main" class="site-main" role="main">
<section... | hikaram/wee | wp-content/themes/wee/woocommerce/404.php | PHP | gpl-2.0 | 863 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Asterisk Project : Asterisk 10 Application_IAX2Provision</title>
<link rel="stylesheet" href="styles/site.css" type="text/css" />
<META http-equiv="Content-Type" content="... | sameersethi/minorproject-asterisk | doc/Asterisk-Admin-Guide/Asterisk 10 Application_IAX2Provision.html | HTML | gpl-2.0 | 2,547 |
// Copyright 2017 Monax Industries Limited
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or a... | eris-ltd/eris-compilers | vendor/github.com/monax/cli/vendor/github.com/monax/burrow/manager/burrow-mint/evm/snative.go | GO | gpl-2.0 | 17,036 |
////////////////////////////////////////////////////////////////////////////////
// $RCSfile: ZipPlatform.cpp,v $
// $Revision: 1.7 $ $Name: 1.7 $
// $Date: 2005/09/20 18:13:17 $ $Author: Tadeusz Dracz $
////////////////////////////////////////////////////////////////////////////////
// This source file is part of the ... | RandallFlagg/kgbarchiver | KGB Archiver 1/sfx/zip/ZipPlatform.cpp | C++ | gpl-2.0 | 8,809 |
/*
* include/linux/mfd/wm831x/otp.h -- OTP interface for WM831x
*
* Copyright 2009 Wolfson Microelectronics PLC.
*
* Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as p... | evolver56k/xpenology | include/linux/mfd/wm831x/otp.h | C | gpl-2.0 | 7,348 |
#!/bin/sh
# Copyright (c) 2002, Intel Corporation. All rights reserved.
# Created by: julie.n.fleischer REMOVE-THIS AT intel DOT com
# This file is licensed under the GPL license. For the full content
# of this license, see the COPYING file at the top level of this
# source tree.
#
#
# Test various methods of remo... | rogerq/ltp-ddt | testcases/open_posix_testsuite/conformance/interfaces/sigdelset/4-3.sh | Shell | gpl-2.0 | 371 |
package com.development.buccola.myrecipes.add_recipe;
import android.app.Activity;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView... | m2345/my_recipes | app/add_recipe/AddRecipe_General_Fragment.java | Java | gpl-2.0 | 6,604 |
(function($){
$.map(['validatebox','textbox','filebox','searchbox',
'combo','combobox','combogrid','combotree',
'datebox','datetimebox','numberbox',
'spinner','numberspinner','timespinner','datetimespinner'], function(plugin){
if ($.fn[plugin]){
$.extend($.fn[plugin].defaults, {
iconAlign: 'left',
... | sansusan/yii2-easyui | assets/jquery-easyui-1.4.4/extensions/jquery-easyui-rtl/easyui-rtl.js | JavaScript | gpl-2.0 | 8,004 |
/*
* drivers/usb/driver.c - most of the driver model stuff for usb
*
* (C) Copyright 2005 Greg Kroah-Hartman <gregkh@suse.de>
*
* based on drivers/usb/usb.c which had the following copyrights:
* (C) Copyright Linus Torvalds 1999
* (C) Copyright Johannes Erdfelt 1999-2001
* (C) Copyright Andreas Gal 1999
* (C) ... | odit/rv042 | linux/kernel_2.6/linux/drivers/usb/core/driver.c | C | gpl-2.0 | 13,941 |
#!/usr/bin/python
#
# Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 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; either version 2 of the License, or
# (at your option)... | vladimir-ipatov/ganeti | lib/tools/burnin.py | Python | gpl-2.0 | 42,651 |
# This file is a part of pysnapshotd, a program for automated backups
# Copyright (C) 2015-2016 Jonas Thiem
#
# 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,... | JonasT/pyrsnapshotd | src/pysnapshotd/pipeobject.py | Python | gpl-2.0 | 4,032 |
<?php
class formWidgetContentCategoriesOptions extends cmsForm {
public function init() {
return array(
array(
'type' => 'fieldset',
'title' => LANG_CONTENT_TYPE,
'childs' => array(
new fieldList('options:ctype_name', array... | Val-Git/icms2 | system/controllers/content/widgets/categories/options.form.php | PHP | gpl-2.0 | 1,558 |
#region License
/* Copyright (C) 1999-2015 John Källén.
*
* 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 option)
* any later version.
*
* This program is d... | chubbymaggie/reko | src/UnitTests/Core/Lib/PriorityQueueTests.cs | C# | gpl-2.0 | 1,479 |
<?php
/**
* CHRONOFORMS version 4.0
* Copyright (c) 2006 - 2011 Chrono_Man, ChronoEngine.com. All rights reserved.
* Author: Chrono_Man (ChronoEngine.com)
* @license GNU/GPL
* Visit http://www.ChronoEngine.com for regular updates and information.
**/
namespace GCore\Admin\Extensions\Chronoforms\Actions\XlsExport;
/* @... | faridv/Tourism | administrator/components/com_chronoforms5/chronoforms/actions/xls_export/xls_export.php | PHP | gpl-2.0 | 7,275 |
#!/usr/bin/ruby
require "../../rules/util.rb"
require "../../rules/mosync_util.rb"
require "FileUtils"
msbuildpath = "/Windows/Microsoft.NET/Framework/v4.0.30319/MSBuild.exe"
verbose = "q"
if ARGV.length != 0
ARGV.each do|a|
if a == "--help"
puts "For building a certain configuration pass it as a command line ... | MoSync/MoSync | libs/WP8Libs/buildLibraries.rb | Ruby | gpl-2.0 | 1,776 |
/*
* 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 distributed in the hope that it w... | speidy/redemption | src/mod/internal/interactive_target_mod.hpp | C++ | gpl-2.0 | 4,829 |
// { dg-do compile }
// { dg-options "-pthread" }
// { dg-require-effective-target c++11 }
// { dg-require-effective-target pthread }
// { dg-require-cstdint "" }
// { dg-require-gthreads "" }
// Copyright (C) 2014-2017 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library i... | itsimbal/gcc.cet | libstdc++-v3/testsuite/30_threads/call_once/60497.cc | C++ | gpl-2.0 | 1,215 |
--[[ ▄▇▇▇▇▇▇▄▇▇▇▇▇▇▄
❉❉❉ ฿ᵧ ➣ @PXPP3
➥ CHANNEL ◐ @INSTAOFFICIAL
▄▇▇▇▇▇▇▄▇▇▇▇▇▇▄
]]
do
local function run(msg,matches)
local reply_id = msg['id']
if is_momod(msg) and matches[1]== 'help' then
local alnaze = [[❍____↝◐helplist◐↜____❍
___⭐💬___🚨___⭐💭___
جميع الاوامر تعمل بالاشارات [!/]
___⭐💬___🚨_... | devmonstervip/MONSTERBOT | plugins/help.lua | Lua | gpl-2.0 | 1,027 |
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright (C) 2015 Cedric Hnyda <ced.hnyda@gmail.com>
*
* Calls getrandom(2), checks that the buffer is filled with random bytes
* and expects success.
*/
#include "tst_test.h"
#include "lapi/getrandom.h"
#include "lapi/syscalls.h"
#define PROC_ENTROPY_AVAIL "/pr... | linux-test-project/ltp | testcases/kernel/syscalls/getrandom/getrandom02.c | C | gpl-2.0 | 1,446 |
<?php
/**
* @package WordPress
* @subpackage ThemeWoot
* @author ThemeWoot Team
*
* This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
* 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/l... | sniezekjp/staging-fs | wp-content/plugins/twoot-toolkit/zilla-shortcodes/shortcodes/button.php | PHP | gpl-2.0 | 860 |
#undef CONFIG_CPU_R4X00
| ZigFisher/FlyRouter | toolchain/kernel-headers/include/config/cpu/r4x00.h | C | gpl-2.0 | 25 |
/*
* Copyright (c) 1997, 2011, 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 ... | openjdk/jdk7u | hotspot/src/share/vm/runtime/stubRoutines.hpp | C++ | gpl-2.0 | 20,465 |
/*
* max17058_battery.c
* fuel-gauge systems for lithium-ion (Li+) batteries
* 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
* published by the Free Software Foundation.
*/
#include <linux/module.h>
#include <linux/init.... | shakalaca/ASUS_ZenFone_ZX551ML | linux/kernel/drivers/power/ASUS_BATTERY/max17058_battery.c | C | gpl-2.0 | 24,657 |
# Copyright (C) 2008 Canonical 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 of the License, or
# (at your option) any later version.
#
# This program is distributed in ... | stewartsmith/bzr | bzrlib/smart/packrepository.py | Python | gpl-2.0 | 1,623 |
/*****************************************************************************\
* read_config.h - functions and declarations for reading slurmdbd.conf
*****************************************************************************
* Copyright (C) 2003-2007 The Regents of the University of California.
* Copyright (... | surban/slurm | src/slurmdbd/read_config.h | C | gpl-2.0 | 6,082 |
import os, platform
sysstr = platform.system()
if sysstr == "Windows":
LF = '\r\n'
elif sysstr == "Linux":
LF = '\n'
def StripStr(str):
# @Function: Remove space(' ') and indent('\t') at the begin and end of the string
oldStr = ''
newStr = str
while oldStr != newStr:
oldStr = newStr
... | seims/SEIMS | scenario_analysis/util.py | Python | gpl-2.0 | 1,939 |
/***************************************************************************
qgsactionmenu.h
--------------------------------------
Date : 11.8.2014
Copyright : (C) 2014 Matthias Kuhn
Email : matthias at opengis dot ch
*************************************... | AsgerPetersen/QGIS | src/gui/qgsactionmenu.h | C | gpl-2.0 | 3,983 |
/*
* INET An implementation of the TCP/IP protocol suite for the LINUX
* operating system. INET is implemented using the BSD Socket
* interface as the means of communication with the user level.
*
* Implementation of the Transmission Control Protocol(TCP).
*
* Authors: Ross Biro
* Fred N. van Kempen, <wa... | chaveiro/LG_P920_V30A_Kernel | net/ipv4/tcp_output.c | C | gpl-2.0 | 84,185 |
/* Cabal - Legacy Game Implementations
*
* Cabal is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of t... | clone2727/cabal | backends/platform/sdl/win32/win32.cpp | C++ | gpl-2.0 | 10,473 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ModelAnimationLibrary
{
public struct float4
{
private float _num1, _num2, _num3, _num4;
/*public float4()
{
_num1 = -1;
_num2 = -1;
_num3 = -1;
... | JoshuaKlaser/ANSKLibrary | AnimationExample/ModelAnimationLibrary/ShaderVars/float4.cs | C# | gpl-2.0 | 1,626 |
/* Copyright (c) 2013-2015, The Linux Foundation. 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 version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the... | MassStash/htc_pme_kernel_sense_6.0 | drivers/media/platform/msm/camera_v2/sensor/msm_sensor_driver.c | C | gpl-2.0 | 42,551 |
# coding: utf-8
# Copyright 2014 Globo.com Player authors. All rights reserved.
# Use of this source code is governed by a MIT License
# license that can be found in the LICENSE file.
from collections import namedtuple
import os
import errno
import math
try:
import urlparse as url_parser
except ImportError:
i... | JaxxC/goodgame.xbmc | plugin.video.goodgame/resources/lib/m3u8/model.py | Python | gpl-2.0 | 22,352 |
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
/*
* plugin-debug.c
*
* Debug plugin, for helping track down Conglomerate bugs
*
* Copyright (C) 2005 David Malcolm
*
* Conglomerate is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public... | hpjansson/conglomerate | src/plugin-debug.c | C | gpl-2.0 | 2,892 |
/* Copyright (c) 2015-2016, The Linux Foundation. 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 version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the... | ZeroInfinityXDA/HelixKernel_Nougat | sound/soc/codecs/msm8x16-wcd.c | C | gpl-2.0 | 183,679 |
/****************************************************************************
* (C) Copyright 2008 Samsung Electronics Co., Ltd., All rights reserved
*
* [File Name] :s3c-otg-oci.h
* [Description] : The Header file defines the external and internal functions of OCI.
* [Department] : System LSI Division/Emb... | skeeterslint/linux-2.6.29 | drivers/usb/host/s3c-otg/s3c-otg-oci.h | C | gpl-2.0 | 2,623 |
DOUBLE PRECISION FUNCTION CDFGLO(X,PARA)
C***********************************************************************
C* *
C* FORTRAN CODE WRITTEN FOR INCLUSION IN IBM RESEARCH REPORT RC20525, *
C* 'FORTRAN ROUTINES FOR USE WITH THE METHOD OF L-MOM... | gitpan/Statistics-Lmoments | lmoments/cdfglo.f | FORTRAN | gpl-2.0 | 1,815 |
<?php
/**
* Plugin installation and activation for WordPress themes.
*
* Please note that this is a drop-in library for a theme or plugin.
* The authors of this library (Thomas, Gary and Juliette) are NOT responsible
* for the support of your plugin or theme. Please contact the plugin
* or theme author for suppor... | idealseed123/idealseed | wp-content/themes/capitalx/includes/class-tgm-plugin-activation.php | PHP | gpl-2.0 | 117,889 |
/* Copyright Statement:
*
* This software/firmware and related documentation ("MediaTek Software") are
* protected under relevant copyright laws. The information contained herein
* is confidential and proprietary to MediaTek Inc. and/or its licensors.
* Without the prior written permission of MediaTek inc. and/or ... | jawad6233/android_kernel_bq_aquaris5 | mediatek/custom/out/aquaris5/kernel/magnetometer/mmc328xma_auto.c | C | gpl-2.0 | 41,574 |
character (LEN=12) :: filename
do i=2,36
if (i<10) then
write(filename,"(A,I1,A)") "zvradio", i, ".pd "
else
write(filename,"(A,I2,A)") "zvradio", i, ".pd"
endif
open (unit=11,file=TRIM(filename))
j = 15 * i + 2
k = 206 + j
k2 = 138 + j
k3 = 179 + j
write(11,"(A)") "#N canvas 425 466 605 321 10;"
... | gilbertohasnofb/pd-abstractions-and-libraries | pd-alternative-themes/themes/default/zvradio/zvradio generator/zvradio.f95 | FORTRAN | gpl-2.0 | 1,388 |
/*
* Copyright 2008, Network Appliance Inc.
* Author: Jason McMullan <mcmullan <at> netapp.com>
* Licensed under the GPL-2 or later.
*/
//#define DEBUG
#include <common.h>
#include <malloc.h>
#include <spi_flash.h>
#include "spi_flash_internal.h"
/* M25Pxx-specific commands */
#define CMD_W25_WREN 0x06 /* Write... | uwehermann/easybox-904-lte-firmware | package/infineon-utilities/feeds/ifx_feeds_uboot/open_uboot/src/drivers/mtd/spi/winbond.c | C | gpl-2.0 | 8,407 |
# hunter-simple
## Build steps
* Set `HUNTER_ROOT` environment variable.(Recommended, see [alternatives](https://github.com/hunter-packages/gate#effects))
* Generate project: `cmake -H. -B_builds -DHUNTER_STATUS_DEBUG=ON -DCMAKE_BUILD_TYPE=Debug`.
* Run build: `cmake --build _builds --config Debug`.
* Run test: `cd _b... | Akagi201/learning-cmake | hunter-simple/README.md | Markdown | gpl-2.0 | 350 |
/*-
* BSD LICENSE
*
* Copyright(c) 2010-2016 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source cod... | intersvyaz/dpdk | drivers/net/i40e/i40e_ethdev_vf.c | C | gpl-2.0 | 77,271 |
<div class="op-bsw-grey-panel-content op-bsw-grey-panel-no-sidebar">
<p class="op-micro-copy"><?php _e('Use this option if you want anyone trying to exit your page via the browser close buttons to be shown a message and redirected to a URL of your choosing',OP_SN) ?></p>
<label for="<?php echo $fieldid ?>url" class="... | denis-chmel/wordpress | wp-content/plugins/optimizePressPlugin/lib/modules/page/exit_redirect/tpl/settings.php | PHP | gpl-2.0 | 1,166 |
package org.anddev.andengine.engine.options;
import android.os.PowerManager;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 19:45:23 - 10.07.2010
*/
public enum WakeLockOptions {
// ===========================================================
// Elements
// =====... | ricardobaumann/android | worldofgravity-master/src/org/anddev/andengine/engine/options/WakeLockOptions.java | Java | gpl-2.0 | 2,193 |
/** schemas.js **/
schemas = {
user: {
id: null,
name: null,
password: null
}
}
module.exports = schemas; | Zepx/Tamanegi | models/schemas.js | JavaScript | gpl-2.0 | 139 |
<div class="wphb-block-entry">
<div class="wphb-block-entry-content">
<img class="wphb-image-icon-content wphb-image-icon-content-top wphb-image-icon-content-center" src="<?php echo wphb_plugin_url() . 'admin/assets/image/icon-performance-small.png'; ?>" alt="<?php _e('Performance Report', 'wphb'); ?>">
<... | golfcoastmagazine/golfcoastmagazine | wp-content/plugins/wp-hummingbird/admin/views/dashboard-performance-disabled-meta-box.php | PHP | gpl-2.0 | 840 |
<?php
/**
* Implements Special:UploadStash.
*
* 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 i... | 1ec5/mediawiki-core | includes/specials/SpecialUploadStash.php | PHP | gpl-2.0 | 13,986 |
# coding: utf-8
import sys
reload(sys)
sys.setdefaultencoding('utf8')
import socket
import os
import re
import select
import time
import paramiko
import struct
import fcntl
import signal
import textwrap
import getpass
import fnmatch
import readline
import datetime
from multiprocessing import Pool
os.environ['DJANGO... | watchsky126/jumpserver | connect.py | Python | gpl-2.0 | 12,846 |
/*
* This file is part of the UCB release of Plan 9. It is subject to the license
* terms in the LICENSE file found in the top-level directory of this
* distribution and at http://akaros.cs.berkeley.edu/files/Plan9License. No
* part of the UCB release of Plan 9, including this file, may be copied,
* modified, pro... | rminnich/k9 | sys/src/cmd/unix/drawterm/kern/devip.c | C | gpl-2.0 | 16,525 |
/*
* COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
*
* $Id: act_cyc.c,v 1.2 2009/01/01 15:13:07 ralf Exp $
*/
#if HAVE_... | yunusdawji/rtems-at91sam9g20ek | cpukit/itron/src/act_cyc.c | C | gpl-2.0 | 802 |
#section support_code_apply
int APPLY_SPECIFIC(conv_desc)(PyArrayObject *filt_shp,
cudnnConvolutionDescriptor_t *desc) {
cudnnStatus_t err;
int pad[3] = {PAD_0, PAD_1, PAD_2};
int strides[3] = {SUB_0, SUB_1, SUB_2};
int upscale[3] = {1, 1, 1};
#if BORDER_MODE == 0
pad[0] = *(np... | valexandersaulys/airbnb_kaggle_contest | venv/lib/python3.4/site-packages/Theano-0.7.0-py3.4.egg/theano/sandbox/gpuarray/conv_desc.c | C | gpl-2.0 | 1,147 |
/* Copyright (c) 2012-2014, The Linux Foundation. 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 version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the... | felipeizzo/sprat | drivers/video/msm/mdss/mdss_dsi_panel.c | C | gpl-2.0 | 32,975 |
# Install script for directory: /home/carlo/Dropbox/workspace/KDiamond/themes
# Set the install prefix
IF(NOT DEFINED CMAKE_INSTALL_PREFIX)
SET(CMAKE_INSTALL_PREFIX "/usr/local")
ENDIF(NOT DEFINED CMAKE_INSTALL_PREFIX)
STRING(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
# Set the install co... | CarloLucibello/KDiamante | themes/cmake_install.cmake | CMake | gpl-2.0 | 3,018 |
/*
* xensetup.c
*
* Copyright (C) 2008-2011 Samsung Electronics
* Sang-bum Suh <sbuk.suh@samsung.com>
* JooYoung Hwang <jooyoung.hwang@samsung.com>
* Jaemin Ryu <jm77.ryu@samsung.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the... | ryos36/xen-arm | xen/arch/arm/xen/xensetup.c | C | gpl-2.0 | 10,208 |
/* gsm-util.h
* Copyright (C) 2008 Lucas Rocha.
*
* 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 progr... | dnk/mate-session-manager | mate-session/gsm-util.h | C | gpl-2.0 | 1,886 |
<?php
/**
* @package HikaShop for Joomla!
* @version 2.3.1
* @author hikashop.com
* @copyright (C) 2010-2014 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?><div class="hikashop_googlecheckout_end" id="hikashop... | Jbouska419/craftsman | plugins/hikashoppayment/googlecheckout/googlecheckout_end.php | PHP | gpl-2.0 | 1,550 |
<?php
/**
* Laravel - A PHP Framework For Web Artisans
*
* @package Laravel
* @author Taylor Otwell <taylorotwell@gmail.com>
*/
/*
|--------------------------------------------------------------------------
| Register The Auto Loader
|--------------------------------------------------------------------------
... | popohum/Earths-Best | index.php | PHP | gpl-2.0 | 1,798 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.