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 |
|---|---|---|---|---|---|---|---|---|
35c7a109ad24c91fb650f512a1c1241b877c14db04718f15fbcc34122119a92e | 'use strict'
// untuk status uploader
const STATUS_INITIAL = 0
const STATUS_SAVING = 1
const STATUS_SUCCESS = 2
const STATUS_FAILED = 3
// base url api
const BASE_URL = 'http://localhost:3000'
const app = new Vue({
el: '#app',
data: {
message: 'Hello',
currentStatus: null,
uploadError: null,
up... | JavaScript | client/assets/lib/upload.js | hariantara/rapid-share-clone | gpl-3.0 | 2,046 | 100 | codeparrot/github-code |
6d7b5d0d523f2bb574defa20f9cefda0e7d582ef01677b053cc4cd198084e06f | /*
* Copyright (C) 2010-2021 JPEXS
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is... | Java | src/com/jpexs/decompiler/flash/gui/timeline/TimelineBodyPanel.java | jindrapetrik/jpexs-decompiler | gpl-3.0 | 15,335 | 402 | codeparrot/github-code |
41a6324f226ff96e7e662c8e8060784f17d7d7a737e55355c5666cc3d3966678 | //===========================================================================//
// File: memblock.hh //
// Contents: Interface specification of the memory block class //
//---------------------------------------------------------------------------//
... | C++ | mclib/stuff/memoryblock.hpp | alariq/mc2 | gpl-3.0 | 4,175 | 205 | codeparrot/github-code |
7f47b8c8c04a3eb5158c624581ae0ca14d69257be196ea4df09914bc82677427 | #!/usr/bin/env python
import turtle
import random
def bloom(radius):
turtle.colormode(255)
for rad in range(40, 10, -5):
for looper in range(360//rad):
turtle.up()
turtle.circle(radius+rad, rad)
turtle.begin_fill()
turtle.fillcolor((200+random.randint(0,... | Python | turtle/bloom.py | mpclemens/python-explore | gpl-3.0 | 728 | 32 | codeparrot/github-code |
fd48d956824501f957cab6d4c0eb5816303a9b108cb010e177e6cfcd83281067 | /*
* Orbit, a versatile image analysis software for biological image-based quantification.
* Copyright (C) 2009 - 2017 Idorsia Pharmaceuticals Ltd., Hegenheimermattweg 91, CH-4123 Allschwil, Switzerland.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms ... | Java | src/main/java/com/actelion/research/orbit/imageprovider/tree/TreeNodeProject.java | mstritt/image-provider-omero | gpl-3.0 | 3,070 | 97 | codeparrot/github-code |
31f4bc6c8ec5ba29a7709a8e647dcd31b6a0521c079d51557abe16c86ba66ba7 | /**
*
* Copyright 2014 Martijn Brekhof
*
* This file is part of Catch Da Stars.
*
* Catch Da Stars is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your optio... | Java | core/src/com/strategames/engine/gameobject/types/Door.java | poisdeux/catchdastars | gpl-3.0 | 4,823 | 207 | codeparrot/github-code |
07a9600380bdf83898362f078628a92661ac5dd64723e6031cd69fbee1a63a65 | /*
Buffer.cpp - This file is part of Element
Copyright (C) 2014 Kushview, LLC. All rights reserved.
*/
#if ELEMENT_BUFFER_FACTORY
Buffer::Buffer (DataType dataType_, uint32 subType_)
: factory (nullptr),
refs (0),
dataType (dataType_),
subType (subType_),
capacity (0),
next... | C++ | experimental/Buffer.cpp | kushview/element | gpl-3.0 | 780 | 45 | codeparrot/github-code |
9b04073b7e96970a3cc950e3af9ffcccd0ef728576eac8ed3cd64ceb30bea912 | /*
* Decompiled with CFR 0_115.
*
* Could not load the following classes:
* android.content.BroadcastReceiver
* android.content.Context
* android.content.Intent
* android.content.IntentFilter
*/
package com.buzzfeed.android.vcr.util;
import android.content.BroadcastReceiver;
import android.content.Context... | Java | uploads/34f7f021ecaf167f6e9669e45c4483ec/java_source/com/buzzfeed/android/vcr/util/VCRBitrateLimitingReceiver.java | SPACEDAC7/TrabajoFinalGrado | gpl-3.0 | 1,401 | 49 | codeparrot/github-code |
87789aa1b15574fe0803e859457870bce11e5a0079933a741616d70bb95adfb7 | namespace SandbarWorkbench
{
partial class frmOptions
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/... | C# | SandbarWorkbench/frmOptions.Designer.cs | NorthArrowResearch/sandbar-analysis-workbench | gpl-3.0 | 43,461 | 855 | codeparrot/github-code |
342be587af5809f700b21da191eda1fa0226110996a69e6b24b05177138c3bd7 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
* @author dh2744
*/
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.... | Java | Java_IGMDash-master/src/CheckField.java | igm-team/meaRtools | gpl-3.0 | 29,621 | 663 | codeparrot/github-code |
64ed66b3dd81d105c5b167aae9ac9cf155de9f20ae3dc50e052eec58b1402ae1 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\... | C++ | src/finiteVolume/finiteVolume/ddtSchemes/localEulerDdtScheme/localEulerDdtScheme.C | OpenFOAM/OpenFOAM-dev | gpl-3.0 | 15,508 | 632 | codeparrot/github-code |
8032e55dbaae7d2071b218302ace21fe664b88e6164ab2e17517a7286e86c071 | package org.emdev.ui.uimanager;
import android.annotation.TargetApi;
import android.app.Activity;
import android.app.ActivityManager;
import android.app.ActivityManager.RunningServiceInfo;
import android.content.ComponentName;
import android.content.Context;
import android.view.View;
import android.view.Window;
impor... | Java | Application/src/main/java/org/emdev/ui/uimanager/UIManager3x.java | bonisamber/bookreader | gpl-3.0 | 8,692 | 261 | codeparrot/github-code |
2595c1c547e23c12b6bde2a9083520d24dd303fe3656f18e5197c0472a6044e3 | /**
Copyright 2012 John Cummens (aka Shadowmage, Shadowmage4513)
This software is distributed under the terms of the GNU General Public License.
Please see COPYING for precise license information.
This file is part of Ancient Warfare.
Ancient Warfare is free software: you can redistribute it and... | Java | AncientWarfare/src/shadowmage/ancient_warfare/common/vehicles/types/VehicleTypeBoatBallista.java | shadowmage45/AncientWarfare | gpl-3.0 | 6,768 | 164 | codeparrot/github-code |
3f0efa2b31e27463409574e989f14206fb50c81560f87431bc14227b1fb49854 | /**
* @file udp_socket.c
* @author Ricardo Tubío (rtpardavila[at]gmail.com)
* @version 0.1
*
* @section LICENSE
*
* This file is part of udpip-broadcaster.
* udpip-broadcaster is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the F... | C | src/udpev/udp_socket.c | vieites4/udpip_broadcaster | gpl-3.0 | 11,080 | 494 | codeparrot/github-code |
b8e42af5727807748b94166470a09ba2f694fe6ba99b442e16e4e697382b2878 | #pragma strict
var playerFinalScore: int;
var Users: List.< GameObject >;
var userData: GameObject[];
var maxPlayers: int;
var gameManager: GameObject;
var currentPlayer: int;
var currentName: String;
function Awake () {
//var users :GameObject = GameObject.Find("_UserControllerFB");
userData = GameObject.FindGameObje... | JavaScript | BowlingFX/Assets/ScoreTransfer.js | RomanKorchmenko/BowlingFX | gpl-3.0 | 1,208 | 47 | codeparrot/github-code |
a42cd11b56c0e3dc0d652f84ae26c90bfe11e53b2e9ac868337861330a0deac6 | package com.andyadc.concurrency.latch;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import java.util.concurrent.*;
/**
* @author andaicheng
* @version 2017/3/10
*/
public class LatchDemo_1 {
public static void main(String[] args) throws Exception {
int num = ... | Java | concurrency-study/src/main/java/com/andyadc/concurrency/latch/LatchDemo_1.java | andyadc/java-study | gpl-3.0 | 1,653 | 71 | codeparrot/github-code |
36a8f9d78de18249f0bfb7e37a88467f8ea3dc06b3f1c66198eeba17d6440980 | package com.infamous.performance.activities;
import android.app.Activity;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.AsyncTask;
import android.os.Bundle;
import android.os.SystemClock;
import android.preference.PreferenceManager;
import android.view.View;
import android.... | Java | src/com/infamous/performance/activities/checkSU.java | InfamousProductions/Infamous_Performance | gpl-3.0 | 3,396 | 104 | codeparrot/github-code |
cd8132d94aacc16178e2770213abfd83070c9be4a3c6197c37c5930e929788da | /*
* Copyright (C) 2011 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... | C++ | libcore/luni/src/main/native/libcore_io_Posix.cpp | s20121035/rk3288_android5.1_repo | gpl-3.0 | 68,241 | 1,647 | codeparrot/github-code |
9c473069168106a4ba3902cd79f421801eda621444f41a264e54f37854358b23 | #!/usr/bin/env python
#
# Copyright 2011 Facebook
#
# 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 applicable law or a... | Python | server/lib/tornado/netutil.py | mountainpenguin/BySH | gpl-3.0 | 15,081 | 385 | codeparrot/github-code |
6e62634a8b4c48aa961ea9e3710eca56e0baf54e7f3083387a86a5f06251a32a | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MiniQuick.Events
{
public class BaseEvent : IEvent
{
private int _MaxRetryCount = 3;
private TimeSpan _timeinterval = TimeSpan.FromMilliseconds(1000);
public s... | C# | MiniQuick/Events/BaseEvent.cs | fzf003/MiniQuick | gpl-3.0 | 604 | 32 | codeparrot/github-code |
46a70c289d30d467ce635842f044f2b1dc4deb7611e6bbdbda77b9084c0e4bac | /************************************************************************
Copyright 2008 Mark Pictor
This file is part of RS274NGC.
RS274NGC is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation,... | C++ | rs274ngc/driver.cpp | charlie-x/rs274ngc | gpl-3.0 | 21,770 | 654 | codeparrot/github-code |
4b7d82bb6eb6cf5c156a2f5c0962f9a66aa045654283bbb3ffae0636ff915f88 | /* ***************************************************************************
* This file is part of SharpNEAT - Evolution of Neural Networks.
*
* Copyright 2004-2006, 2009-2010 Colin Green (sharpneat@gmail.com)
*
* SharpNEAT is free software: you can redistribute it and/or modify
* it under the terms of the GN... | C# | src/SharpNeatLib/Network/ActivationFunctions/RadialBasis/RbfGaussian.cs | BLueders/ENTM_CSharpPort | gpl-3.0 | 5,987 | 156 | codeparrot/github-code |
ae654aee0c56578afd86f91e920f1c53a6ae0150b1b4f4fdb50575fa287955e6 | 'use strict';
/*global require, after, before*/
var async = require('async'),
assert = require('assert'),
db = require('../mocks/databasemock');
describe('Set methods', function() {
describe('setAdd()', function() {
it('should add to a set', function(done) {
db.setAdd('testSet1', 5, function(err) {
asser... | JavaScript | test/database/sets.js | seafruit/NodeBB | gpl-3.0 | 6,160 | 236 | codeparrot/github-code |
16b7f72bef847459a25b508fcfd9595f73a1f5f0cb988f8e4d580253037a0376 | using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Data.Entity.Migrations;
using System.Linq;
using System.Linq.Expressions;
namespace BusinessLogic.Repositories
{
public class Repository<T> : IRepository<T> where T : class
{
private readonly DbContext _context;
private reado... | C# | BusinessLogic/Repositories/Repository.cs | dsilva609/Project-Cinderella | gpl-3.0 | 1,280 | 66 | codeparrot/github-code |
97c35719e48913f9ad1772a89ea0e5590e1d2186e460cb5e110c465f8b673791 | // pythonFlu - Python wrapping for OpenFOAM C++ API
// Copyright (C) 2010- Alexey Petrov
// Copyright (C) 2009-2010 Pebble Bed Modular Reactor (Pty) Limited (PBMR)
//
// 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
//... | C++ | Foam/src/OpenFOAM/fields/GeometricFields/no_tmp_typemap_GeometricFields.hpp | ivan7farre/PyFreeFOAM | gpl-3.0 | 6,243 | 139 | codeparrot/github-code |
64fb6e15c229bc3a66a8c04ec72bcca79c2033d021a76da9c61455ea219f9bcd | //-----------------------------------------------------------------------------------
// The confidential and proprietary information contained in this file may
// only be used by a person authorised under and to the extent permitted
// by a subsisting licensing agreement from ARM Limited or its affiliates
/... | C | MODIFIED_SDK_13.0.0_04a0bfd/external/nrf_cc310/include/crys_rnd.h | jogosa/flip_dot_clock_fw301 | gpl-3.0 | 16,531 | 361 | codeparrot/github-code |
4f5fec937cb51e06e19b423952a1272fd11c45e4b1a5f969b5d1ffb826b555c9 | namespace Tsu.Voltmeters.Appa
{
partial class Multimeter109NControl
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components;
/// <summary>
/// Clean up any resources being used.
/// </... | C# | APPA_Multimeter/Multimeter109nControl.Designer.cs | romul/Measurement-Studio | gpl-3.0 | 1,140 | 39 | codeparrot/github-code |
05121303bf2315051de0401ed184cd360d1a3ece67aa88ddaa496998862b001e | package ru.trolsoft.utils.files;
import ru.trolsoft.utils.StrUtils;
import java.io.*;
import java.util.Random;
/**
* Created on 07/02/17.
*/
public class IntelHexWriter {
private final Writer writer;
/**
*
*/
private int segmentAddress = 0;
public IntelHexWriter(Writer writer) {
... | Java | software/java/src/ru/trolsoft/utils/files/IntelHexWriter.java | trol73/avr-bootloader | gpl-3.0 | 3,697 | 125 | codeparrot/github-code |
3433957e51cbd8d5bee5a7b7274f4e65ff3419f9e5f8805a1e04608c56f79b34 | <?php
/**
* @package omeka
* @subpackage solr-search
* @copyright 2012 Rector and Board of Visitors, University of Virginia
* @license http://www.apache.org/licenses/LICENSE-2.0.html
*/
class SolrSearch_AdminController
extends Omeka_Controller_AbstractActionController
{
/**
* Display t... | PHP | SolrSearch/controllers/AdminController.php | moobee/omeka-newspaper-reader | gpl-3.0 | 6,231 | 236 | codeparrot/github-code |
14dd586bb7baf37884ccf5759d704b1c56b28803666e5ef7faf83d5fd05d36b0 | import re
import traceback
from urllib.parse import quote
from requests.utils import dict_from_cookiejar
from sickchill import logger
from sickchill.helper.common import convert_size, try_int
from sickchill.oldbeard import tvcache
from sickchill.oldbeard.bs4_parser import BS4Parser
from sickchill.providers.torrent.To... | Python | sickchill/oldbeard/providers/pretome.py | h3llrais3r/SickRage | gpl-3.0 | 5,958 | 152 | codeparrot/github-code |
caee3a724cce9d6d112307bfb6c430dc64e04c51558bac5a34f56c14aa0f6d6f | /*****************************************************************
* This file is part of Managing Agricultural Research for Learning &
* Outcomes Platform (MARLO).
* MARLO 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... | Java | marlo-data/src/main/java/org/cgiar/ccafs/marlo/data/manager/impl/ReportSynthesisGovernanceManagerImpl.java | CCAFS/MARLO | gpl-3.0 | 2,612 | 78 | codeparrot/github-code |
0802c2f60e9ba15a451a974952b542e139e88e1758af3e8b108db9907d1543f3 | # -*- encoding: UTF-8 -*-
import re
import sys
import os
import traceback
from ..ibdawg import IBDAWG
from ..echo import echo
from . import gc_options
__all__ = [ "lang", "locales", "pkg", "name", "version", "author", \
"load", "parse", "getDictionary", \
"setOptions", "getOptions", "getOpti... | Python | gc_core/py/gc_engine.py | SamuelLongchamps/grammalecte | gpl-3.0 | 17,131 | 548 | codeparrot/github-code |
0ca69fcf47562bf228a2715c6fd1758183fd4b1543af6c687c7c72156d16bccc | /* «Camelion» - Perl storable/C struct back-and-forth translator
*
* Copyright (C) Alexey Shishkin 2016
*
* This file is part of Project «Camelion».
*
* Project «Camelion» 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 Fre... | C | serials/sread.c | kimiby/camelion | gpl-3.0 | 2,708 | 102 | codeparrot/github-code |
33e806d290599e8419ef2198e0c2bd5bd67b6ec5bdeadf734f97a72cc4c67e4f | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using LobbyClient;
using PlasmaShared;
using ZkData;
namespace ZeroKWeb.SpringieInterface
{
public class StartSetup
{
static bool listOnlyThatLevelsModules = false; //... | C# | Zero-K.info/SpringieInterface/StartSetup.cs | TurBoss/Zero-K-Infrastructure | gpl-3.0 | 16,806 | 260 | codeparrot/github-code |
b19d10deb300caf408efa29ac9a6618058d4e9f8bafa08d79aea0ebb17cbd008 | package com.kimkha.finanvita.ui;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.database.Cursor;
import android.os.Bundle;
import android.support.v4.app.LoaderManager;
import android.support.v4.content.Loader;
import android.util.SparseBooleanArray;
import an... | Java | Finanvita/src/main/java/com/kimkha/finanvita/ui/ItemListFragment.java | kimkha/Finanvita | gpl-3.0 | 11,290 | 306 | codeparrot/github-code |
39f7b1069312630810296298dacd3bb7df4b615ce0d1d2b6db9cfea6737a7c5f | #ifndef __LINUX_VIDEODEV_H
#define __LINUX_VIDEODEV_H
/* Linux V4L API, Version 1
* videodev.h from v4l driver in Linux 2.2.3
*
* Used here with the explicit permission of the original author, Alan Cox.
* <alan@lxorguk.ukuu.org.uk>
*/
/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/v4l/videodev.h,v 1.8 20... | C | QMOLEDEV/vnc-4_1_3-unixsrc/unix/xc/programs/Xserver/hw/xfree86/drivers/v4l/videodev.h | chriskmanx/qmole | gpl-3.0 | 8,115 | 256 | codeparrot/github-code |
1cb4eaf82bc6f585fd940a7422f65a279858aecd5a5b6d9a67874f2a61ae049f | # Copyright 2019 Virgil Dupras
#
# This software is licensed under the "GPLv3" License as described in the "LICENSE" file,
# which should be included with this package. The terms are also available at
# http://www.gnu.org/licenses/gpl-3.0.html
import datetime
from collections import defaultdict
from core.util import ... | Python | core/gui/import_window.py | hsoft/moneyguru | gpl-3.0 | 15,326 | 406 | codeparrot/github-code |
c9ea5c5d054ef76c2040bb1e933721ce8c7a2a2fbc3fa9eced8043c5bd2f452b | /*
* Copyright (C) 2006 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/content/ContextWrapper.java | s20121035/rk3288_android5.1_repo | gpl-3.0 | 20,584 | 714 | codeparrot/github-code |
cbe3e041482e07a322c8e72cbd263aee6ffcceec9c86584bc257059fec6c19a4 | // Copyright (c) François Paradis
// This file is part of Mox, a card game simulator.
//
// Mox 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, version 3 of the License.
//
// Mox is distributed in... | C# | Source/Mox.Engine/Project/Source/Database/CardFactory/Library/ZoneChangeTriggeredAbility.cs | fparadis2/mox | gpl-3.0 | 3,240 | 101 | codeparrot/github-code |
6f2dfa872f01bd048d9fdbe3fe98799e4731ba83a0b9849a85c1cb945ab49993 | package com.thomasjensen.checkstyle.addons.checks;
/*
* Checkstyle-Addons - Additional Checkstyle checks
* Copyright (c) 2015-2020, the Checkstyle Addons contributors
*
* This program is free software: you can redistribute it and/or modify it under the
* terms of the GNU General Public License, version 3, as publi... | Java | src/main/java/com/thomasjensen/checkstyle/addons/checks/BinaryName.java | checkstyle-addons/checkstyle-addons | gpl-3.0 | 4,699 | 185 | codeparrot/github-code |
1c97d85a2a8fd1da072d285db056172e3ae89094a4be86424f4f51ddf222aec0 | /*
* $Id: LeftJoin.java,v 1.2 2006/04/09 12:13:12 laddi Exp $
* Created on 5.10.2004
*
* Copyright (C) 2004 Idega Software hf. All Rights Reserved.
*
* This software is the proprietary information of Idega hf.
* Use is subject to license terms.
*/
package com.idega.data.query;
import java.util.HashSet;
import ... | Java | src/java/com/idega/data/query/LeftJoin.java | idega/com.idega.core | gpl-3.0 | 1,467 | 71 | codeparrot/github-code |
41273560c5221325bcac495b758625e62002b8cae4b804b501aad707c0969cfd | package it.emarolab.owloop.descriptor.utility.classDescriptor;
import it.emarolab.amor.owlInterface.OWLReferences;
import it.emarolab.owloop.descriptor.construction.descriptorEntitySet.Individuals;
import it.emarolab.owloop.descriptor.construction.descriptorExpression.ClassExpression;
import it.emarolab.owloop.descrip... | Java | src/main/java/it/emarolab/owloop/descriptor/utility/classDescriptor/InstanceClassDesc.java | EmaroLab/owloop | gpl-3.0 | 4,113 | 105 | codeparrot/github-code |
3e2cfbb714a0e06349700ade281990439c4b99b4beedbb397331c08688207e92 | using System;
using System.Threading;
using System.Windows.Input;
namespace WpfAsyncPack.Internal
{
internal sealed class CancelAsyncCommand : ICommand
{
private CancellationTokenSource _cancellationTokenSource = new CancellationTokenSource();
private bool _isCommandExecuting;
public ... | C# | WpfAsyncPack/Internal/CancelAsyncCommand.cs | kirmir/WpfAsyncPack | gpl-3.0 | 1,495 | 52 | codeparrot/github-code |
855d11e5a0c7e277a5720e3a2b856c0368ffa19be483114506250fb1428d7387 | /**
* Copyright (c) 2006-2014 LOVE Development Team
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any purpose,
* ... | C | src/modules/joystick/wrap_Joystick.h | albertz/love | gpl-3.0 | 1,996 | 58 | codeparrot/github-code |
3a5f639770a22fda9a3c1c2e40d51062388969533d404c8009ae3655bc644d1a | /*
Copyright (C) 2011 Srivats P.
This file is part of "Ostinato"
This is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is dist... | C | common/eth2pdml.h | pstavirs/ostinato | gpl-3.0 | 1,185 | 41 | codeparrot/github-code |
c7c151f8e76dce593aeff0335ca61f571a0b7197f96e259fa6d208fe863c7c7b | package com.example.habitup.View;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Color;
import android.support.v4.content.ContextCompat;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.wi... | Java | app/src/main/java/com/example/habitup/View/HabitListAdapter.java | CMPUT301F17T29/HabitUp | gpl-3.0 | 2,677 | 83 | codeparrot/github-code |
0d7911c7f95f43312cba205731d7c733b7924ff2cb918ba82fda61ff2a417d5b | #include <stdio.h>
#include <string.h>
#include "stdbool.h"
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "esp_system.h"
#include "esp_log.h"
#include "bt.h"
#define GATTS_TAG "MAIN"
#define HCI_H4_CMD_PREAMBLE_SIZE (4)
/* HCI Command opcode group field(OGF) */
#define HCI_GRP_HOST_... | C | esp32/app/ble_app_eddystone/main/app_bt.c | pcbreflux/espressif | gpl-3.0 | 8,842 | 256 | codeparrot/github-code |
814c43ef693347163f801edab41ce0343e34adacba024ee9b738003c0a230120 | if(NOT DEFINED IMP_TIMEOUT_FACTOR)
if(${CMAKE_BUILD_TYPE} MATCHES "Debug")
set(IMP_TIMEOUT_FACTOR 3 CACHE INT "A scaling factor for test timeouts")
else()
set(IMP_TIMEOUT_FACTOR 1 CACHE INT "A scaling factor for test timeouts")
endif()
endif()
set(IMP_CHEAP_TIMEOUT 5 CACHE INT "Timeout for chea... | CMake | modules/rmf/dependency/RMF/cmake_modules/IMPAddTests.cmake | shanot/imp | gpl-3.0 | 4,461 | 108 | codeparrot/github-code |
b3e2b1f9bf77873e1e1ea7db05ecf5c598e123b8301a4450e56fc48a597f803f | /*
Copyright © 2007, 2008, 2009, 2010, 2011 Vladimír Vondruš <mosra@centrum.cz>
This file is part of Kompas.
Kompas is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License version 3
only, as published by the Free Software Foundation.
... | C++ | src/FilesystemCache/FilesystemCache.cpp | mosra/kompas-plugins | gpl-3.0 | 13,961 | 420 | codeparrot/github-code |
a0c1302011d5653c725837f283b6975b2cb4c763b8c7d1ad0965ce3ed8e11675 | package org.elsys.InternetProgramming;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.net.Socket;
public class ServerHandler {
private Socket socket;
public ServerHandler(... | Java | Homework2/workspace/DateFormatterClient/src/org/elsys/InternetProgramming/ServerHandler.java | edudev/internet_programming | gpl-3.0 | 1,328 | 59 | codeparrot/github-code |
c3257ff91ac767b553812dd171d707a277cf80ca21927c57078d7ce38acf64fb | import sys, math
from test import goertzel
import wave
import pyaudio
import Queue
import numpy as np
if len(sys.argv) < 2:
print "Usage: %s <filename> " % sys.argv[0]
sys.exit(1)
filename = sys.argv[1]
w = wave.open(filename)
fs = w.getframerate()
width = w.getsampwidth()
chunkDuration = .2 #.2 second chunks... | Python | parse.py | jloloew/AirBridge | gpl-3.0 | 3,509 | 169 | codeparrot/github-code |
2e6bb4735fa0ccaf390172f8baf31bbd69a7249005ada94fa00cac7127481c40 | using System;
using System.Collections.Generic;
using System.Linq;
using Minedrink_UWP.View;
using Windows.ApplicationModel;
using Windows.Foundation;
using Windows.UI.Core;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Automation;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Navig... | C# | Minedrink_UWP/Minedrink_UWP/MainPage.xaml.cs | SongOfSaya/Minedrink | gpl-3.0 | 20,311 | 516 | codeparrot/github-code |
fd1cf21dcafe7312d9e7d79fb3b96287028f701d8b1343ecc879065c412bf841 | /*
* JasperReports - Free Java Reporting Library.
* Copyright (C) 2001 - 2014 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 | jasperreports-6.2.1-project/jasperreports-6.2.1/src/net/sf/jasperreports/engine/virtualization/FloatSerializer.java | aleatorio12/ProVentasConnector | gpl-3.0 | 1,687 | 62 | codeparrot/github-code |
79953afe61db7106912f4b4102434d499b249efb0f0233db79508a448d047b37 | package com.ouser.module;
import java.util.HashMap;
import java.util.Map;
import com.ouser.util.StringUtil;
import android.os.Bundle;
/**
* 照片
* @author hanlixin
*
*/
public class Photo {
public enum Size {
Small(80, 0), /** 小列表,菜单 */
Normal(100, 1), /** profile */
Large(134, 2), /**... | Java | src/com/ouser/module/Photo.java | tassadar2002/ouser | gpl-3.0 | 3,153 | 132 | codeparrot/github-code |
706881e387a1249123e2deffa46693421ae0e6b3c3034de2596b57cdbb28e383 | package bdv.server;
import bdv.db.UserController;
import bdv.model.DataSet;
import bdv.util.Render;
import org.eclipse.jetty.server.Handler;
import org.eclipse.jetty.server.Request;
import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.server.handler.ContextHandlerCollection;
import org.eclipse.jetty.util.l... | Java | src/main/java/bdv/server/UserPageHandler.java | hkmoon/bigdataviewer-server | gpl-3.0 | 13,172 | 446 | codeparrot/github-code |
cc17867f27b1ab836f42828464ce35cdee13144c01828e3ec84543313484ce0b | /*
* Copyright 2006, 2007 Alessandro Chiari.
*
* This file is part of BrewPlus.
*
* BrewPlus 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)... | Java | brewplus/brewplus-ifdb/src/main/java/jmash/YeastType.java | rekhyt75/BrewPlus-IFDB | gpl-3.0 | 4,355 | 186 | codeparrot/github-code |
6877a714182897507b1c7ece44eb782d04c7057f212558618e1016322ebc9b4c | /*
* Copyright 2016 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "cros_gralloc_helpers.h"
#include <cstdlib>
#include <cutils/log.h>
#include <fcntl.h>
#include <xf86drm.h>
uint64_t cros_gralloc_con... | C++ | oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/third_party/minigbm/src/cros_gralloc/cros_gralloc_helpers.cc | geminy/aidear | gpl-3.0 | 4,210 | 157 | codeparrot/github-code |
8f83c3c5900c62e4a5fd1fedde11c2497b2dd9755eab4b6b6c28dc3bc1caa8c3 | // Copyright 2015, 2016 Parity Technologies (UK) Ltd.
// This file is part of Parity.
// Parity is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any la... | JavaScript | js/src/views/Signer/components/TransactionPending/transactionPending.js | jesuscript/parity | gpl-3.0 | 4,499 | 155 | codeparrot/github-code |
52047d01a439db1072450207444d209845da9fdde5030d7f80a2dc087d134ec5 | from controllers.job_ctrl import JobController
from models.job_model import JobModel
from views.job_view import JobView
class MainController(object):
def __init__(self, main_model):
self.main_view = None
self.main_model = main_model
self.main_model.begin_job_fetch.connect(self.on_begin_jo... | Python | controllers/main_ctrl.py | redline-forensics/auto-dm | gpl-3.0 | 2,757 | 68 | codeparrot/github-code |
df73c82b6d864777a7225b80d793acc5c49ecc2a18a9b21d71f8cbddb45fd55d | package edu.stanford.nlp.mt.lm;
import java.util.concurrent.atomic.AtomicReference;
import java.util.concurrent.locks.ReentrantLock;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import edu.stanford.nlp.mt.util.IString;
import edu.stanford.nlp.mt.util.Sequence;
import edu.stanfo... | Java | src/edu/stanford/nlp/mt/lm/KenLanguageModel.java | Andy-Peng/phrasal | gpl-3.0 | 6,706 | 212 | codeparrot/github-code |
27ea91850647f09a182aae5df985e9b0e5c871e251f9a8ffc3ed2c894313040e | #!/usr/bin/python
#
# Problem: Making Chess Boards
# Language: Python
# Author: KirarinSnow
# Usage: python thisfile.py <input.in >output.out
from heapq import *
def process(r1, r2, c1, c2):
for i in range(r1, r2):
for j in range(c1, c2):
if 0 <= i < m and 0 <= j < n:
if g[i]... | Python | Round 1C 2010/C.py | KirarinSnow/Google-Code-Jam | gpl-3.0 | 1,627 | 54 | codeparrot/github-code |
731eed452c308342b82f83cddf514305b48f69ac5dc391200d1ae936e062eec3 | package appalachia.rtg.world.biome.realistic.appalachia.adirondack;
import java.util.Random;
import net.minecraft.block.Block;
import net.minecraft.block.state.IBlockState;
import net.minecraft.init.Blocks;
import net.minecraft.world.biome.Biome;
import net.minecraft.world.chunk.ChunkPrimer;
import appalachia.api.Ap... | Java | src/main/java/appalachia/rtg/world/biome/realistic/appalachia/adirondack/RealisticBiomeAPLAdirondackBeach.java | Team-RTG/Appalachia | gpl-3.0 | 4,464 | 135 | codeparrot/github-code |
34cf81fc195ac185cd012682399be006fff92125053c4ad5b95638573a3db797 | // Decompiled with JetBrains decompiler
// Type: System.Boolean
// Assembly: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
// MVID: 255ABCDF-D9D6-4E3D-BAD4-F74D4CE3D7A8
// Assembly location: C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll
using System.Runtime.InteropServices;
... | C# | LoCO Client Files/Decompressed Client/Extracted DLL/mscorlib/System/Boolean.cs | mater06/LEGOChimaOnlineReloaded | gpl-3.0 | 11,792 | 300 | codeparrot/github-code |
5236f095904f5551ae5836a98cdd8c2d068d1ff7799c28f9207d8c6cdafe32be | /*
* Copyright (c) 2010-2012 Matthias Klass, Johannes Leimer,
* Rico Lieback, Sebastian Gabriel, Lothar Gesslein,
* Alexander Rampp, Kai Weidner
*
* This file is part of the Physalix Enrollment System
*
* Foobar is free software: you can redistribute it and/or modify
* it under the t... | Java | UserGui/src/main/java/hsa/awp/usergui/EventDetailPanel.java | physalix-enrollment/physalix | gpl-3.0 | 6,334 | 177 | codeparrot/github-code |
a7a759eabac5a165ba98f1b4c53d96b2527cd22201614dedc16d3a3b5dde4108 | /*
* AverMedia RM-KS remote controller keytable
*
* Copyright (C) 2010 Antti Palosaari <crope@iki.fi>
*
* 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 Li... | C | drivers/media/rc/keymaps/rc-avermedia-rm-ks.c | williamfdevine/PrettyLinux | gpl-3.0 | 2,710 | 83 | codeparrot/github-code |
1b3ed67d3579ee6fad6bd78e5b1172fde1d289b5c804697f40d9fe650cfc9f2d | namespace DemoWinForm
{
partial class frmMapFinder
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | C# | ShapeFileTools/frmMapFinder.Designer.cs | anonymouskeyboard47/Tripodmaps | gpl-3.0 | 38,882 | 835 | codeparrot/github-code |
9d99dcc3f7ec716c5694dd17a19d4fbd24ded741f2a0c7f3f813aa7d44e5d2cf | /*
* Copyright (C) 2011 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/Dialer/src/com/android/dialer/calllog/CallLogListItemHelper.java | s20121035/rk3288_android5.1_repo | gpl-3.0 | 10,890 | 263 | codeparrot/github-code |
f8fb63a371112ac60cc6bb093fbb2bda662a52f5fde02dd6099d318371a466ce | #ifndef _TREENODE_H
#define _TREENODE_H
#include <stdio.h>
#include <stdbool.h>
#include <wptypes.h>
#ifdef __cplusplus
extern "C"
{
#endif /* __cplusplus */
typedef struct _wp_treenode wp_tree_node_t;
typedef enum _rb_wp_tree_node_cloor
{
RB_TREE_RED = 0,
RB_TREE_BLACK,
} wp_rb_tree_node_color_t;
wp_tree_node_t... | C | src/wptreenode.h | 4179e1/libwp | gpl-3.0 | 2,011 | 56 | codeparrot/github-code |
b5380d6b1c20cc39681c76bb015ccfc0217de6a784f0e21be19d73a58a72b128 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ENetSharp
{
public class ENetList
{
public List<object> data = new List<object>();
internal int position;
}
public static class ENetListHelper
{
//... | C# | ENetSharp/ENetSharp/List.cs | eddy5641/ENetSharp | gpl-3.0 | 3,723 | 133 | codeparrot/github-code |
9d9899407e8b835b0b760bea53d1fc97921e49a3475048f462330f69c9d936d7 | /*
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
All rights reserved
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
This file is part of the FreeRTOS distribution.
FreeRTOS is free software; you can redistribute it and/or modify it under
the... | C | FreeRTOSv9.0.0/FreeRTOS/Demo/PPC440_Xilinx_Virtex5_GCC/RTOSDemo/main.c | RobsonRojas/frertos-udemy | gpl-3.0 | 24,378 | 726 | codeparrot/github-code |
a048e9366766279875154af2cdbf6b98c371353a47b21f697a223e96d9332d93 | #include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <getopt.h>
#include "upgma.h"
#include "utils.h"
#include "seq_utils.h"
#include "sequence.h"
#include "seq_reader.h"
#include "node.h"
#include "tree.h"
#include "tree_utils.h"
UPGMA::UPGMA (std::istream* pios):num_taxa_(0), num_c... | C++ | src/upgma.cpp | FePhyFoFum/phyx | gpl-3.0 | 7,194 | 215 | codeparrot/github-code |
afef87c1165df5f8660053fd8c0b911f0b005b2c491650a68e3efee2739e8528 | /******************************************************************************
*
* Copyright 2010, Dream Chip Technologies GmbH. All rights reserved.
* No part of this work may be reproduced, modified, distributed, transmitted,
* transcribed, or translated into any language or computer format, in any form
* or by... | C | hardware/rockchip/camera/SiliconImage/include/isp_cam_api/cam_api/impexinfo.h | s20121035/rk3288_android5.1_repo | gpl-3.0 | 3,654 | 150 | codeparrot/github-code |
173ea0a8f006366bea367adb16050192da07a91c8a5a10e0daffc66bf2320d6b | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using Hy.Common.Utility.Data;
using System.Data.Common;
using Hy.Check.Utility;
namespace Hy.Check.UI.UC.Sundary
{
public class ResultDbOper
{
private IDbConnection m_ResultDbConn = null;
... | C# | DataCheck/Hy.Check.UI/UC/Sundary/ResultDbOper.cs | hy1314200/HyDM | gpl-3.0 | 2,272 | 79 | codeparrot/github-code |
e22a58c20f1cf9d992f8ac7e302113c62870d3e26e620d8118be57df650e9d63 | using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
using System;
using System.ComponentModel.DataAnnotations;
using System.Threading.Tasks;
namespace ChummerHub.Areas.Identity.Pages.Account.Manage
{
#pragma warning disabl... | C# | ChummerHub/Areas/Identity/Pages/Account/Manage/DeletePersonalData.cshtml.cs | chummer5a/chummer5a | gpl-3.0 | 4,992 | 99 | codeparrot/github-code |
7cf91c6f9552795479b36c5364850cd4aa19e563d315e0df323a1c2c051bf630 | namespace Grove.Artifical.TargetingRules
{
using System;
using System.Collections.Generic;
using System.Linq;
using Gameplay;
using Gameplay.Effects;
using Gameplay.Misc;
using Gameplay.Targeting;
public abstract class TargetingRule : MachinePlayRule
{
public int? TargetLimit;
public bool Co... | C# | source/Grove/Artifical/TargetingRules/TargetingRule.cs | sorab2142/sorabpithawala-magicgrove | gpl-3.0 | 8,369 | 275 | codeparrot/github-code |
d5c327f7812e3a6b36452c0d4871b5e1d54a055792ec0b9be29df918a19f5db2 | package com.wongsir.newsgathering.model.commons;
import com.google.common.base.MoreObjects;
import com.google.gson.annotations.SerializedName;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import java.util.Date;
import java.util.List;
import j... | Java | src/main/java/com/wongsir/newsgathering/model/commons/Webpage.java | WongSir/JustGo | gpl-3.0 | 8,590 | 340 | codeparrot/github-code |
9ab65e18b3855ab8eb2701b37a1e670eb77b5d62501b2b4af656d927d1f9f028 | package fr.hnit.babyname;
/*
The babyname app 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.
The babyname app is distributed in the hope th... | Java | app/src/main/java/fr/hnit/babyname/MainActivity.java | mdecorde/BABYNAME | gpl-3.0 | 12,172 | 344 | codeparrot/github-code |
ff2d743b3fc0fadd4a4d632ebe09707be4ffced2863bc76ccfe3472021a4944e | import { useState } from "react";
import { PropTypes } from "prop-types";
import { SaveOutlined, WarningOutlined } from "@ant-design/icons";
import {
Button,
Col,
Form,
Input,
InputNumber,
Row,
Select,
Switch,
Typography,
Space,
} from "@nextgisweb/gui/antd";
import i18n from "@n... | JavaScript | nextgisweb/webmap/nodepkg/settings/SettingsForm.js | nextgis/nextgisweb | gpl-3.0 | 9,428 | 274 | codeparrot/github-code |
291328dbdec380bd99b4eeaf096e9f9073aaad852b10fd309412f095438618b3 | # -*- coding: utf-8 -*-
import itertools
"""
Languages | ShortCode | Wordnet
Albanian | sq | als
Arabic | ar | arb
Bulgarian | bg | bul
Catalan | ca | cat
Chinese | zh | cmn
Chinese (... | Python | jroc/nlp/wordnet/WordnetManager.py | domenicosolazzo/jroc | gpl-3.0 | 8,042 | 192 | codeparrot/github-code |
d233455b3989d3b3579864b1e886dc96f12840d60f6b4791130bf801ba1ecd74 | package com.weatherapp.model.entities;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
@JsonIgnoreProperties(ignoreUnknown = true)
public class Location implements Serializable {
/**
*
*/
private static final long serialVersionUID = 1L;
private Stri... | Java | instantweatherapplication/src/main/java/com/weatherapp/model/entities/Location.java | VoidDragonOfMars/pixelware | gpl-3.0 | 552 | 38 | codeparrot/github-code |
805617fb0a804ac3b42499b369ffbb8c69cbca156470b9b47863d4185e044a56 | package units.interfaces;
public abstract interface Value<T> extends MyComparable<T> {
// OPERATIONS
default boolean invariant() {
return true;
}
default void checkInvariant() {
if(!invariant()) {
System.exit(-1);
}
}
public abstract T... | Java | 2. Semester/PR2/Aufgabe_2a_Igor/src/units/interfaces/Value.java | MesutKoc/uni-haw | gpl-3.0 | 686 | 32 | codeparrot/github-code |
4ab587246c570f3833d3c864499649994cd106fa49081991ac2d720e19419127 | #############################################################################
# $HeadURL$
#############################################################################
""" ..mod: FTSRequest
=================
Helper class to perform FTS job submission and monitoring.
"""
# # imports
import sys
import re
import... | Python | DataManagementSystem/Client/FTSRequest.py | miloszz/DIRAC | gpl-3.0 | 37,261 | 1,078 | codeparrot/github-code |
fc883e1833cf653f12147a2ebfe388fcd84906381b1dd85b74e58c84a1796a9f | /*=========================================================================
Program: ParaView
Module: $RCSfile$
Copyright (c) Kitware, Inc.
All rights reserved.
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
This software is distributed WITHOUT ANY WARRANTY; without... | C | ThirdParty-0.1/ParaView-5.0.1/ParaViewCore/Animation/vtkPVKeyFrameAnimationCue.h | HopeFOAM/HopeFOAM | gpl-3.0 | 1,649 | 55 | codeparrot/github-code |
e4745cf25da9198f69bf64a1978a767195b4e8c06d379aece967d1c2eb55960c | // Decompiled with JetBrains decompiler
// Type: System.Web.UI.WebControls.WebParts.ProxyWebPartConnectionCollection
// Assembly: System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// MVID: 7E68A73E-4066-4F24-AB0A-F147209F50EC
// Assembly location: C:\Windows\Microsoft.NET\Framework\v4.0.303... | C# | LoCO Client Files/Decompressed Client/Extracted DLL/System.Web/System/Web/UI/WebControls/WebParts/ProxyWebPartConnectionCollection.cs | mater06/LEGOChimaOnlineReloaded | gpl-3.0 | 8,860 | 216 | codeparrot/github-code |
c0671933351fcb620ff53e0435ee864d3f1c59631bcd1bebaccb739705e57bbb | import sys, os, urllib, time, socket, mt, ssl
from dlmanager.NZB import NZBParser
from dlmanager.NZB.nntplib2 import NNTP_SSL,NNTPError,NNTP, NNTPReplyError
from dlmanager.NZB.Decoder import ArticleDecoder
class StatusReport(object):
def __init__(self):
self.message = "Downloading.."
self.total_byt... | Python | packages/dlmanager/NZB/NZBClient.py | andr3wmac/metaTower | gpl-3.0 | 10,499 | 320 | codeparrot/github-code |
25351b8b9dbb6bef686938bf419d2fb868039f3d2ee3c908ecc801743b5fb7c2 | # Copyright (C) 2012,2013
# Max Planck Institute for Polymer Research
# Copyright (C) 2008,2009,2010,2011
# Max-Planck-Institute for Polymer Research & Fraunhofer SCAI
#
# This file is part of ESPResSo++.
#
# ESPResSo++ is free software: you can redistribute it and/or modify
# it under the terms of the G... | Python | src/integrator/CapForce.py | espressopp/espressopp | gpl-3.0 | 2,764 | 73 | codeparrot/github-code |
c66b63ab05dfe30f862f3d4e3472c8fcee8bc664e9a9e4b285f597d82b0aead3 | # @author Peter Kappelt
# @author Clemens Bergmann
# @version 1.16.dev-cf.9
package main;
use strict;
use warnings;
use Data::Dumper;
use JSON;
use TradfriUtils;
sub TradfriGroup_Initialize($) {
my ($hash) = @_;
$hash->{DefFn} = 'Tradfri_Define';
$hash->{UndefFn} = 'Tradfri_Undef';
$hash->{SetFn} ... | Perl | src/FHEM/31_TradfriGroup.pm | peterkappelt/Tradfri-FHEM | gpl-3.0 | 9,626 | 260 | codeparrot/github-code |
fc31ce2fb90770980b6e47b951e3839a4911eb8c078d4ac6d61327abdb829fea | /* EPANET 3
*
* Copyright (c) 2016 Open Water Analytics
* Distributed under the MIT License (see the LICENSE file for details).
*
*/
#include "demandmodel.h"
#include "Elements/junction.h"
#include <cmath>
#include <algorithm>
using namespace std;
//--------------------------------------------------------------... | C++ | OWA_EN3/src/Models/demandmodel.cpp | jeffrey-newman/ENLink | gpl-3.0 | 5,340 | 192 | codeparrot/github-code |
330b3bc96c7874c863b82d1ce8db418811b3b5cda884baa7b9be1654a03db0b8 | // <osiris_sps_source_header>
// This file is part of Osiris Serverless Portal System.
// Copyright (C)2005-2012 Osiris Team (info@osiris-sps.org) / http://www.osiris-sps.org )
//
// Osiris Serverless Portal System is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public L... | C | client/src/engine/idepickercomponent.h | OsirisSPS/osiris-sps | gpl-3.0 | 2,053 | 74 | codeparrot/github-code |
32a335a12ad6aa2ad17d6a0d5e1568d49af9c84eae3f594cf4f51730472a0d2c | ##############################################################################
# Build global options
# NOTE: Can be overridden externally.
#
# Compiler options here.
ifeq ($(USE_OPT),)
USE_OPT = -O2 -ggdb -fomit-frame-pointer -falign-functions=16
endif
# C specific options here (added to USE_OPT).
ifeq ... | Makefile | testhal/STM32/STM32F37x/USB_CDC/Makefile | mabl/ChibiOS | gpl-3.0 | 6,386 | 225 | codeparrot/github-code |
4e65f8a460bc92fb7af7e400d10634f1928ec836b27fc3bc8367a561a80528a3 | /*-------------------------------------------------------------------------
*
* wparser.c
* Standard interface to word parser
*
* Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group
*
*
* IDENTIFICATION
* src/backend/tsearch/wparser.c
*
*--------------------------------------------------... | C | src/backend/tsearch/wparser.c | robins/postgres | gpl-3.0 | 13,513 | 559 | codeparrot/github-code |
f6029dd5b7ae92f515e1ba2cb246b32fc9edeb6f7a9ee8df860c8c5d022d9ca9 | /*
* This file is part of JGCGen.
*
* JGCGen 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.
*
* JGCGen is distributed in the h... | Java | src/org/luolamies/jgcgen/text/Fonts.java | callaa/JGCGen | gpl-3.0 | 2,230 | 76 | codeparrot/github-code |
c7b557817f0bc02b6406d0782ce0d9a90ec623e19519fcd37b746a3d44bdd09b | // -*- mode: csharp; encoding: utf-8; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil; -*-
// vim:set ft=cs fenc=utf-8 ts=4 sw=4 sts=4 et:
// $Id$
/* MetaTweet
* Hub system for micro-blog communication services
* SqlServerStorage
* MetaTweet Storage module which is provided by Microsoft SQL Server RDBMS.... | C# | SqlServerStorage/StorageObjectContext.cs | takeshik/metatweet-old | gpl-3.0 | 4,362 | 129 | codeparrot/github-code |
a86828ed341ec1225969c4851ac4fb1ddee3036896ddb9a768a7f6bf3c96ce19 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qpieseries.cpp -->
<title>PieSeries QML Type | Qt Charts 5.7</title>
<link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
<script type="t... | HTML | Doc/qtcharts/qml-qtcharts-pieseries.html | angeloprudentino/QtNets | gpl-3.0 | 22,505 | 405 | codeparrot/github-code |
efcb70ea0033afa71aaf93160fe5a4eeca30453ac8df1f08173bd87beef6ebed | # -*- coding: utf-8 -*-
"""proyectoP4 URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/1.8/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: url(r'^$', views.h... | Python | proyectoP4/urls.py | jesmorc/Workinout | gpl-3.0 | 1,273 | 37 | codeparrot/github-code |
081bd9d8aa5a6917b288ff0d324f5d6cf20fdcbe3824fda6ef59c10ec52b4612 | #region using directives
using POGOProtos.Enums;
using POGOProtos.Settings.Master.Pokemon;
#endregion
namespace PoGo.PokeMobBot.Logic.Event.Pokemon
{
public class BaseNewPokemonEvent : IEvent
{
public int Cp;
public ulong Uid;
public PokemonId Id;
public double Perfection;
... | C# | Source/PoGo.PokeMobBot.Logic/Event/Pokemon/BaseNewPokemonEvent.cs | Lunat1q/Catchem-PoGo | gpl-3.0 | 980 | 38 | codeparrot/github-code |
20177fdaf2534c9f1eaae250c12ce069e280a7aa9035c778b2177cc897a2aacf | #!/usr/bin/python
# This programs is intended to manage patches and apply them automatically
# through email in an automated fashion.
#
# Copyright (C) 2008 Imran M Yousuf (imran@smartitengineering.com)
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Pu... | Python | src/smart-patcher.py | imyousuf/smart-patcher | gpl-3.0 | 5,526 | 126 | codeparrot/github-code |
99355d96cb7c16329e3600ba92ed2ff70b37266eaff81a58f0dfe66f193fe4ac | /*
LICENSE
-------
Copyright (C) 2007 Ray Molenkamp
This source code is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this source code or the software it produces.
Permission is granted to anyone to use th... | C# | NAudio/CoreAudioApi/MMDevice.cs | ciribob/DCS-SimpleRadioStandalone | gpl-3.0 | 9,238 | 313 | codeparrot/github-code |
027736c65f2c78dbf06a6c4c48c71bfbe4fd111f32787224591a688230a5f7cb | //
// MIT License
//
// Copyright (c) Deif Lou
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, me... | C++ | src/plugins/imagefilter_autothreshold/filter.cpp | DeifLou/anitools | gpl-3.0 | 10,641 | 327 | codeparrot/github-code |
47d9bd2cb317ed82b91dfb5ba44987ff189f4fbf3887979e59a8cda28f0bc84c | /*
This file is part of sudoku_systemc
Copyright (C) 2012 Julien Thevenon ( julien_thevenon at yahoo.fr )
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the ... | C | include/sudoku_internal_state.h | quicky2000/sudoku_systemc | gpl-3.0 | 3,886 | 85 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.