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 |
|---|---|---|---|---|---|---|---|---|
14c84c9ef628046fe8892055b3a618d6b5000018b4d2d8a8b9eeaa01a1c1c722 | /*
DEAD PIXEL
Copyright (C) 2015 Code61
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 | java/com/code61/deadpixel/YellowFragment.java | SrpMtt/DeadPixel | gpl-3.0 | 2,093 | 67 | codeparrot/github-code |
2e2195e78b6d7d8494a68efbe5b8c18f87e3c9af5cd0d50ec2f5e540df8d97dc | import React, { useEffect, useState } from 'react';
import { getMismatchedFavourites } from 'utils/compare-favourites';
import getTableAccess, { FavEntries } from 'storage/idb';
import ReactDiffViewer from 'react-diff-viewer';
import { foundationPartial } from 'styles/foundation';
import ipro from 'styles/interpro-ne... | JavaScript | src/pages/FavouriteUpdates/index.js | ProteinsWebTeam/interpro7-client | gpl-3.0 | 2,997 | 89 | codeparrot/github-code |
2c023776d4bc799b90636d865a60e22ba39a0384c3d2ae012c31dbec8cefdbcc | package core.id107.raytracer.coretransform.classtransformers.name;
import core.id107.raytracer.coretransform.CoreLoader;
public class ClassName {
private final String deobfuscatedName;
private final String obfuscatedName;
public ClassName(String deobfuscatedName, String obfuscatedName) {
this.deobfu... | Java | src/main/java/core/id107/raytracer/coretransform/classtransformers/name/ClassName.java | 18107/MC-Ray-Tracer | gpl-3.0 | 1,409 | 59 | codeparrot/github-code |
78b7c8bd3018664d3827aebea813ffd748f2407c921546180ae82c93bc7a1ac7 | # This class is an inspired by the Map class created by Tomas Varaneckas
# in his book "Developing Games with Ruby"
# Source: https://github.com/spajus/ruby-gamedev-book-examples
#
class Map
MAP_WIDTH = 11
MAP_HEIGHT = 13
TILE_SIZE = 32
def self.bounding_box
# We need to add the map position in the game wi... | Ruby | app/entities/map.rb | jpboily/frog-road | gpl-3.0 | 2,012 | 80 | codeparrot/github-code |
5af81c84aa873cb873c3ea3cc07ed5db15aef1d6470ae61f21a1263185cc68e1 | /*
* Lumeer: Modern Data Definition and Processing Platform
*
* Copyright (C) since 2017 Lumeer.io, s.r.o. and/or its affiliates.
*
* 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 ... | TypeScript | src/app/shared/teams/pipes/team-transitive-roles.pipe.ts | Lumeer/web-ui | gpl-3.0 | 2,221 | 61 | codeparrot/github-code |
ed9d79d174f13c1ea44c32ba3fd5e0478ab77abaf37ba9d927b8cea3c5431da5 | package de.htwg.memory.entities;
import java.awt.Color;
import java.awt.Image;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import de.htwg.memory.logic.SettingUtil;
import de.htwg.memory.logic.Util;
public class MemoryCard implements Comparable<MemoryCard>, Cloneable, IMemoryCard{
... | Java | src/de/htwg/memory/entities/MemoryCard.java | Monoblos/Memory | gpl-3.0 | 2,459 | 106 | codeparrot/github-code |
457fd49b5d5f49f93ee4e2e0699f48b2f2f5f152f68268b2f3aac28e9f42b6cf | <?php
class Tribe extends AppModel {
var $name = 'Tribe';
var $belongsTo = array(
'Player',
);
var $hasMany = array(
'Tribesman',
);
function findTribesman($playerId) {
return $this->Tribesman->find('first', array(
'conditions' => array('Tr... | PHP | site/app/Model/Tribe.php | giulianob/tribalhero | gpl-3.0 | 826 | 33 | codeparrot/github-code |
36db39e226d5550bf64228272e2fc56db02cf0fcd465e943d7ca690b10781068 | /*
* This file is part of the L2J Global project.
*
* 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 p... | Java | java/com/l2jglobal/gameserver/model/residences/AbstractResidence.java | rubenswagner/L2J-Global | gpl-3.0 | 8,787 | 319 | codeparrot/github-code |
edbaca432fc574734aea90999b1f614537d7708d073efb8fb8ea0b4a92c85dd4 | package lorian.graph.function;
import java.util.ArrayList;
import java.util.List;
public class Term {
protected boolean parsed = false;
protected int index = 0;
protected char argumentChar = 'x';
protected List<Factor> factors;
public Term()
{
factors = new ArrayList<Factor>();
}
public Term(char argu... | Java | src/lorian/graph/function/Term.java | lorian1333/graph | gpl-3.0 | 6,186 | 285 | codeparrot/github-code |
eec17607dec93b4d10b1497680526fc14daf725ca8c961a5eaba9445fa460afe | <?php
// 7:00 -> 21:59
if(!in_array(date("H"), range(7, 21))){
if(in_array($this->telegram->callback, ["raid apuntar", "raid estoy", "raid rewrite"])){
$this->telegram->answer_if_callback("");
// Remove button
$this->telegram->send
->text($this->telegram->text_message())
->edit('text');
return -1;
}
re... | PHP | application/plugins/raid.php | duhow/ProfesorOak | gpl-3.0 | 5,436 | 191 | codeparrot/github-code |
2b4e40278f9f451e3d399a163a3a1a1221f34cb440decd11bd5ac2ceb3955778 | /*==============================================================================
* File $Id$
* Project: ProWim
*
*------------------------------------------------------------------------------
* (c) 07.09.2009 Ebcot Business Solutions GmbH. More info: http://www.ebcot.de
* All rights reserved. Use is subject to l... | Java | prowim-server/src/org/prowim/services/ejb/knowledge/KnowledgeBean.java | prowim/prowim | gpl-3.0 | 16,161 | 469 | codeparrot/github-code |
64bf3e5279e4ee8e1cd71d6f31bd9d346c849cb58032812d6ce5bc2c41da25fa | /*
* Copyright (C) 2011-2013 Project SkyFire <http://www.projectskyfire.org/>
* Copyright (C) 2008-2013 TrinityCore <http://www.trinitycore.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 Foun... | C++ | src/server/scripts/Northrend/FrozenHalls/PitOfSaron/pit_of_saron.cpp | Crash911/RaptoredSkyFire | gpl-3.0 | 9,812 | 318 | codeparrot/github-code |
4c58fcc87234b7700f1ebd11bde384e25e070b360ff0434adbb5d949a50947ab | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
/// <summary>
/// Singleton class that manages selection of individual drone components and highlight controls for the
/// correspondent component in the cockpit
/// </summary>
public class DroneComponentSelector : MonoBehaviour {
[Se... | C# | Drone Simulator/Assets/CustomScripts/DroneComponentSelector.cs | michaeltangelo/vr-drone-simulator | gpl-3.0 | 3,972 | 135 | codeparrot/github-code |
532cbfb812ede7966040734c9e67a7f28eccd354be13c766069dea1678016970 | /*
*
* This file is part of the SIRIUS library for analyzing MS and MS/MS data
*
* Copyright (C) 2013-2020 Kai Dührkop, Markus Fleischauer, Marcus Ludwig, Martin A. Hoffman and Sebastian Böcker,
* Chair of Bioinformatics, Friedrich-Schilller University.
*
* This library is free software; you can redistribute... | Java | chemistry_base/src/main/java/de/unijena/bioinf/ChemistryBase/fp/FormulaProperty.java | kaibioinfo/sirius | gpl-3.0 | 1,514 | 44 | codeparrot/github-code |
46013c23c2deb093cffbcb79dd65e1f8a1c50bd09dc85ed554534d1b29ab0c08 | #include "cpm.h"
#include "netlist.h"
#include "DAG.h"
#include <fstream>
using namespace std;
bool assert_stream_working(ofstream& st, const string& stream_name = "unknown stream name"){
if(st.fail() || !st.is_open()){
cerr << "Stream Failed: " << stream_name << endl;
exit(EXIT_FAILURE);
}
}
bool assert... | C++ | src/slacks.cpp | decltypeme/sierra-tango-alpha | gpl-3.0 | 1,459 | 56 | codeparrot/github-code |
fcc3d8650cf2e68ee1001691af23ac07aa81869a04dffd3462ffb2b64aec5c64 | package com.idega.idegaweb;
import java.io.InputStream;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.Collection;
import java.util.Enumeration;
import java.util.Iterator;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.Set;
import javax.faces.Faces... | Java | src/java/com/idega/idegaweb/IWSubApplication.java | grimurjonsson/com.idega.core | gpl-3.0 | 17,925 | 631 | codeparrot/github-code |
2d5a3b03b98b1b2b96e03eff8b734d3b33b62b51eb6773f4183312191a614867 | class Messaging::ChaptersController < ApplicationController
def new
@submission = Messaging::Chapter.new
@submission.message = Messaging::Message.new
end
def done
end
def create
@submission = Messaging::Chapter.create(params[:messaging_chapter])
if @submission.message.nil?
@message = Mes... | Ruby | app/controllers/messaging/chapters_controller.rb | goodfornothing/goodfornothing | gpl-3.0 | 1,036 | 44 | codeparrot/github-code |
67ad09e111dc8af4a34bb669ae23289a54060ea368837c12f47c1bd9f8a70ba4 | /*
* Copyright 2010-2013 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/Ufopaedia/UfopaediaSelectState.cpp | lt90/RPG | gpl-3.0 | 3,598 | 125 | codeparrot/github-code |
c0ca17c86673b090610ff17574bdd16dbb03388e5eb7d27af8ee9d77a6d64288 | package com.cloudwise.sap.niping.resource;
import com.cloudwise.sap.niping.common.entity.Task;
import com.cloudwise.sap.niping.common.vo.RestfulReturnResult;
import com.cloudwise.sap.niping.common.vo.converter.TaskConverter;
import com.cloudwise.sap.niping.exception.NiPingException;
import com.cloudwise.sap.niping.fil... | Java | server/src/main/java/com/cloudwise/sap/niping/resource/TaskResource.java | CloudWise-OpenSource/SAPNetworkMonitor | gpl-3.0 | 5,109 | 136 | codeparrot/github-code |
02b92501185fee8a80f23e7782184fa0c3040355e2fb43c0b3da3b7c58be5fbd | //Rabsg - Real time Strategy game
// Copyright (C) 2014 Thomas Kamps anubis1@linux-ecke.de
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 3 of the License, or
// (at yo... | C++ | src/client/gui/gameview/render/imagerenderer.cpp | Blahord/Rabsg | gpl-3.0 | 1,921 | 65 | codeparrot/github-code |
6398808469e4eea271401fc7c69d051aac1b85d25b7474c6ff49bf596341e920 | /**
* JavaScript for course selector.
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @package courseselector
*/
// Define the core_enrol namespace if it has not already been defined
M.core_enrol = M.core_enrol || {};
// Define a selectors array for against namespace
M.core_enrol.course_select... | JavaScript | enrol/meta/module.js | kranje/moodle305 | gpl-3.0 | 9,290 | 237 | codeparrot/github-code |
75e94f955c66e50f576a3d80685c70e6385047f01f2fe4c342d4a3547885e669 | <?php
/**
* Entrada [ http://www.entrada-project.org ]
*
* Entrada 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.
*
* Entrada... | PHP | www-root/api/file-wizard-course.api.php | EntradaProject/entrada-1x | gpl-3.0 | 53,120 | 1,042 | codeparrot/github-code |
38ac9f87e413283dabaa195a435af87f1f89fcdf1173bce05aa246c748d83529 | <?php
/**
* ORVSD External Web Service
* provides a facility to restore OSL managed courses into moodle
*
* @package orvsd
* @copyright 2012 OSU Open Source Lab
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
require_once($CFG->libdir . "/externallib.php");
class local_orvsd_insta... | PHP | local/orvsd_installcourse/externallib.php | orvsd-skol/moodle27 | gpl-3.0 | 9,851 | 301 | codeparrot/github-code |
8705ceeec1c9361b55d0526cce6a3c57f90cbffded241a4697f09c7887fab4a4 | /*
DA-NRW Software Suite | ContentBroker
Copyright (C) 2013 Historisch-Kulturwissenschaftliche Informationsverarbeitung
Universität zu Köln
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,... | Java | ContentBroker/src/test/java/de/uzk/hki/da/at/ATPremisCreationDelta.java | da-nrw/DNSCore | gpl-3.0 | 11,594 | 286 | codeparrot/github-code |
c8040bd2ff058ab487716a80daeb564fe41e746af93f07c8bef234a3180667bb | package io.github.dsheirer.dsp.gain;
import io.github.dsheirer.buffer.ComplexCircularBuffer;
import io.github.dsheirer.buffer.DoubleCircularBuffer;
import io.github.dsheirer.sample.Listener;
import io.github.dsheirer.sample.Provider;
import io.github.dsheirer.sample.complex.Complex;
import java.util.concurrent.atomic... | Java | src/main/java/io/github/dsheirer/dsp/gain/ComplexAutomaticGainControl.java | ImagoTrigger/sdrtrunk | gpl-3.0 | 8,645 | 250 | codeparrot/github-code |
137c6ae506db0cdf23b24487211285ab89d8f85df054118fd301b5cbc6477114 | package tw.fatminmin.xposed.minminguard.adnetwork;
import tw.fatminmin.xposed.minminguard.Main;
import tw.fatminmin.xposed.minminguard.Util;
import android.view.View;
import de.robv.android.xposed.XC_MethodHook;
import de.robv.android.xposed.XposedBridge;
import de.robv.android.xposed.XposedHelpers;
import de.robv.and... | Java | src/tw/fatminmin/xposed/minminguard/adnetwork/Flurry.java | geekspeng/MinMinGuard | gpl-3.0 | 1,707 | 54 | codeparrot/github-code |
e81c070f63eae767449f05341b3201d098e2c0fea3c5b8392319b18d88ab5d2f | /*
Copyright (C) 1993-2017 John W. Eaton
This file is part of Octave.
Octave is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of the License, or (at your
option) any later version.
Octave is di... | C | liboctave/array/Range.h | xmjiao/octave-debian | gpl-3.0 | 5,047 | 180 | codeparrot/github-code |
99cf99eb14610d8a7be7973142de55b65238e914109efb0dbb84d2df3fb64eb6 | <?php
namespace app\traits;
use app\modules\image\models\Image;
/**
* Trait to create relation of images width object
* Class GetImages
* @package app\traits
*/
trait GetImages
{
public function getImages()
{
/**
* @var $object \app\models\BaseObject
* @var $model \app\propertie... | PHP | application/traits/GetImages.php | DevGroup-ru/dotplant2 | gpl-3.0 | 755 | 34 | codeparrot/github-code |
18355b4e983f8f8b28cc7454cce9cf5305525e5ecd0027f2870e73ff2e4a04aa | //============================================================================
// Name : RTT_Server.cpp
// Author : AltF4
// Copyright : 2011, GNU GPLv3
// Description : Column definition for lists of players in the match lobby
//============================================================================... | C | RTT_Client_GTK/src/PlayerListColumns.h | altf4/RealTimeTactics | gpl-3.0 | 944 | 38 | codeparrot/github-code |
0d14a8893157b7c7908ce2357ce6f412c509f8fcabca0ff4df455af22b27c3d8 | -- Global Variables
DPSMate.Modules.Deaths = {}
DPSMate.Modules.Deaths.Hist = "Deaths"
DPSMate.Options.Options[1]["args"]["deaths"] = {
order = 160,
type = 'toggle',
name = DPSMate.L["deaths"],
desc = DPSMate.L["show"].." "..DPSMate.L["deaths"]..".",
get = function() return DPSMateSettings["windows"][DPSMate.Optio... | Lua | DPSMate_Deaths/DPSMate_Deaths.lua | Geigerkind/DPSMateTBC | gpl-3.0 | 3,855 | 121 | codeparrot/github-code |
ea3b7717ffab2720a902f2c0abd48e6f870a6da38dc1bb297a9e78695cce2c65 | /*
* Copyright (C) 2007-2016 Hypertable, Inc.
*
* This file is part of Hypertable.
*
* Hypertable is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 3
* of the License, or any later version... | C++ | src/cc/Common/Checksum.cc | hypertable/hypertable | gpl-3.0 | 2,594 | 90 | codeparrot/github-code |
68038a893f39fed43f8125ca23a39e24ca2641232410d526cd6813e51371ed3f | <?php
// Heading
$_['heading_title'] = 'Stores';
// Text
$_['text_settings'] = 'Settings';
$_['text_success'] = 'Success: You have modified Stores!';
$_['text_list'] = 'Store List';
$_['text_add'] = 'Add Store';
$_... | PHP | admin/language/en-gb/setting/store.php | a349944418/huaye | gpl-3.0 | 7,204 | 100 | codeparrot/github-code |
45594739167f7e34f27cb0e59309be715ed78a7e860f9c2b921e77c96c8e9a52 | /*
* Cantata
*
* Copyright (c) 2011-2017 Craig Drummond <craig.p.drummond@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 2 of the License, or
* (a... | C++ | playlists/smartplaylists.cpp | padertux/cantata | gpl-3.0 | 1,903 | 71 | codeparrot/github-code |
21c2a3d2acc61e88ffadaae215fb17a9fe2baac2f78e06ad5146fd081d57586e | // Package uast defines a UAST (Universal Abstract Syntax Tree) representation
// and operations to manipulate them.
package uast
import (
"bytes"
)
// Hash is a hash value.
type Hash uint32
// Role is the main UAST annotation. It indicates that a node in an AST can
// be interpreted as acting with certain language... | GO | uast/uast.go | dpordomingo/sdk | gpl-3.0 | 8,736 | 329 | codeparrot/github-code |
152816e13a822aac45fa34bfdb80f7f964bbcaf21e4d1c76c463f2a7485dc9f7 | <!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">
<!-- This manual documents the Semantic library and utilities.
Copyright (C) 1999-2005, 2007, 2009-2016 Free Software
Foundation, Inc.
Permission i... | HTML | aquamacs/doc/Aquamacs Help/misc/semantic.html/Analyzer-Internals.html | davidswelt/aquamacs-emacs | gpl-3.0 | 6,425 | 187 | codeparrot/github-code |
c45c1ff26d5b3dc15caf5b8748b369e8be2de9534e3c36e42c6b543503d40191 | //----------------------------------------------
// NGUI: Next-Gen UI kit
// Copyright © 2011-2014 Tasharen Entertainment
//----------------------------------------------
#if !UNITY_EDITOR && (UNITY_IPHONE || UNITY_ANDROID || UNITY_WP8 || UNITY_BLACKBERRY)
#define MOBILE
#endif
using UnityEngine;
using Sys... | C# | Project/Assets/NGUI/Scripts/UI/UIInput.cs | manakpp/Mage-Command | gpl-3.0 | 32,347 | 1,404 | codeparrot/github-code |
70621d2540fd5093a29bb98d8abf63316158d06f68c6c4174444a5351ce97691 | #!/bin/bash
#stats in=<infile>
usage(){
echo "
Written by Brian Bushnell
Last modified September 6, 2016
Description: Generates basic assembly statistics such as scaffold count,
N50, L50, GC content, gap percent, etc. For multiple files,
please use statswrapper.sh. Works with fasta and... | Shell | bash/bbtools/bbmap/stats.sh | richrr/scripts | gpl-3.0 | 3,154 | 98 | codeparrot/github-code |
ab3f9ee54a128f26766a39d7340846bde948d2dcfe49bf3712a217157f47ee55 | package com.jdc.book.entity;
import java.io.Serializable;
public class User implements Serializable{
private static final long serialVersionUID = 1L;
private String loginId;
private String password;
private String name;
private String phone;
private String email;
private String address;
public String ge... | Java | book-corner-tut/src/main/java/com/jdc/book/entity/User.java | minlwin/javaee7-tutorials | gpl-3.0 | 1,002 | 55 | codeparrot/github-code |
71391e1b775492b2341a90347d62e980fdfc0597336e21cd28fe89e83ec819e0 | /*******************************************************************************
* The MIT License
*
* Copyright (c) 2008 Adam Kiezun
*
* 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 ... | Java | contrib/Kaluza/hampi/src/hampi/constraints/AndConstraint.java | cs-au-dk/Artemis | gpl-3.0 | 4,174 | 145 | codeparrot/github-code |
e34614dfc78e436a6a8c1db67cddd8db4fc42d66587a31718c29329449ddac02 | package org.to2mbn.akir.core.service.texture;
import static java.util.Collections.unmodifiableMap;
import java.awt.image.BufferedImage;
import java.io.IOException;
import java.io.InputStream;
import java.nio.file.Paths;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util... | Java | src/main/java/org/to2mbn/akir/core/service/texture/TexturesManager.java | yushijinhun/akir | gpl-3.0 | 3,121 | 101 | codeparrot/github-code |
66809da4c11af6db89584278454843a97fcfb1f8277ce80fd3f7dbc048aad581 | /**********************************************************
* Version $Id: azeq.c 911 2011-02-14 16:38:15Z reklov_w $
*********************************************************/
/***************************************************************************/
/* RSC IDENTIFIER: AZIMUTHAL EQUIDISTANT
*
* ABSTRACT
*
* ... | C | saga-gis/src/modules/projection/pj_geotrans/geotrans/azeq.c | UoA-eResearch/saga-gis | gpl-3.0 | 17,167 | 466 | codeparrot/github-code |
01e812d33827d15e312d0fb64754f5e8d34ae9b0e8c7ccc1b8a7f3ac59ecd485 | // -*- c++ -*-
/*
* Copyright 2012, 2013 The GalSim developers:
* https://github.com/GalSim-developers
*
* This file is part of GalSim: The modular galaxy image simulation toolkit.
*
* GalSim is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as publish... | C++ | src/SBConvolve.cpp | mardom/GalSim | gpl-3.0 | 15,156 | 370 | codeparrot/github-code |
abce1cc9f7b56e56ec958e3da6abaa2c6205900e29d1d344f82dc13120a4b9d4 | <!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">
<!-- This file documents VHDL Mode, an Emacs mode for editing VHDL code.
Copyright (C) 1995-2008, 2010, 2012, 2015-2016 Free Software
Foundation, In... | HTML | aquamacs/doc/Aquamacs Help/misc/vhdl-mode.html/New-Indentation-Engine.html | davidswelt/aquamacs-emacs | gpl-3.0 | 5,567 | 150 | codeparrot/github-code |
04e94be7fe8caf9a203bafde372d46e5d3f16f845ecede8e445ada0ccc0898cf | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
\\ / O peration | Version: 3.2
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For ... | C++ | src/meshTools/cellQuality/cellQuality.H | Unofficial-Extend-Project-Mirror/foam-extend-foam-extend-3.2 | gpl-3.0 | 2,833 | 103 | codeparrot/github-code |
01df634364d212b967ffa1fd323f70a97899888bfa25c29f54bcdcc0fed077e1 | <?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 | mod/assign/feedback/file/locallib.php | DeanLennard/DeanLennardsMoodle | gpl-3.0 | 24,519 | 582 | codeparrot/github-code |
d4a2dbf22eaf34bfbd9319f513a4f3ecbb0256e01be9d032e51c05012e4383e2 | """
Instructions on how to put together different kinds of lasagnas
"""
# builtins
from collections import (namedtuple, defaultdict, OrderedDict)
from functools import (lru_cache, partial)
from weakref import WeakKeyDictionary
# pip packages
from itertools import chain
import sys
from theano import tensor as T
import... | Python | lasagnecaterer/recipe.py | emillynge/lasagne-caterer | gpl-3.0 | 50,854 | 1,322 | codeparrot/github-code |
c35466f64dafb567e71b9696001b2d3a6264297c2d5b85b7a1f1fc1bfe32be31 | class VideoFile(object):
def __init__(self, filename, position='random', vtype='file', startat=0):
self.filename = filename
self.position = str(position)
self.vtype = vtype
self.startat = startat
def get_input_line(self):
if self.vtype == 'file':
if self.star... | Python | vatypes.py | skawouter/piwall-ffmpeg-scenegenerator | gpl-3.0 | 1,444 | 41 | codeparrot/github-code |
40f9b21c5200ce6e0e0b43fac62e5764ca768ef70e9626367a77826f18731df3 | <?php
/**
* Copyright (C) 2017 Spencer Mortensen
*
* This file is part of Lens.
*
* Lens 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... | PHP | src/Lens/Reports/Coverage/CoverageReportBuilder.php | Spencer-Mortensen/lens | gpl-3.0 | 4,274 | 145 | codeparrot/github-code |
ca1de1e5d6eeba1a30a27f964c36c622f4c5d21e564960072bae9c20fae1499d | // ClearSync: system synchronization daemon.
// Copyright (C) 2011-2012 ClearFoundation <http://www.clearfoundation.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... | C++ | cslog.cpp | clearos/clearsync | gpl-3.0 | 5,968 | 210 | codeparrot/github-code |
c3feb5e9585e8a44a9d96dc8ed02c8151daad677eb259c51bba42266c74b4963 | /**
* Copyright 2010 by Benjamin J. Land (a.k.a. BenLand100)
*
* This file is part of SJVM the Simple Java Virtual Machine.
*
* SJVM 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 ve... | C | SJVM.h | BenLand100/SJVM | gpl-3.0 | 1,892 | 73 | codeparrot/github-code |
ca6064acf9b011d27de611efecf0011b9e6e562fc846aa1db1c65702a805e9a4 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License.... | C++ | js/src/xpconnect/src/XPCDispObject.cpp | tmhorne/celtx | mpl-2.0 | 19,226 | 518 | codeparrot/github-code |
60dadb18d3437a0b02bd49b0de3a63348288cba4faea48c432cd6ad331e18596 | import RESTSerializer, { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';
import { assign } from '@ember/polyfills';
import { decamelize } from '@ember/string';
export default RESTSerializer.extend(EmbeddedRecordsMixin, {
keyForAttribute: function (attr) {
return decamelize(attr);
},
attrs: {
... | JavaScript | ui/app/serializers/cluster.js | hashicorp/vault | mpl-2.0 | 904 | 34 | codeparrot/github-code |
e6f3c458221014b68a7cd541fd1a8a20084dc6ff0ac82531c119f90e1a2a0f58 | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
use crate::dom::attr::Attr;
use crate::dom::bindings::cell::DomRefCell;
use crate::dom::bindings::codegen::Binding... | Rust | components/script/dom/htmllinkelement.rs | jimberlage/servo | mpl-2.0 | 16,096 | 466 | codeparrot/github-code |
f7831645d54ead8f6a55be0b7ed4f5d0216245beebf6316acbb67fe11165a5f8 | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package etomica.virial.simulations;
import java.awt.Color;
import javax.swing.JLabel;
import javax.swing.JPanel;... | Java | etomica-apps/src/main/java/etomica/virial/simulations/VirialHePIXC.java | ajschult/etomica | mpl-2.0 | 16,022 | 332 | codeparrot/github-code |
fe96928fb00f04321b03cf08204667d60dcba43b85a466297d2ab14d05349400 | //
// Created by slanska on 2018-10-16.
//
/*
* This is implementation of SQLite virtual table module - flexirel,
* which allows normal SQL access to referenced data, via .ref-values table
* flexirel tables are normally created during converting schema from
* existing SQLite database to Flexilite format.
*
* Vir... | C++ | src/flexi/flexi_rel_vtable.cpp | slanska/flexilite | mpl-2.0 | 11,636 | 418 | codeparrot/github-code |
03d444842c78074f4b94aebb734fde9aee7ad746cc23004bf5a72544f7bf9f58 | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
(function(){
"use strict";
let scope;
if ((typeof exports) !== "undefined"){
scope = exports;
}
else {
sc... | JavaScript | lib/persistentRndStorage.js | kkapsner/CanvasBlocker | mpl-2.0 | 5,726 | 176 | codeparrot/github-code |
e69284f67e14cf0aaf40a02fd50673d0409b8470147de03f28b9815b06633e71 | package sophena.io.datapack;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.UUID;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.google.gson.Gson;
import com.google.gson.JsonArray;
import com.google.gson.JsonElement;
import com.google.gson.JsonO... | Java | sophena/src/sophena/io/datapack/Upgrade2.java | GreenDelta/Sophena | mpl-2.0 | 7,689 | 273 | codeparrot/github-code |
a0312eaae18b3e35c9ef0a6b19efb8be4b8f1cb317ddd53c487fb9a8a03250b5 | #include <cstring>
#include <string>
#include <vector>
#include <iostream>
#include "../src/mflash_basic_includes.hpp"
#include "../src/core/mapped_stream.hpp"
//INITIALIZE_EASYLOGGINGPP
using namespace mflash;
int main(){
std::string graph_file;
graph_file = "/data/hugo-data/hugo-others/datasets/.M-FLASH/lj/0.par... | C++ | test/BlockEdgeTest.cpp | M-Flash/m-flash-cpp | mpl-2.0 | 761 | 37 | codeparrot/github-code |
ef7cab97265c6a2ba3287b458b9f75f9105ad439989d75f2bd754095afde5785 | /**
* Copyright (c) 2016, All partners of the iTesla project (http://www.itesla-project.eu/consortium)
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package co... | Java | commons/src/main/java/com/powsybl/commons/io/table/Column.java | powsybl/powsybl-core | mpl-2.0 | 2,246 | 81 | codeparrot/github-code |
e03ec9d79f77bf824ac8afc7df09604ce36d9d984793fafa77ddbbb858271cab | import fs from 'fs-extra'
import path from 'path'
import getos from 'getos'
import Platform from 'shared/Platform'
const LINUX_PACKAGE_MANGER_BY_OS_NAME = Object.freeze({
'Fedora': Platform.PACKAGE_MANAGERS.YUM,
'Centos': Platform.PACKAGE_MANAGERS.YUM,
'SUSE Linux': Platform.PACKAGE_MANAGERS.ZYPPER,
'Ubuntu Li... | JavaScript | classic/src/app/src/Runtime/DistributionConfig.js | wavebox/waveboxapp | mpl-2.0 | 3,351 | 93 | codeparrot/github-code |
8865acd31d750dd3ad61a113fdca5e7ac39e083c6fcdf46e2291bd15bc56114e | /*
* Copyright ©1998-2022 by Richard A. Wilkes. All rights reserved.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, version 2.0. If a copy of the MPL was not distributed with
* this file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This Source Code Form is "Incompat... | Java | com.trollworks.gcs/src/com/trollworks/gcs/ui/widget/MultiLineTextField.java | richardwilkes/gcs | mpl-2.0 | 5,016 | 132 | codeparrot/github-code |
307d6ba429780fa5cf4083b74f80a4d387c9296200f14e3652b35b6b2c048ec1 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<title>Enums</title>
<link rel="stylesheet" type="text/css" href="rust-book.css">
</head>
<body class="rustdoc">
... | HTML | book/enums.html | susaing/doc.servo.org | mpl-2.0 | 13,604 | 327 | codeparrot/github-code |
8fed8d924260976437b8d5986e315cc3d2ab4c00f23a0248322a2ff0ff45f4d4 | /**
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
* obtain one at http://mozilla.org/MPL/2.0/. OpenMRS is also distributed under
* the terms of the Healthcare Disclaimer located at http://openmrs.org/license.... | Java | api/src/test/java/org/openmrs/ConceptTest.java | MitchellBot/openmrs-core | mpl-2.0 | 48,880 | 1,221 | codeparrot/github-code |
eaca10423b4b01723991ca876ff1bdf28379749ff3081dc84ed0709b3185bafb | /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef nsSprocketLayout_h___
#def... | C | layout/xul/nsSprocketLayout.h | Yukarumya/Yukarum-Redfoxes | mpl-2.0 | 4,993 | 143 | codeparrot/github-code |
4bc0ec6b1dd8e9cabba1327d17d86b9707062797de92d087afc2797d08d1288e | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `StreamingDecoder` struct in crate `png`.">
<meta name="key... | HTML | png/struct.StreamingDecoder.html | servo/doc.servo.org | mpl-2.0 | 13,413 | 149 | codeparrot/github-code |
f6cac8bf45024b6fcf434245af6ecc8ec556d5a5c47b724dbab908ec97d41b24 | /*此标记表明此文件可被设计器更新,如果不允许此操作,请删除此行代码.design by:agebull designer date:2019/4/12 16:44:14*/
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Configuration;
using System.Data;
using System.Data.Sql;
using System.Data.SqlClient;
using System.Diag... | C# | demo/src/HPC/HpcUser/Model/DataAccess/Permit/PermitRoleHasOrgDataAccess.Designer.cs | agebullhu/AgebullDesigner | mpl-2.0 | 8,386 | 287 | codeparrot/github-code |
32a4675253c7b816fa45a8ce2b94a18eba0675623402194d2e472a69dd775c81 | /*
* Javassist, a Java-bytecode translator toolkit.
* Copyright (C) 1999-2007 Shigeru Chiba. All Rights Reserved.
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. Alternatively, the contents o... | Java | usemon-agent-commons-java/src/main/java/com/usemon/lib/javassist/convert/TransformAfter.java | ProfilingLabs/Usemon2 | mpl-2.0 | 1,673 | 46 | codeparrot/github-code |
bdbe794569b6e136057cb505b354e45479234e294a450293584419ad744d735e | # This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
from __future__ import absolute_import
import click
import json
import os
import releng_clobberer.cli
import backend_c... | Python | src/releng_clobberer/releng_clobberer/__init__.py | andrei987/services | mpl-2.0 | 1,316 | 51 | codeparrot/github-code |
d6ec4b366a2b419e5135de6e9e93a714b1ec6e6a64fc8eba98e607b1a452521f | #ifndef __domain_hpp__
#define __domain_hpp__
#include <vector>
#include "grid_point.hpp"
#include "species.hpp"
const double R = 8.3144598;
const double AVAGADRO = 6.022140857e23;
const double kB = R / AVAGADRO;
const double PI = 3.141592653589793238;
class domain
{
// Number of grid points in t... | C++ | examples/1d_example/domain.hpp | sivaramambikasaran/Fast_Multi_Component_Diffusion | mpl-2.0 | 9,747 | 293 | codeparrot/github-code |
313e827b7b4a835ec170713dfd15e226fb9363f461ac30198f77c32349082806 | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package etomica.metastable;
import java.io.FileWriter;
import java.io.IOException;
import java.util.Arrays;
import... | Java | etomica-apps/src/main/java/etomica/metastable/LJmuVT.java | ajschult/etomica | mpl-2.0 | 15,879 | 380 | codeparrot/github-code |
d3bb08e2323ed7a0e33bc44fe74431e44babe144d3326cca8d499ccc6f652b4c | /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set sw=2 ts=2 et tw=79: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
... | C++ | parser/htmlparser/nsParser.cpp | Yukarumya/Yukarum-Redfoxes | mpl-2.0 | 49,753 | 1,601 | codeparrot/github-code |
3dc09dea65061b820a9e1aa10db4db6f12912e507d5256670b48f4785e3db33e | /**
* @author Justin "JustBru00" Brubaker
*
* This is licensed under the MPL Version 2.0. See license info in LICENSE.txt
*/
package com.gmail.justbru00.epic.rename.commands.v3;
import org.bukkit.Material;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.co... | Java | src/com/gmail/justbru00/epic/rename/commands/v3/SetLoreLine.java | JustBru00/RenamePlugin | mpl-2.0 | 3,246 | 100 | codeparrot/github-code |
82193beef86fae94dae2b520c6db262c09ca84f38bda546759c946be616013e7 | package azurerm
import (
"fmt"
"log"
"net/http"
"regexp"
"strings"
"github.com/Azure/azure-sdk-for-go/arm/network"
"github.com/hashicorp/terraform/helper/schema"
)
func resourceArmPublicIp() *schema.Resource {
return &schema.Resource{
Create: resourceArmPublicIpCreate,
Read: resourceArmPublicIpRead,
... | GO | builtin/providers/azurerm/resource_arm_public_ip.go | daveadams/terraform | mpl-2.0 | 5,944 | 245 | codeparrot/github-code |
d31175411d4051b0d4fe90dcb64cd366fbec337a059906c5a56f32fc6e090b8a | package aws
import (
"fmt"
"log"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/service/directconnect"
"github.com/hashicorp/terraform/helper/customdiff"
"github.com/hashicorp/terraform/helper/schema"
)
func resourceAwsDxGatewayAssociationProposal() *schema.Resource {
return &schema.Resource{
Cr... | GO | aws/resource_aws_dx_gateway_association_proposal.go | Ninir/terraform-provider-aws | mpl-2.0 | 7,887 | 248 | codeparrot/github-code |
91c5cb60c83646718f9d7ad34c99dabce6bcfb660d3f0442433c48cf93b98652 | /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
//
// Eric Vaughan
// Netscape Com... | C++ | layout/xul/nsStackFrame.cpp | Yukarumya/Yukarum-Redfoxes | mpl-2.0 | 2,237 | 64 | codeparrot/github-code |
da6c0b453d8a86c7dbc46245438f64b53ce1ca6da08ed94efb2394b6907e7ca8 | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
'use strict';
// we need a user-pages abstraction so that async scraper jobs
// can separately handle creating th... | JavaScript | server/models/user-page.js | mozilla/chronicle | mpl-2.0 | 4,401 | 102 | codeparrot/github-code |
81169ea0a10e8d2e1bdf4af1e88d22609071e28825a2b196ad166e4c05f46ff8 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html data-context="Build Apps" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<title>le_cfgAdmin_interface.h File Reference - Lega... | HTML | 18_05/le__cfg_admin__interface_8h.html | legatoproject/legato-docs | mpl-2.0 | 24,639 | 445 | codeparrot/github-code |
8e8012acba66867c09b0e9a68741d356beadbce46958c9161f2c441919546457 | /**
* The contents of this file are subject to the OpenMRS Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://license.openmrs.org
*
* Software distributed under the License is distributed on an "AS... | Java | api/src/main/java/org/openmrs/report/ParameterException.java | Bhamni/openmrs-core | mpl-2.0 | 951 | 35 | codeparrot/github-code |
8d929201e54c96e4852a2855cfb8ae60eed48ce86f9d964dbc47f03906ed0ba8 | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
using UnityEngine.Networking;
public class FPMovement4 : NetworkBehaviour {
[Header("Base Variables")]
public CharacterController characterController;
public bool canMove = true;
[Space(10)]
[Header("Speed... | C# | Assets/Scripts/FPMovement4.cs | Kimeiga/fusilicious | mpl-2.0 | 18,811 | 748 | codeparrot/github-code |
e90bd1367767db5aef8b93aed5d7803eee76faa9c0eb30389ce57f2f43d3804e | /*
* Copyright © 2014 - 2015 | Alexander01998 | All rights reserved.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package tk.wurst_client.commands;
impor... | Java | Wurst Client/src/tk/wurst_client/commands/FollowCmd.java | WurstContributor/Wurst-Client | mpl-2.0 | 1,182 | 41 | codeparrot/github-code |
0cd32def37e36542bc6f75d0ca6383f0517f500a04c64af8a4c011f384ced8ca | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
//! CSS transitions and animations.
// NOTE(emilio): This code isn't really executed in Gecko, but we don't want... | Rust | components/style/animation.rs | splav/servo | mpl-2.0 | 47,297 | 1,233 | codeparrot/github-code |
0edde395d8dd9d3ee8a4ed5bf20df2be45af4e0cc61b3106e02f7bf1e5c32430 | package bifrost.network.message
import java.net.{InetAddress, InetSocketAddress}
import java.util
import com.google.common.primitives.{Bytes, Ints}
import bifrost.NodeViewModifier
import bifrost.NodeViewModifier.{ModifierId, ModifierTypeId}
import bifrost.consensus.SyncInfo
import bifrost.network.message.M... | Scala | src/main/scala/bifrost/network/message/BasicMessagesRepo.scala | Topl/Project-Bifrost | mpl-2.0 | 5,414 | 152 | codeparrot/github-code |
cf7202707b147ca6ad9ee8f9b71035034e7d7cfff7a970fa5f4819e683f66319 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `transitionDelay_getterinfo` constant in crate `script`.">
... | HTML | script/dom/bindings/codegen/Bindings/CSSStyleDeclarationBinding/constant.transitionDelay_getterinfo.html | susaing/doc.servo.org | mpl-2.0 | 5,339 | 121 | codeparrot/github-code |
ed6a66ee608b40b4bc13a9040032c3bd45554ba5ee498f34705a24c7aa941657 | /**
* Copyright (C) 2016 Nicola Justus <nicola.justus@mni.thm.de>
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package de.thm.move.controllers
import ja... | Scala | src/main/scala/de/thm/move/controllers/ColorizeSelectionCtrl.scala | THM-MoTE/MoVE | mpl-2.0 | 3,781 | 111 | codeparrot/github-code |
fb745b347ce7e1a868f3f4558758dae5891c659efda29456507ec34ac0502b55 | package command
import (
"fmt"
"path/filepath"
"github.com/hashicorp/terraform/configs"
"github.com/hashicorp/terraform/internal/getproviders"
"github.com/hashicorp/terraform/tfdiags"
"github.com/xlab/treeprint"
)
// ProvidersCommand is a Command implementation that prints out information
// about the provider... | GO | command/providers.go | apparentlymart/terraform | mpl-2.0 | 4,132 | 161 | codeparrot/github-code |
d37f47e9f52c738d9a5d20b0a3bd70d155de5e529d40c18cfd1c51d3ba9e0552 | module TK.SpaceTac {
/**
* Single upgrade for a ship
*
* Upgrades allow for customizing a model, and are unlocked at given levels
*/
export type ShipUpgrade = {
// Displayable upgrade name, should be unique on the model
code: string
// Upgrade points cost (may be us... | TypeScript | src/core/models/ShipModel.ts | thunderk/spacetac | mpl-2.0 | 6,541 | 185 | codeparrot/github-code |
1915ea3adb3dcfc104d1a79bf479ade1c67e3a368b977da865d707a2519b2844 | package br.com.lossantos.model;
import java.sql.Timestamp;
import java.util.List;
import java.util.UUID;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
imp... | Java | src/main/java/br/com/lossantos/model/Business.java | klausos/santos-mp | mpl-2.0 | 4,594 | 218 | codeparrot/github-code |
f75b7afc82cc589de19b549242213a0e5e6b20a9387917f23d16418f222264ab | #
# Newfies-Dialer License
# http://www.newfies-dialer.org
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
# You can obtain one at http://mozilla.org/MPL/2.0/.
#
# Copyright (C) 2011-2014 Star2Billing S.L.
#
# The primar... | Python | newfies/dialer_campaign/models.py | tarikgwa/nfd | mpl-2.0 | 26,728 | 580 | codeparrot/github-code |
321a3577c37e56edf616e75834dbca6adcf5ee57e10ba9063d9aa400cb530926 | use crate::{
bot::BotEnv,
tasks::{RunsTask, Wait},
database::models::Timeout,
};
use chrono::{
Duration,
prelude::*,
};
use diesel::prelude::*;
use std::{
sync::Arc,
thread,
};
#[derive(Default)]
pub struct TimeoutCheckTask {
ran_once: bool,
}
pub fn remove_timeout(env: &BotEnv, timeout: &Timeout) ... | Rust | src/tasks/timeout_check.rs | jkcclemens/lalafell_bot | mpl-2.0 | 2,076 | 76 | codeparrot/github-code |
86a7269f7804f58898841cc7f948990bc8a6eca9a4276583880c307f0f861c8e | /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "DateTimeFormat.h"
#inclu... | C++ | intl/locale/DateTimeFormatUnix.cpp | Yukarumya/Yukarum-Redfoxes | mpl-2.0 | 7,861 | 240 | codeparrot/github-code |
cafc1528a967b131371958c371e2df2285651fef098b97c9ba0f58992717075e | package org.jill.game.entities.obj;
import java.awt.image.BufferedImage;
import org.jill.game.entities.obj.abs.AbstractParameterObjectEntity;
import org.jill.openjill.core.api.entities.ObjectParam;
import org.jill.openjill.core.api.keyboard.KeyboardLayout;
import org.jill.openjill.core.api.manager.TextManager;
... | Java | open-jill-object-background/src/main/java/org/jill/game/entities/obj/PointManager.java | tectronics/openjill | mpl-2.0 | 2,575 | 96 | codeparrot/github-code |
7b4d127ef59cad27fd692d4e17a06ae20f590cc003a81c809fa473bf9618f240 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="Source to the Rust file `/home/servo/buildbot/slave/doc/build/components/script_traits/script_... | HTML | src/script_traits/script_msg.rs.html | servo/doc.servo.org | mpl-2.0 | 28,252 | 478 | codeparrot/github-code |
7181fd3e41a868799477d38629d4b5097aa97303d634eb6963ce0e20440e5773 | window.esdocSearchIndex = [
[
"typhonjs-escomplex/src/escomplex.js~escomplex",
"class/src/ESComplex.js~ESComplex.html",
"<span>ESComplex</span> <span class=\"search-result-import-path\">typhonjs-escomplex/src/ESComplex.js</span>",
"class"
],
[
"typhonjs-escomplex/src/parser.js~parser",
"cl... | JavaScript | typhonjs-node-escomplex/typhonjs-escomplex/script/search_index.js | typhonjs-websites/docs.typhonjs.io | mpl-2.0 | 16,832 | 626 | codeparrot/github-code |
c71102dee042ca4e3a09fe4201688080f60ec91a46e0b6a2ac1adb673b9437d9 | /**
* Copyright (c) 2017, RTE (http://www.rte-france.com)
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package eu.itesla_project.afs;
import eu.itesla_projec... | Java | afs/afs-core/src/test/java/eu/itesla_project/afs/AbstractProjectFileTest.java | itesla/ipst-core | mpl-2.0 | 2,118 | 66 | codeparrot/github-code |
edab373d3d5a4e164357c3abd9a829c0cdba827114c67815fbcb411f69ac1df4 | package com.kreative.vexillo.core;
import java.text.CharacterIterator;
import java.text.StringCharacterIterator;
public class DimensionParser {
private final CharacterIterator it;
public DimensionParser(String s) {
this.it = new StringCharacterIterator(s);
}
private Dimension parseFactor() {
char ch = it.... | Java | main/java/Vexillo/src/com/kreative/vexillo/core/DimensionParser.java | kreativekorp/vexillo | mpl-2.0 | 6,168 | 155 | codeparrot/github-code |
13fa3e8e41d4a5f008cad37a8b099d9bb00f793cdcd9a1fd96f412ebc2f8aa8d | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<title>IntoIter</title>
<link rel="stylesheet" type="text/css" href="rust-book.css">
</head>
<body class="rustdoc">
... | HTML | nomicon/vec-into-iter.html | susaing/doc.servo.org | mpl-2.0 | 19,404 | 392 | codeparrot/github-code |
f14e664e721deecc7ccb4d7aa8c47bffce582beb9f055af2757bd3350bb24331 | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
require('envc')()
var fs = require('fs')
var path = require('path')
var url = require('url')
var convict = requir... | JavaScript | config/index.js | TDA/fxa-auth-server | mpl-2.0 | 12,122 | 459 | codeparrot/github-code |
9dcbf04677c12a82618b9ebd2382f2d5e701a4cc26408b035e9f045f1e3e8c71 | dojo.provide("dojox.sketch._Plugin");
//dojo.require("dojox.sketch");
dojo.require("dijit.form.Button");
dojo.declare("dojox.sketch._Plugin", null, {
// summary
// This represents a "plugin" to the dojox.sketch.Figure, which is basically
// a single button on the Toolbar and some associated code
construc... | JavaScript | src/public/js/libs/dojox/sketch/_Plugin.js | ThesisPlanet/EducationPlatform | mpl-2.0 | 2,089 | 75 | codeparrot/github-code |
ad41ce5c2206fac13586f5668c5112dad3bf116c570e1da21173f03d9971d2cf | /*-------------------------------------------------------------------------
*
* nodeModifyTable.c
* routines to handle ModifyTable nodes.
*
* Portions Copyright (c) 2012-2014, TransLattice, Inc.
* Portions Copyright (c) 1996-2015, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of th... | C | src/backend/executor/nodeModifyTable.c | zeroae/postgres-xl | mpl-2.0 | 60,407 | 1,952 | codeparrot/github-code |
a5ca3dfc56f357df664b26deed2df302291219416b93651dc42a2e7b48d8803f | /**************************************************************************
* @licence app begin@
*
* SPDX-License-Identifier: MPL-2.0
*
* \brief Test program for the positioning logger
*
*
* \author Helmut Schmidt <https://github.com/huirad>
*
* \copyright Copyright (C) 2015, Helmut Schmidt
*
* \license
* Thi... | C++ | logger/test/test-poslog.cpp | huirad/rpi_positioning | mpl-2.0 | 2,006 | 75 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.