id stringlengths 64 64 | content stringlengths 500 100k | language stringclasses 29
values | path stringlengths 4 333 | repo stringlengths 5 116 | license stringclasses 15
values | size int64 500 100k | lines int64 26 8.06k | source stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|
a764fe5852badfa20eca33aea83da3487ac0e791d7182a8af10f58c96991fbcc | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="<p>Details of interfaces and subroutine of the cpl-library including source code<... | HTML | website/user-guide/proc/cpl_overlap.html | Crompulence/cpl-library | gpl-3.0 | 10,136 | 335 | codeparrot/github-code |
67cb38dcc23a22015e65b02897ef389f8d1799fb5169f89411f5f0792da80692 | package com.arcusys.valamis.web.servlet.course
import com.arcusys.valamis.course.model.CourseMembershipType
import com.arcusys.valamis.member.model.MemberTypes
import com.arcusys.valamis.web.servlet.request.{BaseCollectionFilteredRequestModel, BaseRequest, Parameter}
import org.apache.http.ParseException
import org.sc... | Scala | valamis-portlets/src/main/scala/com/arcusys/valamis/web/servlet/course/CourseRequest.scala | arcusys/Valamis | gpl-3.0 | 3,110 | 100 | codeparrot/github-code |
bf57df7cbaf2b6cf4e6e0a711b7a188cdf9740479c0ad6eebfde17c330107bf7 | /*
** Copyright (C) 2017 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
**
** 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) an... | C++ | lib/parser/parser.cc | davidcsterratt/mu | gpl-3.0 | 8,676 | 344 | codeparrot/github-code |
98fc762104a03ee0853ef57312f768aad7b96c0c4be9cef5cb51b9c81d6c6ec1 | /*
Copyright (C) 2014 Nicolas Mellado <nmellado0@gmail.com>
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef _GRENAILLE_PRIMITIVE_
#define _GRENAILLE_PRIMITI... | C | unsupported/plugins_experimental/filter_multiscale_align/lib/Patate/Grenaille/Core/primitive.h | cnr-isti-vclab/meshlab | gpl-3.0 | 1,989 | 73 | codeparrot/github-code |
73cbb965bcee0ee36a9a7ad7f0866a9d712f1adae889eb6944c31e29dcd3f7f5 | <?php
use Facebook\WebDriver\WebDriverBy;
require_once __DIR__
. "/../../../test/integrationtests/LorisIntegrationTest.class.inc";
/**
* DataReleaseIntegrationTest
*
* @license http://www.gnu.org/licenses/gpl-3.0.txt GPLv3
*/
class DataReleaseIntegrationTest extends LorisIntegrationTest
{
/**
* Tests t... | PHP | modules/data_release/test/data_releaseTest.php | aces/Loris | gpl-3.0 | 2,278 | 87 | codeparrot/github-code |
4c7966576cd4f3581135340b4fcb9c58b6b5901949c2b8d55ec65c2b60b33b7d | /*
* Copyright (c) 2021 OBiBa. All rights reserved.
*
* This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*... | Java | opal-core-api/src/main/java/org/obiba/opal/core/service/NoSuchIdentifierMappingException.java | obiba/opal | gpl-3.0 | 973 | 37 | codeparrot/github-code |
f5dd6cfc1680acbc557881c94c6a37a157bbe1d54ad3017f230637eab62d0982 | /*
* (C) Copyright 2004-2008 Texas Instruments, <www.ti.com>
* Rohit Choraria <rohitkc@ti.com>
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
#include <asm/io.h>
#include <asm/errno.h>
#include <asm/arch/mem.h>
#include <linux/mtd/omap_gpmc.h>
#include <linux/mtd/nand_ecc.h>
#include <linux/bch.h>
#... | C | u-boot/drivers/mtd/nand/omap_gpmc.c | Jerry-X-Meng/AlphaBoxPlus | gpl-3.0 | 30,779 | 1,042 | codeparrot/github-code |
ec5722f815a8a2def9fbdbbd26200ca7fcfa132805fae2788bc3f2f7c1b19fc8 | import wx
from service.fit import Fit
import gui.mainFrame
from gui import globalEvents as GE
from .calc.fitRemoveBooster import FitRemoveBoosterCommand
class GuiRemoveBoosterCommand(wx.Command):
def __init__(self, fitID, position):
wx.Command.__init__(self, True, "")
self.mainFrame = gui.mainFra... | Python | gui/fitCommands/guiRemoveBooster.py | blitzmann/Pyfa | gpl-3.0 | 1,009 | 31 | codeparrot/github-code |
81d0f44cab1341cb49ef3aa529c60b1e937e6d7a5914228379fdfa1a01746312 | /*
* Copyright 2016 Paul Gestwicki
*
* This file is part of The Social Startup Game
*
* The Social Startup Game is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | Java | core/src/main/java/edu/bsu/cybersec/core/ui/CompanyStatusGroup.java | doctor-g/social-startup-game | gpl-3.0 | 7,557 | 183 | codeparrot/github-code |
971dfdcd93415b4117416bb1a76208f68a8da9d1325b725bffe6a224b173f9ff | ###############################################################################
# "THE BEER-WARE LICENSE" (Revision 42):
# <msmith@FreeBSD.ORG> wrote this file. As long as you retain this notice you
# can do whatever you want with this stuff. If we meet some day, and you think
# this stuff is worth it, you can buy me a... | Makefile | Makefile | adityac75/Flip | gpl-3.0 | 21,288 | 762 | codeparrot/github-code |
439bfbba1bd0a5385c19bb4f37dfb5cedd49c0bde8d9390aeca9545da4d58999 | #
# LCRS Copyright (C) 2009-2011
# - Rene Jensen
# - Michael Wojciechowski
# - Benjamin Bach
#
# LCRS is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any ... | Python | lcrs/master/dhcp/utils.py | fairdk/lcrs2 | gpl-3.0 | 1,554 | 49 | codeparrot/github-code |
7b76f5ea3b1cfb635e1fb0af4a8322f7f0a12594f86177e17fbbc241868337c6 | /* INFO ************************************************************************
** **
** cutils **
** ====== ... | C | etc/cutils_name_space_idea.c | petervaro/cutils | gpl-3.0 | 3,325 | 98 | codeparrot/github-code |
2d21b310f31de857ded380c6a11dedb467c61c4fdf4bdefb84dc1f794b549e50 | /* -*- Mode: C++; coding: utf-8; tab-width: 3; indent-tabs-mode: tab; c-basic-offset: 3 -*-
*******************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright create3000, Scheffelstra�e 31a, Leipzig, Germany 2011.
*
* Al... | C | libtitania-x3d/Titania/X3D/Components/VolumeRendering/ComposedVolumeStyle.h | create3000/titania | gpl-3.0 | 4,311 | 178 | codeparrot/github-code |
41e2f36cdfb102532e1701cdfd223bf5b94e8cc5787fd803e208b12832cc5b88 | #ifndef DISABLEDFEATURE
#define DISABLEDFEATURE
#include <QtGlobal>
class DisabledFeature
{
public:
enum DisabledFeatureType {
typeDisabledFeature = 0xae636f24
};
DisabledFeature() :
m_classType(typeDisabledFeature) {}
void setFeature(const QString &feature) {
m_feature = fea... | C | types/disabledfeature.h | KAMiKAZOW/libqtelegram-aseman-edition | gpl-3.0 | 861 | 44 | codeparrot/github-code |
0acf7316605372bf66bf3271e94609ac5c5e858003f788d18379298d9eff277a | /*----------------------------------------------------------------------
* Program dd-HB-dse
*----------------------------------------------------------------------
*
* In this test program, each processor reads the whole matrix
* from file. The matrix is assumed to be in Harwell-Boe... | C | lib/pARMS_3.3/examples/general/dd-HB-dse.c | DominicJones/cfdpack | gpl-3.0 | 13,180 | 454 | codeparrot/github-code |
ee2abbff003b43cb21cc13bd7a88cbbce1897fb78a77be141b90beacbb8b734c | #include "Exec_CatCrd.h"
#include "CpptrajStdio.h"
// Exec_CatCrd::Help()
void Exec_CatCrd::Help() const
{
mprintf("\t<set name0> <set name1> [<set nameX> ...] name <name>\n"
" Concatenate 2 or more COORDS data sets into a single one.\n");
}
// Exec_CatCrd::Execute()
Exec::RetType Exec_CatCrd::Execute(Cp... | C++ | src/Exec_CatCrd.cpp | mojyt/cpptraj | gpl-3.0 | 3,334 | 94 | codeparrot/github-code |
4935f15bb307564ab2329a87e1552548ac44cac3cf9f0c0208ad980977fe878e | //---------------------------------------------------------------------------//
// Neon v2.5
// Copyright (C) 2006,2008 Jordi Ros <shine.3p@gmail.com>
// www.neonv2.com / www.xplsv.com
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public Licens... | C | trunk/Neon/LinkDevice_Wave.h | xplsv/neonv2 | gpl-3.0 | 1,839 | 52 | codeparrot/github-code |
1bfda4393ee14413328fc6b7a7bfd34a5aaf671df8e4c6ed62475e54c2f4a8b9 | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance w... | C++ | src/plugins/scxmleditor/plugin_interface/stateitem.cpp | qtproject/qt-creator | gpl-3.0 | 18,619 | 584 | codeparrot/github-code |
361894f00be68ae26927ea3650dd4980e2f9c21c6c78e77769a559bd72dfb5a3 | #region License GNU GPL
// Frame.cs
//
// Copyright (C) 2012 - BehaviorIsManaged
//
// 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) an... | C# | Behaviors/Frames/Frame.cs | Emudofus/BehaviorIsManaged | gpl-3.0 | 1,925 | 68 | codeparrot/github-code |
0a5c19c8e6a1602795554bab8dd81ce0906cca4f886dbaf55a3cdb941d7362c9 | package com.mobile;
import com.facebook.react.ReactActivity;
import com.facebook.react.ReactPackage;
import com.facebook.react.shell.MainReactPackage;
import java.util.Arrays;
import java.util.List;
public class MainActivity extends ReactActivity {
/**
* Returns the name of the main component registered fr... | Java | mobile/android/app/src/main/java/com/mobile/MainActivity.java | filipstachura/notifier | gpl-3.0 | 1,026 | 41 | codeparrot/github-code |
55ce523ebbd0693ebc4d3ecbb00f9d004ff3d0c3a3dbcb97af3c7f50b6953659 | #ifndef PH_SYSINFO_H
#define PH_SYSINFO_H
// begin_phapppub
typedef enum _PH_SYSINFO_VIEW_TYPE
{
SysInfoSummaryView,
SysInfoSectionView
} PH_SYSINFO_VIEW_TYPE;
typedef VOID (NTAPI *PPH_SYSINFO_COLOR_SETUP_FUNCTION)(
_Out_ PPH_GRAPH_DRAW_INFO DrawInfo,
_In_ COLORREF Color1,
_In_ COLORREF Color2
... | C | ProcessHacker/include/sysinfo.h | processhacker2/processhacker2 | gpl-3.0 | 3,915 | 178 | codeparrot/github-code |
f219bc85748963628cde6f4954c787d8be920db7f59f0966787b0da60038b5e9 | package edu.unm.casaa.main;
import java.awt.BorderLayout;
import java.util.Hashtable;
import javax.swing.BorderFactory;
import javax.swing.BoxLayout;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JSlider;
import javax.swing.SwingConstants;
import javax... | Java | src/edu/unm/casaa/main/OptionsWindow.java | galexmanuel/ctcsu-player | gpl-3.0 | 6,100 | 157 | codeparrot/github-code |
751d7338d3b59e0953a0fe447059fa886ff93bb3524116d4a492fcf49dddef9e | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="RoleLessThan.cs" company="Allors bvba">
// Copyright 2002-2017 Allors bvba.
//
// Dual Licensed under
// a) the Lesser General Public Licence v3 (LGPL)
// b) the Allors Lice... | C# | Platform/Database/Adapters/Allors.Adapters.Memory/Predicates/RoleLessThan.cs | Allors/apps | gpl-3.0 | 2,434 | 72 | codeparrot/github-code |
1fce60819c2bf8cd16d2c51617d307f95ce01addc4adfcd4e02be84fd35cb1e2 | =head1 NAME
VertRes::Utils::Assemblers::spades - assembly utility functions
=head1 SYNOPSIS
use VertRes::Utils::Assemblers::spades;
my $assembly_util = VertRes::Utils::Assemblers::spades->new();
# use any of the utility functions described here, eg.
my $assember = $assembler_class->new(
assembler_exec => '/path/... | Perl | modules/VertRes/Utils/Assemblers/spades.pm | andrewjpage/vr-codebase | gpl-3.0 | 6,323 | 234 | codeparrot/github-code |
1c41074926195bde316c4608c357cfc12b075646c9aab2108ded24e20f371bcd | #!/usr/bin/python
''' Python API for YouTube
Copyright (C) 2013 nagev
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any la... | Python | pafy.py | sadolit/pafy | gpl-3.0 | 8,660 | 208 | codeparrot/github-code |
a3baac5f0dd0b44e9977fdaa6a80f0e8e24695489728970cf24e276131742f6d | #pragma region Copyright (c) 2014-2016 OpenRCT2 Developers
/*****************************************************************************
* OpenRCT2, an open source clone of Roller Coaster Tycoon 2.
*
* OpenRCT2 is the work of many authors, a full list can be found in contributors.md
* For more information, visit h... | C | src/ride/gentle/ghost_train.c | halfbro/OpenRCT2 | gpl-3.0 | 21,071 | 507 | codeparrot/github-code |
4e628bab1275e180018d3dbf3bd481a6fcee3542f9114fe1ec2836a2d0d6bfb1 | package com.thecherno.ld29;
import static org.lwjgl.opengl.GL11.*;
import javafx.application.Platform;
import com.thecherno.ld29.graphics.Display;
import com.thecherno.ld29.graphics.Shader;
import com.thecherno.ld29.input.Keyboard;
import com.thecherno.ld29.level.Level;
import com.thecherno.ld29.menu.AboutMenu;
impor... | Java | src/com/thecherno/ld29/Main.java | TheCherno/Beneath | gpl-3.0 | 2,987 | 127 | codeparrot/github-code |
811b19fc3be0dfad9044621cfac05ff707434fab1c8d4723e609e07dd1d05f41 | /* global screen_reader_text */
/**
* navigation.js
*
* Handles the navigation menu.
*/
( function( $ ) {
/* Define variables */
var header_wrapper, navigation_wrapper, site_navigation, classic_primary, classic_secondary, menu_toggle, window_width, menu_toggle_width, site_branding, header_search;
header_wrappe... | JavaScript | wp-content/themes/edin/js/navigation.js | lonnylot/some-prototype | gpl-3.0 | 5,095 | 156 | codeparrot/github-code |
fdffd06efd0585373467106b2944c8b92fee2cd349b55a4e6894201e9f689258 | <?php
// Don't load directly
defined( 'WPINC' ) or die;
class Tribe__Events__Aggregator__Cron {
/**
* Action where the cron will run, on schedule
* @var string
*/
public static $action = 'tribe_aggregator_cron';
/**
* Action where the cron will run, if enqueued manually
* @var string
*/
public static ... | PHP | files/content/plugins/the-events-calendar/src/Tribe/Aggregator/Cron.php | DvdByrn/website-nonprofit-gw | gpl-3.0 | 15,656 | 563 | codeparrot/github-code |
e3877212d2fa7c9a28ed48eec49fb58873b1b40a13ce6fa04d42243fe641bf8f | #include "ltfat.h"
#include "ltfat/types.h"
#include "ltfat/macros.h"
#include "ltfat/thirdparty/fftw3.h"
struct LTFAT_NAME(dgt_fb_plan)
{
ltfat_int a;
ltfat_int M;
ltfat_int gl;
ltfat_phaseconvention ptype;
LTFAT_NAME_REAL(fft_plan)* p_small;
LTFAT_COMPLEX* sbuf;
LTFAT_COMPLEX* fw;
LT... | C | libltfat/modules/libltfat/src/dgt_fb.c | ltfat/ltfat | gpl-3.0 | 5,850 | 204 | codeparrot/github-code |
0829d781142b72d7d3bb6c37c40a996888684ff1d6b964ae84f9826203640349 | <?php
namespace Omeka\Entity;
/**
* @Entity
*/
class Asset extends AbstractEntity
{
/**
* @Id
* @Column(type="integer")
* @GeneratedValue
*/
protected $id;
/**
* @Column
*/
protected $name;
/**
* @Column
*/
protected $mediaType;
/**
* @Colum... | PHP | application/src/Entity/Asset.php | digirati-co-uk/omeka-s | gpl-3.0 | 1,438 | 90 | codeparrot/github-code |
d0e67a8b1d967b992b1d47617c54ded52666bb82f11a17ac7eec26e0d5970fc2 | #pragma region Copyright (c) 2014-2016 OpenRCT2 Developers
/*****************************************************************************
* OpenRCT2, an open source clone of Roller Coaster Tycoon 2.
*
* OpenRCT2 is the work of many authors, a full list can be found in contributors.md
* For more information, visit h... | C++ | src/openrct2/core/String.hpp | TheDevelopers1/OpenRCT2 | gpl-3.0 | 4,002 | 98 | codeparrot/github-code |
95381aa2cb8428b28695dd5373a16cbab46296efcec85bb495264fd53f2f5fbf | #!/usr/bin/env perl
use strict;
use warnings;
no warnings 'uninitialized';
use Getopt::Long;
use VertRes::Utils::VRTrackFactory;
use VRTrack::Individual;
my ($indivfile, $db, $help);
GetOptions(
'i|indiv=s' => \$indivfile,
'd|db=s' => \$db,
'h|help' => \$help,
);
#my $db = 'g1k_tr... | Perl | scripts/load_vrtrack_individuals.pl | andrewjpage/vr-codebase | gpl-3.0 | 2,193 | 79 | codeparrot/github-code |
84c16d2dd74a1b36f0e7eeee9be77416957cb48dcea98f3e98fd1f9a51bdc1e9 | package org.jnbt;
import java.util.Arrays;
//@formatter:off
/*
* JNBT License
*
* Copyright (c) 2010 Graham Edgecombe
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistribution... | Java | src/org/jnbt/IntArrayTag.java | MrCreeperkopf/OpenWSK | gpl-3.0 | 3,162 | 119 | codeparrot/github-code |
deba0a7e60c5b557f575771469a48b6fa77cb29d8b06191db853f4b136b8bf26 | -----------------------------------------
-- Spell: Dextrous Etude
-- Static DEX Boost, BRD 32
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
require("scripts/globals/msg");
-----------------------------------------
function onMagicCastingCheck(caster,tar... | Lua | scripts/globals/spells/dextrous_etude.lua | Cloudef/darkstar | gpl-3.0 | 1,843 | 59 | codeparrot/github-code |
ac4227af21b4e20ccdbbbca7ff682ef3b2dc4ad828007c44a807beb273984ac2 | //
// Copyright (C) 2005 Michael Tuexen
// Copyright (C) 2008 Irene Ruengeler
// Copyright (C) 2009 Thomas Dreibholz
// Copyright (C) 2009 Thomas Reschka
// 2011 Zoltan Bojthe
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public ... | C++ | inetmanet-2.0/src/util/TCPDump.cc | ngocthienle/SG_OMNeTpp | gpl-3.0 | 2,371 | 98 | codeparrot/github-code |
a7439f8a14a189b7b2a407740614edf6fe635a5b572e98413ff887d7713b55bc | import * as Utils from '../../utils'
export const updateSlotSelectionStateInWorkspace = (state, payload) => {
const { elementId, slotId, type } = payload
const selectedSlots = Utils.selectedSlots(state)
let pipeSelectionState = Object.assign({}, state.selectionState.pipe)
// Toggle selection, deselect slot i... | JavaScript | src/reducers/workspace/selectionReducer.js | lambdablocks/blocks-front-react | gpl-3.0 | 1,836 | 83 | codeparrot/github-code |
317d95c8e9d832ed28f98b43b478424655e7009ea1a85b0e5f2bdbf760cf30a8 | //////////////////////////////////////////////////////////////////////
// OpenTibia - an opensource roleplaying game
//////////////////////////////////////////////////////////////////////
//
//////////////////////////////////////////////////////////////////////
// This program is free software; you can redistribute it ... | C++ | source/npc.cpp | tarantonio/OTHire | gpl-3.0 | 23,616 | 1,108 | codeparrot/github-code |
e3ae13ed87f771b42844ead4e6cb719373e9ec8fde2052d08d8d933b35289236 | /*
Copyright (C) 1999-2007 id Software, Inc. and contributors.
For a list of contributors, see the accompanying CONTRIBUTORS file.
This file is part of GtkRadiant.
GtkRadiant is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
... | C | lifeRadiant/tools/quake2/q2map/q2map.h | zombihello/lifeRadiant | gpl-3.0 | 1,361 | 51 | codeparrot/github-code |
9fa5491a6322673ffda34ef4c3307ed916d1e183530d8cee6751353c3f9ce636 | package org.andengine.engine.options;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 13:01:40 - 02.07.2010
*/
public class RenderOptions {
// ===========================================================
// Constants
// ==================================... | Java | andEngine/src/main/java/org/andengine/engine/options/RenderOptions.java | erseco/ugr_programacion_ludica | gpl-3.0 | 1,709 | 58 | codeparrot/github-code |
8ef959ee187f6aec39abaf9819302df5eb33ead7e39ccb000a1344928b88f491 | #include "yaml-cpp/parser.h"
#include "yaml-cpp/eventhandler.h"
#include "yaml-cpp/exceptions.h"
#include "yaml-cpp/node.h"
#include "directives.h"
#include "nodebuilder.h"
#include "scanner.h"
#include "singledocparser.h"
#include "tag.h"
#include "token.h"
#include <sstream>
#include <cstdio>
namespace LHAPDF_YAML
{... | C++ | src/yamlcpp/parser.cpp | alisw/LHAPDF | gpl-3.0 | 3,633 | 153 | codeparrot/github-code |
76fa4a0b9a1592a63042c1ec7ee6e6b7df2bc702f2c5f4b47e9bb63a31c0f329 | -----------------------------------
-- Area: Beaucedine Glacier (S) (136)
-- Mob: Gigas_s_Tiger
-----------------------------------
-- require("scripts/zones/Beaucedine_Glacier_[S]/MobIDs");
-----------------------------------
-- onMobInitialize
-----------------------------------
function onMobInitialize(mob)
e... | Lua | scripts/zones/Beaucedine_Glacier_[S]/mobs/Gigas_s_Tiger.lua | Fatalerror66/ffxi-a | gpl-3.0 | 826 | 43 | codeparrot/github-code |
974546250eb1d7e9af17e55e18c2cdfc12e9d336b5780650407f665b31376c17 | <?php
/*
$Id: create.php $
TomatoCart Open Source Shopping Cart Solutions
http://www.tomatocart.com
Copyright (c) 2009 Wuxi Elootec Technology Co., Ltd; Copyright (c) 2006 osCommerce
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License ... | PHP | tomato/TOMATOCART/es_ES/TomatoCart/templates/glass_gray/content/account/create.php | ZoilaFlores/Tienda | gpl-3.0 | 5,168 | 134 | codeparrot/github-code |
333d1015284c45aa25509631c2e2b27aaeb5bb410fc0b5e90501dbe0c0a00b4f | /**
* WordStatTest.java
*
* Kevin Nash (kjn33)
* 11/11/2014
*/
import static org.junit.Assert.*;
import java.io.IOException;
import java.util.ArrayList;
import org.junit.Test;
public class WordStatTest {
@Test
public void stringArrayConstructor() {
WordStat ws = new WordStat(new String[] {"th... | Java | P3/WordStatTest.java | Fullbiter/EECS-233 | gpl-3.0 | 6,864 | 206 | codeparrot/github-code |
3a7d0ed618f45102cb95350424c3a00ff03998f4d33ba00b616c7844506e6259 | #pragma once
#ifndef _CHARACTERCONTROLLER_HPP_
#define _CHARACTERCONTROLLER_HPP_
#include <glm/glm.hpp>
#include <glm/gtc/quaternion.hpp>
#include <string>
struct AIGraphNode;
class CharacterObject;
class VehicleObject;
/**
* @class CharacterController
* Character Controller Interface, translates high-level behavio... | C++ | rwengine/src/ai/CharacterController.hpp | bisclavret/openrw | gpl-3.0 | 5,290 | 234 | codeparrot/github-code |
ecab3941c522b6a0434e30b8b89035c961bd9a939bb660a5be2441153111af8f | /*******************************************************************************
* Copyright (c) 2014 Tombenpotter.
* All rights reserved.
*
* This program and the accompanying materials are made available under the terms of the GNU Public License v3.0
* which accompanies this distribution, and is available at ht... | Java | src/main/java/tombenpotter/emt/common/modules/ic2/items/ItemElectricScribingTools.java | TeamAmeriFrance/Electro-Magic-Tools | gpl-3.0 | 2,597 | 82 | codeparrot/github-code |
a6aa7256034be1e9d1f1b1750d24b1102ff84e3a5633bc27ff5885fc904945ba | /*
* Copyright (C) 2010-2019 The ESPResSo project
* Copyright (C) 2002,2003,2004,2005,2006,2007,2008,2009,2010
* Max-Planck-Institute for Polymer Research, Theory Group
*
* This file is part of ESPResSo.
*
* ESPResSo is free software: you can redistribute it and/or modify
* it under the terms of the GNU Gener... | C++ | src/core/io/mpiio/mpiio.cpp | pkreissl/espresso | gpl-3.0 | 18,083 | 519 | codeparrot/github-code |
7b2d2ecb4e73ae1afd6e88c8b25a6748c4621e58b1897d20ea7f801af799f9fb | // This file is part of SWGANH which is released under the MIT license.
// See file LICENSE or go to http://swganh.com/LICENSE
#pragma once
#ifndef WIN32
#include <Python.h>
#endif
#include "anh/logger.h"
#include "anh/scripting/python_shared_ptr.h"
#include <memory>
#include <boost/python.hpp>
#include <boost/pytho... | C | src/ZoneServer/Services/terrain/terrain_service_binding.h | xiaobodu/mmoserver | gpl-3.0 | 1,918 | 46 | codeparrot/github-code |
f897db087822157a98cafcf67d315eae2d9c56705bf940d8944bf3d2f905bffb | export function constructUrl(route) {
const {path, query} = route;
let result = path.join('/');
let queryArr = [];
if (query && typeof query === 'object') {
queryArr = Object.keys(query).sort()
.filter(key => query[key] !== null)
.map(key => `${key}=${query[key]}`);
}... | JavaScript | scripts/utils/RouteUtils.js | joshburgess/sound-redux | gpl-3.0 | 978 | 38 | codeparrot/github-code |
378aadeca40d76f821f94e40d9802002acb3477f92dc5071ce936e65d1299ea1 | #include "HashSearch.h"
#include <iostream>
#include "paras.h"
using namespace std;
#define OPTION_QUERY "q"
#define OPTION_SUBJECT "d"
#define OPTION_OUTPUT "o"
#define OPTION_STDOUT "u"
#define OPTION_EVAL "e"
#define OPTION_THREADNUM "z"
#define OPTION_MAXHIT "v"
#define OPTION_MAXALN "b"
#define OPTION_QUERYTYPE ... | C++ | src/RAPSearch2/main.cpp | fw1121/Pandoras-Toolbox-for-Bioinformatics | gpl-3.0 | 8,232 | 265 | codeparrot/github-code |
a972da4d9a869ddcadf9c8c1f4a4520d76bee493ebff01b53424e0e78a946ee1 | {% extends "site_base.html" %}
{% load pagination_tags %}
{% load staticfiles %}
{% load url from future %}
{% load i18n %}
{% block title %} {% trans "Announcements" %} - {{ block.super }} {% endblock %}
{% block body_class %}maps{% endblock %}
{% block body_outer %}
<div class="col-md-12">
<ul class="nav nav-... | HTML | geonode/templates/announcements/announcement_list.html | mishravikas/geonode-permissions | gpl-3.0 | 2,069 | 56 | codeparrot/github-code |
c20e09cadadbe335d4ecef76abed457d978f4c59c1474240e5e3bbc8c6ef965a | # coding: utf-8
from rpy2.robjects import conversion
from rpy2.robjects import r
from rpy2.robjects import pandas2ri
from rpy2.robjects import default_converter
from rpy2.robjects.conversion import localconverter
from rpy2.rinterface import rternalize, StrSexpVector
from rpy2.robjects import globalenv
import pandas as... | Python | niamoto/data_publishers/r_data_publisher.py | niamoto/niamoto-core | gpl-3.0 | 4,420 | 131 | codeparrot/github-code |
38ff75be08f552fe6fe4dbba96731391e6b4009bf1607a3930f6aa2925f20ac6 | /*
Copyright 2009, 2010 SINTEF ICT, Applied Mathematics.
Copyright 2009, 2010 Statoil ASA.
This file is part of the Open Porous Media project (OPM).
OPM 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... | C++ | opm/porsol/common/Rock.hpp | bska/opm-upscaling | gpl-3.0 | 4,261 | 111 | codeparrot/github-code |
3c5f69f4e2c52f4cb4222f3e26a136369820cabd44f26f1fee6177131564a64b | /*
* Sone - NewPage.java - Copyright © 2013 David Roden
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Th... | Java | src/main/java/net/pterodactylus/sone/web/NewPage.java | hsaito/Sone | gpl-3.0 | 3,084 | 87 | codeparrot/github-code |
abc13a4a38e73e3d9ed1015bdec70cf52f753f72554d333e30829916b04bb1b9 | /*
* Copyright (C) 2003-2013 FreeIPMI Core 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 3 of the License, or
* (at your option) any later version.
*
* This prog... | C | bmc-config/bmc-config-lan-conf-misc-section.c | elitak/freeipmi | gpl-3.0 | 16,578 | 481 | codeparrot/github-code |
b498631a6561d7968365a3c264596bf531dd2a80dce1f2b0e09e6dc684728038 | package es.ucm.fdi.gmf.edd.diagram.edit.policies;
import java.util.Collections;
import java.util.List;
import org.eclipse.draw2d.ColorConstants;
import org.eclipse.draw2d.Figure;
import org.eclipse.draw2d.FigureListener;
import org.eclipse.draw2d.Graphics;
import org.eclipse.draw2d.IFigure;
import org.eclip... | Java | es.ucm.fdi.edd.gmf.diagram/src/es/ucm/fdi/gmf/edd/diagram/edit/policies/EddTextNonResizableEditPolicy.java | jsanchezp/e-edd | gpl-3.0 | 5,812 | 230 | codeparrot/github-code |
bf54dd7a94775e05c0d22d896d8211e67be1972738e1ee96ce56061f3e6ebac3 | # Copyright 2013 Allen Institute
# This file is part of dipde
# dipde is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# dipde is dis... | Python | dipde/examples/singlepop_exponential_distribution.py | AllenInstitute/dipde | gpl-3.0 | 2,322 | 68 | codeparrot/github-code |
2134bd1b07fd5662933d603a903a4c172e9b2d8568bd3fd26afa07815e8141ce | from pydare import DareSolver
import numpy
import unittest
class DareTestCase(unittest.TestCase):
def testIterative(self):
a = numpy.matrix([[0.0,0.1,0.0],\
[0.0,0.0,0.1],\
[0.0,0.0,0.0]])
b = numpy.matrix([[1.0,0.0], \
[0.0,0.0], \
[0.0,1.0]])
... | Python | test/daretest.py | cchamanEE/pydare | gpl-3.0 | 2,371 | 96 | codeparrot/github-code |
576dcc78d0b723deae0ffe15d81161932ec3dde78d2b9e6c84ef018f2c43fd1a | #!/usr/bin/perl -w
use strict;
my $file = shift;
open(FILE, $file)||die("Cannot open $file");
open(OUT, ">".$file.".clean")||die("Cannot open $file.clean");
my $count_good = 0;
my $count_bad = 0;
while (<FILE>)
{
my $line = $_;
my $flag = 0;
my $readid_5p;
my $seq5p;
my $readid_br1;
my $seqb... | Perl | scripts/simulations/remove_vars_with_Ns.pl | aylingm/metacortex | gpl-3.0 | 1,079 | 74 | codeparrot/github-code |
957558720d950b9a3be43dee062d1dedc710773475c5aff77b2cff8877af9422 | #pragma once
#include "eventwindow.h"
#include "sprite.h"
#include "text.h"
class MessageBoard final
{
enum TYPES // types of message board, with two buttons "yes" and "no" or button "ok"
{
EMPTY = 0,
YESNOACTIVE,
OKACTIVE
};
enum DECISION
{
NO_DECISION = 0,
YES,
NO,
OK
};
int active;
int decis... | C | states/editor/messageboard.h | Adriqun/Assassin-s-Genesis | gpl-3.0 | 867 | 51 | codeparrot/github-code |
1ba68d309a716672644ac01b14d683d63397edc113a9d943595538e86b19ce0f | using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class HarmScroll : SpellScroll
{
[Constructable]
public HarmScroll()
: this( 1 )
{
}
[Constructable]
public HarmScroll( int amount )
: base( 11, 0x1F38, amount )
{
}
public HarmScroll( Serial... | C# | Scripts/Distro/Items/Skill Items/Magical/Scrolls/Second Circle/HarmScroll.cs | xrunuo/xrunuo | gpl-3.0 | 660 | 41 | codeparrot/github-code |
6c16f90eac5aa78a1a8b8c3e4a075d4d090a34ec860d4dd594f891489d670203 | package org.smssecure.smssecure.database;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.text.TextUtils;
import android.util.Log;
import org.smssecure.s... | Java | src/org/smssecure/smssecure/database/MessagingDatabase.java | SilenceIM/Silence | gpl-3.0 | 5,477 | 169 | codeparrot/github-code |
a69cbc9ba492eb0b42e558993d29a938b59c4faa6cb2f39a6a9b38fd76d83b84 | package org.openmastery.publisher.api.metrics;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.openmastery.publisher.api.RelativePositionable;
import org.openmastery.publisher.api.event.Event;
... | Java | src/main/java/org/openmastery/publisher/api/metrics/SubtaskOverview.java | openmastery/ifm-publisher | gpl-3.0 | 1,207 | 58 | codeparrot/github-code |
aa1a3d74e01ce5c02d267346dee73cca7f6a339a2cea3d40842224c02ec6040b | /*
This file is part of HomeGenie Project source code.
HomeGenie is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
H... | C# | HomeGenie/Automation/Scripting/SchedulerHelper.cs | mudwump/HomeGenie | gpl-3.0 | 3,473 | 105 | codeparrot/github-code |
1222f9771f5c5e31c3e141177c0caafa199bbca916a6c1e665b8bec8e2a627f2 | cordova.define("cordova-plugin-admob-free.AdMob", function(require, exports, module) {
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var exec = _interopDefault(require('co... | JavaScript | platforms/android/platform_www/plugins/cordova-plugin-admob-free/www/admob.js | arael120/App-Beicor | gpl-3.0 | 18,236 | 717 | codeparrot/github-code |
4fe5573a74152428b59f570ba01747cc749d5686efa184bf49854516909bd36b | /*
===========================================================================
Doom 3 BFG Edition GPL Source Code
Copyright (C) 1993-2012 id Software LLC, a ZeniMax Media company.
Copyright (C) 2016-2017 Dustin Land
This file is part of the Doom 3 BFG Edition GPL Source Code ("Doom 3 BFG Edition Source Code").
Doom ... | C++ | neo/renderer/Vulkan/BufferObject_VK.cpp | raynorpat/RBDOOM-3-BFG | gpl-3.0 | 20,116 | 825 | codeparrot/github-code |
c8fd3cca7f68de0542328cf6077551c89a686b5788126b3bf252d8c1d04be351 | package org.freebus.fts.service.job.event;
import org.freebus.fts.service.job.Job;
import org.freebus.fts.service.job.JobQueue;
/**
* An event that gets sent by the {@link JobQueue} when something about
* a job happens.
*/
public final class JobQueueEvent
{
/**
* The job that is currently processed.
*/... | Java | freebus-fts-service/src/main/java/org/freebus/fts/service/job/event/JobQueueEvent.java | Paolo-Maffei/freebus-fts | gpl-3.0 | 1,369 | 63 | codeparrot/github-code |
b2f8b91225a8a12a2f8c0d908e1db1be20afc4ea3d491552338bf695a2913f26 | import alias as al
import copy
def labelling_semi_stable(af):
potential_semi_stables = []
def find_semi_stables(L):
for Ldash in potential_semi_stables:
if Ldash.undecargs <= L.undecargs:
return
illegal = False
for arg in L.inargs:
if L.framewor... | Python | alias/semantics/labellings/labelling_semi_stable.py | alias-org/alias | gpl-3.0 | 1,160 | 35 | codeparrot/github-code |
dade841cbb9bbb848b6772c97eb54a582e708f20a1e802dbce9d1f4382bd8a68 | /*
* pllInternal.h
*
* Created on: Feb 17, 2014
* Author: diego
*/
#ifndef PLLINTERNAL_H_
#define PLLINTERNAL_H_
#include "pll.h"
#include "genericParallelization.h"
#include "errcodes.h"
#include "lexer.h"
#include "parsePartition.h"
#include "mem_alloc.h"
//extern int lookupWord(char *s, stringHashtable... | C | src/pllInternal.h | mtholder/morpho-pll | gpl-3.0 | 14,617 | 263 | codeparrot/github-code |
c0e133b4f402354c927e7d0e7e13b47e870ae059c2d2c301c14fc0118fef3cb2 | /*!
* \file beidou_b1i_dll_pll_tracking.h
* \brief Interface of an adapter of a DLL+PLL tracking loop block
* for Beidou B1I to a TrackingInterface
* \author Sergi Segura, 2018. sergi.segura.munoz(at)gmail.com
*
* Code DLL + carrier PLL according to the algorithms described in:
* K.Borre, D.M.Akos, N.Bertelsen,... | C | src/algorithms/tracking/adapters/beidou_b1i_dll_pll_tracking.h | gnss-sdr/gnss-sdr | gpl-3.0 | 2,752 | 103 | codeparrot/github-code |
69065b3521223dc3718b005c6b57af75518190b1f119a4e802d206b6d5ffcece | /*****************************************************************************
*
* PROJECT: Multi Theft Auto v1.0
* LICENSE: See LICENSE in the top level directory
* FILE: game_sa/CWaterManagerSA.cpp
* PURPOSE: Control the lakes and seas
* DEVELOPERS: arc_
*
* Multi Theft Auto is avail... | C++ | MTA10/game_sa/CWaterManagerSA.cpp | vvc/mtasa-blue | gpl-3.0 | 32,251 | 892 | codeparrot/github-code |
37d32c9ff96e20cf792f16f351d83b2a72f0df83b486cb34edc1b233c03282d0 | // Copyright (c) 2011 Antonio J. Nebro, Juan J. Durillo
//
// This program 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 3 of the License, or
// (at your option) any later versio... | Java | src/org/um/feri/ears/problems/moo/functions/UP1_F2_2.java | UM-LPM/EARS | gpl-3.0 | 891 | 40 | codeparrot/github-code |
a5ee93d80034fc8ee1ed6d131076fbef0b8ee39b8e2b38899774c828e367cd71 | (function($){
$.fn.inboxTable = function( uid, displayusi, turnitintool_datatables_strings ) {
$.fn.dataTableExt.oStdClasses.sSortable = "header sort";
$.fn.dataTableExt.oStdClasses.sSortableNone = "header nosort";
$.fn.dataTableExt.oStdClasses.sSortAsc = "header asc";
$.fn.dataTable... | JavaScript | mod/turnitintool/scripts/inboxtable.js | thepurpleblob/gumoodle | gpl-3.0 | 9,505 | 151 | codeparrot/github-code |
74e634ae235893670cf2e8e85125bca3253df7a7749418475759e04faab4381e | #ifndef FERMICHOPPERMODELTEST_H_
#define FERMICHOPPERMODELTEST_H_
#include "MantidAPI/FermiChopperModel.h"
#include "MantidAPI/Run.h"
#include "MantidTestHelpers/ComponentCreationHelper.h"
#include <cxxtest/TestSuite.h>
#include <boost/make_shared.hpp>
class FermiChopperModelTest : public CxxTest::TestSuite {
type... | C | Framework/API/test/FermiChopperModelTest.h | wdzhou/mantid | gpl-3.0 | 6,384 | 183 | codeparrot/github-code |
4f72b7b7f95919622365ad90f40c76350878df3e9ee22e79dcdfcbab74a69d2d | using Nikse.SubtitleEdit.Core.Common;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
using System.Text.RegularExpressions;
namespace Nikse.SubtitleEdit.Core.SubtitleFormats
{
public class UnknownSubtitle25 : SubtitleFormat
{
//79.29 1.63
private ... | C# | src/libse/SubtitleFormats/UnknownSubtitle25.cs | SubtitleEdit/subtitleedit | gpl-3.0 | 4,646 | 125 | codeparrot/github-code |
04371132a2dcff74c90ba0ce3c50d6d35bcad83f6a60dfc62458f5b040f8ce44 | #include "LocalSocketScript.h"
#include <QBuffer>
#include <QDataStream>
#include <QLocalServer>
#include <QLocalSocket>
#include <QScriptEngine>
#include <QStringList>
#include <ui/Logger.h>
#include "MIFitScriptObject.h"
#ifdef _WIN32
#include <process.h>
#endif
LocalSocketScript::LocalSocketScript(QObject *parent)... | C++ | apps/MIFit/script/LocalSocketScript.cpp | mifit/mifit | gpl-3.0 | 3,075 | 105 | codeparrot/github-code |
b4f674df8798bbff19bc8c68d189231ca53a72ec52c4e4c9c16b5dd7f45b9d75 | /*
* eID Identity Provider Project.
* Copyright (C) 2010 FedICT.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License version
* 3.0 as published by the Free Software Foundation.
*
* This software is distributed in the hope that it will be... | Java | eid-idp-webapp/src/main/java/be/fedict/eid/idp/webapp/UserAgentUtil.java | charwliu/eid-idp | gpl-3.0 | 2,962 | 98 | codeparrot/github-code |
4ba0664939d3b6c95fc34f1d09c643aa6b44db268e4f68d6fdb2e6852de7d5fa | <?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 option) any later version.
*
* This program is distributed in the hope that it will... | PHP | wiki/maintenance/findOrphanedFiles.php | kylethayer/bioladder | gpl-3.0 | 4,353 | 156 | codeparrot/github-code |
646c92a69907be770d47577ef018e8a37fc3cfe8f6e8320d89b86afbfecc1fc7 | package net.minecraft.src;
import java.util.List;
public class ContainerDispenser extends Container
{
private TileEntityDispenser tileEntityDispenser;
public ContainerDispenser(IInventory par1IInventory, TileEntityDispenser par2TileEntityDispenser)
{
tileEntityDispenser = par2TileEntityDispenser;... | Java | mcp50/src/minecraft_server/net/minecraft/src/ContainerDispenser.java | sethten/MoDesserts | gpl-3.0 | 2,210 | 87 | codeparrot/github-code |
54fbf473211382528cc9acec5a8fe30a9bd3a926291d71cd14ed0a827bb6279f | /* pspp - a program for statistical analysis.
Copyright (C) 2007, 2009, 2011, 2012, 2013 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of... | C | src/libpspp/range-tower.c | student-t/PSPP | gpl-3.0 | 31,335 | 1,032 | codeparrot/github-code |
db386c8ed8a1f5d46f95e57024f6752a4f80d9e4ad1ba2ae29569b02a508cebe | function clear_inputs(node, new_node) {
var selects = $(node).find("select");
$(selects).each(function(i) {
var select = this;
$(new_node).find("select").eq(i).val($(select).val());
});
var inputs = $(node).find("input");
$(inputs).each(function(i) {
var input = this;
... | JavaScript | koha-tmpl/intranet-tmpl/prog/js/automatic_item_modification_by_age.js | BULAC/koha | gpl-3.0 | 3,897 | 126 | codeparrot/github-code |
314721bf29ced76f99255aa259c6162e363c9cf71724c05fea37e5977c485651 | package com.o3dr.services.android.lib.drone.mission;
import android.os.Bundle;
import android.os.Parcel;
import android.os.Parcelable;
import com.o3dr.services.android.lib.drone.mission.item.MissionItem;
import com.o3dr.services.android.lib.drone.property.DroneAttribute;
import java.io.Serializable;
import java.util... | Java | ClientLib/src/main/java/com/o3dr/services/android/lib/drone/mission/Mission.java | forgodsake/TowerPlus | gpl-3.0 | 2,773 | 101 | codeparrot/github-code |
8f6fe2131d80ce6c8e6285785cd168fb63a856fd0083ae1eab529c8eb9df493f | <?php
namespace App\Models;
use Framework\Application\Database\DbModel;
use Framework\Application\Database\DbProperty;
class Test extends DbModel
{
private $id;
private $test;
public function __construct()
{
parent::__construct();
}
public function setId($id)
{
$this->i... | PHP | App/Models/Test.php | PatrickFarnkopf/survey | gpl-3.0 | 755 | 44 | codeparrot/github-code |
6435033709ce28620c38dee291be3b9c0dc72fd2de100b05704cceec46a816ae | <?php
/**
* Ce fichier contient la classe Spip_documents_donnees.
*
* @copyright 2008 Gabriel Malkas
* @copyright 2010 Samuel Szoniecky
* @license "New" BSD License
*/
/**
* Classe ORM qui représente la table 'spip_documents_donnees'.
*
* @copyright 2014 Samuel Szoniecky
* @license "New" BSD License... | PHP | application/models/DbTable/Spip/documents_donnees.php | samszo/explagora | gpl-3.0 | 3,816 | 157 | codeparrot/github-code |
b199b1a62458dacbaf88cbefa63d31cb8d22d3152eaeb7e52be156db7b447ed2 | #include "asf_view.h"
#include "asf_import.h"
#include "get_ceos_names.h"
#include "asf_nan.h"
#include "asf_endian.h"
typedef struct {
FILE *fp;
int headerBytes;
int reclen;
int multilook;
} ReadCeosClientInfo;
static const char *data_type_as_str(data_type_t data_type)
{
switch (data_type) {
... | C | src/asf_view/read_ceos.c | rayhogenson/ASF_MapReady | gpl-3.0 | 12,478 | 399 | codeparrot/github-code |
b5191e7aea805e6c6ec75d147273d11f2e98ccfc7f3ba6d7ec1881632f5a9886 | package ch.difty.scipamato.core.web.user;
import static ch.difty.scipamato.core.entity.User.UserFields.*;
import java.util.ArrayList;
import java.util.List;
import de.agilecoders.wicket.core.markup.html.bootstrap.table.TableBehavior;
import de.agilecoders.wicket.extensions.markup.html.bootstrap.table.BootstrapDefaul... | Java | core/core-web/src/main/java/ch/difty/scipamato/core/web/user/UserListPage.java | ursjoss/sipamato | gpl-3.0 | 5,925 | 139 | codeparrot/github-code |
6d901d3727dcac481f894b4811e3863ba6d38a2b9c933d5f7fe174d06e12977c | // N-D Array manipulations.
/*
Copyright (C) 2004-2013 John W. Eaton
Copyright (C) 2009 VZLU Prague, a.s.
This file is part of Octave.
Octave is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of... | C++ | liboctave/array/intNDArray.cc | anooprh/GNU-Octave | gpl-3.0 | 6,135 | 297 | codeparrot/github-code |
1c4f4eb021bb4743bdb798b1dfd6659758da03fe20e7367b0e6636496132eb94 | using MetaLanguageParser.Parsing;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static MetaLanguageParser.Parsing.Adapter;
namespace MetaLanguageParser.MetaCode.TypeWriter
{
public class CSharp : TypeWriter
{
public override void wri... | C# | MetaLanguageParser/bin/Debug/MetaCode/TypeWriter/CSharp.cs | DennisWeyrauch/MetaLanguageParser | gpl-3.0 | 3,544 | 113 | codeparrot/github-code |
b3a6c0ab8d60e29b68a0c1e06f3e3a3f27ed2faa686064e543940b9d831e1d6d | #ifndef _ROS_mavros_msgs_GlobalPositionTarget_h
#define _ROS_mavros_msgs_GlobalPositionTarget_h
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include "ros/msg.h"
#include "std_msgs/Header.h"
#include "geometry_msgs/Vector3.h"
namespace mavros_msgs
{
class GlobalPositionTarget : public ros::Msg
{
... | C | sketchbook/libraries/ros_lib/mavros_msgs/GlobalPositionTarget.h | reinaldomaslim/Project_Bixi | gpl-3.0 | 5,806 | 158 | codeparrot/github-code |
518e767f8596fce42f173babe1373f45b62029fe8e6d7b0d668c6b07d3bab031 | #include "KSOS.h"
CTake_Data::CTake_Data(CSample_Data* pSampleThatOwnsThis)
{
msDescription = "";
msURL = "";
msLeft_Wave_File_Path = "";
msRight_Wave_File_Path = "";
msLeft_Peak_File_Path = "";
msRight_Peak_File_Path = "";
mpOwningSample = pSampleThatOwnsThis;
}
CTake_Data::~CTake_Data()
{
}
C... | C++ | Products/Koblo_Studio/trunk/source/DSP/CTake_Data.cpp | hirano/koblo_software | gpl-3.0 | 4,141 | 196 | codeparrot/github-code |
13374bc71f53640eec14fea184f8fe1a5f3b0c9f0e4294047496d3b04f978a59 | package rancraftPenguins.client;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.... | Java | rancraftPenguins/client/ModelPenguinLB.java | immediately/rancraftPeng164o | gpl-3.0 | 7,145 | 180 | codeparrot/github-code |
10e5d27e86d70b43e3fd4d018587aac5a6307a66a82bc8780b07220d4d003036 | (function () {
"use strict";
var generatorify = require('nodefunc-generatorify'),
path = require("path"),
childProcess = require('child_process');
var _spawn = childProcess.spawn;
var spawn = function(options, callbacks) {
options = options || {};
callbacks = callbacks ... | JavaScript | lib/process.js | jeswin/crankshaft-tools | gpl-3.0 | 1,401 | 49 | codeparrot/github-code |
067bc674f8d88b68c60ace3321c1466326c92c1c7a0e91760df40204a577de76 | use utf8;
package RPGCat::Schema::Result::Character;
use strict;
use warnings;
use Moose;
use MooseX::NonMoose;
use MooseX::MarkAsMethods autoclean => 1;
extends 'DBIx::Class::Core';
__PACKAGE__->table("characters");
__PACKAGE__->add_columns(
"character_id",
{data_type => "integer", extra => { unsigned => 1 }, ... | Perl | lib/RPGCat/Schema/Result/Character.pm | simonamor/rpgcat | gpl-3.0 | 2,625 | 86 | codeparrot/github-code |
f92565141d2e2b7e83db9656acd88a97a55cdf856357dc3233f70d7242203930 | <?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | PHP | library/Zend/Service/Twitter/Search.php | openfisma/openfisma | gpl-3.0 | 4,104 | 168 | codeparrot/github-code |
1d349e16476242a25c78f7e8fb6986a81ab1b3d56cd68933812734093d42e181 | package com.forgeessentials.commands.item;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Iterator;
import net.minecraft.command.CommandException;
import net.minecraft.command.ICommandSender;
import net.minecraft.enchantment.Enchantment;
import net.... | Java | src/main/java/com/forgeessentials/commands/item/CommandDechant.java | ForgeEssentials/ForgeEssentials | gpl-3.0 | 3,219 | 101 | codeparrot/github-code |
76a26689b6fa25209ae5f1bc0bc377aba1898a68c12fdaf5e85c7dccd1fba980 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace MessagingService
{
... | C# | Messaging/src/MessagingService/Startup.cs | oliv29/code2learn-messaging | gpl-3.0 | 2,090 | 63 | codeparrot/github-code |
0ec32bc5e5fde716419c52a0b4662731b51001490c24eaab54d014c364a93ca8 | <?php
/**
*
* This file is part of the phpBB Forum Software package.
*
* @copyright (c) phpBB Limited <https://www.phpbb.com>
* @license GNU General Public License, version 2 (GPL-2.0)
*
* For full copyright and license information, please see
* the docs/CREDITS.txt file.
*
*/
namespace phpbb\db\migration\data\v30x;
... | PHP | src/forum/phpbb/db/migration/data/v30x/release_3_0_4_rc1.php | monocasual/giada-www | gpl-3.0 | 3,606 | 130 | codeparrot/github-code |
ed920e3eef65cd7a03a78ae092a81497acb5687442e5a7b43ab301393517c9aa | /* uimedia.h: Disk media UI routines
Copyright (c) 2013 Alex Badea
Copyright (c) 2015 Gergely Szasz
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
... | C | fuse/ui/uimedia.h | libretro/fuse-libretro | gpl-3.0 | 3,128 | 91 | codeparrot/github-code |
efaf0564f8c30e74482b464822187872d3e5a5239467b6942273a245db52d87d | <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Log Gamma</title>
<link rel="stylesheet" href="../../math.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
<link rel="home" href="../../index.html" title="Math Toolkit 2.3.0">
<link rel="up... | HTML | thirdparty/sources/boost_1_60_0/libs/math/doc/html/math_toolkit/sf_gamma/lgamma.html | gwq5210/litlib | gpl-3.0 | 30,051 | 488 | codeparrot/github-code |
6616e621a7b57129588c3c31a9e8a799ecce04614ec154fece30cfb90bfd4647 | package org.baeldung;
import static io.restassured.RestAssured.preemptive;
import static org.apache.commons.lang3.RandomStringUtils.randomAlphabetic;
import static org.apache.commons.lang3.RandomStringUtils.randomNumeric;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import io... | Java | projects/tutorials-master/tutorials-master/spring-cloud/spring-cloud-rest/spring-cloud-rest-books-api/src/test/java/org/baeldung/RestApiLiveTest.java | Niky4000/UsefulUtils | gpl-3.0 | 5,635 | 155 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.