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 |
|---|---|---|---|---|---|---|---|---|
4254457f20f899f4b5017555edddc24be54b58bc4615c8eb80d1ea7ef1fac39d | using System.Collections.Generic;
using System.Linq;
using Rubberduck.Parsing.Symbols;
using Rubberduck.Parsing.VBA;
using Rubberduck.UI;
namespace Rubberduck.Inspections
{
public class WriteOnlyPropertyInspection : IInspection
{
public WriteOnlyPropertyInspection()
{
Severity = Cod... | C# | RetailCoder.VBE/Inspections/WriteOnlyPropertyInspection.cs | mjolka/Rubberduck | gpl-3.0 | 2,239 | 50 | codeparrot/github-code |
70219e8b0afe1439d95503611225ffd82294e9b1b9a33a0f81115ff8c1f8e654 | /*
* Copyright (c) 2012 Jakob Svensson
*
* This file is part of Avoidance.
*
* Avoidance 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... | Java | src/se/chalmers/avoidance/core/collisionhandlers/WallCollisionHandler.java | AftonTroll/Avoidance | gpl-3.0 | 5,223 | 173 | codeparrot/github-code |
b0592b2899f155ebb0ef79057b2e1f8da893bf2ac6c929ce9bcf5c67c3d33ba3 | package moe.ahao.spring.boot.swagger.controller;
import io.swagger.annotations.*;
import moe.ahao.spring.boot.swagger.entity.User;
import org.springframework.web.bind.annotation.*;
import java.util.Collections;
import java.util.List;
@RestController
@RequestMapping(value = "/users")
@Api(value = "没用的属性", tags = {"功能... | Java | ahao-spring-boot-swagger/src/main/java/moe/ahao/spring/boot/swagger/controller/UserController.java | Ahaochan/invoice | gpl-3.0 | 2,771 | 57 | codeparrot/github-code |
3e90361445544ea215432fab3ea166eb2a521141c6cfe0d055ca77f4aa509796 | #include "platform.h"
#include <iostream>
Platform::~Platform()
{
delete _player;
delete _listeObstaclesActifs;
}
Platform::Platform()
{
//gamestate
_gameState = NotInitialized;
_gameOver = false;
//level
_level = 1;
_levelup = false;
//liste d'obstacle
_listeObstaclesActifs = new Lis... | C++ | Projet-S2/Projet-S2/platform.cpp | scoremoregoals/Projet-S2-GEGI-P18 | gpl-3.0 | 14,046 | 538 | codeparrot/github-code |
3e057cd2540d3966078ccbd7535a0424a912507ddaf5f013bbb200338fd07798 | <?php
class Intraface_Controller_Index extends k_Component
{
protected $kernel_gateway;
protected $user_gateway;
protected $template;
protected $auth;
function __construct(k_TemplateFactory $template, Intraface_Auth $auth, Intraface_KernelGateway $gateway, Intraface_UserGateway $user_gateway)
{... | PHP | src/Intraface/Controller/Index.php | intraface/intraface.dk | gpl-3.0 | 2,116 | 67 | codeparrot/github-code |
2db5ce36c10ddbb3648f6a3820fa965f9849e4fe390af0fbb09a8d67c4a2a3b7 | #include "types.h"
#include "dns_error.h"
#define SIZEOFBYTE 1
SUBROUTINE IO_WRITE_SUBARRAY4(iflag_mode, fname, varname, DATA, sizes, work)
USE TLAB_TYPES, ONLY : subarray_dt
USE TLAB_CONSTANTS, ONLY : lfile
USE TLAB_VARS, ONLY : io_aux
USE TLAB_PROCS
IMPLICIT NONE
#ifdef USE_MPI
#include "mpif.h"... | FORTRAN | src/io/io_subarray.f90 | turbulencia/tlab | gpl-3.0 | 7,166 | 226 | codeparrot/github-code |
ac1dcb21dff63276bf30410a1631fb3ed61250c2db8ac501c86054ea556fccef | /*
* Copyright (C) Alexander Chuprynov <achuprynov@gmail.com>
* This file is part of solution of test task described in readme.txt.
*/
#include <iostream>
#include "server.h"
namespace simple_chat
{
void MessageQueue::PushMessageAndSignal(IncomingMessage * msg)
{
Lock l(m_mutex);
m... | C++ | SimpleChat/src/server.cpp | achuprynov/workspace | gpl-3.0 | 7,038 | 232 | codeparrot/github-code |
2a7640662ef0d618f914c389469f40330fd0f4f2e83734468d2d9a43995bb930 | /*
* This file is part of the PulseView project.
*
* Copyright (C) 2013 Joel Holdsworth <joel@airwebreathe.org.uk>
*
* 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 th... | C++ | pv/view/tracegroup.cpp | jhol/pulseview | gpl-3.0 | 5,477 | 229 | codeparrot/github-code |
c1cff428fde7be5490fa3517f0e477eb1920033bbc1f1b901c366283edd6eb69 | package de.rwth.idsg.steve.web.dto.ocpp15;
import de.rwth.idsg.steve.web.dto.common.MultipleChargePointSelect;
import lombok.Getter;
import lombok.Setter;
import ocpp.cp._2012._06.UpdateType;
import javax.validation.constraints.AssertTrue;
import javax.validation.constraints.NotNull;
import java.util.ArrayList;
impor... | Java | src/main/java/de/rwth/idsg/steve/web/dto/ocpp15/SendLocalListParams.java | RWTH-i5-IDSG/steve-plugsurfing | gpl-3.0 | 1,640 | 55 | codeparrot/github-code |
b7d5160e2c91a58368e616039605201860ab470211bec5d0c4f04892c1a446d1 | /*
* Copyright (c) 2013-2014, The Linux Foundation. All rights reserved.
* Not a Contribution.
*
* Copyright (C) 2012 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of ... | Java | services/core/java/com/android/server/BluetoothManagerService.java | OmniEvo/android_frameworks_base | gpl-3.0 | 79,048 | 1,880 | codeparrot/github-code |
95da92fe5a096bb3f512f2754aed03b37d3fc65d0be77d983f3553fa98295a91 | package com.keniobyte.bruino.minsegapp.features.police_report;
import android.Manifest;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.DatePickerDialog;
import android.app.ProgressDialog;
import android.app.TimePickerDialog;
import android.content.Context;
import android.content.Dialog... | Java | app/src/main/java/com/keniobyte/bruino/minsegapp/features/police_report/PoliceReportActivity.java | Keniobyte/PoliceReportsMobile | gpl-3.0 | 15,049 | 444 | codeparrot/github-code |
2539fbefb289fd1ee872a6d7485d021ab6438799974e234dbba7fbed1978b6bb | {% load dajaxice_templatetags %}
{% load absolute %}
<!DOCTYPE html>
<!--[if lt IE 7]> <html prefix="og: http://ogp.me/ns#" class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html prefix="og: http://ogp.me/ns#" class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html prefix="og:... | HTML | templates/base.html | jpesce/dataminas | gpl-3.0 | 5,202 | 109 | codeparrot/github-code |
69aa16a4ff000a8aa619a3139c11c66f00e07bd1c2ff8ee588c9af1be02c38fe | /*
* Copyright (C) 2011-2012 Free Software Foundation, Inc.
*
* Author: Nikos Mavrogiannopoulos
*
* This file is part of GnuTLS.
*
* The GnuTLS 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; e... | C | lib/x509/key_decode.c | frankmorgner/gnutls | gpl-3.0 | 7,829 | 288 | codeparrot/github-code |
e34f3ec79e460208b858d7886095e161905cfbf1b06c7c5335a2747e2b527739 | /*******************************************************************************
*
* Copyright (c) 2016 Fujitsu Services Ltd.
*
* Author: Nick Battle
*
* This file is part of VDMJ.
*
* VDMJ is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License a... | Java | vdmj/src/main/java/com/fujitsu/vdmj/runtime/Interpreter.java | nickbattle/vdmj | gpl-3.0 | 20,247 | 721 | codeparrot/github-code |
d362a56ca121be5300c806cf8b1fcb2e8cae161cab6f596686f971e39dc0b6c0 | package de.fhkn.in.uce.socketswitch;
import static org.junit.Assert.*;
import java.io.IOException;
import java.net.Socket;
import java.util.concurrent.TimeoutException;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import de.fhkn.in.uce.socketswitch.test.mocksocket.MockSocket;
... | Java | socketswitch/src/test/java/de/fhkn/in/uce/socketswitch/SwitchableSocketTest.java | htwg/SIPUCE | gpl-3.0 | 2,749 | 113 | codeparrot/github-code |
e6c1e0d3e2fcc0c0c93fd994e1fd0689288c8f2501572755a2e28d56e99bab24 | package org.shadowrun.models;
import javafx.beans.InvalidationListener;
import javafx.beans.Observable;
import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import org.apache.commons.lang3.Stri... | Java | src/main/java/org/shadowrun/models/Squad.java | Zaraka/GruntArbiter | gpl-3.0 | 1,273 | 48 | codeparrot/github-code |
f6ad2d4042a166ea358c0983ada7de3ca3d0c4084a787b668738f62b74d95d29 | /*
* Created on 4.3.2004
*/
package is.idega.idegaweb.golf.tournament.presentation;
import is.idega.idegaweb.golf.access.AccessControl;
import is.idega.idegaweb.golf.entity.Field;
import is.idega.idegaweb.golf.entity.Member;
import is.idega.idegaweb.golf.entity.Scorecard;
import is.idega.idegaweb.golf.entity.Startin... | Java | src/is/idega/idegaweb/golf/tournament/presentation/TournamentCreator.java | idega/platform2 | gpl-3.0 | 56,131 | 1,193 | codeparrot/github-code |
46dc544f05cb3c0ee5b2b379839df3e13ab4830df981420021232d9ec2523e8b | package kai.twitter.voice;
import android.app.ProgressDialog;
import android.content.Context;
import android.net.Uri;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.util.Log;
import android.webkit.WebView;... | Java | TwitterVoice/src/main/java/kai/twitter/voice/LoginActivity.java | Kjwon15/bluebirdradio | gpl-3.0 | 4,663 | 133 | codeparrot/github-code |
bd2801e876c650caf8ab60de0a4a7a2d4b721a3f5e536852f932bcfe215e9f81 | package ro.bfc.cpee.Controllers;
import android.content.Intent;
import android.net.Uri;
import ro.bfc.cpee.models.CPEEDocument;
import ro.bfc.cpee.models.County;
import ro.bfc.cpee.models.NivelEnergie;
import ro.bfc.cpee.models.Price;
import ro.bfc.cpee.models.Total;
import ro.bfc.cpee.utils.CollectionUtils;
import r... | Java | Android/CPEE/app/src/main/java/ro/bfc/cpee/Controllers/MainActivityController.java | volmok/CPEE | gpl-3.0 | 3,247 | 101 | codeparrot/github-code |
8628328330d15c4f771c03f30cc653f99ace9c914b390fc81a6f376dd9725080 | /*
* TASK: For a given binary tree whose keys are integer values and an integer
* value V, determine all paths in the tree such that the sum of their
* keys is V. Here, a tree path is any downward list of nodes, i.e., the
* first node in the path is the one closest to root, and every edge on
* ... | C++ | chapter04/4.08/solve.cpp | dassencio/cracking-the-coding-interview | gpl-3.0 | 6,573 | 226 | codeparrot/github-code |
91b7e3255dc59503f21d018274eac0375c75016813994f1775641d3f27f8acb6 | #ifndef FILESCOMBOBOXMODEL_H
#define FILESCOMBOBOXMODEL_H
#include "datahash.h"
#include <QAbstractItemModel>
#include <vector>
class FilesComboBoxModel : public QAbstractItemModel
{
public:
class Item {
public:
const QString path;
const QString id;
const DataHash hash;
Item(const QString &path, ... | C | src/filescomboboxmodel.h | echmet/CEval | gpl-3.0 | 4,092 | 201 | codeparrot/github-code |
a3435a0cb5ecb5fe015ea00fbe88b615d511dde24f234405e54a308783e80fe0 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package Fatw;
import Case.cas;
import java.io.Serializable;
import javax.persistence.CascadeType;
import javax.persistence.Column;
imp... | Java | src/main/java/Fatw/fatwa.java | boudjaamaa/IslamicfinanceOntology | gpl-3.0 | 3,044 | 157 | codeparrot/github-code |
4d4bb2113185addbcbcee4b3a3d5219855fea0cba4ad514425887b7d5590ef8d | # $Id$
# installer for pmon
# Copyright 2014 Matthew Wall
from setup import ExtensionInstaller
def loader():
return ProcessMonitorInstaller()
class ProcessMonitorInstaller(ExtensionInstaller):
def __init__(self):
super(ProcessMonitorInstaller, self).__init__(
version="0.2",
na... | Python | extensions/pmon/install.py | sai9/weewx-gitsvn | gpl-3.0 | 1,514 | 41 | codeparrot/github-code |
ffdc1d542b66e3d68e468c3671ce7e2b066065808cb9b1dfc5b8fea1472d424c | /**
* Copyright 2012 Luka Obradovic.
*/
/**
* This file is part of TMDb API support for JAVA - tmdb4j.
*
* TMDb API support for JAVA - tmdb4j 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 versi... | Java | src/main/java/com/soulware/tmdb4j/beans/model/MovieBean.java | robosoul/tmdb4j | gpl-3.0 | 11,690 | 501 | codeparrot/github-code |
94356a4090c17b0f672259e543ec45d5c3db64c4149a65763931cda7c6d9b904 | package mediathek.tool.models;
import mediathek.daten.DatenFilm;
import mediathek.tool.FilmSize;
import mediathek.tool.datum.DatumFilm;
import javax.swing.table.AbstractTableModel;
import java.util.ArrayList;
import java.util.List;
public class TModelFilm extends AbstractTableModel {
private static final int COL... | Java | src/main/java/mediathek/tool/models/TModelFilm.java | mediathekview/MediathekView | gpl-3.0 | 3,942 | 118 | codeparrot/github-code |
b40f3b90615e5c7c5724c2a576e12e714805be37707df766b7afd4b4d42e678c | from django.core.cache import cache
from django.conf import settings
from django.template.loader import render_to_string
from tendenci.apps.navs.cache import NAV_PRE_KEY
def cache_nav(nav, show_title=False):
"""
Caches a nav's rendered html code
"""
keys = [settings.CACHE_PRE_KEY, NAV_PRE_KEY, str(n... | Python | tendenci/apps/navs/utils.py | alirizakeles/tendenci | gpl-3.0 | 866 | 36 | codeparrot/github-code |
cc687c18e8eb31dd1e1ca87345ef752ddedff1c4141e9cecede866a33297e88d | <?php
/*
* This file is part of Corplms LMS
*
* Copyright (C) 2010 onwards Corplms Learning Solutions LTD
* Copyright (C) 1999 onwards Martin Dougiamas
*
* 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... | PHP | corplms/plan/rb_sources/rb_source_dp_plan.php | mahalaxmi123/moodleanalytics | gpl-3.0 | 13,172 | 405 | codeparrot/github-code |
b448c36a536e9feb3870efc98e4f47a55ba5608d91606bf84e775c99e67b6433 | #!/bin/sh
# -----------------------------------
# Lookup host address
# -----------------------------------
# Copyright (c) 2014, Servoyant, LLC
# -----------------------------------
ARGC=$#
if [ $ARGC -eq 0 ]; then
echo "UNK::0::Missing parameter"
exit
fi
HOST=$1
NSLOOKUP=$(command -v nslookup)
if [ -z... | Shell | scripts/TCP_Nslookup.sh | hannunehg/linux-profiler | gpl-3.0 | 967 | 43 | codeparrot/github-code |
4b9d41ff4747e715ec7467e842b6a66b2dcfcef7ef2ee64b5ecea2bc4501deb2 | /**********************************************************************
****** GNU GPL ********************************************************
Copyright 2011 Pierre Gradot
This file is part of DiskDB.
DiskDB is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License ... | C | Projet/headers/myWelcomeTab.h | Bktero/DiskDB | gpl-3.0 | 1,372 | 50 | codeparrot/github-code |
0d8b99c9f639e45bbd59e65efa4f8e64b3cf44e44269bcee39da1cd16c19b6be | package de.kueken.ethereum.party.publishing;
// Start of user code ShortBlogTest.customImports
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import java.util.concurrent.CompletableFuture;
import org.adridadou.ethereum.propeller.keystore.A... | Java | src/test/java/de/kueken/ethereum/party/publishing/ShortBlogTest.java | KuekenPartei/party-contracts | gpl-3.0 | 4,929 | 166 | codeparrot/github-code |
ed96ff9fec209f6425a788ae152aa6209fdf1c20c82b9dab5089309b017dc3d8 | # Copyright (c) Microsoft Corporation. All rights reserved.
# {FileName} {Version} {DateTime}
# {BuildRepo} {BuildBranch} {BuildType}-{BuildArchitecture}
#requires -Version 4.0
<#
.SYNOPSIS
Installs MySQL Servers for the Microsoft.MySql resource provider agent.
.DESCRIPTION
Installs MySQL Servers by downloadin... | PowerShell | Templates/MySQL/MySql.Setup.CustomScriptExtension.ps1 | alainv-msft/Azure-Stack | gpl-3.0 | 9,842 | 264 | codeparrot/github-code |
932cea9abae6ef5ce6bd88907d98355984441981493493ab5778913d71d8dcbc | package com.nianticproject.ingress.i;
import com.google.a.a.ak;
import com.google.a.a.an;
import com.google.a.a.br;
import com.google.a.c.dc;
import com.google.a.c.dh;
import com.nianticproject.ingress.gameentity.components.portal.PhotoStreamInfo;
import com.nianticproject.ingress.shared.portal.PlayerPortalImage;
impo... | Java | apk/classes-ekstartk/com/nianticproject/ingress/i/a.java | isnuryusuf/ingress-indonesia-dev | gpl-3.0 | 4,031 | 131 | codeparrot/github-code |
ff8bbd5303c7128207dd5e9b0827de14b59491cb068e5bae14d522fa45c6a573 | Ext.define('Healthsurvey.view.usermanagement.roles.AddNewRolesController', {
extend : 'Ext.app.ViewController',
alias : 'controller.newRolesController',
defaultMenuStore:null,
init:function()
{
this.initializeDragZone();
},
afterAllFeatureTreeRender:function()
{
debugger;
var currentObject = th... | JavaScript | healthsurvey/src/main/webapp/app/view/usermanagement/roles/AddNewRolesController.js | applifireAlgo/appApplifire | gpl-3.0 | 12,519 | 412 | codeparrot/github-code |
799dc261190c2310ea2475cf08f20ad9d05bc3f5dc05e8903676dd6ab7e3884c | /*--------------------------------------------------------------------------------+
- Dateiname: app/proxy/Proxy.js
- Beschreibung: JsonP Proxy
- Autor(en): Andreas Gärtner <andreas.gaertner@hotmail.com>
+--------------------------------------------------------------------------------+
This program is free ... | JavaScript | app/proxy/Proxy.js | thm-projects/ilias-flashcards | gpl-3.0 | 8,123 | 224 | codeparrot/github-code |
e431a93ea7b9e5d32f3ec7cf49fa4ba4f39786fc964248806a3d7163bbb4bb9e | /*
* Copyright (c) 2010 The Jackson Laboratory
*
* This 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 software is d... | Java | src/java/org/jax/gwtutil/client/MessageType.java | cgd/gwt-client-util | gpl-3.0 | 3,358 | 155 | codeparrot/github-code |
64136a38c6a0d7981ce3e790ab26daa88f7c01f9aa26ba1408bd72e13d311414 | # Author: Nic Wolfe <nic@wolfeden.ca>
# URL: http://code.google.com/p/sickbeard/
#
# This file is part of Sick Beard.
#
# Sick Beard 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 t... | Python | sickbeard/providers/generic.py | vertigo235/Sick-Beard-XEM | gpl-3.0 | 15,171 | 425 | codeparrot/github-code |
65d0dada955c6d733283996a8dab576d6ad01fac51cd50093234a9d43a40ce4c | /* ------------------------ FreeRTOS includes ----------------------------- */
#include "FreeRTOS.h"
#include "task.h"
#include "semphr.h"
/* ------------------------ lwIP includes --------------------------------- */
#include "api.h"
/* ------------------------ Project includes ------------------------------... | C | Referencias/TWR-MCF51CN SW/Sources/APPLICATIONS/FTP Server/ftp_server.c | patriciobos/TpFinal | gpl-3.0 | 18,813 | 666 | codeparrot/github-code |
62bbd21335f1ce8394cb1cf14d003f4051165428847eba80f99582300e98a93e | using System;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.Owin;
using Microsoft.Owin.Security;
using BarterBuddy.Presentation.Web.Models;
namespace BarterBuddy.Presentation.Web.Controllers
{
[Authorize]
... | C# | BarterBuddy.Presentation.Web/Controllers/ManageController.cs | theneem/BarterBuddy | gpl-3.0 | 14,156 | 389 | codeparrot/github-code |
ec93604f44e393cf99281fee6e6e8bcae702b1ccd9b6c4d95444b27d0f2f57fe | import * as React from "react";
import { connect } from "react-redux";
import { Link } from "react-router"
import * as MediaQuery from "react-responsive"
import DashboardContainer from "../../containers/dashboard/dashboardContainer"
import PresentationContainer from "../../containers/dashboard/presentationContainer"
i... | TypeScript | src-hmi/src/views/sessionQuiz/sessionQuizView.tsx | projet-aaa/platform | gpl-3.0 | 2,204 | 66 | codeparrot/github-code |
b358bd583cf47044262a39dede57ff060e8bdccab11f2e972744e99420013562 | // Copyright (c) William Whitty 2010
//
// This file is part of GSC.
//
// GSC 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 opt... | C++ | source/network/tcp/tcp.cpp | tavurth/gamesavvycplusplus | gpl-3.0 | 1,836 | 62 | codeparrot/github-code |
9802d6d5fbc6849d916dfb2c933cf8a71356c3e11ab27b5c10bf3714fda161fb | <?php
/**
* Piwik - free/libre analytics platform
*
* @link http://piwik.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*
*/
namespace Piwik;
use Exception;
use Piwik\DataAccess\LogQueryBuilder;
use Piwik\Plugins\API\API;
use Piwik\Segment\SegmentExpression;
/**
* Limits the set of vis... | PHP | core/_nondrupal/piwik/core/Segment.php | bigwhirled/elmsln | gpl-3.0 | 9,004 | 270 | codeparrot/github-code |
6804e93cd8577185214adf245432516676c04c9ad7aa6a94f15d965665ce6965 | /* PSP - Phoenix Serial Protocol
Inspired by uBlox serial protocol and multiwii serial protocol
Data structure is subject to change without further notice.
Protocol data structure:
[SYNC1][SYNC2][CODE][LENGTH_L][LENGTH_H][DATA/DATA ARRAY][CRC]
*/
extern "C" {
#include "board.h"
}
#in... | C++ | src/SerialCommunication.cpp | cTn-dev/Phoenix-STM32 | gpl-3.0 | 8,201 | 289 | codeparrot/github-code |
ba58af20ac69caebf5d9f5ca52acf548e12171f43ff7b3970b689adae0575653 | <?php
namespace Qazana;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
/**
* Qazana select2 control.
*
* A base control for creating select2 control. Displays a select box control
* based on select2 jQuery plugin @see https://select2.github.io/ .
* It accepts an array in which the `key` i... | PHP | includes/editor/controls/select2.php | FrankM1/qazana | gpl-3.0 | 2,537 | 91 | codeparrot/github-code |
fa39b117aeb82cbe4e45e9a2fc3e12897cfa50fb9129856870240279dceacc10 | package is.idega.idegaweb.egov.bpm.cases;
import is.idega.idegaweb.egov.cases.business.CasesBusiness;
import is.idega.idegaweb.egov.cases.data.GeneralCase;
import java.io.Serializable;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.faces.component.UIComponent;
import javax.faces.contex... | Java | src/java/is/idega/idegaweb/egov/bpm/cases/CasesBPMProcessView.java | idega/is.idega.idegaweb.egov.bpm | gpl-3.0 | 15,747 | 579 | codeparrot/github-code |
936d4ed61beea34ae87652737538c1f3f4450fda518987a1f6fd08b7e4e6f0cc | module DataView
class Table
ALL = :all
NONE = :none
attr_reader :cell_presenters, :data
# Initializes Table view (presenter?)
# @param [Brewery::DataTable] Data table to be rendered
def initialize(data_table)
@columns = {}
@data = data_table
@cell_presenters = []
... | Ruby | lib/data_view/table.rb | Stiivi/vvo-reports | gpl-3.0 | 4,622 | 159 | codeparrot/github-code |
bc95e3a9e08a269b01388f5c94f58e7dc397a002eccd587e257a0915c848ec80 | <?php
/**
* @package Arastta eCommerce
* @copyright Copyright (C) 2015 Arastta Association. All rights reserved. (arastta.org)
* @credits See CREDITS.txt for credits and other copyright notices.
* @license GNU General Public License version 3; see LICENSE.txt
*/
class ControllerCatalogDo... | PHP | admin/controller/catalog/download.php | LinuxJedi/arastta | gpl-3.0 | 23,099 | 594 | codeparrot/github-code |
01f09d960df9d3c3e1cf8a696bba1ba7a8967e0aaa1e7416c3b23e39579e31f3 | /*
* This file is part of the User Module library.
* Copyright (C) 2014 Jaroslav Brtiš
*
* User Module 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 3 of the License... | Java | core/src/main/java/com/jardoapps/usermodule/containers/SocialAccountDetails.java | Jardo-51/user_module | gpl-3.0 | 1,500 | 58 | codeparrot/github-code |
4f11c1bf7d1469f96056ebce94adb52ff63b10a349b8bf9f9b6a5dfbd060e6ec | /*
* This file is part of joinparty, a joinmarket compatible taker
* client built on libbitcoin.
*
* Copyright (C) 2016-2017 Joinparty (joinparty@protonmail.com)
*
* Joinparty is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published
* by the Fr... | C++ | include/joinparty/block_cypher_client.hpp | joinparty/joinparty | gpl-3.0 | 2,299 | 78 | codeparrot/github-code |
9758cdfccebe3c3b0bae7757712bd8793e79910749185aa3540773dbe8fc9da3 | import { key, CustomLocale } from "../types/locale";
import { Arabic as ar } from "./ar";
import { Bulgarian as bg } from "./bg";
import { Bangla as bn } from "./bn";
import { Catalan as cat } from "./cat";
import { Czech as cs } from "./cs";
import { Welsh as cy } from "./cy";
import { Danish as da } from "./da";
imp... | TypeScript | assets/js/calendar/flatpickr-l10n/index.ts | FreePBX/calendar | gpl-3.0 | 2,279 | 105 | codeparrot/github-code |
4bcb2867340d34a33e7850207c970c7cd5b752c34f122e258eae8ff1e2c844d5 | // Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) braces deadcode fieldsfirst
package net.minecraft.src;
import java.io.*;
import java.util.zip.GZIPInputStream;
import java.util.zip.GZIPOutputStream;
// Referenced cla... | Java | mcp50/temp/src/minecraft/net/minecraft/src/CompressedStreamTools.java | sethten/MoDesserts | gpl-3.0 | 4,390 | 156 | codeparrot/github-code |
704d88ab15569d6d356d83ece5a2d53fbb9c90089426d77ff57103cfd50bb65d | /**
* This file is part of Arglyzer.
*
* Copyright (c) 2015 Juan Jose Salazar Garcia jjslzgc@gmail.com
*
* Arglyzer 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, ... | C | src/result.c | j2sg/arglyzer | gpl-3.0 | 1,976 | 79 | codeparrot/github-code |
99e6c5c08fb7b742b9f8e641d93a0b57664d3da45dd181cfc5350773dab3ae1f | class ApplicationController < ActionController::Base
include ActionView::Helpers::TextHelper
protect_from_forgery
force_ssl
helper :all # include all helpers, all the time
helper_method :my_pins
helper_method :init_chats
private
before_filter :set_locale
def auth_user
redirect_to... | Ruby | app/controllers/application_controller.rb | duhajo/duhajo | gpl-3.0 | 702 | 33 | codeparrot/github-code |
fe1d22afe497937ddd74fc8f9a47c21931a707345f37ecded97a5286aa107298 | /*******************************************************************************
Eurecom OpenAirInterface
Copyright(c) 1999 - 2012 Eurecom
This program is free software; you can redistribute it and/or modify it
under the terms and conditions of the GNU General Public License,
version 2, as published by the ... | C | openair3/OPENAIRMME/S1AP/s1ap_mme_encoder.c | mspublic/openair4G-mirror | gpl-3.0 | 8,652 | 214 | codeparrot/github-code |
aa3eb93d6b387c5d3a816ff2a8d920413f3f51815de1e9c64eea11a8c6eae249 | // Lisimba
// Copyright (C) 2007-2016 Dust in the Wind
//
// 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.
//... | C# | sources/Lisimba.LisimbaGate/Entities/ContactEntity.cs | lastunicorn/Lisimba | gpl-3.0 | 2,789 | 87 | codeparrot/github-code |
6149471c97969c200e3670e793bd1e50100fda56f2bd30712311b3ebaedd8a59 | /*
===========================================================================
Copyright (c) 2010-2012 Darkstar Dev Teams
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 versio... | C++ | src/map/packets/bazaar_close.cpp | Laterus/Darkstar-Linux-Fork | gpl-3.0 | 1,214 | 39 | codeparrot/github-code |
3ee3fbd1feb7bd06d9255c9ce4fac62561c6710b31447cb37c0b5d1c42cdc1ac | --
-- Name: i2b2_bulk_add_search_term(bigint); Type: FUNCTION; Schema: tm_cz; Owner: -
--
CREATE FUNCTION i2b2_bulk_add_search_term(currentjobid bigint DEFAULT NULL::bigint) RETURNS void
LANGUAGE plpgsql
AS $_$
DECLARE
/*************************************************************************
* Copyright 2008-... | SQL | ddl/postgres/tm_cz/functions/i2b2_bulk_add_search_term.sql | transmart/transmart-data | gpl-3.0 | 5,787 | 186 | codeparrot/github-code |
0ea4e9dc9d08ff7e7d9e67c79abbae44fbcd256ffd2f3f4e44cea0b1678b9730 | \hypertarget{namespacec_1_1_classify}{}\section{c.\+Classify Namespace Reference}
\label{namespacec_1_1_classify}\index{c.\+Classify@{c.\+Classify}}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item
class \hyperlink{classc_1_1_classify_1_1_classify}{Classify}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begi... | TeX | c/latex/namespacec_1_1_classify.tex | jlettvin/Unicode | gpl-3.0 | 1,674 | 42 | codeparrot/github-code |
8fa7ad5487f87700331cf596f1a7ffabc79b07ea5010fae1b2b3aec888b64bb7 | /*
* Copyright (C) 2019-2020 Alexandre Carbenay
*
* This file is part of Cena Project.
*
* Cena Project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public
* License as published by the Free Software Foundation, either version 3 of the License, or (at your option) ... | Java | src/main/java/org/adhuc/cena/menu/ingredients/IngredientConsultationImpl.java | adhuc-projects/cena | gpl-3.0 | 1,516 | 50 | codeparrot/github-code |
8fb063d15db20d34ce52473847f086929285444572b967d43358d46fc0c875c8 | <?php
include_once $include_prefix.'lib/image.functions.php';
include_once $include_prefix.'lib/url.functions.php';
include_once $include_prefix.'lib/common.functions.php';
/**
* Set player details.
*
* @param int $playerId
* @param int $number
* @param string $fname
* @param string $lname
* @param ... | PHP | lib/player.functions.php | lyoshenka/ultiorganizer | gpl-3.0 | 23,240 | 670 | codeparrot/github-code |
0aaa1d530a0d83a62548ebe263811eae68c51cc83e5970497281de421bc4b256 | <?php
trait Vindi_Subscription_Trait_PaymentProcessor
{
/**
* @param string $paymentAction
* @param object $stateObject
*
* @return bool|Mage_Payment_Model_Method_Abstract
*/
public function initialize($paymentAction = null, $stateObject)
{
if (is_null($paymentAction)){
return;
}
if ($this->chec... | PHP | app/code/community/Vindi/Subscription/Trait/PaymentProcessor.php | vindi/vindi-magento | gpl-3.0 | 11,233 | 425 | codeparrot/github-code |
a980a70e30f9def22d9462f3e7b6c91daabd94d273a15ef5b734492ede3d5222 | <?php
/**
*
* @package mahara
* @subpackage blocktype-profileinfo
* @author Catalyst IT Ltd
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL version 3 or later
* @copyright For copyright information on Mahara, please see the README file distributed with this software.
*
*/
defined('INTERNAL')... | PHP | htdocs/artefact/internal/blocktype/profileinfo/lib.php | sdc/mahara | gpl-3.0 | 12,368 | 307 | codeparrot/github-code |
813f21662aefaabae2f8eca2c9d23176eef65b2f37345a17c48febaade4e9546 | /*!
pl-sql-client - Query many database at once
Copyright (C) 2015 Kyle Ilantzis, Pier-Luc Caron St-Pierre
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 Li... | JavaScript | src/js/stores/SettingsStore.js | kyle-ilantzis/pl-sql-client | gpl-3.0 | 2,879 | 135 | codeparrot/github-code |
204287f1a2bdf08b3a24254bf75e36a18ef39c28fa0966c9d71757bf4fffcfa2 | var Phaser = Phaser || {};
var Mst = Mst || {};
Mst.BootState = function () {
"use strict";
Phaser.State.call(this);
};
Mst.prototype = Object.create(Phaser.State.prototype);
Mst.prototype.constructor = Mst.BootState;
Mst.BootState.prototype.init = function (map_int, usr_id) {
"use strict";
var d = new Date... | JavaScript | mst/js/states/BootState.js | oremir/Mst | gpl-3.0 | 1,903 | 68 | codeparrot/github-code |
6d396aec537e7889697e0705bda3698d54e0f57858d66d8831a9f990a155746d | <?php
namespace mod_turnitintooltwo\event;
/*
* Log event when
*/
defined('MOODLE_INTERNAL') || die();
class list_submissions extends \core\event\base {
protected function init() {
$this->data['crud'] = 'r'; // c(reate), r(ead), u(pdate), d(elete)
$this->data['level'] = self::LEVEL_PARTICIPATIN... | PHP | mod/turnitintooltwo/classes/event/list_submissions.php | roelmann/uswmoodle | gpl-3.0 | 2,001 | 64 | codeparrot/github-code |
3843ed2a5eb779c4fbd2e8c9c5a7e6a94bd2ec8b232abcae48eaaaadb5b6ab3a | #include "common/platform.h"
#include <cassert>
#include <cstdlib>
#include <cstring>
#include <algorithm>
#include "master/hstring_memstorage.h"
using namespace hstorage;
#if !defined(NDEBUG) || defined(LIZARDFS_TEST_POINTER_OBFUSCATION)
std::set<char *> *MemStorage::debug_ptr_ = nullptr;
#endif
bool MemStorage:... | C++ | src/master/hstring_memstorage.cc | lizardfs/lizardfs | gpl-3.0 | 2,207 | 90 | codeparrot/github-code |
9b120ffa7bd059b47e86b94eaf5c9ccc3cccf417dccd7ded2dced20a0ad1f2fe |
uint8_t USBPutChar(uint8_t c);
// press() adds the specified key (printing, non-printing, or modifier)
// to the persistent key report and sends the report. Because of the way
// USB HID works, the host acts like the key remains pressed until we
// call release(), releaseAll(), or otherwise clear the report and re... | C++ | converter/src/Keyboard_end.cpp | Random1984/malduino_scripts | gpl-3.0 | 2,796 | 105 | codeparrot/github-code |
f9e2799e2d36203314fb7de43d541d04ba58f3f17421d6592e75301c0ea5ca8e | package ar.com.dcsys.model;
import java.util.List;
import javax.inject.Inject;
import ar.com.dcsys.data.document.Document;
import ar.com.dcsys.data.document.DocumentDAO;
import ar.com.dcsys.exceptions.DocumentException;
public class DocumentsManagerBean implements DocumentsManager {
private final DocumentDAO docu... | Java | document/documentModel/src/main/java/ar/com/dcsys/model/DocumentsManagerBean.java | pablodanielrey/java | gpl-3.0 | 1,041 | 47 | codeparrot/github-code |
f05aeb75046c85e254112bd5ac7e72b5a26fa60c675857a14408b5b016a0e9d1 | <?php
require_once(INCLUDE_DIR . 'class.auth.php');
class StaffVatsimAuthentication extends StaffAuthenticationBackend {
static $name = "VATSIM Authentication";
static $id = "vatsimuk";
function supportsInteractiveAuthentication() {
return false;
}
function signOn() {
$config = ... | PHP | authenticate.php | A-Lawrence/VatsimOSTicketAuth | gpl-3.0 | 8,368 | 213 | codeparrot/github-code |
2429c12d1abca0cb379e3f067a1d137e17c8e3ef661cd08162f9dde3ef630554 | /*
* g711.c
*
* u-law, A-law and linear PCM conversions.
*/
//#include "stdafx.h"
#include <stdio.h>
#include "g711.h"
#define SIGN_BIT (0x80) /* Sign bit for a A-law byte. */
#define QUANT_MASK (0xf) /* Quantization field mask. */
#define NSEGS (8) /* Number of A-law segments. */
#define SEG_SHIFT (4) /* L... | C++ | g711.cpp | superlucky8848/splib_Quality_for_AuLaw | gpl-3.0 | 6,527 | 265 | codeparrot/github-code |
0d187533e724cda97f8fb00a152bc21a0feb98805c2a6dff081aedc5080e7b75 | package br.org.otus.security.services;
import br.org.otus.security.context.SecurityContext;
import br.org.otus.security.context.SessionIdentifier;
import br.org.otus.security.dtos.JWTClaimSetBuilder;
import com.nimbusds.jose.JOSEException;
import com.nimbusds.jose.JWSAlgorithm;
import com.nimbusds.jose.JWSHeade... | Java | source/otus-business/src/main/java/br/org/otus/security/services/SecurityContextServiceBean.java | ccem-dev/otus-api | gpl-3.0 | 2,414 | 83 | codeparrot/github-code |
07d50048a2ceeab458c395494267850f4da21feec397a54248137844e49dbc6c | // ReSharper disable All
using System.Collections.Generic;
using System.Data;
using System.Dynamic;
using System.Linq;
using MixERP.Net.DbFactory;
using MixERP.Net.EntityParser;
using MixERP.Net.Framework;
using MixERP.Net.Framework.Extensions;
using Npgsql;
using PetaPoco;
using Serilog;
namespace MixERP.Net.Schemas.... | C# | src/Libraries/DAL/Policy/EntityAccess.cs | gguruss/mixerp | gpl-3.0 | 32,236 | 723 | codeparrot/github-code |
4653c86f29170338cba8729e0ad210703212ea1f99baea85cfc3ff681f5882e3 | /***************************************************************************
net.cpp - basic class for network support
-------------------
begin : Thu Oct 26 2000
copyright : (C) 2000 by Franck Ladurelle
email ... | C++ | src/partimage-0.6.7/src/shared/net.cpp | Hackworth/FOG | gpl-3.0 | 3,266 | 124 | codeparrot/github-code |
8438047fa459595ef35b2863568dff3d09397da220a786a33d701330b83aa840 | /*
Unix SMB/CIFS implementation.
Wrapper for krb5_init_context
Copyright (C) Andrew Bartlett <abartlet@samba.org> 2005
Copyright (C) Andrew Tridgell 2005
Copyright (C) Stefan Metzmacher 2004
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General... | C | source4/auth/kerberos/krb5_init_context.c | kernevil/samba | gpl-3.0 | 17,046 | 649 | codeparrot/github-code |
f7083b98bc0c586decb8b43fee8ca51aa38a323340d2f4f7d63342b8016bdb6f |
import java.io.*;
import java.util.ArrayList;
public class Neuron implements Serializable {
//static final long serialVersionUID = 31337L;
private int neuronIndex;
private int layerIndex;
private ArrayList<Axon> inputs;
private ArrayList<Axon> outputs;
private double threshold;
private double inputSum;
privat... | Java | Neuron.java | sealfoss/Neuronium | gpl-3.0 | 3,013 | 145 | codeparrot/github-code |
008ff4e60e2a5aa9a2cde267b8288ab44df690092911051bcfd6803d7e7cb186 | package de.westnordost.streetcomplete.data;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.ServiceConnection;
import android.graphics.Rect;
import android.os.Bundle;
import android.os.Handler;
import android.os.HandlerThread;
import android.o... | Java | app/src/main/java/de/westnordost/streetcomplete/data/QuestController.java | Binnette/StreetComplete | gpl-3.0 | 14,741 | 425 | codeparrot/github-code |
d212e7f12a6dc0658da25c1c7c1033fc4225fdf0937573a2bcde2d4e51331397 | /*
* Copyright (C) 2022 Inera AB (http://www.inera.se)
*
* This file is part of sklintyg (https://github.com/sklintyg).
*
* sklintyg 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 t... | Java | web/src/main/java/se/inera/intyg/webcert/web/web/controller/facade/dto/CertificateDTO.java | sklintyg/webcert | gpl-3.0 | 2,107 | 64 | codeparrot/github-code |
1593f87fd9959dc5a66ac915b4de4149601e7c2f00b9c8f6d5bd9f45c89108fd | <?php
/**
* English strings for activitytask
*
* You can have a rather longer description of the file as well,
* if you like, and it can span multiple lines.
*
* @package mod_activitytask
* @copyright Blake Kidney
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
defined('MOODLE_IN... | PHP | mod/activitytask/lang/en/activitytask.php | sdc/moodle | gpl-3.0 | 1,872 | 42 | codeparrot/github-code |
650de4219f5011137b54a5e49f2cd49c1a1df4868b04d2db06cb5e129c74b2c6 | # SeaBIOS build system
#
# Copyright (C) 2008-2012 Kevin O'Connor <kevin@koconnor.net>
#
# This file may be distributed under the terms of the GNU LGPLv3 license.
# Output directory
OUT=out/
# Common command definitions
export HOSTCC := $(CC)
export CONFIG_SHELL := sh
export KCONFIG_AUTOHEADER := a... | Makefile | Makefile | vathpela/seabios | gpl-3.0 | 10,696 | 283 | codeparrot/github-code |
58b8eae207aa8cea913fead7aefeece392a7d1f7dee5e54a27c87bedcbb81ecf | package startupGUI;
import java.awt.Color;
import java.awt.Dialog;
import java.awt.Font;
import java.awt.Frame;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JDialog;
import javax.swing.JLabel;
import ... | Java | src/startupGUI/RecordAlertDialog.java | Hoppix/MacroEdit | gpl-3.0 | 3,475 | 103 | codeparrot/github-code |
482e936cb122068b710eb69439ca33eafd39858a4e338314b4d1966cc88ad44f | # Definition for binary tree with next pointer.
# class TreeLinkNode:
# def __init__(self, x):
# self.val = x
# self.left = None
# self.right = None
# self.next = None
class Solution:
# @param root, a tree link node
# @return nothing
def connect(self, root):
def ... | Python | solutions/117PopulatingNextRightPointersInEachNodeII.py | YiqunPeng/Leetcode-pyq | gpl-3.0 | 1,205 | 40 | codeparrot/github-code |
1f75e3b3d9a3250265e08b5e798bce0e41faae62ba252c1dfdd527faff9a4d2c | package org.jeecgframework.web.demo.controller.test;
import java.io.BufferedOutputStream;
import java.io.InputStream;
import java.sql.Blob;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.jeecgframework.web.demo.entity.test.JeecgBl... | Java | src/main/java/org/jeecgframework/web/demo/controller/test/JeecgBlobDataController.java | shamoxiaoniqiu2008/jeecg-framework | gpl-3.0 | 6,679 | 201 | codeparrot/github-code |
76aa63add95ecc97d04235ce3d96dcf5083c679be857e864f5c82ee0d3a17c63 | /*****************************************************************************
* Copyright (c) 2014-2020 OpenRCT2 developers
*
* For a complete list of all authors, please refer to contributors.md
* Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2
*
* OpenRCT2 is licensed under the GNU Gener... | C++ | src/openrct2/world/Map.cpp | duncanspumpkin/OpenRCT2 | gpl-3.0 | 73,526 | 2,302 | codeparrot/github-code |
adfda8e1da5d136718bc44c2f7bcc872dc0b6b7b1862f56327a81bb5c5f43482 | // //////////////////////////////////////////////////////////
// sha1.h
// Copyright (c) 2014,2015 Stephan Brumme. All rights reserved.
// see http://create.stephan-brumme.com/disclaimer.html
//
#pragma once
#include "hash.h"
#include <string>
// define fixed size integer types
#ifdef _MSC_VER
// Windows
typedef uns... | C | src/hashlibrary/sha1.h | Tunfisch/MrHash | gpl-3.0 | 1,936 | 79 | codeparrot/github-code |
5fbab02ab735b2f4ad6ef98f3e6922a38b90438981760250ad2c8526083ba9a3 | .386
option segment:use16, proc:private
include memory.a
echo StrCpyM, StrCpyMCsi, StrCpyMStk
$SegStrings segment para public 'Strings'
assume cs:$segStrings, ds:nothing
; StrCpyM - Duplicates a string on the heap.
;
; inputs:
; ES:DI- Points at string to copy.
;
;... | Assembly | OZone/Documentation/x86/System/Libraries/ucrlib/ucrlib/source/new.string/StrCpyM.asm | SpyderTL/OZone | gpl-3.0 | 1,869 | 102 | codeparrot/github-code |
48ee5fb06676825d84be8ae55f0830e9497e730ea32207624daaa83f02c0d8d2 | /* +---------------------------------------------------------------------------+
| The Mobile Robot Programming Toolkit (MRPT) C++ library |
| |
| http://www.mrpt.org/ ... | C++ | libs/maps/src/maps/CReflectivityGridMap2D.cpp | gamman/MRPT | gpl-3.0 | 13,122 | 400 | codeparrot/github-code |
8f505f4cdc9038db1bcdb6d36e61e18ddfcc72172faeff3a7e6c5c6c4611cb73 | #include "util/usage.hh"
#include "util/exception.hh"
#include <fstream>
#include <ostream>
#include <sstream>
#include <set>
#include <string>
#include <cstring>
#include <cctype>
#include <ctime>
#if defined(_WIN32) || defined(_WIN64)
// This code lifted from physmem.c in gnulib. See the copyright statement
// bel... | C++ | external/kenlm/util/usage.cc | chardmeier/docent | gpl-3.0 | 10,547 | 342 | codeparrot/github-code |
c59803d1ac371d901f0bfdcb6ba96a56b380fa9de931bd632261fb979e893f9e | using System;
using System.Data;
using System.Data.SqlClient;
//using USC.GISResearchLab.AddressProcessing.Core.AddressNormalization.Implementations;
using USC.GISResearchLab.Common.Core.Databases;
using USC.GISResearchLab.Common.Databases.QueryManagers;
using USC.GISResearchLab.Common.KNearest.OutputData.WebServices;... | C# | src/Main/KNearestFinders/KNearestFinder.cs | TamuGeoInnovation/Tamu.GeoInnovation.KNearest.Finders | gpl-3.0 | 10,198 | 247 | codeparrot/github-code |
17ad7b9952dc64840bd131376bb72f59a90e13923dc3b6d0834858cb7580627d | /*
* Copyright (C) 2012 mewin <mewin001@hotmail.de>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
... | Java | src/main/java/com/mewin/perkshop/PerkShopPlugin.java | mewin/PerkShop | gpl-3.0 | 12,666 | 384 | codeparrot/github-code |
93082afdb7c3bc5330ad899afcc6577c5926d74acdc27562297bfba3742a9b95 | /*
* Shader.cpp
*
* Created on: Jul 31, 2009
* Author: petter
*/
#include "Shader.h"
#include <iostream>
#include <fstream>
using namespace std;
Shader::Shader()
{
vert=0;
frag=0;
prog=0;
}
Shader::~Shader()
{
clean();
}
void Shader::clean()
{
if(vert!=0)
glDeleteShader(vert);
if(frag!=0)
glDe... | C++ | Shader.cpp | kpws/ZAPI | gpl-3.0 | 4,169 | 219 | codeparrot/github-code |
165e61afcebf82bc9714e9fb5dbfaaf0d736dbb55b933961fa7aa7d8e0245ccd | /* WordPress-specific styling. */
body {
background: #f1f1f1;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
line-height: 1.375;
/* 22px based on default browser font size 16px. */
}
a {
outline: 0;
color: #0073aa;
transition-tim... | CSS | css/yoast-components-471.css | anthonyeden/wordpress-seo | gpl-3.0 | 18,368 | 883 | codeparrot/github-code |
0973801db408c784552d829cdb450ca5d8078adac702885dce8930de13a86c92 | /**
* @author Matthew Foster
* @date December 27th 2007
*/
var MultiCalendarBase = Class.create();
Object.extend(Object.extend(MultiCalendarBase.prototype, EventDispatcher.prototype),
{
buildInterface : function(container){
this.container = $(container);
this.vie... | JavaScript | src/Main/scripts/Calendar/MultiCalendarBase.js | TamuGeoInnovation/Tamu.GeoInnovation.websites.healthgis.tamu.edu | gpl-3.0 | 2,036 | 76 | codeparrot/github-code |
3eaabee4314c5b169fa6b1e48279614df798e32e4f79ca9b30879641773601c3 | /*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use ... | C | PhoneGap/IV-AaB-Volunteer/platforms/ios/IV-AaB-Volunteer/Classes/MainViewController.h | ginxwar/IV-Adopt-A-Block-v2 | gpl-3.0 | 1,238 | 41 | codeparrot/github-code |
630bcb66a2b83cb02c215f1ed87c2862e1ae5acecf38dd5fa6b1232c988bf644 | <!DOCTYPE html>
<html lang="en" class="no-js">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Unity - Scripting API: AnimationClip.humanMotion</title>
<meta name... | HTML | ScriptReference/AnimationClip-humanMotion.html | rakuten/Uinty3D-Docs-zhcn | gpl-3.0 | 10,157 | 216 | codeparrot/github-code |
0b099c045e7dfbf46e57ba32e4ee4ae4d522055b91184bc671cf466c07dbea22 | /*
* DatabaseCatalogNode.java
*
* Copyright (C) 2002-2013 Takis Diakoumis
*
* 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 any later version.
*
*... | Java | java/src/org/executequery/gui/browser/nodes/DatabaseCatalogNode.java | toxeh/ExecuteQuery | gpl-3.0 | 3,395 | 117 | codeparrot/github-code |
00e6c584698b428f56579a8ff962851b1b529016519cbd97280e2fcec41c7c24 | /*
* Copyright 2012-2013 Andrew Smith
* Copyright 2013 Con Kolivas <kernel@kolivas.org>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation; either version 3 of the License, or (at your optio... | C | usbutils.h | wchy1128/cgminer | gpl-3.0 | 8,498 | 307 | codeparrot/github-code |
dfa69a2394fcc3f88645c754d700e47558f04940c253a284f3dfcfce8ee66c18 | #pragma once
/*
* Copyright 2010-2016 OpenXcom Developers.
*
* This file is part of OpenXcom.
*
* OpenXcom 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... | C | src/Battlescape/BattlescapeState.h | Yankes/OpenXcom | gpl-3.0 | 8,584 | 230 | codeparrot/github-code |
07845972837626b80f4c8d7306be31b6268543d6bcfd54860d1c982b4cf74ad7 | package game.communication.event;
/**
* Implementation of the {@link AbstractGameCtrlEvent} interface describing all
* event that can happened during the creation and the course of games.
*
* @author benobiwan
*
*/
public abstract class AbstractGameCtrlEvent extends AbstractEvent implements
IGameCtrlEvent
{
... | Java | src/game_core/src/game/communication/event/AbstractGameCtrlEvent.java | BenObiWan/game | gpl-3.0 | 1,416 | 70 | codeparrot/github-code |
b959b57db18432c0006fa33be73c24b054ff2e92d44c963d01c33341892a881e | #!/bin/sh
# initialisasi var
export DEBIAN_FRONTEND=noninteractive
OS=`uname -m`;
MYIP=`ifconfig | grep -Eo 'inet (addr:)?([0-9]*\.){3}[0-9]*' | grep -Eo '([0-9]*\.){3}[0-9]*' | grep -v '127.0.0'`;
MYIP2="s/xxxxxxxxx/$MYIP/g";
# go to root
cd
# disable ipv6
echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6
sed -i '$... | Shell | debian.sh | IlhamArrouf/IlhamGanteng | gpl-3.0 | 8,201 | 221 | codeparrot/github-code |
c1ef7dbb06f8db69f87de9df7d15d6f228d92199fb3535a31f594fd45e91b94a | // Copyright CERN and copyright holders of ALICE O2. This software is
// distributed under the terms of the GNU General Public License v3 (GPL
// Version 3), copied verbatim in the file "COPYING".
//
// See http://alice-o2.web.cern.ch/license for full licensing information.
//
// In applying this license CERN does not ... | C | GPU/GPUTracking/Base/GPUMemoryResource.h | AllaMaevskaya/AliceO2 | gpl-3.0 | 2,688 | 103 | codeparrot/github-code |
314bf6377889c0ce9c433e7e67c198dfb0c364d6888f4066eb80c9b79a72ab6a | /*
* Copyright (C) 2012 Brockmann Consult GmbH (info@brockmann-consult.de)
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation; either version 3 of the License, or (at your option)
* any late... | Java | snap-rcp/src/main/java/org/esa/snap/rcp/statistics/DensityPlotTopComponent.java | arraydev/snap-desktop | gpl-3.0 | 2,255 | 66 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.