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 |
|---|---|---|---|---|---|---|---|---|
cb56dfe0f9303e11313082bf3f0798f280ef6d63b5e43cb51341b8368c069dfd | import React from 'react';
import {
View,
ListView,
StyleSheet,
Navigator,
TouchableOpacity,
Text,
AsyncStorage,
TouchableHighlight,
TextInput,
Switch,
Alert,
AppState
} from 'react-native';
import * as firebase from 'firebase';
import * as Progress from 'react-native-progress';
import PushNotif... | JavaScript | SnowyMobile/list.js | alexandradutz/mdevprog-laboratory | gpl-3.0 | 9,614 | 303 | codeparrot/github-code |
b6b504e84dd61440af564f466751aa24c349a7bf5646a18d8c3516edbe15b19b | package com.derpgroup.astrobot.util.opennotify;
import com.fasterxml.jackson.annotation.JsonProperty;
public class SpaceStationLocationResponse extends OpenNotifyResponse {
private long timestamp;
private SpaceStationLocation spaceStationLocation;
public long getTimestamp() {
return timestamp;
}
... | Java | service/src/main/java/com/derpgroup/astrobot/util/opennotify/SpaceStationLocationResponse.java | DERP-Group/AstroBot | gpl-3.0 | 881 | 34 | codeparrot/github-code |
6fa92fb625d5f8fa07aef2dc591ce278decb99773d373235c688dc9ff5c6706b | <?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| This file is where you may define all of the routes that are handled
| by your application. Just tell... | PHP | routes/web.php | hanwant0/503_multiauth | gpl-3.0 | 3,983 | 109 | codeparrot/github-code |
a2dd6312b1d9a39fb5baadb11211895606d4d26b3b113ab94d4c64de66df9ae9 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<title>Description of play_video</title>
<meta name="keywords" content="play_video">
<meta name="description" content="">
<meta http-equiv="Content-Type" content="text/html; ... | HTML | Html-docs/ASK/HSOFT/play_video.html | scienceopen/AIDA-tools | gpl-3.0 | 16,492 | 270 | codeparrot/github-code |
be4db9ee22e071fb14b25d965301ef51689595fdae83c94a29d10608dc210ba6 | using SVPS.Contrib;
using SVPS.Core.Infrastructures;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Media.Imaging;
namespace SVPS.DataSource
{
public class ImageLazyItem : LazyItemBase<... | C# | source/SVPS/.NET4.5/SVPS.DataSource/LazyImageDataSource.cs | atachimiko-svp/svpp | gpl-3.0 | 4,355 | 234 | codeparrot/github-code |
3715e0bca3f101eb96736a4c535eaa8e5f7d9822771664a80f0a58b442449388 | #include "Cosmology.h"
using namespace std;
using namespace vmath;
Cosmology::Cosmology(double z) {
set(z);
}
void Cosmology::set(double z) {
if (z > 0) {
z_ = z;
a_ = 1.0/(1.0+z);
comDis_ = findComDis(z);
lumDis_ = findLumDis(z);
comVol_ = findComVol(z);
} else... | C++ | src/Cosmology.cpp | SzymonPrajs/pyMagnetar | gpl-3.0 | 1,515 | 83 | codeparrot/github-code |
cd2e2c35e5bf7fb6ae1edc037e395c2b40ef5062a8464dc1a73176ece5b2e276 | <?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 Class FabricantePrst</title... | HTML | sos/artefato/phpDoc/sos/sos-persistencia/FabricantePrst.html | xmnlab/xsos_php | gpl-3.0 | 20,824 | 580 | codeparrot/github-code |
92c0a208f0a837ee7240ec2c617399b20e57656ffd8d8664b80aa70e1b2b59ad | //
// Tweeter.js
//
// donaldtrump.js
// (C) 2017 Jonathan Ballands
//
import request from 'request';
import colors from 'colors';
import _unescape from 'lodash.unescape';
import Tweet from './models/Tweet';
import MarkovChain from './utils/MarkovChain';
import options from './utils/options';
import env from './uti... | JavaScript | src/Tweeter.js | jballands/donaldtrump.js | gpl-3.0 | 4,992 | 164 | codeparrot/github-code |
7feef49de20924b7bb10fdf1947e5e096b9bd51a6c143f1c7a5b6ebdf131b153 | //*@@@+++@@@@******************************************************************
//
// Copyright © Microsoft Corp.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// Redistributions of s... | C | Src/JxrDecode/Jxr/decode.c | zeiss-microscopy/libCZI | gpl-3.0 | 6,626 | 201 | codeparrot/github-code |
c069ade5fa42302ca648db75a1c74fe4ce463d346fa9cabae0cd8d711bd02f59 | # Copyright 2014, candidtim (https://github.com/candidtim)
#
# This file is part of Vagrant AppIndicator for Ubuntu.
#
# Vagrant AppIndicator for Ubuntu 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 v... | Python | vgapplet/machineindex.py | candidtim/vagrant-appindicator | gpl-3.0 | 4,627 | 137 | codeparrot/github-code |
495e8c51bc28b349ceb6b35acf90a1f291e090e54dec85a6a952adce41725a93 | package main
import (
"flag"
"log"
"net"
"time"
"strconv"
)
const (
SENDLEN = 1280
TIMEOUT = time.Second*12
)
func eachConn(remote string, tc net.Conn) {
uc, err := net.DialTimeout("tcp", remote,TIMEOUT)
defer func() {
if tc != nil {
tc.Close()
}
if uc != nil {
uc.Close()
}
}()
if err != nil... | GO | s/proxy_server.go | ntudou/proxyz | gpl-3.0 | 1,768 | 110 | codeparrot/github-code |
74179bc885063f167119c129af721679d2265587ac445d1cc392283ea8b6af86 | package core.collections;
/**
* This is a simple single linked list implemented in java without the aid of
* the java collection package. The drawback of this implementation is that
* order of iteration is different than order of insertion.
*/
public class SingleLinkedListGeneric<T> {
private static final class S... | Java | projects/Standard/src/core/collections/SingleLinkedListGeneric.java | veltzer/demos-java | gpl-3.0 | 1,524 | 71 | codeparrot/github-code |
d1620ae7fb5b24f0a4ff0c76ea35b822a31a50d619b23d0ae42177a1e75f555c | #include <stdio.h>
#include <algorithm>
#include <string.h>
#define lowbit(x) (x)&(-x)
using namespace std;
const int maxn=100010;
struct seg_tree
{
seg_tree *ls,*rs;
int cnt;
void* operator new(size_t);
}*root[maxn],mempool[maxn*70];
void* seg_tree :: operator new(size_t)
{
static seg_tree *p=mempool;
return p++... | C++ | data structure/Multidimensional data structure/3295.cpp | alexmaruichen/code | gpl-3.0 | 1,640 | 102 | codeparrot/github-code |
102a4e243d3a50d90f0c9051c572bb3eac42c9a28f05e4e15e86ea5379085594 | \section{Introduction}
\noindent This document describes how to use and extend the \textbf{F}inite
Element \textbf{F}rame\textbf{W}ork, from here on referred to as
\FFW. The goal of this software package is to provide a tool which presents
various methods in $2$D in a reference implementation, and to provide a p... | TeX | doc/sect_Introduction.tex | project-openffw/openffw | gpl-3.0 | 1,858 | 38 | codeparrot/github-code |
02071f257ccb85c67dca30e58ddedb0aa09777f9346552a98a573dd5cef1df8b | #Written by Keith Jolley
#Copyright (c) 2012-2021, University of Oxford
#E-mail: keith.jolley@zoo.ox.ac.uk
#
#This file is part of Bacterial Isolate Genome Sequence Database (BIGSdb).
#
#BIGSdb is free software: you can redistribute it and/or modify
#it under the terms of the GNU General Public License as published by
... | Perl | lib/BIGSdb/CurateMembersPage.pm | kjolley/BIGSdb | gpl-3.0 | 10,741 | 315 | codeparrot/github-code |
664f9b455f5a84d4ef73e27ddcb94da9c2e45c2c55d1600cb1f783e2bed917bd | /*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is d... | C | blender/source/blender/blenkernel/BKE_screen.h | Passtechsoft/TPEAlpGen | gpl-3.0 | 10,635 | 316 | codeparrot/github-code |
e1f9badc430047eb366c01aa7e41ad62f0d89119620ed638f792befc8eda7f6d | <?php
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004-2011 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2005-2012 Regis Houssin <regis.houssin@capnetworks.com>
* Copyright (C) 2012 Marcos García <marcosgdf@gmail.com>
*
* This p... | PHP | htdocs/comm/propal/stats/index.php | ttingchan/MerchanDolibarr | gpl-3.0 | 9,733 | 315 | codeparrot/github-code |
f283bb9d08b91929df9599670dd1e85957ca76aba16e20d8c8b488b6d85df089 | <?php (defined('BASEPATH')) OR exit('No direct script access allowed');
//created by Damiano Venturin @ squadrainformatica.com
class Mdl_Location extends MY_Model {
public $objClass;
public $objName;
public $properties;
public $locId;
public $show_fields;
public $hidden_fields;
public $aliases;
public... | PHP | application/modules_core/contact/models/mdl_location.php | svizion/MyClientBase-SB | gpl-3.0 | 9,641 | 352 | codeparrot/github-code |
e506a9071c0c85cbda9aaac26aca2fbdf150c67030b653557014e674e5ae9cce | package Slic3r::GCode;
use Moo;
use List::Util qw(min max first);
use Slic3r::ExtrusionLoop ':roles';
use Slic3r::ExtrusionPath ':roles';
use Slic3r::Geometry qw(epsilon scale unscale PI X Y B);
use Slic3r::Geometry::Clipper qw(union_ex);
# Origin of print coordinates expressed in unscaled G-code coordinates.
# This ... | Perl | slic3r/lib/Slic3r/GCode.pm | dob71/x2swn | gpl-3.0 | 26,433 | 656 | codeparrot/github-code |
485063a3dfa6b079734ffec12ec188d9b668851a1ae64ceeadff3cc5190395b5 | package com.codedemigod.aids;
import android.app.Activity;
import android.app.Service;
import android.content.ComponentName;
import android.content.Intent;
import android.content.ServiceConnection;
import android.os.Bundle;
import android.os.IBinder;
import android.view.Menu;
import android.view.View;
import android.v... | Java | src/com/codedemigod/aids/MainActivity.java | alaasalman/aids | gpl-3.0 | 2,330 | 90 | codeparrot/github-code |
493a507c92fb02d991da5362aa378a088879cca0e4bc61e3b2e09375a00492bc | #pragma once
#include <cstdint>
#include <vector>
#include "util/color.hpp"
constexpr Util::Color GetCheckerPixelColor(int32_t x, int32_t y, Util::Color checkerColor, double renderScale, bool invert = false) noexcept
{
constexpr int32_t CHECKER_SIZE_PRE_SCALE = 4;
const int32_t checkerSize = static_cast<int32_t>(CH... | C++ | Xaml/Controls/colorpickerrendering.hpp | TranslucentTB/TranslucentTB | gpl-3.0 | 3,331 | 82 | codeparrot/github-code |
f3678a1c8717279180253eb3520d48efa1b522faf6ce0a5ac61392aa92b1c3d8 | package net.shadowmage.ancientwarfare.vehicle.network;
import io.netty.buffer.ByteBuf;
import net.minecraft.network.PacketBuffer;
import net.shadowmage.ancientwarfare.vehicle.entity.VehicleBase;
import java.io.IOException;
public class PacketAmmoSelect extends PacketVehicleBase {
private String ammoRegistryName;
... | Java | src/main/java/net/shadowmage/ancientwarfare/vehicle/network/PacketAmmoSelect.java | shadowmage45/AncientWarfare2 | gpl-3.0 | 975 | 40 | codeparrot/github-code |
70c0053c15b026a4e390cae706b2c3521f9086fd33ce9463e13f5d346a6c00e8 | from orpsoc.orpsocconfigparser import OrpsocConfigParser
from orpsoc.config import Config
import os
import logging
logger = logging.getLogger(__name__)
class System:
def __init__(self, system_file):
logger.debug('__init__() *Entered*' +
'\n system_file=' + str(system_file)
... | Python | orpsoc/system.py | Carlosaarodrigues/orpsoc | gpl-3.0 | 1,541 | 43 | codeparrot/github-code |
d2395462dafcbb6c5cec390e2f341a76dc5da877c22b688e720adabd58c64957 | /*
* Pixel Dungeon
* Copyright (C) 2012-2015 Oleg Dolya
*
* Shattered Pixel Dungeon
* Copyright (C) 2014-2015 Evan Debenham
*
* 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 ver... | Java | src/main/java/com/shatteredpixel/pixeldungeonunleashed/items/artifacts/CapeOfThorns.java | FthrNature/unleashed-pixel-dungeon | gpl-3.0 | 4,075 | 152 | codeparrot/github-code |
43b1dbafa87d38d41f4482bbf637d511adc04520e9a7abe1ac595fddc17cb472 | //-----------------------------------------------------------------------------
//
// Copyright 1993-1996 id Software
// Copyright 1999-2016 Randy Heit
// Copyright 2016 Magnus Norddahl
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as ... | C++ | src/rendering/swrenderer/line/r_walldraw.cpp | Xane123/MaryMagicalAdventure | gpl-3.0 | 17,885 | 566 | codeparrot/github-code |
3a24ef234a63081c6e42fb0c494649e99ee0f9ae82c25ee96365e4adce0fd253 | <!DOCTYPE html>
<html xml:lang="en-GB" lang="en-GB" xmlns="http://www.w3.org/1999/xhtml">
<head lang="en-GB">
<title>Ross Gammon’s Family Tree - CUTCLIFFE, Gladys</title>
<meta charset="UTF-8" />
<meta name ="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=1" />
<meta name... | HTML | RossFamilyTree/ppl/8/3/d15f5fd16bf76dc99e3116cbe38.html | RossGammon/the-gammons.net | gpl-3.0 | 16,386 | 429 | codeparrot/github-code |
95e247ecafc30f77af088b0874955f67c2146d0438cd637f76c5395b5522f734 | //
// Copyright (C) 2016 David Hedbor <neotron@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 version.
/... | C++ | src/Routers/Custom/PresetsTableModel.cpp | neotron/EDPathfinder | gpl-3.0 | 2,045 | 67 | codeparrot/github-code |
65bbb46e61fb238793b7dc5ea88e29d7939ff8119e9da569e619df7d7fbf4a24 |
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta http-equiv="keywords" content="">
<meta http-equiv="description" content="">
<title>Career and... | HTML | html/http%3A%2F%2Fwww.concordia.ca%2Fstudents%2Fsuccess%2Fcareer-planning-services.html | dbs/dialled-crawler | gpl-3.0 | 77,849 | 1,520 | codeparrot/github-code |
270312d5094916b4d0ca339e82ea945bed4821b5cf36166e0a91d05b0d606a59 | //Copyright (c) 2011 Municipalidad de Rosario and Coop. de Trabajo Tecso Ltda.
//This file is part of SIAT. SIAT is licensed under the terms
//of the GNU General Public License, version 3.
//See terms in COPYING file or <http://www.gnu.org/licenses/gpl.txt>
package ar.gov.rosario.siat.pad.buss.bean;
import java.util.... | Java | siat-1.0-SOURCE/src/buss/src/ar/gov/rosario/siat/pad/buss/bean/EstCue.java | avdata99/SIAT | gpl-3.0 | 4,837 | 199 | codeparrot/github-code |
cf98c1bbe8b73cc119bd3e74cf3d3e7761c1a7eab5a335f415749a5c1c406802 | // Copyright (c) The University of Dundee 2018-2019
// This file is part of the Research Data Management Platform (RDMP).
// RDMP 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... | C# | Rdmp.UI/AbstractControlDescriptionProvider.cs | HicServices/RDMP | gpl-3.0 | 1,852 | 40 | codeparrot/github-code |
db5f6150c737fd212491ed931c7c8b8cf078b469396f330ead1200489e4f5040 | /*
This file is part of GNUnet.
Copyright (C) 2011 GNUnet e.V.
GNUnet 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, or (at your
option) any later version.
G... | C | src/dns/gnunet-dns-redirector.c | tg-x/gnunet | gpl-3.0 | 6,695 | 259 | codeparrot/github-code |
5f55159f592650ce88f515216648970a19d81f686d7f1e9959e062c14c793f59 | #include "mybutton.h"
#include <QPaintEvent>
#include <QPainter>
#include <QDebug>
#include "myaction.h"
MyButton::MyButton(QWidget *parent) :
QAbstractButton(parent), mouseHover(false), state(false), action(0)
{
}
void MyButton::paintEvent(QPaintEvent *e)
{
QPixmap pix;
if(isEnabled() &... | C++ | src/mybutton.cpp | minos-org/umplayer | gpl-3.0 | 1,891 | 85 | codeparrot/github-code |
b2ec8d7033ce19edb4075b8a46223a87b2e15d491442ac329a2a72e5ee347ce9 | import React from 'react';
import i18n from 'lib-app/i18n';
import API from 'lib-app/api-call';
import Button from 'core-components/button';
import Header from 'core-components/header';
import Form from 'core-components/form';
import FormField from 'core-components/form-field';
import SubmitButton from 'core-componen... | JavaScript | client/src/app/admin/panel/tickets/admin-panel-custom-tags-modal.js | ivandiazwm/opensupports | gpl-3.0 | 5,248 | 170 | codeparrot/github-code |
2abca7edf1bc4a451645aa52ec0e460251fc97227c152e46491256d48b6d052e | package com.luckia.biller.core.services.pdf;
import java.io.OutputStream;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.... | Java | biller-core/src/main/java/com/luckia/biller/core/services/pdf/PDFLiquidationGenerator.java | labcabrera/biller | gpl-3.0 | 9,063 | 263 | codeparrot/github-code |
71b7a199ec86db8fa24743dc016a1680f2b2c28547ecf2fcf013ea0eeedd6a05 | /*
* Copyright (C) 2011-2012 Project SkyFire <http://www.projectskyfire.org/>
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2012 MaNGOS <http://getmangos.com/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Genera... | C | src/server/game/Movement/Waypoints/Path.h | Zapuss/ZapekFapeCore | gpl-3.0 | 2,741 | 86 | codeparrot/github-code |
e1bb6f51dc4931b5ac8360888dff088293848a4e343c6fc0c52e3c836cadd665 | <?php
/**
* Author: Sam Likins <sam.likins@wsi-services.com>
* Copyright: Copyright (c) 2015-2016, WSI-Services
*
* License: http://opensource.org/licenses/gpl-3.0.html
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published b... | PHP | source/RequestInterface.php | WSI-Services/SmartyStreetsAPI | gpl-3.0 | 1,544 | 63 | codeparrot/github-code |
5e698abb9836063020e3077d2051aca9e92accf13bef4b2b49799e4e8649fdb2 | /*
* Regular Pattern Analyzer Toolkit (RPA/Tk)
* Copyright (c) 2009-2012 Martin Stoilov
*
* 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 y... | C | rex/doc/example/js-tokenizer.c | mstoilov/rpatk | gpl-3.0 | 5,407 | 161 | codeparrot/github-code |
da9c76d2ac6ce73b8a8a23497778c28c6b006db53bae0f1e458e4daea3d06490 | /* Skandium: A Java(TM) based parallel skeleton library.
*
* Copyright (C) 2009 NIC Labs, Universidad de Chile.
*
* Skandium 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... | Java | src/cl/niclabs/skandium/instructions/ForInst.java | niclabs/Skandium | gpl-3.0 | 2,312 | 85 | codeparrot/github-code |
5483bdff36d03c6d0dcb4083c0c8ab27399255c72bd9c0bea71fc0aae04a8cd4 | /*
Copyright (C) 2010-2013 Jounayd Id Salah https://github.com/smogpill/dataspace. This file is part of the Dataspace project.
Dataspace 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/core/container/coPropertyContainer.h | smogpill/dataspace | gpl-3.0 | 2,093 | 73 | codeparrot/github-code |
af35822de6dac84f0db83a5362a757dc9dcd74adcfc9142cddaa7978c588d0cd | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2012-2021 OpenFOAM Foundation
\\... | C++ | src/OpenFOAM/db/functionObjects/writeFile/writeFile.C | OpenFOAM/OpenFOAM-dev | gpl-3.0 | 3,859 | 148 | codeparrot/github-code |
f927854c0712aca36e8909912a24172886d1dcf3657a592d05b04169e3f68975 | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace MediaCloud\Vendor\Symfony\Component\Config\Loader;
use MediaCloud\Vendor... | PHP | lib/mcloud-symfony/config/Loader/Loader.php | Interfacelab/ilab-media-tools | gpl-3.0 | 2,006 | 84 | codeparrot/github-code |
7b87a595cf1718cdb93301b06d487c4d82f8789d8d4a522bd8249ed800923e8a | /*
* Locus
*/
package net.maizegenetics.pal.alignment;
import com.google.common.collect.ComparisonChain;
import java.io.Serializable;
import java.util.Collections;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
/**
*
* @author terry
*/
public class Locus implements S... | Java | src/net/maizegenetics/pal/alignment/Locus.java | guilherme-pereira/tassel4-poly | gpl-3.0 | 6,174 | 205 | codeparrot/github-code |
2f76fcb48ea5dc65d625012704cfd6986f933dc74b20e9e69e9993e398179202 | /*
* This file is part of OppiaMobile - https://digital-campus.org/
*
* OppiaMobile 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 vers... | Java | src/org/digitalcampus/oppia/widgets/quiz/EssayWidget.java | DigitalCampus/bright-future-oppia-mobile | gpl-3.0 | 2,014 | 63 | codeparrot/github-code |
663c25ea76522a71b4aee3d80ae4f031d0099d097ad913995b8efe7534a21b48 | /*
Calf Box, an open source musical instrument.
Copyright (C) 2010-2011 Krzysztof Foltman
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... | C | sampler_impl.h | kfoltman/calfbox | gpl-3.0 | 2,326 | 69 | codeparrot/github-code |
5d558f00335fba85e4f740cce36b2187f9cfb760dde9f71dd75fbf469ad8d7b8 | using System;
using System.Collections.Generic;
using System.Text;
using Mono.Cecil;
namespace XaeiO.Compiler.CodeModel
{
public static class ReferenceComparer
{
public static bool MethodReferenceEquals(MethodReference a, MethodReference b)
{
if (a.Name == b.Name)
... | C# | Develop/XaeiO.Compiler/XaeiO.Compiler2/XaeiO/Compiler/CodeModel/ReferenceComparer.cs | mtenpow/xaeios | gpl-3.0 | 4,952 | 136 | codeparrot/github-code |
64613e215b7849ea5c6435adc924495eeeaac4b6cb3aabe6fdabb6bf5c488773 | package com.qingke.boma.controller;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.Path... | Java | src/main/java/com/qingke/boma/controller/ManagerController.java | tompiking/boma_master | gpl-3.0 | 7,365 | 218 | codeparrot/github-code |
92cdbac6037e5eb1e911db69c9b0afafaceb5e860f0e202887b7a9fb4007b6a4 | //////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2003, The Institute for Genomic Research (TIGR), Rockville,
// Maryland, U.S.A. All rights reserved.
//////////////////////////////////////////////////////////////////////////////
#include <vector>
#include <algorithm>
#inc... | C++ | 469/TARBALLS/jigsaw-3.2.10/src/main/RegionPrediction.cpp | manasb/genomics | gpl-3.0 | 12,945 | 444 | codeparrot/github-code |
a9dea8076251d29f9751c53095e02e7c64dd59fcf44d6e65d054515531592949 | package com.velociraptorsystems.userInterface;
import android.app.Activity;
import android.content.Context;
import android.support.v4.widget.SwipeRefreshLayout;
import android.util.Log;
import android.app.Activity.*;
import java.lang.Runnable;
/**
* Created by Philip on 2015-04-13.
*/
public class UiDecorator {
... | Java | UiDecorator.java | tigerhawkvok/android-userinterface | gpl-3.0 | 1,807 | 65 | codeparrot/github-code |
a7e43b5928ec766ef3990fb481ef5db857a683043a79aad644c73687be9d443e | /*
* WANDORA
* Knowledge Extraction, Management, and Publishing Application
* http://wandora.org
*
* Copyright (C) 2004-2015 Wandora Team
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundatio... | Java | encode/src/org/wandora/application/tools/extractors/omakaupunki/OmaKaupunkiAbstractExtractor.java | Anisorf/ENCODE | gpl-3.0 | 22,252 | 538 | codeparrot/github-code |
792f49bedd27a1351f04deb8a29d81f5f3c4eb1d114a5c6546dc9a776669c461 | <?php
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2021 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redist... | PHP | application/Espo/Controllers/Preferences.php | ayman-alkom/espocrm | gpl-3.0 | 2,956 | 108 | codeparrot/github-code |
f14a54d1ac84786b347780a2599558e3b9007b2c7910d2a911c4556042bcc131 | package com.javarush.test.level07.lesson06.task02;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
/* Самая длинная строка
1. Создай список строк.
2. Считай с клавиатуры 5 строк и добавь в список.
3. Используя цикл, найди са... | Java | com/javarush/test/level07/lesson06/task02/Solution.java | andrey-gabchak/JavaRushLabs | gpl-3.0 | 1,280 | 47 | codeparrot/github-code |
66448d47d2f985bf4e6e63af17937034b1d110610aeb9cabf3854210b9fa7b55 | /****************************************************************************
** Meta object code from reading C++ file 'glwidget.h'
**
** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.7)
**
** WARNING! All changes made in this file will be lost!
************************************************************... | C++ | qt/opengl/oglbufobj/moc_glwidget.cpp | mkhuthir/MuthLearningC | gpl-3.0 | 2,713 | 94 | codeparrot/github-code |
7f72a10ae55c7ebcb4506a8efb5ba3f8da8f6ad2a9fa88dc45551ed9c0161f4a | /*
* script-completion.c - completions for script command
*
* Copyright (C) 2003-2020 Sébastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
*
* WeeChat is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License... | C | src/plugins/script/script-completion.c | sim642/weechat | gpl-3.0 | 9,287 | 312 | codeparrot/github-code |
86d5e6c1f5fb5985214928cfefceaef03a7916c5ca33883a8ced7b024e4e6d13 | # DESCRIPTION
# Makes a directory tree of randomly named folders and possibly subfolders, and random files of certain types (hackable, see NOTES), optionally with terminal unfriendly characters (see USAGE). The result random directory tree is in a subfolder named testFiles. The script deletes that directory tree and re... | Shell | scripts/makeRNDtestFilesTree.sh | r-alex-hall/fontDevTools | gpl-3.0 | 3,496 | 88 | codeparrot/github-code |
84ee64eb77bf0a35ccb42f8770e96ad2fdc1f7c86b14a2d806f20a72143ef174 | __author__ = 'Mars'
import random
class Question:
def __init__(self, monster):
self.name = "Question"
self.monster = monster
class PercentMonsterLevel1(Question):
def __init__(self, monster):
Question.__init__(self,monster)
self.name = "PercentMonsterLevel1"
def makeQ(se... | Python | Question.py | rdp1070/PokeMath | gpl-3.0 | 5,970 | 184 | codeparrot/github-code |
bed2b89a417e0aa93923ef98317afaa25c6fc603806ebfbae734816c042d6d83 | package com.supermap.desktop.ui.controls;
import com.supermap.desktop.ui.UICommonToolkit;
import com.supermap.mapping.*;
import javax.swing.*;
import javax.swing.event.CellEditorListener;
import javax.swing.event.TreeSelectionEvent;
import javax.swing.event.TreeSelectionListener;
import javax.swing.tree.DefaultMutabl... | Java | Controls/src/com/supermap/desktop/ui/controls/LayersTreeCellEditor.java | highsad/iDesktop-Cross | gpl-3.0 | 6,831 | 249 | codeparrot/github-code |
13f0d677e39eaf074747e3b4be6ff5e7e5a820cea7eaec974d16cc45b050c073 | /*
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... | Java | plugins/image/ext/src/batik-1.7/test-sources/org/apache/batik/transcoder/image/DefaultFontFamilyTest.java | srnsw/xena | gpl-3.0 | 2,631 | 81 | codeparrot/github-code |
0de642fe24ef1858601fb1b5371c93a7405186282dde19c91a0da0c24accc9e7 | /*
* Copyright 2010 Harvard University Library
*
* This file is part of OTS-Schemas.
*
* OTS-Schemas 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 ... | Java | src/edu/harvard/hul/ois/ots/schemas/premis/object/CreatingApplication.java | opf-labs/ots-schema | gpl-3.0 | 5,180 | 164 | codeparrot/github-code |
6a2d8d30e9a91daec5ae336b36e645f6d2cede619d6a88518d23b2cbd13b6879 | /* radare2 - LGPL - Copyright 2013-2016 - pancake */
#include <r_anal.h>
#include <r_lib.h>
#include <capstone/capstone.h>
#include <capstone/x86.h>
// TODO: when capstone-4 is released, add proper check here
#if CS_NEXT_VERSION>0
#define HAVE_CSGRP_PRIVILEGE 1
#else
#define HAVE_CSGRP_PRIVILEGE 0
#endif
#define US... | C | libr/anal/p/anal_x86_cs.c | j123123/radare2 | gpl-3.0 | 70,259 | 2,850 | codeparrot/github-code |
44a972179a1c04ee49204c9b14061d1017e9f5104a3ba4651c89dd833567713e | package syam.PistonJump;
import java.io.DataInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java... | Java | src/main/java/syam/PistonJump/ConfigurationManager.java | syamn/PistonJump | gpl-3.0 | 8,259 | 280 | codeparrot/github-code |
174c2895ab6a669db541a5a9a131c3acbbdf1f284d1887f160f190590d042940 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>Uses of Package org.apache.poi.ss.usermodel.charts (POI API Documentation)</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="... | HTML | resources/Apache/Apache-POI-3.16-beta2/poi-bin-3.16-beta2-20170202/poi-3.16-beta2/docs/apidocs/org/apache/poi/ss/usermodel/charts/package-use.html | doughtnerd/POD | gpl-3.0 | 21,841 | 463 | codeparrot/github-code |
7fdf2eb56e2402958ec2c3da4220e425cd154ad64595fe63e04117ad49fdb471 | #include <iostream>
using namespace std;
class SecuenciaCaracteres{
private:
static const int TAMANIO = 50;
static const int LETRAS_HASTA_N =150;
int rango[LETRAS_HASTA_N];
char vector_privado[TAMANIO];
int total_utilizados;
public:
SecuenciaCaracteres()
:total_utilizados(0){
for(int i = 0; i < LETRAS... | C++ | EJERCICIOS/SESION13/6_RepetidosCounting.cpp | Nitrosito/FP | gpl-3.0 | 2,681 | 176 | codeparrot/github-code |
f410617e6ca81335f3621f0c4e0e45a0ab036bbb5ef424342111dc84886efaf1 | """
The module series exports functions to compute power series solutions with
Newton's method in double, double double, or quad double precision.
"""
def replace_symbol(pol, idx):
"""
In the polynomial pol,
replaces the first symbol by the symbol at place idx.
"""
from phcpy.phcpy2c2 import py2c_... | Python | src/Python/PHCpy2/phcpy/series.py | janverschelde/PHCpack | gpl-3.0 | 26,702 | 706 | codeparrot/github-code |
4701e6cca98325d0a5298c0a9b6ec4c393db440fbd517f1049de57fdbf7a3a5f | /* RetroArch - A frontend for libretro.
* Copyright (C) 2010-2014 - Hans-Kristian Arntzen
* Copyright (C) 2011-2017 - Daniel De Matteis
*
* RetroArch 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 Found-
* atio... | C | menu/menu_shader.c | Monroe88/RetroArch | gpl-3.0 | 16,115 | 613 | codeparrot/github-code |
144655953e2ab0841589e3fd90efe76fccae6edaa73122e586dede16547927e3 | /*
* This file is a part of TiledArray.
* Copyright (C) 2013 Virginia Tech
*
* 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 | src/TiledArray/tile_op/binary_wrapper.h | pchong90/tiledarray | gpl-3.0 | 16,140 | 384 | codeparrot/github-code |
53f460de3d40c6826d54264528e492097e1849747eb6cff8bd0f307dbdb88e2f | /*
MultiKinect: Skeleton tracking based on multiple Microsoft Kinect cameras
Copyright (C) 2012-2013 Miguel Angel Vico Moya
This file is part of MultiKinect.
MultiKinect 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 ... | C++ | source/GUI/TextFileDialog.cpp | mvm9289/multikinect | gpl-3.0 | 4,819 | 147 | codeparrot/github-code |
04f4c0eb3ae01f322b2516144f29feb2f3b9cc5d2615dd5fccea765480b2c02d | <!-- DEFINE $PORTALXL = 'dm_video' -->
<!-- INCLUDE overall_header.html -->
<script type="text/javascript">
<!--
function popup(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
href=mylink;
else
href=mylink.href;
window.open(href, windowname, 'width=600,h... | HTML | phpBB3/styles/prosilver/template/dm_video/showvideo_body.html | DaMysterious/portalxl50_premod | gpl-3.0 | 3,332 | 106 | codeparrot/github-code |
6ed10d4bd2fce49590429fdc7e708cb4ca1c2a0b6865dc73b144426ed121234b | using System;
namespace Server.Engines.Quests
{
public class QuestRestartInfo
{
private Type m_QuestType;
private DateTime m_RestartTime;
public Type QuestType { get { return m_QuestType; } set { m_QuestType = value; } }
public DateTime RestartTime { get { return m_RestartTime; } set { m_Restart... | C# | Scripts/Distro/Engines/Quests/Core/QuestRestartInfo.cs | greeduomacro/xrunuo | gpl-3.0 | 846 | 38 | codeparrot/github-code |
1f1cd04aed9c94ed61109b207c148642ed76353018144a16377d0b4f84741449 | #!/usr/bin/env python
import errno
import os
import re
import sys
from configparser import ConfigParser
import jinja2
from errbot.version import VERSION
def new_plugin_wizard(directory=None):
"""
Start the wizard to create a new plugin in the current working directory.
"""
if directory is None:
... | Python | errbot/plugin_wizard.py | apophys/err | gpl-3.0 | 4,848 | 154 | codeparrot/github-code |
b70c90f581a46b6b06c53ae5c504233b6f5028af587a4b851e5fc4cba5ce2f34 | #pragma once
#include "Platform.h"
#include "PlatformThreads.h"
#define LBQ_SUCCESS 0
#define LBQ_INTERRUPTED 1
#define LBQ_BOUND_EXCEEDED 2
#define LBQ_NO_ELEMENT 3
typedef struct _LINKED_BLOCKING_QUEUE_ENTRY {
struct _LINKED_BLOCKING_QUEUE_ENTRY *flink;
struct _LINKED_BLOCKING_QUEUE_ENTRY *blink;
void* data;
} ... | C | limelight-common/LinkedBlockingQueue.h | kevsmithpublic/moonlight-ios | gpl-3.0 | 1,214 | 33 | codeparrot/github-code |
cc74602a4d9f7357bd7f0f111f36bd32ad0e6d44bf70b1d061ebcfc473ce2146 | package edu.buffalo.cse.ubcollecting.data.models;
import android.util.Log;
/**
* Created by aamel786 on 2/17/18.
*/
public class QuestionnaireContent extends Model implements Comparable<QuestionnaireContent> {
private static final String TAG = QuestionnaireContent.class.getSimpleName().toString();
public... | Java | AndroidApp/UBCollecting/app/src/main/java/edu/buffalo/cse/ubcollecting/data/models/QuestionnaireContent.java | jcgood/kpaamcam | gpl-3.0 | 2,582 | 111 | codeparrot/github-code |
06b0273a9aaf2ff8089dc37c2f1a661c60a4cdd46638378b3007b5854f8f6afb | <?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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.
//
// Moodle ... | PHP | message/defaultoutputs.php | khan0407/FinalArcade | gpl-3.0 | 5,237 | 124 | codeparrot/github-code |
496f6cab02cb72a46481b6cf351038a140815804f11c64d113d97838806f2083 | /**
* This file is part of Rizzly.
*
* Rizzly 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.
*
* Rizzly is distributed i... | Java | src/ast/pass/others/ConstTyper.java | ursfassler/rizzly | gpl-3.0 | 2,154 | 78 | codeparrot/github-code |
b413160e1e42e34217125610bb31a71ccf00a04b3326b14ac22db34f3cf2affd | var app = angular.module('newsApp', []);
app.controller('NewsCtrl', function ($scope, NewsService) {
var urlsite = '@ViewBag.UrlSite';
$scope.carregarLojaAds = function () {
NewsService.obterLojaAds()
.then(function (response) {
$scope.dadoslojaads = response;
})
... | JavaScript | sharer/CatalokoSharer/CatalokoSharer/Content/js/news.js | albertoroque/cataloko | gpl-3.0 | 2,235 | 96 | codeparrot/github-code |
8a5ce5caa4b9d3a39a736ae676fbdc2ed1c0bbe21e7fdfbc40c31817e290aeb9 | /*
* Copyright (C) 2013-2014 Dabo Ross <http://www.daboross.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 | src/main/java/net/daboross/mccli/log/SubLogger.java | daboross/minecraft-commandline-interface | gpl-3.0 | 1,338 | 43 | codeparrot/github-code |
634214fc68e69a2668109eeed6dd80bfb90c3fa184a8a5cf957be83909889d4a | // Copyright 2009 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of ... | JavaScript | QMOLEDEV/node/deps/v8/test/mjsunit/debug-compile-event.js | chriskmanx/qmole | gpl-3.0 | 4,923 | 121 | codeparrot/github-code |
d2f6e36d38c81ced80365b4e4bbd7012d23677289cfd6fd48ed9b28452f1d349 | /*
This is a port of the Swiss Ephemeris Free Edition, Version 1.70.02
of Astrodienst AG, Switzerland from the original C Code to Java. For
copyright see the original copyright notices below and additional
copyright notes in the file named LICENSE, or - if this file is not
available - the copyright notes... | Java | guide/jlewi/src/java/swisseph/SwephMosh.java | burakbayramli/kod | gpl-3.0 | 34,592 | 1,023 | codeparrot/github-code |
696075b90f9f467df8cd3557ef0960bbffdfc77171003458f346be94e3126da5 | --[[
This file is part of Ice Lua Components.
Ice Lua Components 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 version.
... | Lua | pkg/base/main_client.lua | iamgreaser/iceball | gpl-3.0 | 9,992 | 359 | codeparrot/github-code |
0b4b3f0b7db6de42707460a5dadac6b05eaa9aac486333dad01cee4c9fac4651 | /*
reup
Automatization of YMZ ECU software repository support.
File: menu.cpp
Copyright (C) 2013-2019 Artem Petrov <pa23666@yandex.ru>
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 Softwar... | C++ | src/menu.cpp | pa23/reup | gpl-3.0 | 20,205 | 568 | codeparrot/github-code |
f882795cae393f4dfe5368d97f544afe70d728b7fab29d8ad25a6cc1519c2633 | ---
layout: default
title: Blog
---
<div class="blog">
<!-- This loops through the paginated posts -->
<ul class="post-list">
{% for post in paginator.posts %}
<li>
<span class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</span>
<h2>
<a class="post-link" href="{{ post.url ... | HTML | blog/index.html | fishjar/fishjar.github.io | gpl-3.0 | 1,452 | 52 | codeparrot/github-code |
449c3c68e61da13bde6757b40f38982b0adbf243dc450faab1082a3679c0db6e | use strict;
use warnings;
use File::Monitor;
use Cwd;
=head1 NAME
autotest
=head1 SYNOPSIS
function to monitor changes to files in a directory and Run
the test assocaited to that file. This is essentially a poor mans
CIT(Continual Integeration Testing)
=cut
#set codedir to the current working directory
my ... | Perl | autotest.pl | ChrisCPoirier/perl | gpl-3.0 | 1,025 | 53 | codeparrot/github-code |
b7d3bb6a5dba9adf8a9660108e0bc97d73000dd5228373223578265ff914a3b9 | # coding=utf-8
"""html to jinja2首席挖洞官
将本目录/子目录下的html文件中使用到的 *静态文件* 的URL改为使用jinja2 + flask url_for渲染
href="css/base.css" -> href="{{ url_for("static", filename="css/base.css") }}"
挖洞前会在文件同目录做一个.bak后缀名的备份文件。
Usage:
$ cd my_project
$ python2 translate.py
"""
from __future__ import print_function
import re
im... | Python | app/templates/translate.py | bllli/tsxyAssistant | gpl-3.0 | 1,394 | 68 | codeparrot/github-code |
ed1c8be996883832c706fb274fb5ff83854b8c45418a73a5331a3864db5791ce | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Neuroflow.Core.NeuralNetworks;
using Neuroflow.Core;
using System.Diagnostics;
namespace Neuroflow.Core.NeuralNetworks.Learning.Algorithms
{
public sealed class SCGAlgorithm : BackwardLearningAlgorithm
{
#regio... | C# | _vault/NFBak/Neuroflow_vsonline/Neuroflow/OldStuff/Neuroflow Framework/Neuroflow/Core/NeuralNetworks/Learning/Algorithms/SCGAlgorithm.cs | unbornchikken/Neuroflow | gpl-3.0 | 12,833 | 478 | codeparrot/github-code |
f513391e43200146f91c25ee954c6f52224442dca308bd35f2423ee5dcd03eea | <?php
namespace app\components;
use Yii;
/**
*
* @author Kolyunya
*/
class Request extends \yii\web\Request
{
/**
* @const string
*/
const REQUEST_TYPE_KEY = 'notification_type';
/**
* @const string
*/
const REQUEST_SIGNATURE_KEY = 'sig';
/**
* @const integer
*/... | PHP | components/Request.php | Kolyunya/yii2-vk-market | gpl-3.0 | 4,019 | 196 | codeparrot/github-code |
a663ca1e19a6c52e6b9f859872d17737b49fb973e2e792a7a542c43140c6a945 | #!/usr/bin/env ../../jazzshell
"""
Supplies a set of admin operations for trained models.
============================== License ========================================
Copyright (C) 2008, 2010-12 University of Edinburgh, Mark Granroth-Wilding
This file is part of The Jazz Parser.
The Jazz Parser is free softw... | Python | bin/models/chordlabel/admin.py | markgw/jazzparser | gpl-3.0 | 5,587 | 145 | codeparrot/github-code |
72957253a36ec64b1546bc97951dd6716afc93ee96cc5208112fe32ffd644446 | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the QtNetwork module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holding valid comm... | C++ | oss/qt/qt-everywhere-opensource-src-5.9.0/qtbase/src/network/bearer/qsharednetworksession.cpp | geminy/aidear | gpl-3.0 | 3,479 | 95 | codeparrot/github-code |
9259667dd81067971c2697899a47e6c594e6bdfafa7326e054a088990ca4469b | /**
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | C++ | Marlin/src/lcd/dogm/u8g_dev_st7565_64128n_HAL.cpp | KangDroid/Marlin | gpl-3.0 | 10,156 | 237 | codeparrot/github-code |
e66c95f5679261db9162cd615f3cc0683f8bc363c02fa3d8cc1f132072094c57 | /*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | Java | frameworks/base/core/java/android/app/DatePickerDialog.java | s20121035/rk3288_android5.1_repo | gpl-3.0 | 7,603 | 214 | codeparrot/github-code |
b57c25c673b6a8f1aa64e547a4364759c8be4fd0862772bc0fffb9fdfcaa665f | /*
* JasperReports - Free Java Reporting Library.
* Copyright (C) 2001 - 2016 TIBCO Software Inc. All rights reserved.
* http://www.jaspersoft.com
*
* Unless you have purchased a commercial license agreement from Jaspersoft,
* the following license terms apply:
*
* This program is part of JasperReports.
*
* J... | Java | lib/JasperReport/src/net/sf/jasperreports/engine/JRPropertiesMap.java | MHTaleb/Encologim | gpl-3.0 | 10,110 | 458 | codeparrot/github-code |
870b79f5a966d414ab7dae37a990564ea75f3335266680de57591b0bd5d54226 | using System;
using LuaInterface;
using SLua;
using System.Collections.Generic;
public class Lua_UIToggledObjects : LuaObject {
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static public int Toggle(IntPtr l) {
try {
UIToggledObjects self=(UIToggledObjects)checkSelf(l);
self.Toggle();
pushValue(l,... | C# | Assets/Runtime/Slua/LuaObject/Dll/Lua_UIToggledObjects.cs | yongkangchen/poker-client | gpl-3.0 | 2,015 | 78 | codeparrot/github-code |
41fdcbcfc9143b540f453f7cb32c9b482b6436fd04ea211f4b2944a19cc6e9aa | // Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include <map>
#include "fpdfsdk/pdfwindow/PWL_ScrollBar.h"
#include "fpdfsdk... | C++ | oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/third_party/pdfium/fpdfsdk/pdfwindow/PWL_Wnd.cpp | geminy/aidear | gpl-3.0 | 28,061 | 1,040 | codeparrot/github-code |
577b3cc6ead955ea7633b82d39dc97674e5150b32ec40e27ac28dffddb6ae076 | /*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | Java | packages/apps/Contacts/src/com/android/contacts/list/JoinContactListAdapter.java | s20121035/rk3288_android5.1_repo | gpl-3.0 | 7,694 | 211 | codeparrot/github-code |
e9fa7a13c5c248f0296a8927bafcc60b06379813303601706d1d696e059d5ff5 | /*
Copyright (C) 2013 Vincenzo Lo Cicero
Author: Vincenzo Lo Cicero.
e-mail: vincenzo.locicero@libero.it
Special thanks to Francesco Baro <e-mail: francesco.baro@libero.it >
for code review and bug fixing.
This file is part of myoptParserLib.
myoptParserLib is free software... | C | src/myoptLexer.c | Vincenzo1968/myoptParser | gpl-3.0 | 8,423 | 286 | codeparrot/github-code |
a4aab9dd6acd83491f94070abe75c364bfed8f67da44a088e78ac7632a1e67fd | package models
import (
"encoding/json"
)
// Application represents an application registered with the auth backend
type Application struct {
// ID represents the app ID in the database
ID int64 `json:"id"`
// Name represents the name of the app
Name string `json:"name"`
// MaintainerID represents the user ID o... | GO | models/application.go | MorpheusXAUT/eveauth | gpl-3.0 | 1,295 | 46 | codeparrot/github-code |
2921ee637a7c30c401797135e9927377dd71958ffb5c539edfbd160fd7694fa5 | from htmldoc import *
from chunk import *
from module import *
from js import *
#? This global variable is used to specify where the javascript files are on the server.
JavascriptDir = "./"
#<_ view="internal">A Marker showing where the RPCs are installed</_>
rpcim = Marker("js")
rpcs=["""
<script language='JavaScri... | Python | PyHtmlGen/json.py | gandrewstone/yadog | gpl-3.0 | 2,038 | 74 | codeparrot/github-code |
1cc1010a7f1faa241be1c28f4029f6559fbe3ceff5459d61c4f914c86e8049e6 | include stdout.a
include conv.a
echo PutL, PutUL, PutLStk, PutULStk
echo PutLSize, PutULSize, PutLSizeStk, PutULSizeStk
$segSTDIO segment para public 'STDIO'
assume cs:$segSTDIO, ds:nothing
; Putl2- This routine, based on some code submitted by
; David Holm, converts a 32-bit integer value
; ... | Assembly | OZone/Documentation/x86/System/Libraries/ucrlib/ucrlib/source/stdout/putl.asm | SpyderTL/OZone | gpl-3.0 | 7,174 | 461 | codeparrot/github-code |
f8dd84b3d6f9603b91d5d29853b0591552efa4174ff798b0ae256bd6841b64cc | /*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2014 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any person obta... | C | ogre/OgreMain/include/OgreShadowVolumeExtrudeProgram.h | GDevs/mission-farpoint | gpl-3.0 | 16,820 | 328 | codeparrot/github-code |
2ce2687a68bf005b9179a148f4738188ecc281dee0bbab1c747acf84bd4ea511 | package cn.ac.rcpa.bio.tools.modification;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedHashMap;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Map;
import cn.ac.rc... | Java | src/cn/ac/rcpa/bio/tools/modification/AbstractIdentifiedPeptideModificationStatisticsCalculator.java | shengqh/RcpaBioSolution | gpl-3.0 | 11,495 | 325 | codeparrot/github-code |
fdfc24b54202312c827b519d6f2b967ff7b3ee6dde745717e6c70d4d2283ffe9 | <?php
/**
* Belgian Scouting Web Platform
* Copyright (C) 2014 Julien Dupuis
*
* This code is licensed under the GNU General Public License.
*
* This is free software, and you are welcome to redistribute it
* under under the terms of the GNU General Public License.
*
* It is distributed without any warrant... | PHP | app/controllers/LogController.php | juldup/scouting-web-platform | gpl-3.0 | 2,471 | 76 | codeparrot/github-code |
e80c5aba9fa2bf4459e1b937b236efff7057cfc0817cef4fbe63a4c78b1648f4 | // ****************************************************************************
// * This file is part of the HqMAME project. It is distributed under *
// * GNU General Public License: http://www.gnu.org/licenses/gpl-3.0 *
// * Copyright (C) Zenju (zenju AT gmx DOT de) - All Rights Reserved *
... | C | xBRZ/xbrz.h | MiYanni/xBRZ.NET | gpl-3.0 | 4,584 | 96 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.