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 |
|---|---|---|---|---|---|---|---|---|
2fc4f777d82d867ad2e5858ee673bd03916de574d4cf5a5111d48e99197e071e | /*
* Copyright (C) 2017, Ulrich Wolffgang <ulrich.wolffgang@proleap.io>
* All rights reserved.
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
package io.proleap.cobol.asg.metamodel.data.communication.impl;
import io.proleap.cobol.Cobo... | Java | src/main/java/io/proleap/cobol/asg/metamodel/data/communication/impl/CommunicationDescriptionEntryInputOutputImpl.java | uwol/cobol85parser | mit | 5,451 | 190 | codeparrot/github-code |
bc1d08ef246414ba3f4b017670018457f71f37b3edd1a3d63245020472db9653 | % BEGIN LICENSE BLOCK
% Version: CMPL 1.1
%
% The contents of this file are subject to the Cisco-style Mozilla Public
% License Version 1.1 (the "License"); you may not use this file except
% in compliance with the License. You may obtain a copy of the License
% at www.eclipse-clp.org/license.
%
% Software distribute... | TeX | usr/eclipseclp/documents/tutorial/solversintro.tex | kishoredbn/barrelfish | mit | 11,666 | 279 | codeparrot/github-code |
061466de521ce1e618c889ed3b2ea308d50c187c9f28b0bae9e4499a707ae3e3 | cubox(p::CudaPtr) = cubox(p.ptr)
cubox(a::CdArray) = cubox(rawpointer(a))
cubox{T}(x::T) = T[x]
function launch(f::CuFunction, grid::CudaDims, block::CudaDims, args::Tuple; shmem_bytes::Int=4, stream=null_stream)
gx = get_dim_x(grid)
gy = get_dim_y(grid)
gz = get_dim_z(grid)
tx = get_dim_x(block)
... | Julia | src/execute.jl | lucasb-eyer/CUDArt.jl | mit | 1,417 | 43 | codeparrot/github-code |
cc741874e43717ec87f8f7e0f26b73d0fb4c5fc38182ac1ef1dd219f12d9e47e | /*global Ext, Ijobs, window, document, printMsg, reset, console, getUserName */
var listStore;
var listGrid;
var datefield1, datefield2, application;
Ext.onReady(function () {
application = new Ijobs.common.ux.AppComboBox({
id: 'cmbApplication',
triggerAction: "all",
editable: true,
... | JavaScript | js/admin/jobs/crontabHistory.js | tecshuttle/tiegan | mit | 7,103 | 215 | codeparrot/github-code |
cd8e035b9c1c3532f49af0b265d304a0bee515646d8097e378036b1ce72512c1 | package com.muleinaction.security;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.hamcrest.CoreMatchers.instanceOf;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.CoreMatchers.not;
import static org.junit.Assert.assertThat;
import org.junit.Test;
import org.mule.api.Excepti... | Java | chapter10/src/test/java/com/muleinaction/security/PasswordBasedEncryptionTestCase.java | student-errant/mule-in-action-2e | mit | 1,095 | 39 | codeparrot/github-code |
674d3a02428064bfee98581832c7d17cbb15366784da6f2f6c022de874a85304 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Qt 4.8: N... | HTML | QtEsrc/qt-everywhere-opensource-src-4.8.5/doc/html/demos-declarative-rssnews-qml-rssnews-content-newsdelegate-qml.html | stephaneAG/PengPod700 | mit | 14,103 | 274 | codeparrot/github-code |
1765cee9b2a44529938d7994eefb90e6daa1761e984608f1253de8e769f7d407 | package registry
import (
"encoding/json"
"fmt"
"net/url"
"path"
"strings"
"time"
docker "github.com/fsouza/go-dockerclient"
"github.com/litl/galaxy/log"
"github.com/litl/galaxy/utils"
)
/*
All config opbects in redis will be stored in a hash with an id key.
Services will have id, version and environment ke... | GO | registry/registry.go | jwilder/galaxy | mit | 8,166 | 310 | codeparrot/github-code |
2a2e967205ee013d847008f5cb741e1a8524eee003377fee80b2b43268d960c8 | namespace Nubot.Core.Nancy
{
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using log4net;
using Microsoft.Owin;
using Owin;
using AppFunc = System.Func<System.Collections.Generic.IDictionary<string, object>, System.Threading.Tasks.Task>;
public class ... | C# | Nubot.Core/Nancy/RequestLogger.cs | lionelplessis/Nubot | mit | 1,569 | 57 | codeparrot/github-code |
2a14ddc51023769b15996a027c89c487a0b2db8b800048730becef39da6e9d96 | #ifndef _FHT_IMPL_H__
#define _FHT_IMPL_H__
#include "fast_copy.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __AVX__
#include "fht_avx.c"
#define VECTOR_WIDTH (32u)
#else
#include "fht_sse.c"
#define VECTOR_WIDTH (16u)
#endif
int fht_float_oop(float *in, float *out, int log_n) {
fast_copy(out, in, sizeof(fl... | C | src/include/falconn/ffht/fht_impl.h | FALCONN-LIB/FALCONN | mit | 591 | 33 | codeparrot/github-code |
d10e431a659fbc1c1ee2e907b144702e7fe3a1dd5497bec61262a2015e9bddc1 | /*
* PolyModule.h
* PolyCore
*
* Created by Ivan Safrin on 12/1/10.
* Copyright 2010 Local Projects. All rights reserved.
*
*/
#pragma once
#include "PolyString.h"
#include "PolyGlobals.h"
class TiXmlNode;
namespace Polycode {
class Material;
class Renderer;
class Shader;
class ShaderBinding;
class... | C | lib/Polycode/Core/include/PolyModule.h | TheBeege/PucksBigAdventure | mit | 1,577 | 64 | codeparrot/github-code |
ba9919eb88a9e9562894bfae072699d41d5f0b1004eace6d0d483e7af8201ade | package p2p
import (
"fmt"
"io"
ma "gx/ipfs/QmXY77cVe7rVRQXZZQRioukUM7aRW3BTcAgJe12MCtb3Ji/go-multiaddr"
peer "gx/ipfs/QmXYjuNuxVzXKJCfWasQk1RqkhVLDM9jtUKhqc2WPQmFSB/go-libp2p-peer"
)
// ListenerInfo holds information on a p2p listener.
type ListenerInfo struct {
// Application protocol identifier.
Protocol st... | GO | p2p/registry.go | Quantomicus/go-ipfs | mit | 2,848 | 133 | codeparrot/github-code |
b06f3f326706559c758a16a8f0d51367084dab4d082f14263296b90d13a84b15 |
define([
'jquery',
'underscore',
'backbone',
'helpers/conf',
'text!templates/modal.html',
'text!templates/welcome.html'
], function($, _, Backbone, ConfHelper, ModalTemplate, WelcomeTemplate) {
return {
version: '',
isExtension: true,
urlPrefix: 'https://eksisozluk.com/',
initialize: fu... | JavaScript | app/js/helpers/app.js | onur/EksiOkuyucu | mit | 1,882 | 68 | codeparrot/github-code |
54c45cbe1c3e2a79f19eba0481ad8b1ae51fc7b7192c32879a95d2387bb170e6 | var MeshData = require('../renderer/MeshData');
var Capabilities = require('../renderer/Capabilities');
var Vector3 = require('../math/Vector3');
/**
* Combines the MeshData of passed-in entities into one new MeshData. This can be useful to reduce draw calls.
* Combination is currently limited to 65536 vertices.
* ... | JavaScript | src/goo/util/MeshBuilder.js | GooTechnologies/goojs | mit | 6,559 | 225 | codeparrot/github-code |
0a6c5a1cbd6f3b27d202a240d0d7af732966c8fda707a92f80fda5ad74ae77e9 | // Copyright (c) 2015 Uber Technologies, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge... | Java | src/test/java/com/uber/jenkins/phabricator/tasks/ApplyPatchTaskTest.java | liuhaotian/phabricator-jenkins-plugin | mit | 2,691 | 70 | codeparrot/github-code |
2afcc24da11148e5b4699fc092992925b87662930bb80de7a8f9b884074c3800 | // Copyright (C) 2017 Michel Morin.
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_ITERATOR_ADVANCE_HPP
#define BOOST_ITERATOR_ADVANCE_HPP
#include <boost/config.hpp>
#include <boost... | C++ | source/LibTpBoost/boost_1_67_0/boost/iterator/advance.hpp | SingularInversions/FaceGenBaseLibrary | mit | 2,118 | 85 | codeparrot/github-code |
7b0f6e9b56cb3e95da2e37c36496df8cfb6bdeeb7e647bbc7503310802b59829 | /*
The MIT License (MIT)
Copyright (c) 2013-2016 SRS(ossrs)
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, merg... | C++ | trunk/src/app/srs_app_listener.hpp | roy2220/srs | mit | 3,503 | 137 | codeparrot/github-code |
8cfa038faea8f3c65ccd32709924bd3a841d5a1f95b01b099c8e99ca52e81bb2 | using System;
namespace Raksha.Asn1.X509
{
/**
* Target structure used in target information extension for attribute
* certificates from RFC 3281.
*
* <pre>
* Target ::= CHOICE {
* targetName [0] GeneralName,
* targetGroup [1] GeneralName,
* targetCert ... | C# | src/Raksha.Shared/Asn1/X509/Target.cs | Taggersoft/Raksha | mit | 3,099 | 140 | codeparrot/github-code |
99a146c59f85cf4ff17e5b5b4646b6879c4e38d2882fa5164455e74517bde1c4 | /*
File: AEDataModel.h
Contains: AppleEvent Data Model Interfaces.
Version: Technology: System 7.5
Release: QuickTime 6.0.2
Copyright: (c) 1996-2001 by Apple Computer, Inc., all rights reserved
Bugs?: For bug reports, consult the following page on
... | C | original/IntelliKeys/WindowsOld/Control Panel/REALbasic Plugin and bundle/QT6/Interfaces & Libraries/QTDevWin/CIncludes/AEDataModel.h | ATMakersOrg/OpenIKeys | mit | 28,257 | 481 | codeparrot/github-code |
545a750d8e3a7f0f6a2c6ab71c5b3c5489cae3ffe6268d3a78358540f97d0971 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>SpahQL v0.7.0 API documentation | SpahQL.result</... | HTML | doc-html/src/SpahQL/result/index.html | danski/spahql | mit | 14,545 | 186 | codeparrot/github-code |
302a3908f218d3493abac2eace4838b891e728aed4aebcfb90289f85f121ff2b | This is a mirror of [enum_table](http://github.com/howaboutwe/enum_table) renamed to not conflict
with existing [plugins][enum_column3].
## Enum Ref Table
Table-based enumerations (references) for ActiveRecord.
## What?
When you have a column that should only take one of a finite set of string
values (e.g., gender,... | Markdown | README.markdown | rmw/enum_ref_table | mit | 4,825 | 145 | codeparrot/github-code |
afb3672b34ed2317af8009545354a7bfe5222b3eb9b7fe7bfd842d80d00368d4 | using System;
using System.IO;
namespace qed
{
public static partial class Functions
{
public static bool CloneRepository(
BuildConfiguration buildConfiguration,
Build build,
string repositoryOwnerDirectory,
string repositoryDirectory,
Action... | C# | qed/Functions/CloneRepositoy.cs | half-ogre/qed | mit | 1,295 | 42 | codeparrot/github-code |
259231ea06be4a6a65e9989cedb8588393d28142cb1f73d97b421a5c38625d1e | <!doctype html>
<html class="theme-next mist use-motion" lang="zh-Hans">
<head>
<meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta http-equiv="Cache-Control" content="no-transform" />
<... | HTML | tags/network-异步-Volley-android/index.html | Jolly0813/Jolly0813.github.io | mit | 19,149 | 796 | codeparrot/github-code |
596f3591f436e93ef7dc7aea95ccd111e386dc4cd4acf542214e6752be148849 | /*
* Copyright (c) 2016, Will Strohl
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this list
* of conditio... | C# | Modules/CodeCamp/Services/ServiceError.cs | nvisionative/dnnextensions | mit | 2,086 | 56 | codeparrot/github-code |
2fe4abdfca4d1db97af94c235f083614eb861fe00a39c84fec4b35eae1216bab | ######################################################################
#
# Copyright (C) 2013
# Associated Universities, Inc. Washington DC, USA,
#
# This library is free software; you can redistribute it and/or modify it
# under the terms of the GNU Library General Public License as published by
# the Free Software Fo... | Python | 16B/pipeline4.7.1_custom/EVLA_pipe_testgains.py | e-koch/VLA_Lband | mit | 8,921 | 245 | codeparrot/github-code |
997af677cf68ac427ff26bb3a6b3cce80a467a89f8bb31ed0ed7c4ae827b54c4 | """
components.verisure
~~~~~~~~~~~~~~~~~~~
Provides support for verisure components.
For more details about this component, please refer to the documentation at
https://home-assistant.io/components/verisure/
"""
import logging
import time
from datetime import timedelta
from homeassistant import bootstrap
from homeas... | Python | homeassistant/components/verisure.py | nnic/home-assistant | mit | 5,074 | 168 | codeparrot/github-code |
911b4dccbc5c715b69705e16f563480b9def760a45b4d59f166ce1dc078f396a | /**
* Created by vmaltsev on 4/17/2015.
*/
// and event model
var models = require('../../models');
module.exports = function(app) {
// =============================================================================
// ROUTES FOR USERS ==================================================
// ===========================... | JavaScript | app/routes/users.js | decipher91/findmates_postgre | mit | 1,350 | 51 | codeparrot/github-code |
47098e61e74b39c72614d7af539ab9a3cba729ef79f9a630a50b1a93f6f3b6b4 | package WEB-INF.classes.br.cefetmg.inf.model.dao.impl;
import br.cefetmg.inf.model.domain.Disciplina;
import br.cefetmg.inf.util.db.JDBCConnectionManager;
import br.cefetmg.inf.util.db.exception.PersistenciaException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
imp... | Java | src/main/webapp/WEB-INF/classes/br/cefetmg/inf/model/dao/impl/DisciplinaDAO.java | KHs000/lpii_INF3_g4 | mit | 6,768 | 184 | codeparrot/github-code |
d815d334cf6aaf1925fbca0de1adc6b87706934cd0a9e709d77dedf8988e7ed6 | /*
Fibonacci, Quantas Chamadas?
https://www.urionlinejudge.com.br/judge/pt/problems/view/1029
*/
#include <stdio.h>
int fib(int n);
int calls = 0;
int main (void) {
int n, i;
int x, result;
scanf("%d", &n);
for (i = 0; i < n; i++) {
scanf("%d", &x);
calls = 0;
result = fib(x);
printf("fib(... | C | uri-online-judge/1029/main.c | olegon/online-judges | mit | 539 | 40 | codeparrot/github-code |
5d426de2990f367e939e39a48b824faa9a544a277684939f5ff8a5f8c58a5915 | <!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width" />
<link rel="shortcut icon" type="image/x-icon" href="../../favicon.ico" />
<title>Manipu... | HTML | training/monitoring-device-state/manifest-receivers.html | terrytowne/android-developer-cn | mit | 68,585 | 2,026 | codeparrot/github-code |
9d6c9269807b1a7c031ce4040764b036ae4ba911d85375f832f440680e1c4f7f | 'use strict';
/**
* Module dependencies.
*/
var mongoose = require('mongoose'),
Schema = mongoose.Schema,
crypto = require('crypto');
/**
* A Validation function for local strategy properties
*/
var validateLocalStrategyProperty = function(property) {
return ((this.provider !== 'local' && !this.updated) || pro... | JavaScript | app/models/user.server.model.js | incammiciaTest/hermann | mit | 3,523 | 186 | codeparrot/github-code |
b1660c0b84b1765236cc899609241a9295af1476cef5dfd2498a03d5fda9d782 | 'use strict';
var webapp=angular.module('waecm', [
'ngRoute',
'ngStorage',
'naif.base64'
]).config(['$routeProvider', function($routeProvider) {
$routeProvider.
when('/home', {
templateUrl: 'views/home.html',
controller: 'HomeCtrl as hmCtrl'
}).
when('/register', {
templateUrl: 'views/newUser.html',... | JavaScript | src/main/resources/public/js/app.js | AlxGDev/WAECM-project | mit | 4,520 | 142 | codeparrot/github-code |
57db1593e679082b376ecf450afb9eee4d07516abafe800e6624859984f11ebb | <!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="utf-8" />
<title> create sprite sample </title>
<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="../../libs/pig2d/css/core.css" />
<!--제이쿼리가 종속성 관계에서 가장 높은... | HTML | sample/sprite/1.2.html | acidsound/pig2d | mit | 4,569 | 139 | codeparrot/github-code |
f98302e4631e03c286c343d8917644dd0101c12d75078271c43b63f606d954bf | /////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Olaf Krzikalla 2004-2006.
// (C) Copyright Ion Gaztanaga 2006-2007
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/... | C++ | vegastrike/boost/1_35/boost/intrusive/slist.hpp | Ezeer/VegaStrike_win32FR | mit | 71,019 | 1,859 | codeparrot/github-code |
e6b5d89b0ff92db544fa7b4758dfa94faf142c086c1e30dac99bb28b9026b276 | //Copyright (c) 2006-2009 Emil Dotchevski and Reverge Studios, Inc.
//Distributed under the Boost Software License, Version 1.0. (See accompanying
//file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifndef UUID_63EE924290FB11DC87BB856555D89593
#define UUID_63EE924290FB11DC87BB856555D89593
... | C++ | source/LibTpBoost/boost_1_67_0/boost/exception/info_tuple.hpp | SingularInversions/FaceGenBaseLibrary | mit | 2,491 | 102 | codeparrot/github-code |
dfb589e01123dc90c2fcfd29f16deeef01c32456519a634aa18c62f86e335c86 | module OfflineSearch {
export interface IOfflineSearchScope extends ng.IScope {
vm: OfflineSearchCtrl;
}
export interface ILookupResult {
title?: string;
score: number;
key: string;
entries: Entry[];
}
export class OfflineSearchResultViewModel {
firs... | TypeScript | csWeb/csComp/directives/OfflineSearch/OfflineSearchCtrl.ts | TNOCS/Alblasserwaard | mit | 9,374 | 233 | codeparrot/github-code |
1d8df16b2cc044ab461aef12b8b16df902456bb41712f71d58ef30358326c04a | import React, {Component} from 'react';
import {AppRegistry, NativeModules} from 'react-native';
import _ from 'lodash';
import PropRegistry from './PropRegistry';
const NativeReactModule = NativeModules.NavigationReactModule;
async function startApp(activityParams) {
savePassProps(activityParams);
return await N... | JavaScript | src/platformSpecific.android.js | shahen94/react-native-navigation | mit | 6,224 | 235 | codeparrot/github-code |
81586192e17c7f74bc5bd18e8d46530735122d104bedb7a5bd79e9a593603d5c | <?php
/* this file assumes env $WSETCDIR is already defined */
require_once "System/Daemon.php";
class DaemonWrapper {
private $appName = "";
function __construct($appName) {
$this->appName = $appName;
}
function start($argv) {
$appName = $this->appName;
if(file_exists($this->command_file()))... | PHP | mobi-web/api/push/DaemonWrapper.php | MIT-Mobile/MIT-Mobile-Web | mit | 2,468 | 106 | codeparrot/github-code |
17769706814e2e5a77e01a1ca55495b4e57b84a05cba1576e3ee1ac637e33798 | using UnityEngine;
using System.Collections;
namespace RootMotion.FinalIK {
public partial class Grounding {
/// <summary>
/// The %Grounding %Leg.
/// </summary>
public class Leg {
/// <summary>
/// Returns true distance from foot to ground is less that maxStep
/// </summary>
public bool isGr... | C# | Assets/Plugins/RootMotion/FinalIK/Grounder/GroundingLeg.cs | bi3mer/SeniorProject | mit | 8,994 | 265 | codeparrot/github-code |
9bffc3e6c296ed3bafe5c7b0eb7c3312dba43091e6c357577bcf89b98937290d | $(function ()
{
var nb = $('#navbtn');
var n = $('#topnav nav');
$(window).on('resize', function ()
{
if ($(this).width() < 570 && n.hasClass('keep-nav-closed'))
{
// if the nav menu and nav button are both visible,
// then the responsive nav transitioned from o... | JavaScript | assets/frontend/welcome/landing_page/js/menu.js | Syafiqq/skripsi.husni.co.io | mit | 1,196 | 36 | codeparrot/github-code |
2c79908d95a98865ce039a33a7dede5665fab4c7972d022ee465de29588f70a0 | package AliTV::Base;
use AliTV::Base::Version;
use Log::Log4perl;
sub new
{
my $class = shift;
my $self = {};
bless $self, $class;
# create a logger for the object
$self->{logger} = Log::Log4perl->get_logger(ref($self));
# call the private _inititialize method providing the parameters
... | Perl | lib/AliTV/Base.pm | greatfireball/AliTV-perl-interface | mit | 5,032 | 268 | codeparrot/github-code |
0d662d4f069647c16d9c83940d3a5189e860925f2103904490404d7f5d6d097b | import { Injectable, defineInjectable, inject } from '@angular/core';
import { Angulartics2 } from 'angulartics2';
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
class Angulartics2Mixpanel {
/**
* @param {?} angula... | JavaScript | ajax/libs/angulartics2/7.4.1/mixpanel/fesm2015/angulartics2-mixpanel.js | cdnjs/cdnjs | mit | 4,400 | 168 | codeparrot/github-code |
88e9456ff36e0cee513e201b57b43b2151913e5e8f8f1c04fe3d478f2e6dba47 | /****************************************************************************
* PROJECT: Mac allocate memory from somewhere for the image
* FILE: sqMacMemory.c
* CONTENT:
*
* AUTHOR: John Maloney, John McIntosh, and others.
* ADDRESS:
* EMAIL: johnmci@smalltalkconsulting.com
* RCSID: $Id: sqMacM... | C | vm/src/from_squeak/Mac OS/vm/sqMacMemory.c | smarr/OmniVM | epl-1.0 | 3,690 | 122 | codeparrot/github-code |
25ef80bb4871c67c858252970cd856a2dfc2cab9d9600eb57398894b592d87db | /*******************************************************************************
* Copyright (c) 2006, 2015 Tom Schindl and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is... | Java | plugins/org.eclipse.jface/src/org/eclipse/jface/viewers/ComboBoxViewerCellEditor.java | css-iter/org.csstudio.iter | epl-1.0 | 7,228 | 272 | codeparrot/github-code |
e5aa4c77cba14c9433d7562476ab054607560f802f36eff1d6ed893f7746af48 | /*
* Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
package org... | Java | opendaylight/netconf/mdsal-netconf-connector/src/main/java/org/opendaylight/controller/config/yang/netconf/mdsal/mapper/NetconfMdsalMapperModule.java | mandeepdhami/controller | epl-1.0 | 2,126 | 43 | codeparrot/github-code |
a8010d51a97a46438a7fe836a4afecafee8c08b9408d48d66f168efb4fc8d7b9 | /*
* Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
package org... | Java | bgp/bmp-spi/src/main/java/org/opendaylight/protocol/bmp/spi/parser/AbstractBmpMessageParser.java | inocybe/odl-bgpcep | epl-1.0 | 2,359 | 56 | codeparrot/github-code |
fd7e6c41d216e2d0c8131684b6131eb357fa47485425bb358421502323c646c1 | /**
* Copyright (c) 2010-2021 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.... | Java | bundles/org.openhab.binding.lutron/src/main/java/org/openhab/binding/lutron/internal/handler/GreenModeHandler.java | paulianttila/openhab2 | epl-1.0 | 6,829 | 183 | codeparrot/github-code |
613061cb8f481bcc653f02a5ec69926b21edd2e0a4a2d51f7de328e1b5a2c5fa | /*
* Copyright (c) 2015 Brocade Communications Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html... | Java | opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/modification/ModificationPayloadTest.java | my76128/controller | epl-1.0 | 2,590 | 57 | codeparrot/github-code |
20eb2c29256801b96be88582f287a9b563ce9d38d6ce64764e345caa25deed8e | /**
* Copyright (c) 2010-2020 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.... | Java | bundles/binding/org.openhab.binding.fatekplc/src/main/java/org/openhab/binding/fatekplc/items/FatekDimmerItem.java | openhab/openhab | epl-1.0 | 3,715 | 133 | codeparrot/github-code |
f619211182ffd8de6c551e57789a885dc6ecc243c9a92cca060b5acf2f666e8e | /**
* Copyright (c) 2005-2013 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Eclipse Public License (EPL).
* Please see the license.txt included with this distribution for details.
* Any modifications to this file must keep this entire header intact.
*/
package org.python.pydev.naviga... | Java | plugins/org.python.pydev/src_navigator/org/python/pydev/navigator/actions/PyOpenResourceAction.java | fabioz/Pydev | epl-1.0 | 4,615 | 117 | codeparrot/github-code |
8c3f06378027d44bf7426ac2908edc9cb10e5bbb7ac8a767a5c973f8dda6fea2 | package hm.src.game;
import org.newdawn.slick.AppGameContainer;
import org.newdawn.slick.GameContainer;
import org.newdawn.slick.SlickException;
import org.newdawn.slick.state.StateBasedGame;
public class GameWindow extends StateBasedGame{
public static boolean isInBattle = false;
public static int testLevelState =... | Java | src/hm/src/game/GameWindow.java | joakim1999/HorrorMath | epl-1.0 | 974 | 34 | codeparrot/github-code |
8f368d30125433ce3d9fd266a242e4063a84b2e1cf8e7cd34b7bf5eb8a83fbfc | /**
* Copyright (c) 2010-2020 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.... | Java | bundles/binding/org.openhab.binding.ebus/src/main/java/org/openhab/binding/ebus/internal/utils/EBusUtils.java | openhab/openhab | epl-1.0 | 15,157 | 432 | codeparrot/github-code |
e854a7e701227bccfd0ff4784621216ae309820498bc36275f19301a0f673594 | /*******************************************************************************
* Copyright (C) 2015 AgGateway and ADAPT Contributors
* Copyright (C) 2015 Deere and Company
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0... | C# | source/RepresentationTest/UnitSystem/CompositeUnitOfMeasureTest.cs | ADAPT/ADAPT | epl-1.0 | 5,962 | 154 | codeparrot/github-code |
68362058bc3d1a0fdab0adbf26edb2b6c68a68d5fcb2314fa153b3977c7b56ee | /*******************************************************************************
* Copyright (c) 2012-2015 Codenvy, S.A.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available ... | Java | plugin-runner/che-plugin-runner-ext-runner/src/main/java/org/eclipse/che/ide/ext/runner/client/tabs/terminal/container/TerminalContainerViewImpl.java | Panthro/che-plugins | epl-1.0 | 2,321 | 75 | codeparrot/github-code |
88720c0c747515f57029609a67553da85e8fa34c21a4c05a6fb854084726f176 | /*******************************************************************************
* Copyright (c) 2019, 2020 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... | Java | dev/com.ibm.ws.security.oauth.oidc_fat.common/src/com/ibm/ws/security/oauth_oidc/fat/commonTest/spnego/SpnegoAppPasswordsAndTokensCommonTest.java | OpenLiberty/open-liberty | epl-1.0 | 7,158 | 146 | codeparrot/github-code |
a96422b1c92ec2a3c88099f5b575317584fccb208a9f003c8331fc98eba8653c | /*
* (C) Copyright IBM Corp. 2007, 2012
*
* LICENSE: Eclipse Public License v1.0
* http://www.eclipse.org/legal/epl-v10.html
*/
package fabric.bus.routing.impl;
import java.util.Arrays;
import fabric.bus.messages.IReplicate;
import fabric.bus.routing.IRouting;
import fabric.core.xml.XML;
/**
* Data structure ... | Java | fabric.lib/src/fabric/bus/routing/impl/StaticRouting.java | acshea/edgware | epl-1.0 | 8,261 | 343 | codeparrot/github-code |
8f463b315867d845e4bfeb3d4bfc8386d03b008973414956ecd6ad7ac03f8f3f | /**
* Copyright (c) 2010-2015, openHAB.org and others.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/
package org... | Java | bundles/binding/org.openhab.binding.dscalarm/src/main/java/org/openhab/binding/dscalarm/internal/protocol/APIMessage.java | smerschjohann/openhab | epl-1.0 | 29,752 | 829 | codeparrot/github-code |
b6e498d6deca37ab20b3298d160327aba64147323dc0151bd4e5fdcfbbb6ee97 | /*
* Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
package org.... | Java | code-generator/binding-generator-util/src/main/java/org/opendaylight/yangtools/binding/generator/util/generated/type/builder/GeneratedPropertyBuilderImpl.java | 522986491/yangtools | epl-1.0 | 2,516 | 70 | codeparrot/github-code |
7764ea3cd231be5762a130e37fdf6d60b9574fdf26ba9011d2f238f83df06a2a | /*******************************************************************************
* Copyright (c) 2020, 2021 Eurotech and/or its affiliates and others
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.or... | Java | commons/src/test/java/org/eclipse/kapua/commons/util/StringUtilTest.java | stzilli/kapua | epl-1.0 | 29,740 | 639 | codeparrot/github-code |
4f5071f63ef64820543118e0e4a0fd88f83a22447a118306a77943b85ce8e3c1 | /*!
\file
\brief
<a href="http://github.com/sparist/Om">Om</a> source file.
\version
0.1.3
\date
2012-2014
\copyright
Copyright (c) <a href="http://sparist.com">Sparist</a>. All rights reserved. This program and the accompanying materials are made available under the terms of the <a href="http://www.eclipse... | C++ | code/om/language/operation/back_pull_operator_operation.cpp | yashkulkarni/Om | epl-1.0 | 2,495 | 124 | codeparrot/github-code |
59d7bfdeac9fda9c90ea660b3fc400d7582559cd7258805be019c4b2684b0bac | /***************************************************************************
* MediaTek Inc.
* 4F, No. 2 Technology 5th Rd.
* Science-based Industrial Park
* Hsin-chu, Taiwan, R.O.C.
*
* (c) Copyright 1997-2012, MediaTek, Inc.
*
* All rights reserved. MediaTek source code is an unpublished work and the
* use o... | C | package/lean/mt/drivers/mt7615d/src/mt_wifi/embedded/common/hif_pci.c | tossp/lede-k3 | gpl-2.0 | 92,718 | 3,038 | codeparrot/github-code |
0278b86a587831c6611cf74bba7e24fbf4f8a3e88c147691520c59767955e695 | /*
Copyright (c) 2007-2016 Contributors as noted in the AUTHORS file
This file is part of libzmq, the ZeroMQ core engine in C++.
libzmq is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License (LGPL) as published
by the Free Software Found... | C++ | zmq/src/socks_connecter.cpp | pavel-pimenov/flylinkdc-r5xx | gpl-2.0 | 14,927 | 478 | codeparrot/github-code |
ece15177bb1c80bd27bf65636e8810f7fb81e7479e77f9c3fe4037ff0cca663d | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Variables Table</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="Rasqal RDF Query Library Manual">
<... | HTML | docs/html/rasqal-section-variables-table.html | bbcarchdev/deb-rasqal | gpl-2.0 | 18,729 | 261 | codeparrot/github-code |
22f13c82ba077f8d00c826889d8e31b37dc61d88eff7d1a89fec7d106c6a2e96 | # a Patchinfo lives in a Project, but is not a package - it represents a special file
# in a update package
# if you wonder it's not a module, read http://blog.codeclimate.com/blog/2012/11/14/why-ruby-class-methods-resist-refactoring
class Patchinfo
include ValidationHelper
class PatchinfoFileExists < APIError; e... | Ruby | src/api/app/models/patchinfo.rb | mdeniz/open-build-service | gpl-2.0 | 8,414 | 251 | codeparrot/github-code |
97dcd7101554e1878b09c26e0563519993e44c54cf82447fe6f1342b30f145c4 | /*
Copyright (c) 2004-2008, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/book/dojo-book-0-9/introduction/licensing
*/
if(!dojo._hasResource["dojox.analytic... | JavaScript | sites/all/modules/civicrm/packages/dojo/dojox/analytics/plugins/mouseClick.js | btribulski/girlsknowhow | gpl-2.0 | 1,278 | 56 | codeparrot/github-code |
ba1d6a793b05ac1e51ab7f6373c595a99b35a8bf90a10ec4ba11704c57ba3b90 | <html lang="en">
<head>
<title>Bound member functions - Using the GNU Compiler Collection (GCC)</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Using the GNU Compiler Collection (GCC)">
<meta name="generator" content="makeinfo 4.8">
<link title="Top" rel="start" href="inde... | HTML | toolchain/deprecated/arm_cm0_4.9/share/doc/gcc-arm-none-eabi/html/gcc/Bound-member-functions.html | jocelynmass/nrf51 | gpl-2.0 | 4,284 | 91 | codeparrot/github-code |
e62c13201b795fe17fd4cd9870d8f72a280c22f0318ee78b83491df0114f4508 | /*
* The MIT License
*
* Copyright (c) 2009 The Broad Institute
*
* 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... | Java | src/main/java/htsjdk/samtools/reference/ReferenceSequenceFileWalker.java | xubo245/CloudSW | gpl-2.0 | 5,021 | 112 | codeparrot/github-code |
b92ec82b2349241317dd00c887d6a7df6c9554672c28fa5d868e999abed8ed91 | <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Set of functions used to run http authentication.
* NOTE: Requires PHP loaded as a Apache module.
*
* @version $Id: http.auth.lib.php 11468 2008-08-08 16:15:16Z lem9 $
*/
/**
* Displays authentication form
*
* @global string the font face to use in cas... | PHP | libraries/auth/http.auth.lib.php | masted/myadmin | gpl-2.0 | 7,262 | 229 | codeparrot/github-code |
0d9c730886e3edd82b2013eba61bf1742cb871cd049c8aa09cbda2076ae5fded | /*
* Fast Userspace Mutexes (which I call "Futexes!").
* (C) Rusty Russell, IBM 2002
*
* Generalized futexes, futex requeueing, misc fixes by Ingo Molnar
* (C) Copyright 2003 Red Hat Inc, All Rights Reserved
*
* Removed page pinning, fix privately mapped COW pages and other cleanups
* (C) Copyright 2003, ... | C | kernel/futex.c | dduval/kernel-rhel5 | gpl-2.0 | 52,674 | 2,169 | codeparrot/github-code |
70d4d82bd043be8d2e768c2a60894053fad3de5565d56df5c0af90d923d48c28 | /*
Copyright (C) 2001-2003 KSVG Team
This file is part of the KDE project
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your ... | C++ | ksvg/dom/SVGFEConvolveMatrixElement.cc | serghei/kde3-kdegraphics | gpl-2.0 | 3,894 | 141 | codeparrot/github-code |
6df5b75916fea4b549472981e71b857da1158c1ea8fe47705615ad66064dc00b | #!/usr/bin/python3
import os
import urllib
import socket
from gi.repository import GObject, Nautilus
class ownCloudExtension(GObject.GObject, Nautilus.ColumnProvider, Nautilus.InfoProvider):
nautilusVFSFile_table = {}
registered_paths = {}
remainder = ''
connected = False
watch_id = 0
d... | Python | shell_integration/nautilus/ownCloud.py | ckamm/mirall | gpl-2.0 | 5,047 | 169 | codeparrot/github-code |
c685c7dbde9396bd380bee8c0c764f8267d8e5240671590b5fedc25d884b77c2 | <?php
/*------------------------------------------------------------------------
# com_scheduler
# ------------------------------------------------------------------------
# author DHTMLX LTD
# copyright Copyright (C) 2012 DHTMLX LTD. All Rights Reserved.
# @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/... | PHP | tmp/install_50dda174a3227/site/codebase/connector/db_mssql.php | mchalupar/Union-Leopoldschlag | gpl-2.0 | 3,094 | 97 | codeparrot/github-code |
979b2097ab3cee315650e97ec76a41e990ad4cf42435449891897770a356f8f1 | #include "EventUpdateAOI.hpp"
EventUpdateAOI::EventUpdateAOI(long idEvent, long msec, long idCmd,
ArgMMap mmArgs, Template * pTemplate) :
Event(idEvent, msec, idCmd, mmArgs, pTemplate) {
m_mmapArgs = mmArgs;
pair<ArgIter, ArgIter> pii;
ArgMMap::iterator ii;
pii = m_mmapArgs.equal_range("AOI");
... | C++ | src/EventUpdateAOI.cpp | dalejbarr/exp-eyelink | gpl-2.0 | 2,720 | 102 | codeparrot/github-code |
e0bc4697c377c0a5a2985f3386018d0a88ffbfda174ffce4168d91f6da9e6884 | #
# Copyright (c) 2008--2012 Red Hat, Inc.
#
# This software is licensed to you under the GNU General Public License,
# version 2 (GPLv2). There is NO WARRANTY for this software, express or
# implied, including the implied warranties of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. You should have received a c... | Perl | web/modules/pxt/PXT/ApacheHandler.pm | dmacvicar/spacewalk | gpl-2.0 | 14,285 | 576 | codeparrot/github-code |
973b829b1369387defe02a69d1ea42c9185566349cc928b3810c3e692208b25a | /* ops.c - Libnetfs callbacks for node operations in NFS client.
Copyright (C) 1994,95,96,97,99,2002 Free Software Foundation, Inc.
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 ... | C | nfs/ops.c | diegonc/console-xkb-support | gpl-2.0 | 44,713 | 1,937 | codeparrot/github-code |
ec3d9dc65287f30f5d8de70a3eecea3e50c78d1a3cab5d3dfcc362e24bebbabe | /* -*- Mode:C++; c-basic-offset:8; tab-width:8; indent-tabs-mode:t -*-
*
* Copyright (c) 1997, 2000 Regents of the University of California.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are me... | C++ | src/ns2/mobile/energy-model.cc | gnehzuil/GeoSVR | gpl-2.0 | 8,768 | 332 | codeparrot/github-code |
b6d25f60f620b02df423fe40035aabc79f0b039f8b64d2ff208fb699d71ff5b1 | /* $Id: setup.c,v 1.1.1.1 2007/06/12 07:27:13 eyryu Exp $
* linux/arch/sparc/kernel/setup.c
*
* Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
* Copyright (C) 2000 Anton Blanchard (anton@samba.org)
*/
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/mm... | C | arch/sparc/kernel/setup.c | sdwuyawen/linux2.6.21_helper2416 | gpl-2.0 | 11,488 | 493 | codeparrot/github-code |
7689a161c5590cfc5e5d20d83233e9663ca020c31d1cff73859f2ff479022f5d | % !Mode:: "TeX:UTF-8"
\documentclass[12pt,openright]{book}
\usepackage[a4paper,
bindingoffset=1cm,
left=2.5cm,
right=2.5cm,
top=3cm,
bottom=4cm,
footskip=1.5cm,
twoside]{geometry}
\usepackage[square,super,comma,sort]{natbib}
%\setcitestyle{open={\ensuremath{^[}},close={\ensuremath{^]}}}
\usepackage{float... | TeX | assets/Thesis_XeTex/config/headinfo.tex | williamlfang/cn | gpl-2.0 | 17,476 | 558 | codeparrot/github-code |
07f8b119b6350c807c44ccdffc2877cda58ee7dbb4586376e2f54c361b04ba78 | /*
* Copyright (C) 2012-2018 Team Kodi
* This file is part of Kodi - https://kodi.tv
*
* SPDX-License-Identifier: GPL-2.0-or-later
* See LICENSES/README.md for more information.
*/
#include "guilib/guiinfo/VideoGUIInfo.h"
#include "Application.h"
#include "FileItem.h"
#include "PlayListPlayer.h"
#include "S... | C++ | xbmc/guilib/guiinfo/VideoGUIInfo.cpp | asavah/xbmc | gpl-2.0 | 26,820 | 796 | codeparrot/github-code |
8adcdbaaf978d17419a3f0495155d5876cd84d25940af4eb66ea9a1e81313b22 | #include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <signal.h>
#include <dirent.h>
#include <sys/fcntl.h>
#include <sys/stat.h>
#include <sys/param.h>
#include "init.h"
#include "os.h"
#include "user.h"
#include "mode.h"
#define UML_DIR "~/.uml/"
#define UMID_LEN... | C | linux-2.6.17.new/arch/um/os-Linux/umid.c | zrafa/linuxkernel | gpl-2.0 | 7,141 | 354 | codeparrot/github-code |
678bb87dcd14572d7efa0df8b4ef73bd0c7b99245e00b415d643006cd7ce5d55 | <?php
/**
* @package Joomla.Legacy
* @subpackage Table
*
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
defined('JPATH_PLATFORM') or die;
/**
* Menu table
*
* @package Joomla.Legacy
... | PHP | libraries/legacy/table/menu.php | vothequang113/Joomla | gpl-2.0 | 5,907 | 220 | codeparrot/github-code |
7fb6accf89836604bf2023a3bb3c446b4dcac91c694185e1adad071e49467fe8 | <?php
/**
* HUBzero CMS
*
* Copyright 2005-2015 HUBzero Foundation, LLC.
*
* 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
... | PHP | core/components/com_projects/site/controllers/setup.php | drewthoennes/hubzero-cms | gpl-2.0 | 31,969 | 1,173 | codeparrot/github-code |
d81d3a38abd066d522fd2780677d064763c532ebd79ca42f0f611cc506dd0611 | /** File : class.cc
* Author : Tuan Anh Nguyen
* Description : POP-C++ parser/compiler Class object
* Creation date : -
*
* Modifications :
* Authors Date Comment
* clementval March 2012 Add Enum support
* clementval April 2012 Add namespace support to the parser
* clementval August 201... | C++ | parser/class.cc | pop-team/pop-cpp | gpl-2.0 | 38,709 | 1,211 | codeparrot/github-code |
582fee86e787a05db3811be2f34c7857bd1892c2bf959cac3c7a0fdb47cc6080 | /***************************************************
This is a library for our I2C LED Backpacks
Designed specifically to work with the Adafruit LED Matrix backpacks
----> http://www.adafruit.com/products/
----> http://www.adafruit.com/products/
These displays use I2C to communicate, 2 pins are required t... | C | libraries/AdafruitLEDBackpackLibrary/Adafruit_LEDBackpack.h | atsoc0ocsav/Arduino_Random_Projects | gpl-2.0 | 3,078 | 124 | codeparrot/github-code |
36fa950ddc88a4f7446022cb2f768f14993f78fdf15e78897ff05e83ee9f3657 | /***************************************************************************
artscontrolapplet_private.h - description
-------------------
begin : Don Jan 30 2003
copyright : (C) 2003 by Arnold Krille
email : a... | C | arts/tools/artscontrolapplet_private.h | serghei/kde3-kdemultimedia | gpl-2.0 | 4,217 | 123 | codeparrot/github-code |
503a27986c2ec798a3af93b7b55a78b80900507f72809981bfc38ef2c1020607 | # Opus/UrbanSim urban simulation software.
# Copyright (C) 2005-2009 University of Washington
# See opus_core/LICENSE
from opus_core.variables.variable import Variable
from urbansim.functions import attribute_label
class is_high_income_x_percent_high_income(Variable):
"""Percent of households with high-i... | Python | 3rdparty/opus/src/urbansim/household_x_zone/is_high_income_x_percent_high_income.py | christianurich/VIBe2UrbanSim | gpl-2.0 | 1,967 | 47 | codeparrot/github-code |
b72f6b8fa6e85dceb020f4dbcf111767ea4ba5e4ef551f702bf44aa580e7b71f | package org.openyu.socklet.reponse.vo.impl;
import java.io.*;
import org.junit.Test;
import org.openyu.commons.junit.supporter.BaseTestSupporter;
import org.openyu.socklet.reponse.vo.supporter.ResponseSupporter;
public class ResponseImplTest extends BaseTestSupporter
{
@Test
public void print() throws IOExceptio... | Java | openyu-socklet-core/src/test/java/org/openyu/socklet/reponse/vo/impl/ResponseImplTest.java | mixaceh/openyu-socklet.j | gpl-2.0 | 1,220 | 63 | codeparrot/github-code |
d264d32284380cc30880ea911f5733f51d1a2457d2099e4d65fa3f8b635a0b95 | #pragma once
#include "../rsx_utils.h"
#include "TextureUtils.h"
namespace rsx
{
using texture_channel_remap_t = std::pair<std::array<u8, 4>, std::array<u8, 4>>;
// Defines pixel operation to be performed on a surface before it is ready for use
enum surface_transform : u32
{
identity = 0, // Not... | C | rpcs3/Emu/RSX/Common/texture_cache_helpers.h | Megamouse/rpcs3 | gpl-2.0 | 24,737 | 775 | codeparrot/github-code |
a4e4b9818ca352eb46f55436440ef44e8a1cc8c26e10be16e3e9fca6e89b532a | <?php namespace App\KoraFields;
use Illuminate\Http\Request;
class VideoField extends FileTypeField {
/*
|--------------------------------------------------------------------------
| Video Field
|--------------------------------------------------------------------------
|
| This model represe... | PHP | app/KoraFields/VideoField.php | matrix-msu/Kora3 | gpl-2.0 | 2,593 | 97 | codeparrot/github-code |
4aac2bc693e800d13eea65806f655431ad3d9a69b8ae8b16eeed12310bf2caed | /******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; you can redistribute it and/or modify it ... | Java | adempiere_360/client/src/org/compiere/grid/ed/VMemo.java | arthurmelo88/palmetalADP | gpl-2.0 | 8,753 | 320 | codeparrot/github-code |
3d0875dcc7fbf2a0c9e3540f9b5dfefcf7612c1b9dacbcfbd8ad19ef0395b9f4 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License")... | Java | Ports/iOSPort/xmlvm/apache-harmony-6.0-src-r991881/classlib/modules/swing/src/test/api/java.injected/javax/swing/text/WrappedPlainViewRTest.java | shannah/cn1 | gpl-2.0 | 4,636 | 130 | codeparrot/github-code |
35547f6e463dfeb0d411a19f4c8479ba92e67cb823a82cfc1c20126b23042ca3 | /*
* Compiz wallpaper plugin
*
* wallpaper.c
*
* Copyright (c) 2008 Dennis Kasprzyk <onestone@opencompositing.org>
*
* Rewrite of wallpaper.c
* Copyright (c) 2007 Robert Carr <racarr@opencompositing.org>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU ... | C | src/wallpaper/wallpaper.c | bhull2010/compizfusion-plugins-extra-packages | gpl-2.0 | 22,965 | 986 | codeparrot/github-code |
cbda58f5f8b3648b0fedf566f6e158c969cb1b289b66c51f9ddd29c15748810e | /*
* R : A Computer Language for Statistical Data Analysis
* Copyright (C) 1999-2013 The R Core Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License... | C | src/gnuwin32/editor.c | hxfeng/R-3.1.2 | gpl-2.0 | 22,298 | 868 | codeparrot/github-code |
1fc06fa4cc7b6fc5a5e692e202d1a70413e6897367c493a500d46d11b1f8bc80 | # Opus/UrbanSim urban simulation software.
# Copyright (C) 2010-2011 University of California, Berkeley, 2005-2009 University of Washington
# See opus_core/LICENSE
from opus_core.resources import Resources
from opus_core.misc import take_choices, do_id_mapping_dict_from_array
from opus_core.misc import DebugPrin... | Python | 3rdparty/opus/src/opus_core/datasets/interaction_dataset.py | christianurich/VIBe2UrbanSim | gpl-2.0 | 33,528 | 676 | codeparrot/github-code |
c25ffcbc9431eec3a38e8d9b01991d66e3684d36646e8ff736d8eda06b5847b9 | using Jackett.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Jackett.Indexers;
using Newtonsoft.Json.Linq;
namespace JackettTest
{
class TestIndexerManagerServiceHelper : IIndexerManagerService
{
public JToken LastSav... | C# | src/Jackett.Test/TestIIndexerManagerServiceHelper.cs | DiseaseNO/Jackett | gpl-2.0 | 1,277 | 57 | codeparrot/github-code |
65310c2e8dec8bbeb4c643d216490a942612db3bf16ef1138e7a4bbc5d8458ad | #include <linux/init.h>
#include <linux/kernel.h>
#include <linux/delay.h>
#include <linux/platform_device.h>
#include <linux/err.h>
#include <linux/semaphore.h>
#include <linux/regulator/machine.h>
#include <linux/regulator/fixed.h>
#include <plat/gpio-cfg.h>
#include <mach/gpio.h>
#include <mach/usb_switch.h>
struct... | C | arch/arm/mach-exynos/px-switch.c | basr/Brieuwers_Kernel | gpl-2.0 | 16,114 | 627 | codeparrot/github-code |
a3820e08101a2e7e1ac4e3565ae3ea8da79fd6fbf76aaa4f96f2219b297d677c | <?php
/**
* The Categories widget replaces the default WordPress Categories widget. This version gives total
* control over the output to the user by allowing the input of all the arguments typically seen
* in the wp_list_categories() function.
*
* @package Hybrid
* @subpackage Classes
*/
/**
* Cate... | PHP | hybrid-core/classes/widget-categories.php | mwender/lct-2011 | gpl-2.0 | 16,290 | 320 | codeparrot/github-code |
ccc85123796e5074c6a8ad38acbea97ece4683c0dd934918a3b13c533e7f68b6 | /* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
#ifndef FT_INTERNAL_H
#define FT_INTERNAL_H
#ident "$Id$"
/*
COPYING CONDITIONS NOTICE:
This program is free software; you can redistribute it and/or modify
it under the terms of version 2 of the GN... | C | storage/tokudb/ft-index/ft/ft-internal.h | edf-hpc/mariadb-galera | gpl-2.0 | 54,954 | 1,278 | codeparrot/github-code |
b9e8faf4617100c571be9655fad86920b282c9585b609263e56698495f198e59 | import logging
from copy import deepcopy
from montepetro.seed_generators import SeedGenerator
class Model(object):
def __init__(self, name, seed):
self.name = name
self.seed = seed
self.seed_generator = SeedGenerator(self.seed)
self.properties = {}
self.regions = {}
de... | Python | montepetro/models.py | LukasMosser/MontePetro | gpl-2.0 | 2,237 | 54 | codeparrot/github-code |
abb135de1819900ca6ca8af966f2cd6f28719dec755fecdac16569b640d23621 | #include "swl/Config.h"
#include "swl/util/IniParser.h"
#include "swl/base/String.h"
#include "swl/base/LogException.h"
#include "iniparser_impl.h"
#if defined(_DEBUG) && defined(__SWL_CONFIG__USE_DEBUG_NEW)
#include "swl/ResourceLeakageCheck.h"
#define new DEBUG_NEW
#endif
namespace swl {
//-------... | C++ | cpp/src/util/IniParser.cpp | sangwook236/sangwook-library | gpl-2.0 | 5,097 | 173 | codeparrot/github-code |
67d2499dccc4fd5db01e427c429651c1c7811635ec93a694b2714d29d81b173e | /**
* @file dialog.c Dialog functions
*
* purple
*
* Purple is the legal property of its developers, whose names are too numerous
* to list here. Please refer to the COPYRIGHT file distributed with this
* source distribution.
*
* This program is free software; you can redistribute it and/or modify
* it under... | C | src/dialog.c | difro/pidgin-nateon | gpl-2.0 | 3,989 | 141 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.