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 |
|---|---|---|---|---|---|---|---|---|
4fecb372475d42dff05619277c2c9f2486c575c2ef38cb7da859a9cfbfc0899b | package cj.ledlights.render;
import net.minecraft.block.Block;
import net.minecraft.client.renderer.RenderBlocks;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.world.IBlockAccess;
import org.lwjgl.opengl.GL11;
import cj.ledlights.ClientProxy;
import cj.ledlights.block.BlockLamp;
import cj.l... | Java | common/cj/ledlights/render/LightEffect.java | SiDzej/LEDLights | gpl-3.0 | 4,161 | 113 | codeparrot/github-code |
95bd483c5a2843e59442cca00b81409d68fa6f66f133151bee78a343426d159a | /**
* Copyright 2010-2012 by PHP-maven.org
*
* This file is part of phpexec-java.
*
* phpexec-java 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 | phpexec-api/src/main/java/org/phpmaven/phpexec/library/PhpExecutionException.java | php-maven/phpexec-java | gpl-3.0 | 1,529 | 52 | codeparrot/github-code |
886b9b79952887af19183f5ccc166dd4dceb612134575658dff7a40129c06695 | /*
Copyright (C) 2015 Jakub Hrozek <jakub.hrozek@posteo.se>
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 v... | C | src/pam_hbac_entry.c | jhrozek/pam_hbac | gpl-3.0 | 3,720 | 196 | codeparrot/github-code |
c4be0d4bb36f9fdf27b4135535ee8382c45834295730c2c1cd64a606143dab44 | package org.transitime.api.data;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import org.transitime.ipc.data.IpcHistoricalAverageCacheKey;
import org.transitime.ipc.data.IpcHoldingTimeCach... | Java | transitimeApi/src/main/java/org/transitime/api/data/ApiHoldingTimeCacheKeys.java | goeuropa/transitime | gpl-3.0 | 1,038 | 38 | codeparrot/github-code |
fdaf7a592aca4bc035db2f9f70b87ad6860b8f51724712042adfc4a853971e05 | /*
Copyright IBM Corp. 2010, 2016
This file is part of Anomaly Detection Engine for Linux Logs (ADE).
ADE 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
... | Java | ade-core/src/main/java/org/openmainframe/ade/scores/AdeAnomalyIntervalScorer.java | openmainframeproject/ade | gpl-3.0 | 11,424 | 299 | codeparrot/github-code |
cdd00f34f51910802d455487446d43669a7b56a1c9fcd7f45730e040aaac5186 | from pupa.scrape import Jurisdiction, Organization
import scrapelib
import lxml.html
from .people import SDLegislatorScraper
from .bills import SDBillScraper
class SouthDakota(Jurisdiction):
division_id = "ocd-division/country:us/state:sd"
classification = "government"
name = "South Dakota"
url = "htt... | Python | openstates/sd/__init__.py | cliftonmcintosh/openstates | gpl-3.0 | 3,672 | 114 | codeparrot/github-code |
48a5aed6ff766c6183591e9cc62b943efe544d57db473784ec1961c231354c85 | package com.springboot.rocketmq.producer;
import org.apache.rocketmq.client.exception.MQClientException;
import org.apache.rocketmq.client.producer.DefaultMQProducer;
import org.apache.rocketmq.client.producer.SendCallback;
import org.apache.rocketmq.client.producer.SendResult;
import org.apache.rocketmq.common.messag... | Java | springboot/springboot-rocketmq/src/main/java/com/springboot/rocketmq/producer/AsyncProducer.java | zhonghuasheng/JAVA | gpl-3.0 | 2,054 | 53 | codeparrot/github-code |
0145106c5fb115381edd8676696a73ab8189ae06718dec24b90f56881d8702a7 | /*
Copyright 2005-2011 Intel Corporation. All Rights Reserved.
This file is part of Threading Building Blocks.
Threading Building Blocks is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public License
version 2 as published by the Free Software Foundat... | C++ | src/3rdparty/tbb40_20111130oss/examples/parallel_for/tachyon/src/trace.tbb1d.cpp | jonarbo/GREASY | gpl-3.0 | 7,313 | 210 | codeparrot/github-code |
e91471f96eab87adf12f13d535d4265c3b8d60a0ce768b878e20d1075f12c3d6 | /*
* CPU.cpp
*
* Created on: 5 de jun de 2017
* Author: eberr
*/
#include "CPU_6507.h"
#include "estruturas.h"
#include <stdio.h>
#include <stdint.h>
using namespace std;
CPU_6507::CPU_6507(memoriaPrincipal *mem){
this->memoria = me... | C++ | CPU_6507.cpp | riguetti/A2K6 | gpl-3.0 | 15,091 | 632 | codeparrot/github-code |
e2800f5769dbc67698a614e48e92971e1724e2e6bb8c22c11c46441ccee24452 | package edu.berkeley.cs.nlp.ocular.lm;
import tberg.murphy.indexer.Indexer;
import java.util.Set;
import edu.berkeley.cs.nlp.ocular.lm.SingleLanguageModel;
/**
* @author Dan Garrette (dhgarrette@gmail.com)
*/
public class UniformLanguageModel implements SingleLanguageModel {
private static final long serialVersi... | Java | src/main/java/edu/berkeley/cs/nlp/ocular/lm/UniformLanguageModel.java | tberg12/ocular | gpl-3.0 | 1,352 | 61 | codeparrot/github-code |
1370d541f90b9bdfbee075131a82eefe36d3f0f8c92ce54fe086c8c08ea9bb33 | /*
* ====================================================================
* JAFFA - Java Application Framework For All
*
* Copyright (C) 2002 JAFFA Development Group
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* Licen... | Java | jaffa-core/source/java/org/jaffa/security/PolicyCache.java | snavaneethan1/jaffa-framework | gpl-3.0 | 14,664 | 316 | codeparrot/github-code |
6cc587617cc60b15de762049cd35f6645969238163b21514af6269d34639f1c7 | #ifndef INSTALL_H
#define INSTALL_H
#include <QThread>
#include <string>
#include <stdlib.h>
#include <stdio.h>
#include <string>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include "headers/profile.h"
using namespace std;
class Install : public QThread
{
Q_OBJECT
public:
explicit Insta... | C | headers/install.h | AbdelfattahToulaoui/WinFlashDriveMaker | gpl-3.0 | 683 | 37 | codeparrot/github-code |
cb0967dfc0043fa3f0ff375fa519951736409fc44c52b81516a2a007856c124b | package main.maths;
import java.util.HashSet;
import java.util.concurrent.ThreadLocalRandom;
/**
* The {@code Prime} class holds methods used to generate prime numbers and
* to test the primality of any whole number.
*
* @version 1.0
* @author Stevy KIMPE
*/
public class Prime {
/**
* Implements a fa... | Java | src/main/maths/Prime.java | StevyK/Project-Euler | gpl-3.0 | 5,657 | 198 | codeparrot/github-code |
764136ae84b00acc5f9e2db29084dace3931dbc6b6da4e863f356a8fcb69d402 | /*
* Copyright 2010-2015 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 option) any ... | C++ | src/Geoscape/AllocateTrainingState.cpp | StoddardOXC/OpenXcom | gpl-3.0 | 18,045 | 587 | codeparrot/github-code |
db3fa359a37231b72d924ce75f6e1cc5c3a6cd2ac8df5fc1824f2aadcb8d7dd6 | /* This file is part of the 'neper' program. */
/* Copyright (C) 2003-2012, Romain Quey. */
/* See the COPYING file in the top-level directory. */
#include "neut_elt.h"
void
neut_elt_name_prop (char *format, char *name, char *type, int *pDimension,
int *pOrder)
{
if (strcmp (format, "geof") == 0)
{
if (... | C | src/neut/neut_elt/neut_elt.c | zhulcghshsf1989/neper | gpl-3.0 | 4,501 | 234 | codeparrot/github-code |
a34704b083879d8f44b7ea5b85b56cc54dac742443490ae258a16a36a75d24d1 | <?php
return [
/*
|--------------------------------------------------------------------------
| Application Environment
|--------------------------------------------------------------------------
|
| This value determines the "environment" your application is currently
| running in. This m... | PHP | config/app.php | iamrutvik/laravel-api-seed-boilerplate | gpl-3.0 | 8,833 | 227 | codeparrot/github-code |
041378ea747b98fba2935128aa1667fb97d23f5128a2684a38c7f3c9ea41b2a9 | // 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 | Detectors/EMCAL/reconstruction/include/EMCALReconstruction/RawHeaderStream.h | AllaMaevskaya/AliceO2 | gpl-3.0 | 1,281 | 39 | codeparrot/github-code |
a6ff32be57d380c951282a9b29fd3ac763c77d09d116a8aa8916458857be2eec | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.OleDb;
using System.Data;
namespace SportsMeeting
{
class ExcelHelper
{
private static OleDbConnection mainConnection;
public ExcelHelper(string FilePath)
... | C# | SportsMeeting/ExcelHelper.cs | hustmsc/SportsMeeting-.Net | gpl-3.0 | 1,574 | 49 | codeparrot/github-code |
e95eb26ce0e81f198d1078cf15aadc7afdfbdcae22c99df44f3c65034b6a3b29 | using System;
namespace PKHeX.Core
{
public class CK3 : PKM // 3rd Generation PKM File
{
public static readonly byte[] ExtraBytes =
{
0x11, 0x12, 0x13,
0x61, 0x62, 0x63, 0x64,
0xD1, 0xD2, 0xD3, 0xD4, 0xD5, 0xDA, 0xDB,
0xE4, 0xE5, 0xE6, 0xE7, 0xCE... | C# | PKHeX/PKM/CK3.cs | suloku/PKHeX | gpl-3.0 | 14,932 | 192 | codeparrot/github-code |
b6c144d3330c7fd8b293e9f8cc05db0e70a7367a86fbeab6aa14194ff6bb7b41 | /*
* Copyright (c) 2006-2010 Marvisan Pty. Ltd. All rights reserved.6
* Use is subject to license terms.
*/
/*
* NetGrossInd.java
*
* $Id: NetGrossInd.java,v 1.4 2010-02-25 08:37:29 vrotaru Exp $
*/
package net.hades.fix.message.type;
import java.util.HashMap;
import java.util.Map;
import java... | Java | Model/src/main/java/net/hades/fix/message/type/NetGrossInd.java | marvisan/HadesFIX | gpl-3.0 | 1,427 | 59 | codeparrot/github-code |
93e188998045dc0f52d1ed928bd61c34744ec8e24861845d746e1d04e40a20df | /* Copyright (c) 2014 Jesper Öqvist <jesper@llbit.se>
*
* This file is part of Chunky.
*
* Chunky 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) a... | Java | chunky/src/java/se/llbit/chunky/map/BiomeLayer.java | leMaik/chunky | gpl-3.0 | 2,056 | 65 | codeparrot/github-code |
e74be5616f8ddc88515d6fc43bc2d5878be1a46b095f15436d5f7e5246155880 | #ifndef MOLECULE_ZOBRIST_H
#define MOLECULE_ZOBRIST_H
#include "atomicdatatypes.h"
#include "constants.h"
#include "board.h"
#include <set>
#include <random>
class Zobrist {
public:
static void generateZobristKeys(UINT64 (&pieceKeys)[PIECE_TYPE_SIZE][BOARD_SIZE],
UINT64* sideToMov... | C | headers/zobrist.h | fkdosilovic/molecule | gpl-3.0 | 963 | 31 | codeparrot/github-code |
0d21ded3ebe8a345fe862eeb2ddd3be55bb447ca09727235e38add7acb878d36 | ##############################################################################
# Build global options
# NOTE: Can be overridden externally.
#
# Compiler options here.
ifeq ($(USE_OPT),)
USE_OPT = -O2 -ggdb -fomit-frame-pointer -falign-functions=16
endif
# C specific options here (added to USE_OPT).
ifeq ... | Makefile | demos/STM32/NIL-STM32F051-DISCOVERY/Makefile | ChibiOS/ChibiOS | gpl-3.0 | 5,008 | 190 | codeparrot/github-code |
7f6116485324f836893b1097fb1e952211b46afcdc5304d56c0d6a8cec2d86a4 | from task_manager.tag_manager.tag_manager import TaggingModel
from task_manager.models import Task
import numpy as np
import json
enabled_tagger_ids = [tagger.pk for tagger in Task.objects.filter(task_type='train_tagger').filter(status='completed')]
enabled_taggers = {}
# Load Tagger models
for _id in enabled_tagger... | Python | dataset_importer/document_preprocessor/preprocessors/text_tagger.py | cbentes/texta | gpl-3.0 | 3,426 | 89 | codeparrot/github-code |
3bbf97aff80c7e93dd889a893a64b82b53248910ca3f4651c59ed2fb483809d8 | <?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- template designed by Marco Von Ballmoos -->
<title>Docs for page ClientePrst.php</title... | HTML | sos/artefato/phpDoc/sos/sos-persistencia/_persistencia---ClientePrst.php.html | xmnlab/xsos_php | gpl-3.0 | 6,647 | 185 | codeparrot/github-code |
4453a3db2bc5c21fcb79f2b2ad2221676b358e86cfc4f1fdab40a774b18a7cc6 | /**
* Copyright Steven Conaway 2017
*/
package steven.conaway.memory;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.EventQueue;
import java.awt.Font;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util... | Java | src/main/java/steven/conaway/memory/Memory.java | SConaway/Memory | gpl-3.0 | 14,227 | 558 | codeparrot/github-code |
850e3709d3ae64536e3c6cd42c1e1357d811ffe41e5d9bf2c9ea744425cb3517 | import cPickle, string, numpy, getopt, sys, random, time, re, pprint
import sys
import onlineldauser
import citydoc
import os
import subprocess
import MySQLdb
def main():
db=MySQLdb.Connect(host="localhost",
user="team06",
passwd="aiM7chah,d",
db="randomtrip... | Python | src/onlineuser.py | huyilin/TopicLda | gpl-3.0 | 1,278 | 40 | codeparrot/github-code |
07cf256ba3560d8a37235ae156d2e90bb318ee2ecd86de3aeb4f72dc1babc41b | <?php
namespace Drupal\views_timelinejs\Plugin\views\style;
use DateTime;
use DOMDocument;
use Drupal\Core\Form\FormStateInterface;
use Drupal\views\Plugin\views\style\StylePluginBase;
use Drupal\views_timelinejs\TimelineJS\Background;
use Drupal\views_timelinejs\TimelineJS\Date;
use Drupal\views_timelinejs\TimelineJ... | PHP | drupal8/modules/views_timelinejs/src/Plugin/views/style/TimelineJS.php | oeru/techblog | gpl-3.0 | 31,551 | 764 | codeparrot/github-code |
c07c048513bc01da03bac383421d7ebcf60166098485fbeb5255f571339f57e9 | /***************************************************************************
* Copyright (C) 2007-2016 by David Bitseff *
* bitsed@gmail.com *
* *
* This pr... | C | src/selecttrianglewidget.h | bitsed/qosmic | gpl-3.0 | 2,060 | 57 | codeparrot/github-code |
829dd5c31e125f426fec994828d5f30ab84a7db0eedd4f5e5ae5f8a5f7468d97 | /**
* (C) 2013-2014 Stephan Rauh http://www.beyondjava.net
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
... | Java | babbageFaces-core/src/main/java/de/beyondjava/jsf/ajax/differentialContextWriter/PrettyPrintResponseWriter.java | stephanrauh/BabbageFaces | gpl-3.0 | 3,793 | 133 | codeparrot/github-code |
a9de9fe9dabd5acbf404ef6ce57b78e27615d3ca4336c4d8a4e0ebc2ebf2bb03 | /**
* Mars Simulation Project
* MySplash.java
* @version 3.1.2 2021-05-28
* @author Manny Kung
*/
package org.mars_sim.libgdx;
import com.badlogic.gdx.ApplicationAdapter;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.utils.ScreenUtils;
import c... | Java | mars-sim-libgdx/src/main/java/org/mars_sim/libgdx/MySplash.java | mars-sim/mars-sim | gpl-3.0 | 1,257 | 61 | codeparrot/github-code |
ccf0c38d1e62ca977c401bbc87f455620e3c4546bdc42823093889e848397291 | package org.optimizationBenchmarking.evaluator.data.impl.abstr;
import org.optimizationBenchmarking.evaluator.data.spec.IFeature;
import org.optimizationBenchmarking.evaluator.data.spec.IFeatureSet;
import org.optimizationBenchmarking.evaluator.data.spec.IFeatureValue;
import org.optimizationBenchmarking.utils.co... | Java | src/main/java/org/optimizationBenchmarking/evaluator/data/impl/abstr/AbstractFeature.java | optimizationBenchmarking/evaluator-base | gpl-3.0 | 2,435 | 82 | codeparrot/github-code |
33a8ec308351ee764e05285cb6aef694c074151a2eb23ee0c1f6bd761a3bc83c | ///////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2008, Robert D. Eden All Rights Reserved.
// Copyright (c) 2009, Jeff Randall All Rights Reserved.
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General P... | Java | src/main/java/gnu/trove/impl/unmodifiable/TUnmodifiableObjectFloatMap.java | achraftriki/test2 | gpl-3.0 | 5,260 | 125 | codeparrot/github-code |
671148c52312e275765d526e203ffcc07fac5c23f06cc21c4a2e75aeccf51747 | /*
* Dillo Widget
*
* Copyright 2005-2007 Sebastian Geerken <sgeerken@dillo.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 option) ... | C++ | test/dw_table_aligned.cc | fredollinger/dillo | gpl-3.0 | 3,385 | 122 | codeparrot/github-code |
ac96839079e06d967eb4a496da03650197bca316543cbcc4e98b03491c2f7279 | @import com.zhranklin.homepage.blog.db._
@import com.zhranklin.homepage.blog.Article
@import com.zhranklin.homepage.PageItem
@(title: String)(nav: String)(items: Seq[PageItem])
@base(title)(nav) {
<h1 class="display-4">@title</h1>
} {
<div class="row">
<div class="col-md-12">
<div class="panel">
<... | HTML | server/src/main/twirl/index.scala.html | zhranklin/Private_Blog | gpl-3.0 | 1,883 | 59 | codeparrot/github-code |
1786ef188a0b5ea80634db8a90d611c4df9022b90cec35d823439563962ba479 | /***************************************************************************
* Copyright (C) 2010 by lwp *
* levin108@gmail.com *
* *
* This pr... | C | src/fx_blist.c | cnangel/pidgin-libfetion | gpl-3.0 | 5,909 | 149 | codeparrot/github-code |
ee9f30359077e7592b239ea03e5fddece266fef62adb43eb92a6ea1ceec671f3 | using Calmo.Forms;
namespace Xamarin.Forms
{
public class Toast
{
public static Toast MakeText(string text)
{
return new Toast(text);
}
public int Duration { get; set; }
public string Text { get; set; }
public Color BackgroundColor { get; se... | C# | src/Mobile/Forms/Calmo.Forms/Controls/Toast/Toast.cs | calmo-framework/calmo-net | gpl-3.0 | 1,733 | 69 | codeparrot/github-code |
6a36e186147c8295e3ef7d0cd84c01c93466de66c37a4ae3f40f91390ecca577 | package edu.msstate.dasi.csb.workload.spark
import edu.msstate.dasi.csb.workload.Workload
import org.apache.spark.graphx.{Graph, VertexId}
import scala.reflect.ClassTag
/**
* Single Source Shortest Path algorithm implementation.
*/
class SSSP(engine: SparkEngine, src: VertexId) extends Workload {
val name = "Sin... | Scala | csb/src/main/scala/edu/msstate/dasi/csb/workload/spark/SSSP.scala | msstate-dasi/csb | gpl-3.0 | 1,807 | 56 | codeparrot/github-code |
c4428c1779cf95c7c5ca056212d0aced5d742e878d60f465229e0fddc299441e | import math
import numpy as np
from collections import defaultdict
from analytic import trajectory_manager
import scipy.sparse as ss
from sklearn.naive_bayes import MultinomialNB, GaussianNB, BernoulliNB
from sklearn.ensemble import RandomForestClassifier, AdaBoostClassifier
from sklearn.linear_model import LogisticReg... | Python | analytic/al_strategies.py | amilcarsj/analytic | gpl-3.0 | 12,074 | 374 | codeparrot/github-code |
5a5d135a88bfdbf3195dd730e9ced7cca03ec54b6a9694c06c2d2aec0d2f1a6d | """ An external application for performing the update after is was downloaded
from the net. This file is compiled into an exe file for windows platform
and launch when the ApplyUpdate method of WinUpdater is called.
The module will extract the zip file if it exists, and execute the update
manifest... | Python | src/Settings/Updaters/WinUpdaterHelper.py | yosi-dediashvili/SubiT | gpl-3.0 | 5,462 | 121 | codeparrot/github-code |
ba65ed780d7d70b9ac9e2b3bc0430b4131c2e9d69dd4a053e1cc52e538a1a1d6 | """
Source: https://github.com/kerguler/hoppMCMC (01/12/18)
adaptive basin-hopping Markov-chain Monte Carlo for Bayesian optimisation
This is the python (v2.7) implementation of the hoppMCMC algorithm aiming to
identify and sample from the high-probability regions of a posterior
distribution. The algorithm combines t... | Python | packages/best_fit/DEPRECATED/hopp_DEPRECATED/hoppMCMC.py | asteca/ASteCA | gpl-3.0 | 30,000 | 819 | codeparrot/github-code |
a54f2610bc24f62200c88a6e499358cc66b1b65e9a789a2c299bfe4d659b1fef | /*
* 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 di.uniba.it.tri.changepoint;
import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;
import java... | Java | src/main/java/di/uniba/it/tri/changepoint/ComputeCPD.java | pippokill/tri | gpl-3.0 | 4,129 | 106 | codeparrot/github-code |
963bda3b750c936ee14f459621b1ed9cb56196915f232b3678844edeb62c9ee3 | #ifndef PIVOTRULE_H
#define PIVOTRULE_H
#include <ctime>
#include <cmath>
#include "probleminstance.h"
#include "neighbourhood.h"
#include "initialsolution.h"
/**
* @brief The PivotRule class
* This is the baseclass for all PivotRule subclasses. Look at one of the subclasses for more details.
*/
class PivotRule
{... | C | pivotrule.h | seanachaidh/closestring | gpl-3.0 | 1,187 | 53 | codeparrot/github-code |
7b7d79542229d47f9bb55f641b48dae9eabeb76726b6d3bc57d0ed8d676a1cde | {-# OPTIONS -Wall #-}
{-# LANGUAGE OverloadedStrings, TemplateHaskell #-}
module Graphics.UI.Bottle.Widgets.TextEdit(
Cursor, Style(..), make, defaultCursorColor, defaultCursorWidth,
atSCursorColor,
atSCursorWidth,
atSTextCursorId,
atSBackgroundCursorId,
atSEmptyString,
atSTextViewStyle) where
import Con... | Haskell | src/Graphics/UI/Bottle/Widgets/TextEdit.hs | alonho/bottle | gpl-3.0 | 10,295 | 284 | codeparrot/github-code |
50707446f6ad223fca15e2a38386494efc65daa574c106be046ae9bba9f473ff | # -*- coding: utf-8 -*-
# PEP8:OK, LINT:OK, PY3:OK
#############################################################################
## This file may be used under the terms of the GNU General Public
## License version 2.0 or 3.0 as published by the Free Software Foundation
## and appearing in the file LICENSE.GPL includ... | Python | main.py | juancarlospaco/vagrant | gpl-3.0 | 23,005 | 481 | codeparrot/github-code |
90224eca35ea43eb6254c48f4d97777fa1eec99045782f414f4693afb96380a5 | ##
# This module requires Metasploit: http://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##
require 'msf/core'
###
#
# This class implements a "nop" generator for TTY payloads
#
###
class Metasploit3 < Msf::Nop
def initialize
super(
'Name' => 'TTY Nop... | Ruby | modules/nops/tty/generic.rb | cSploit/android.MSF | gpl-3.0 | 703 | 34 | codeparrot/github-code |
7eba6f8957bc68b72ade557222aa414f0e1a927025ebd02c16fd03e49169f6a7 | using System;
using System.Text;
using System.Web;
using System.Web.Http.Description;
namespace Services.Areas.HelpPage
{
public static class ApiDescriptionExtensions
{
/// <summary>
/// Generates an URI-friendly ID for the <see cref="ApiDescription"/>. E.g. "Get-Values-id_name" inste... | C# | Services/Areas/HelpPage/ApiDescriptionExtensions.cs | Bare7a/ShopSystem-Web-App | gpl-3.0 | 1,536 | 39 | codeparrot/github-code |
bdfde46db9c11ae1f1ebf2dcd7f28f01b109d465ac580f20fd2489249764fae6 | using Portable.Parser;
using Portable.Parser.Grammar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TextEditor.Logic;
using TextEditor.Visual;
namespace TextEditor.Controller
{
class ParserFacade
{
private IParserFabric factor... | C# | TextEditor/Controller/ParserFacade.cs | modifier/TextEditor | gpl-3.0 | 4,091 | 150 | codeparrot/github-code |
ea23abdf8ffd6aa383d720bdb46247273072dcca1104668b155aea7b90fba1a7 | /*
Copyright 2012 Jan Ove Saltvedt
This file is part of KBot.
KBot 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/com/kbotpro/scriptsystem/various/GrandExchangeLookup.java | JanOveSaltvedt/kbot | gpl-3.0 | 5,089 | 161 | codeparrot/github-code |
753f67784da0a5a6fc8e9ea494ac166f5f11bb76c920c445013ae67153320dfc | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# pip3 install dnspython
import re
import random
import sleekxmpp
import configparser
import smtplib
from email.mime.text import MIMEText
from sqlalchemy import Column, String, Integer, Boolean
from sqlalchemy.ext.declarative import declarative_base
from collections impor... | Python | pimuxbot.py | Finn10111/PimuxBot | gpl-3.0 | 7,396 | 221 | codeparrot/github-code |
b67c903b7802f75ac766e9cabfc2b64449053b5dc302902e38cd8184102d342d | /*
* comedi/drivers/rtd520.c
* Comedi driver for Real Time Devices (RTD) PCI4520/DM7520
*
* COMEDI - Linux Control and Measurement Device Interface
* Copyright (C) 2001 David A. Schleef <ds@schleef.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Gene... | C | drivers/staging/comedi/drivers/rtd520.c | williamfdevine/PrettyLinux | gpl-3.0 | 40,839 | 1,607 | codeparrot/github-code |
bac03ce4013904195e010ed631991a4a0f8cfaabf064900580011760d863e8bf | /******************************************************************************
* *
* License Agreement *
* *
... | C | software/sys_controller_bsp/drivers/inc/altera_epcq_controller2.h | marqs85/ossc | gpl-3.0 | 6,449 | 127 | codeparrot/github-code |
7b368e65eef2e502ce75427ba7a1f49f9b8f3e806818cf908ee8649c23683fde | /************************************************************************
**
** @file preferencesconfigurationpage.h
** @author Roman Telezhynskyi <dismine(at)gmail.com>
** @date 12 4, 2017
**
** @brief
** @copyright
** This source code is part of the Valentine project, a pattern making
** program, ... | C | src/app/valentina/dialogs/configpages/preferencesconfigurationpage.h | dismine/Valentina_sonar | gpl-3.0 | 2,016 | 64 | codeparrot/github-code |
3ce7fa74f63f2e97e87f11faf3d59c4dbeb39ab351d4cd5c7a3d6b6415611f95 | /*
* 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 org.openbase.bco.registry.unit.core.dbconvert;
/*-
* #%L
* BCO Registry Unit Core
* %%
* Copyright (C) 2014 - 2020 openbas... | Java | unit-registry/core/src/main/java/org/openbase/bco/registry/unit/core/dbconvert/DalUnitConfig_0_To_1_DBConverter.java | DivineCooperation/bco.registry | gpl-3.0 | 6,034 | 122 | codeparrot/github-code |
ab2aefa447b352f72fc3d127179c4c5c3d2c1f184946d1c3a31cda188312e4ef | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>在线协同教学系统-登录</title>
<script src="../../static/jscss/jquery-2.1.4.min.js"></script>
<script src="../../static/jscss/bootstrap.min.js"></script>
<script src="../../static/jscss/my.js"></script>
<link rel="stylesheet" href="../../static/js... | HTML | CoPlat/templates/CoPlat/login.html | InsO-Omnia/CoPlat | gpl-3.0 | 3,208 | 121 | codeparrot/github-code |
c11dfdad7f1ccf72fb184e85d88965ffea366a5c8a0f7ab4f5601126630dbf8e | package protect.budgetwatch;
import android.app.Activity;
import android.content.ComponentName;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;
import android.widget.ListView;
import android.widget.ProgressBar;
import android.widget.TextView;
import org.jun... | Java | app/src/test/java/protect/budgetwatch/BudgetActivityTest.java | brarcher/budget-watch | gpl-3.0 | 8,864 | 253 | codeparrot/github-code |
ae4ea985057bc401cd4b41637b95672714419310f030eb7213ac1e08cd0f21c3 | module(... or '', package.seeall)
-- Get Platform for package path
cwd = '.';
local platform = os.getenv('PLATFORM') or '';
if (string.find(platform,'webots')) then cwd = cwd .. '/Player';
end
-- Get Computer for Lib suffix
local computer = os.getenv('COMPUTER') or '';
if (string.find(computer, 'Darwin')) then
-- M... | Lua | Player/hoard_features.lua | cward13/DarwinOp-Robocup2015 | gpl-3.0 | 3,899 | 126 | codeparrot/github-code |
e3c96c3232f2543842e073dcc155a922c0b3bdd38e76798915d8607c733076c7 | #!/Library/Frameworks/Python.framework/Versions/2.7/bin/python
# ----------------------------------------
# USAGE:
# ----------------------------------------
# PREAMBLE:
import numpy as np
import sys
import os
import matplotlib.pyplot as plt
from matplotlib.ticker import NullFormatter
from mpl_toolkits.mplot3d impo... | Python | PCA_RMSD_One_Ref/system_rmsd_plotting.py | rbdavid/RMSD_analyses | gpl-3.0 | 1,985 | 75 | codeparrot/github-code |
82b08ac8c4c966697fe057bef09b3ad9baa765c0828b8d86c0bd9dd9426d96c1 | /****************************************************************************
* Tano - An Open IP TV Player
* Copyright (C) 2012 Tadej Novak <tadej@tano.si>
*
* This file was based on the example classes of the Qt Toolkit.
* Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies).
* Contact: Qt Software Inform... | C++ | src/common/UpdateHandler.cpp | ntadej/tano | gpl-3.0 | 2,640 | 78 | codeparrot/github-code |
36c917f1b37430736f4bb88c2d67f31899683ff024b3a0b11c20db17c015781a | /*
* Copyright (C) 2010 Ruben Laguna <ruben.laguna@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later versio... | Java | NBPlatformApp/NoteRepositoryH2/src/main/java/com/rubenlaguna/en4j/noterepository/NoteImpl.java | ecerulm/en4j | gpl-3.0 | 6,548 | 224 | codeparrot/github-code |
19b5e543e3559c6e184a3d03325582b4894df633903610ea1160f860c45ffcca | using System;
namespace ClassToExcel.Sample.Data
{
public class Person
{
[ClassToExcel(ColumnName = "First Name", Order = 2)]
public string FirstName { get; set; }
[ClassToExcel(ColumnName = "Last Name", Order = 1)]
public string LastName { get; set; }
[Cl... | C# | src/ClassToExcel.Sample.Data/People/Person.cs | madcodemonkey/ClassToExcel.OpenXml | gpl-3.0 | 1,673 | 46 | codeparrot/github-code |
8d9ff237713354747381b841bc21e41de6d8df663d7c31109809f52d295a3221 | // Copyright 2015-2017 Parity Technologies (UK) Ltd.
// This file is part of Parity.
// Parity 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 lat... | JavaScript | js/src/DappRequests/store.js | destenson/ethcore--parity | gpl-3.0 | 7,965 | 296 | codeparrot/github-code |
acb1bdb8af05b4b878601ead3866ae4a27bae8a74565ebc38062eafaf11d5584 | <?php
require_once __DIR__.'/../ecc/ECPublicKey.php';
require_once __DIR__.'/../util/ByteUtil.php';
require_once __DIR__.'/pb_proto_WhisperTextProtocol.php';
require_once __DIR__.'/CiphertextMessage.php';
require_once __DIR__.'/../InvalidMessageException.php';
require_once __DIR__.'/../LegacyMes... | PHP | src/libaxolotl-php/protocol/KeyExchangeMessage.php | gentrobot/Chat-api | gpl-3.0 | 6,072 | 161 | codeparrot/github-code |
83856fc6b9a8a8e1498f62a3e34a315aa83716816d8513af424dc5a0a8bb4d83 | package net.sourceforge.seqware.common.dao.hibernate;
import java.util.List;
import net.sourceforge.seqware.common.dao.ProcessingAttributeDAO;
import net.sourceforge.seqware.common.model.Processing;
import net.sourceforge.seqware.common.model.ProcessingAttribute;
import org.springframework.orm.hibernate5.support.Hiber... | Java | seqware-common/src/main/java/net/sourceforge/seqware/common/dao/hibernate/ProcessingAttributeDAOHibernate.java | SeqWare/seqware | gpl-3.0 | 1,655 | 53 | codeparrot/github-code |
78e4a9284f665c1c7c89e96674b89305a996cc970f9c3c05713b58cfe05ade07 | /*
* libEtPan! -- a mail stuff library
*
* Copyright (C) 2001, 2005 - DINH Viet Hoa
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the a... | C | QMOLEDEV/libetpan-0.57/src/low-level/mime/mailmime_write_generic.c | chriskmanx/qmole | gpl-3.0 | 38,237 | 1,497 | codeparrot/github-code |
f964928376776ecdfec5b39da356bb338eb5725afb317086e4dfddf32582b741 | /*
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 program is distributed in the hope that it will be usefu... | C++ | ArduSub/Sub.cpp | lekston/ardupilot | gpl-3.0 | 2,380 | 72 | codeparrot/github-code |
179113a4b3c364df5480983aba179dac79cabb0f156be5291c6fceda8e800969 | namespace BinaryPhoenix.Fusion.Runtime.Controls
{
partial class FindAndReplaceWindow
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposin... | C# | Source/Runtime/Controls/Find And Replace Window.Designer.cs | HampsterEater/FusionGameEngine | gpl-3.0 | 6,388 | 166 | codeparrot/github-code |
770c3a668b20701e7beb9d17d10e0e4a8898e3ed4b2cb46eb357daff3178144e | #include <iostream>
#include <vector>
#include <ctime>
#include <cstdlib>
#include <stdio.h>
#include <unistd.h>
#include <termio.h> // Linux/Windows users
#include "ArbolGeneral.h"
#include "tablero.h"
#include "mando.h"
#include "conecta4.h"
using namespace std;
/************************************************... | C++ | src/main.cpp | danipozodg/finalED | gpl-3.0 | 3,122 | 97 | codeparrot/github-code |
c0a8da276fb5ead45e0d8eedd1f5b16fd991251639e898ea5dbd5e175a073e84 | using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Windows.Forms;
using System.Configuration;
using System.Diagnostics;
using System.Globalization;
using System.Management;
namespace ArduDebugInterface
{
public class clsConfiguration
{
const string ARDUDE... | C# | PC interface/Project/ArduDebug/ArdudebugInterface/clsConfiguration.cs | EnricoBeltramo/ArduDebug | gpl-3.0 | 3,621 | 138 | codeparrot/github-code |
52675b01a9fbf94ca2a30f0bbd54f757c47e56e72da496fdfce42401d161625f | <?php
namespace Omeka\View\Helper;
use Omeka\Form\ConfirmForm;
use Laminas\View\Helper\AbstractHelper;
use Laminas\ServiceManager\ServiceLocatorInterface;
/**
* View helper for rendering the delete confirm partial.
*/
class DeleteConfirm extends AbstractHelper
{
protected $formElementManager;
/**
* Co... | PHP | application/src/View/Helper/DeleteConfirm.php | omeka/omeka-s | gpl-3.0 | 1,311 | 49 | codeparrot/github-code |
50434d81f62deb3ee013b58c86f17ec213ac859d64fe199d6277567e4e8452f5 | <?php
/* Copyright (C) 2001 Fabien Seisen <seisen@linuxfr.org>
* Copyright (C) 2002-2007 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004-2011 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2006 Andre Cianfarani <acianfa@free.fr>
* Copyright (C) 2005-2012 Regis Houssin ... | PHP | htdocs/core/db/mysql.class.php | ttingchan/MerchanDolibarr | gpl-3.0 | 35,492 | 1,275 | codeparrot/github-code |
d546c113ddb070ea1f1681fd96d91dd2766cc514d74cf4cc0ffcdc3db24eb82a | #include "searchdialog.h"
#include "ui_searchdialog.h"
SearchDialog::SearchDialog(QWidget *parent, int searchType, int maxPatternCount) :
QDialog(parent),
ui(new Ui::SearchDialog)
{
ui->setupUi(this);
connect(ui->cancelButton, SIGNAL(clicked()), this, SLOT(cancelButtonPushed()));
connect... | C++ | searchdialog.cpp | rrwick/Langtons-Ant-Animator | gpl-3.0 | 1,482 | 60 | codeparrot/github-code |
31a34b2b94b306988daab675a8f0117a14a05d90ffe24badddd90a68feb6dea7 | // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/android/jni_android.h"
#include "base/android/scoped_java_ref.h"
#include "base/logging.h"
namespace {
JavaVM* g_jvm = 0;
jobject g_a... | C++ | src/base/android/jni_android.cc | tierney/cryptagram-cc | gpl-3.0 | 2,464 | 96 | codeparrot/github-code |
d2af35345c651c807065e2ee70eb82972d5f6685c0a47d9bf176bb0d5749a76c | # -*- coding: utf-8 -*-
"""
Copyright (C) 2011 Dariusz Suchojad <dsuch at zato.io>
Licensed under LGPLv3, see LICENSE.txt for terms and conditions.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
# stdlib
from contextlib import closing
from json import dumps
from traceback imp... | Python | code/zato-server/src/zato/server/service/internal/http_soap.py | alirizakeles/zato | gpl-3.0 | 31,245 | 687 | codeparrot/github-code |
90a83d958725ca3530076ffd584ebaa258d9468d5c9753b12dd382a4f118cb3b | package de.hobbypunk.openfit.view.dialogs;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.DialogInterface;
import android.support.annotation.StringRes;
import android.support.v7.app.AlertDialog;
import android.view.LayoutInflater;
import android.view.View;
import android.wi... | Java | app/src/main/java/de/hobbypunk/openfit/view/dialogs/NumberPickerDialog.java | hobbypunk90/OpenFit_old | gpl-3.0 | 11,281 | 351 | codeparrot/github-code |
78d3ea569c484f2382abe4d281cc3224a097cab8059f71f49f439f0e9e1455eb | /* Copyright: © Copyright 2005 Apple Computer, Inc. All rights reserved.
Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple Computer, Inc.
("Apple") in consideration of your agreement to the following terms, and your
use, installation, modification or redistribution of this Apple software
... | C++ | CoreAudio/CAAudioHardwareSystem.cpp | esteil/atvfiles | gpl-3.0 | 10,470 | 265 | codeparrot/github-code |
95778ebd8a107d309acce6d4991db97c06e4c63a685de500aebf1e23dea2395b | // IT 210 Business Applications with C++
// Programmer: Michael Ragsdale
// Date: 11/11/2014
// Objective: Calling Functions
// Preprocessor Directives
#include <iostream>
#include <iomanip>
#include <fstream>
// Custom Headers (all Prototypes are here)
// Imagine these as a collection of
// dictionary entries. You'... | C++ | In Class Labs/11-11-2014/Program 1/Nov04_Prog1.cpp | raggiesoft/it210Projects | gpl-3.0 | 3,729 | 140 | codeparrot/github-code |
85f600773b85d90b68b01e77ed839b66db24a2bca216ec941ecf156f0d98ecf1 | /**
* <pre>
* The owner of the original code is Ciena Corporation.
*
* Portions created by the original owner are Copyright (C) 2004-2010
* the original owner. All Rights Reserved.
*
* Portions created by other contributors are Copyright (C) the contributor.
* All Rights Reserved.
*
* Contributor(s):
* (Co... | Java | Server/Common/src/main/java/com/nortel/appcore/app/drac/common/graph/NeStatus.java | jmacauley/OpenDRAC | gpl-3.0 | 2,797 | 91 | codeparrot/github-code |
8f78a71c72e5f0a2e03f3fba0f397fe3938344c4751f02c537f7fb4494ec2f1a | package Bio::Metagenomics::Genbank;
# ABSTRACT: Downloads genbank records
=head1 SYNPOSIS
Download genbank records using GI or Genbank IDs
=cut
use Moose;
use LWP::Simple;
use Bio::Metagenomics::Exceptions;
use Bio::Metagenomics::FileConvert;
use File::Spec;
use File::Path;
use constant {
FASTA => 0,
GENB... | Perl | lib/Bio/Metagenomics/Genbank.pm | sanger-pathogens/Bio-Metagenomics | gpl-3.0 | 12,330 | 353 | codeparrot/github-code |
5dae460bf30f1b129f582f6156d7c8aff62e65768d735a75747216d16ba69871 | using System;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Data;
using BinarySwitch.Muse.IO;
using System.Windows.Media;
using BinarySwitch.Muse.Pattern;
namespace BinarySwitch.Muse.UI
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
publ... | C# | Muse/BinarySwitch.Muse.UI/BinarySwitch.Muse.UI/MainWindow.xaml.cs | milleym/Muse | gpl-3.0 | 6,388 | 192 | codeparrot/github-code |
006573150fe15fd84375b0574815b6f8be146130eca7532aa553299aae56b67a | \documentclass{../../fal_assignment}
\graphicspath{ {../../} }
\usepackage{enumitem}
\setlist{nosep} % Make enumerate / itemize lists more closely spaced
\usepackage[T1]{fontenc} % http://tex.stackexchange.com/a/17858
\usepackage{url}
\usepackage{todonotes}
\title{Worksheet Tasks}
\author{Dr Joan Casas-Roma}
\module{... | TeX | comp280/1/build.tex | Falmouth-Games-Academy/bsc-assignment-briefs | gpl-3.0 | 9,543 | 158 | codeparrot/github-code |
1f177850347f6bfedd91c043de9100e0cef2e3d915428efe01324bb053fe5c59 | (function(App) {
'use strict';
var SCROLL_MORE = 0.7; // 70% of window height
var NUM_SHOWS_IN_ROW = 7;
var _this;
function elementInViewport(container, element) {
var $container = $(container), $el = $(element);
var docViewTop = $container.offset().top;
var docViewBottom ... | JavaScript | src/app/lib/views/show_browser/show_list.js | kjthegod/popcorn-time | gpl-3.0 | 8,383 | 273 | codeparrot/github-code |
48f7dc4ef149e04bf8cdefa7a6603c08d20e4263a898cee251f5aa63624005bc | # (c) 2014, Maciej Delmanowski <drybjed@gmail.com>
#
# This file is part of Ansible
#
# Ansible 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 ... | Python | lib/ansible/plugins/filter/ipaddr.py | t794104/ansible | gpl-3.0 | 32,458 | 1,127 | codeparrot/github-code |
c1575a8e5460be74ec001e3f8e02c4b0142e250bda2fb27c1f001f966b6c839e | /* A KIBANA PLUGIN FOR CHOROPLETH MAPS
Copyright (C) 2017 Margherita Gambini
This file is part of choropleth_map.
choropleth_map 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... | JavaScript | public/utils/map.js | marghe943/kibanaChoroplethMap | gpl-3.0 | 5,446 | 244 | codeparrot/github-code |
27fd0743ed411289a9b9d916922fd9a86a99c703329234e3a61080fc0859028a | #include <string.h>
#include "api___.h"
#include<stdarg.h>
#include "call_util.cpp"
#include "def1.h"
api___::api___(){
}
api___::~api___(){
}
void suidao__(char**addr_ret,char*buf,long siz,api___* api,int argc,...) {
va_list vl;
deque<string> p;
va_start(vl,argc);
for(int i=0;i<argc;i++){
char*s=... | C++ | firefox_plugin/api___.cpp | zzzzzzzzzzz0/zhscript | gpl-3.0 | 3,968 | 196 | codeparrot/github-code |
68ef482bf9df3c20ef3e53a0b01119425822992de2da6bc2f2c6d8205eb6a31f | /*
* channel.h - Base class for a channel of the LED actuator
*
* Copyright (c) 2015 Martin Glueck <martin@mangari.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3 as
* published by the Free Software Foundation.
*... | C | actuators/led-controller/led-4-channels-bim112/src/channel.h | selfbus/software-arm-incubation | gpl-3.0 | 600 | 34 | codeparrot/github-code |
55494ed4dce5247fa7fe4ebcc28093b98b2134fcbc744ba721c4274097c290bc | package com.wacajou.data.jpa.domain;
import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.OneToOne;
@Entity
public class UserParcours implements Serializable {
private static f... | Java | master/data/src/main/java/com/wacajou/data/jpa/domain/UserParcours.java | mowdep/Wacajou | gpl-3.0 | 825 | 43 | codeparrot/github-code |
46fa7ec90c03a36cf46870840116a0f79bcb09778f1a6e0ff2ec4f6869567766 | /*
* Panel widget that shows information about the selected video
* Copyright (C) 2009-2012 cwk <coolwk@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the... | C++ | src/infopanel.cpp | cwk/Vimi | gpl-3.0 | 4,705 | 133 | codeparrot/github-code |
6993938212d4fb3472f898c3f00fac082866f3ebb0fd53e6a6950cab64ca8e22 | #include "stdafx.h"
#include "PVOutput_Input.h"
#include "../main/Helper.h"
#include "../main/Logger.h"
#include "hardwaretypes.h"
#include "../main/localtime_r.h"
#include "../json/json.h"
#include "../main/RFXtrx.h"
#include "../main/SQLHelper.h"
#include "../httpclient/HTTPClient.h"
#include "../main/mainw... | C++ | hardware/PVOutput_Input.cpp | sander-git/domoticz | gpl-3.0 | 7,236 | 273 | codeparrot/github-code |
6047ee590a78dc1092e128b3f2ed41a4e2047b0a479c17c0490df530991291ec | <?php
/**
* @package Builder
* @subpackage Form\field
* @copyright © 2005-2022 PHPBoost
* @license https://www.gnu.org/licenses/gpl-3.0.html GNU/GPL-3.0
* @author Julien BRISWALTER <j1.seth@phpboost.com>
* @version PHPBoost 6.0 - last update: 2021 12 16
* @since PHPBoost 6.0 - 2020... | PHP | kernel/framework/builder/form/field/FormFieldThumbnail.class.php | PHPBoost/PHPBoost | gpl-3.0 | 4,305 | 117 | codeparrot/github-code |
a4941bda8abd97100eb51a9865edd8144be3337f22124bdbeac1dee787f88fd3 | <?php
namespace ManiaControl\Plugins;
use FML\Controls\Frame;
use FML\Controls\Label;
use FML\Controls\Labels\Label_Button;
use FML\Controls\Labels\Label_Text;
use FML\Controls\Quads\Quad_Icons64x64_1;
use FML\Script\Features\Paging;
use FML\Script\Script;
use ManiaControl\Admin\AuthenticationManager;
use ManiaContro... | PHP | core/Plugins/InstallMenu.php | tomvlk/ManiaControl | gpl-3.0 | 7,796 | 239 | codeparrot/github-code |
95c04dbfdb2f4c9081221dba2549066df3acf5e4be4690882d2a6dd8f75b5fb5 | package com.carsonjones.ribbit;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.drawable.Drawable;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapte... | Java | app/src/main/java/com/carsonjones/ribbit/SectionsPagerAdapter.java | clj0020/RibbitApp | gpl-3.0 | 3,487 | 111 | codeparrot/github-code |
78dde7cabc978ab92ee0b55845a6fde79f3fd5d808809e9e33d8a8632bce64d6 | /******************************************************************************
* esdf
* Copyright (C) 2017 Alan Witkowski
*
* 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/objects/render.cpp | jazztickets/esdf | gpl-3.0 | 5,446 | 167 | codeparrot/github-code |
b0cbbb3c64d1257b966d1ccc7327637cd20202bf682ef5ab78b60fa297a83547 | #ifndef __KVM_HOST_H
#define __KVM_HOST_H
/*
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-level directory.
*/
#include <linux/types.h>
#include <linux/hardirq.h>
#include <linux/list.h>
#include <linux/mutex.h>
#include <linux/spinlock.h>
#include <linux/sig... | C | linux-2.6.32-hardened-r22/include/linux/kvm_host.h | Siosm/contextd-capture | gpl-3.0 | 15,930 | 561 | codeparrot/github-code |
b6a79520ba6432137db6a788ae6263e3a7a8ace831a5ed2760732435850dfbc9 | package cc.comac.util;
import java.io.File;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import javax.swing.JSplitPane;
import cc.comac.controller.DrawPanelController;
import cc.comac.data.TargetDataPair;
import cc.comac.ui.MainFrame;
import cc.comac.ui.mainlayout.MainFrameCenterPa... | Java | src/cc/comac/util/Context.java | piaoyidaodi/DataAnalysis | gpl-3.0 | 5,095 | 189 | codeparrot/github-code |
da986cfa9fd4d3c6ba7dda2e4b7a5c53d8ac50d59102c3329b8a9bc4313862ac | /***************************************************************************
* This file is part of the CuteReport project *
* Copyright (C) 2012-2014 by Alexander Mikhalov *
* alexander.mikhalov@gmail.com *
* ... | C | src/plugins/standard/core_plugins/bands/summary/summary.h | navrocky/CuteReport | gpl-3.0 | 3,645 | 91 | codeparrot/github-code |
f685cabbe3fb365bc87b398f9dd13e0cb60957f2bca66104a5691e473a22ab46 | /*
* Copyright (c) 2018 Siloft
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, dis... | C | src/action/new.c | glidelite/glidelite | gpl-3.0 | 5,588 | 172 | codeparrot/github-code |
0e7c1e0dcace6bca7e5dd781eb6ee49421419c906fd13ed0ee540de60ec99a8a | // express参考API: http://expressjs.com/en/api.html
// 模块依赖
var http = require('http');
const path = require('path');
const express = require('express');
const exphbs = require('express-handlebars');
// 端口号
const http_port = 80;
// express服务实例
const server = express();
//
const printpdf = require('./printpdf.js');
// m... | JavaScript | tiemao_2018/05_headless-chrome-node-js/express-server.js | cncounter/translation | gpl-3.0 | 3,663 | 152 | codeparrot/github-code |
7d364486d6233cc485ffd0b90ad06301367e1bb6a4022e804dfce40501679750 | /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
/*
Sonic Visualiser
An audio file viewer and annotation editor.
Centre for Digital Music, Queen Mary, University of London.
This program is free software; you can redistribute it and/or
modify it under the terms of th... | C++ | svcore/base/Resampler.cpp | praaline/Praaline | gpl-3.0 | 4,922 | 197 | codeparrot/github-code |
a256ab1e41dd365ebe6b20fb576abcb5fb07fed4c7450eac6ff8d7e49f18c1b9 | // -*- C++ -*-
//
// This file is part of HepMC
// Copyright (C) 2014-2019 The HepMC collaboration (see AUTHORS for details)
//
#ifndef HEPMC3_WRITERCOMPRESSEDASCII_H
#define HEPMC3_WRITERCOMPRESSEDASCII_H
///
/// @file WriterCompressedAscii.h
/// @brief Definition of class \b WriterCompressedAscii
///
/// @class HepM... | C++ | include/Rivet/Tools/WriterCompressedAscii.hh | hep-mirrors/rivet | gpl-3.0 | 6,185 | 221 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.