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
f0eab35ad068cad659f1b5eadd3cfa4171b1a8ed279104bad336602bcd1eb6b2
/*$Id$ * * This source file is a part of the Fresco Project. * Copyright (C) 2000 Stefan Seefeld <stefan@fresco.org> * http://www.fresco.org * * 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 Softwar...
C++
Berlin/include/Berlin/Console/GGIDrawableFactory.hh
stefanseefeld/fresco
lgpl-2.1
1,841
62
codeparrot/github-code
07f9a4fcfa2c84125c801e22033f5ca094833596608d1937241cf5480e094d6e
/**************************************************************************** ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the QtGui module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** ...
C
src/gui/painting/qrgb.h
radekp/qt
lgpl-2.1
2,914
89
codeparrot/github-code
b7c62d4b107d02d516c7015448c50eb31f0391d92e1a324336376f126ded0b7c
<?php /** * @package tikiwiki */ // (c) Copyright 2002-2016 by authors of the Tiki Wiki CMS Groupware Project // // All Rights Reserved. See copyright.txt for details and a complete list of authors. // Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. // $Id$ $section = 'surveys'; re...
PHP
tiki-survey_stats.php
tikiorg/tiki
lgpl-2.1
2,518
69
codeparrot/github-code
c2e3945f60afe2e30c6b522732f50cedde6fb8b6318ef3f1d65be4ecd61a1aa6
/* * Button representing user's Avatar * * Copyright (C) 2011 Martin Klapetek <martin.klapetek@gmail.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 o...
C++
src/avatar-button.cpp
KDE/ktp-accounts-kcm
lgpl-2.1
6,326
203
codeparrot/github-code
2dc51e92c11e9b30d490bf22622b03a133cdb0b182b0d712f44f6b55f048470f
/****************************************************************************** * $Id: ogr_core.h 23947 2012-02-11 17:37:02Z rouault $ * * Project: OpenGIS Simple Features Reference Implementation * Purpose: Define some core portability services for cross-platform OGR code. * Author: Frank Warmerdam, warmerdam...
C
3rdparty_windows/x86/include/ogr_core.h
hyyh619/OpenSceneGraph-3.4.0
lgpl-2.1
18,422
636
codeparrot/github-code
a4f9f477c620d00e01e03d021e153bb50b84ada32e59d99893fb7a8f165f4590
/*========================================================================= Program: FEMUS Module: PetscLinearEquationSolver Authors: Eugenio Aulisa, Simone Bnà Copyright (c) FEMTTU All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABIL...
C++
src/algebra/GmresPetscLinearEquationSolver.hpp
eaulisa/MyFEMuS
lgpl-2.1
4,752
171
codeparrot/github-code
ad692e9328ad38481a7904832100e3f88184b4446c15b9a0142d163f0b4cca94
#include <math.h> #include <stdlib.h> #include <stdio.h> #include <rpnmacros.h> #include <unistd.h> #include <zfstlib.h> #include <malloc.h> #include <string.h> int c_armn_compress32(unsigned char *, float *, int, int, int, int); int c_armn_uncompress32(float *fld, unsigned char *zstream, int ni, int nj, int nk, int...
C
compresseur/armn_compress_32.c
mfvalin/rmnlib
lgpl-2.1
32,194
1,259
codeparrot/github-code
79a05ebd2d5017cc74649532a1bc7f0d808bcc439b230a5d102da5e261d26db9
package com.quickserverlab.quickcached; import java.io.IOException; import java.net.SocketTimeoutException; import java.util.logging.Level; import java.util.logging.Logger; import com.quickserverlab.quickcached.cache.CacheException; import com.quickserverlab.quickcached.cache.CacheInterface; import org.quickserver.net...
Java
src/main/com/quickserverlab/quickcached/TextCommandProcessor.java
QuickServerLab/QuickCached
lgpl-2.1
15,156
578
codeparrot/github-code
0203c42c337993816b130e66bd6e291ffbc0e12567642e63a456a508154f9ff1
/**************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the examples of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:BSD$ ** You m...
C++
examples/painting/svgviewer/mainwindow.cpp
sunblithe/qt-everywhere-opensource-src-4.7.1
lgpl-2.1
6,065
164
codeparrot/github-code
ed85c7a7e2b3c3653bdb8cd96fa13f428edfe8510dd7c1adbbc5a7e3b59a4368
# -*- coding: utf-8 -*- """Additional helper functions for the optlang solvers. All functions integrate well with the context manager, meaning that all operations defined here are automatically reverted when used in a `with model:` block. The functions defined here together with the existing model functions should a...
Python
cobra/util/solver.py
zakandrewking/cobrapy
lgpl-2.1
15,435
445
codeparrot/github-code
1dea17ca9db85e55eaaf50647fdd5abf09373f51ee4c190e31b1fbe06370c7e7
// Copyright 2018 Google LLC. All Rights Reserved. /* Copyright (C) 2005-2017 Steven L. Scott This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (a...
C++
src/Models/Mixtures/DirichletProcessMixture.cpp
cran/Boom
lgpl-2.1
17,226
435
codeparrot/github-code
94559b46d793c567e2d44a8fb3cf6d4130f5238c3d78a994edf68dbfa52be34c
/* -*-c++-*- OpenThreads library, Copyright (C) 2002 - 2007 The Open Thread Group * * This library is open source and may be redistributed and/or modified under * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or * (at your option) any later version. The full license is in LICENSE file * incl...
C++
src/OpenThreads/pthreads/PThreadMutex.cpp
hyyh619/OpenSceneGraph-3.4.0
lgpl-2.1
4,679
153
codeparrot/github-code
7e7de0ce78cc14fa1ff036df285ca2fbb2e5bdce1f5137b55e60fa72e1239aa0
/**************************************************************************** ** ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this f...
C++
src/plugins/projectexplorer/buildprogress.cpp
maui-packages/qt-creator
lgpl-2.1
4,964
123
codeparrot/github-code
5be53a771620d6a5cfa9253561cb1f94d86890dfbba49a51f260392c171e2d14
/* * Copyright (C) 2009-2012 Felipe Contreras * * Author: Felipe Contreras <felipe.contreras@gmail.com> * * This file may be used under the terms of the GNU Lesser General Public * License version 2.1. */ #include "gstav_h264enc.h" #include "gstav_venc.h" #include "plugin.h" #include <libavcodec/avcodec.h> #in...
C
gstav_h264enc.c
felipec/gst-av
lgpl-2.1
2,840
131
codeparrot/github-code
1c38048bfd365f232f5d0afe6f9a1cd47053a651c0e6741b425efa9af9ff1539
/**************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the Qt Mobility Components. ** ** $QT_BEGIN_LICENSE:LGPL$ ** No Comme...
C++
src/multimedia/qvideowidget.cpp
KDE/android-qt-mobility
lgpl-2.1
26,102
1,029
codeparrot/github-code
58d9e26055e499d3558737e0cab9182b687305c31449440eb6a7ecc73361221d
/* * Copyright (C) 2014 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the licence, or (at your option) any later version. * * This librar...
C
libgdav/gdav-supported-calendar-component-set-property.h
mbarnes/libgdav
lgpl-2.1
2,179
57
codeparrot/github-code
04f9b2aca44666e46d48bcbc13fb41246db6993aed73685ca6f39ca8b4c6fa95
/* GStreamer * Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu> * Copyright (C) <2003> David Schleef <ds@schleef.org> * Copyright (C) <2010> Sebastian Dröge <sebastian.droege@collabora.co.uk> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library G...
C
gst/videofilter/gstvideobalance.c
jahrome/gst-plugins-good
lgpl-2.1
25,488
844
codeparrot/github-code
7b0b0e2c69a637d9184050df0ed8c62cc056961055e8c354a48e6e02a18173da
#include "rendertarget.h" #include <system/engine.h> #include <renderer/renderer.h> #include <renderer/forms.h> using namespace CGE; RenderTarget* RenderTarget::mCurrTarget = NULL; void RenderTarget::drawFullscreen(bool transform){ Renderer* rend = Engine::instance()->getRenderer(); if (transform){ rend->ort...
C++
Engine/renderer/rendertarget.cpp
captain-mayhem/captainsengine
lgpl-2.1
994
39
codeparrot/github-code
da8aa405cd649c774992b3bccc7c1f828d7166fc58aad948e8d98c6bab78add5
/* Static5 is engaged with type BIGINT and ggd(vec) */ #include "lie.h" #ifdef __STDC__ static entry gcd(entry x,entry y); static entry abs_minimum(vector* v_vec); static boolean equal_elements(vector* v_vec); #endif static bigint* bin_from_int(i) intcel* i; { entry k = i->intval; freemem(i); return entry2bigint(k); ...
C
static/static5.c
garetxe/lie-singlets
lgpl-2.1
3,038
118
codeparrot/github-code
7dc23c64e6f4a629bb91375673f2732e29a5276e3c8ee9dc8562273394403d97
/* * CrocoPat is a tool for relational programming. * This file is part of CrocoPat. * * Copyright (C) 2002-2008 Dirk Beyer * * CrocoPat is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either ...
C
src/relStrExpr.h
hotpeperoncino/crocopat
lgpl-2.1
5,003
225
codeparrot/github-code
f661da3089109a0d944023f67d8740fdb4a25aeb39ca2f92c1fbbbc3a8b6ca2a
//////////////////////////////////////////////////////////////// // // Copyright (C) 2007 The Broad Institute and Affymetrix, Inc. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License (version 2) as // published by the Free Software Foundat...
C++
sdk/birdseed-dev/IntensitiesParser.cpp
einon/affymetrix-power-tools
lgpl-2.1
4,466
141
codeparrot/github-code
ea5f7a8cb441d1de93ded85b1ac058cea5aa0cd45292fb07d9be332eac2dde6d
// Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // // 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, cop...
C++
src/libs/3rdparty/cplusplus/ASTMatch0.cpp
bakaiadam/collaborative_qt_creator
lgpl-2.1
30,168
1,147
codeparrot/github-code
ec2fb4ba94d31a7f06e456517980c7df36bbc4c50a242f36b989f034bed4af8d
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Qt 4.6: textprogressbar.cpp Example File (network/downloadmanager/textprogressbar.cpp)</title> <link hre...
HTML
doc/html/network-downloadmanager-textprogressbar-cpp.html
kobolabs/qt-everywhere-opensource-src-4.6.2
lgpl-2.1
5,083
121
codeparrot/github-code
42847e57a14da41e6cbcbdecfd1b88c462b89e103e04c115a2e90d542ad148d1
/*---------------------------------------------------------------------------*\ * OpenSG * * * * * * ...
C
Source/System/Window/Background/OSGTextureBackgroundBase.h
jondo2010/OpenSG
lgpl-2.1
19,137
385
codeparrot/github-code
b1ff25e5a6816154bd0661cf20b2982b08f81de2e1131892ed13b99147a8d163
package net.gigimoi.zombietc.tile; import net.gigimoi.zombietc.ZombieTC; import net.gigimoi.zombietc.util.IListenerZTC; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.network.NetworkManager; import net.minecraft.network.Packet; import net.minecraft.network.play.server.S35PacketUpdateTileEntity; import n...
Java
src/main/java/net/gigimoi/zombietc/tile/TileZTC.java
gigimoi/Zombie-Total-Conversion-Craft
lgpl-2.1
1,114
35
codeparrot/github-code
5d6d222aecdf872a788c5042f6540e1fcf4d8f1598c585e0eb65d340c1f53dcf
package net.minecraft.server; import java.util.Iterator; import java.util.List; import net.minecraft.src.BiomeGenBase; import cpw.mods.fml.common.registry.IMinecraftRegistry; import cpw.mods.fml.server.FMLBukkitHandler; public class BukkitRegistry implements IMinecraftRegistry { @Override public void addRe...
Java
bukkit/net/minecraft/server/BukkitRegistry.java
aerospark/FML
lgpl-2.1
5,591
165
codeparrot/github-code
7d5e63b5a039c652457a651dcd379a0a3db5108b96025b71250e68a4fbda46a5
#define OMPI_SKIP_MPICXX 1 #define MPICH_SKIP_MPICXX 1 #include "comm.h" #include <stdio.h> #include "cmdLineOptions.h" #include "h5test.h" #include "parallel_io.h" #include "t3pio.h" Comm P; void outputResults(CmdLineOptions& cmd, ParallelIO& pio); int main(int argc, char* argv[]) { P.init(&argc, &argv, MPI_CO...
C++
unstructTest/main.C
TACC/t3pio
lgpl-2.1
2,609
86
codeparrot/github-code
2b85638a9b9b3c533e11bdbe1a490e78b258ba6323c4d6262a4a65d8d94c636b
-- Copyright (C) 2016-2017 Red Hat, Inc. -- -- This library is free software; you can redistribute it and/or -- modify it under the terms of the GNU Lesser General Public -- License as published by the Free Software Foundation; either -- version 2.1 of the License, or (at your option) any later version. -- -- This libr...
Haskell
importer/BDCS/RPM/Sources.hs
dashea/bdcs
lgpl-2.1
1,380
37
codeparrot/github-code
5f7bac838314d4f95509b5f7309db479ee701af3d2573d5efb81f8571d592be3
#if USE_SDL_BACKEND #include "../test/SDLBackend.h" #else #include "../test/OgreBackend.h" #endif #include <GG/StyleFactory.h> #include <GG/dialogs/ThreeButtonDlg.h> #include <GG/dialogs/FileDlg.h> #include <iostream> // Tutorial 1: Minimal // This contains the minimal interesting GG application. It contains 3D as...
C++
tutorial/minimal.cpp
tzlaine/GG
lgpl-2.1
4,106
123
codeparrot/github-code
193321d299e388db4d6864a8d429820655e58742c4bbe892490829eae1257f48
#include "longlong_pre.h" #include <longlong_inc.h> /* longlong.h -- definitions for mixed size 32/64 bit arithmetic. Copyright 1991, 1992, 1993, 1994, 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This file is free software; you can redistribute it and/or modify it under the t...
C
mpir/longlong.h
ufasoft/foreign
lgpl-2.1
10,218
308
codeparrot/github-code
e55a290c1c486288b7073edb35e3e95118bcd40848a1d9e4fdbda002a6323ffe
/** * DSS - Digital Signature Services * Copyright (C) 2015 European Commission, provided under the CEF programme * * This file is part of the "DSS - Digital Signature Services" project. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Publ...
Java
dss-asic-cades/src/test/java/eu/europa/esig/dss/asic/cades/signature/asics/ASiCSCAdESLevelLTTest.java
esig/dss
lgpl-2.1
5,526
133
codeparrot/github-code
70e1ea48f28337bfab961bfe50a135fbbbe5a9e91afc2d356fcd2c8fe4f65a77
#!/usr/bin/env kjscmd5 function Calculator(ui) { // Setup entry functions var display = ui.findChild('display'); this.display = display; this.one = function() { display.intValue = display.intValue*10+1; } this.two = function() { display.intValue = display.intValue*10+2; } this.three = function() { displa...
JavaScript
examples/calc/calc.js
KDE/kjsembed
lgpl-2.1
2,564
68
codeparrot/github-code
df6fa9bba0f9c65c5e23b5cc9397dff91bcb4324c5bd83dafe781f32caf481a1
import { Keys } from '@ephox/agar'; import { describe, it } from '@ephox/bedrock-client'; import { TinyAssertions, TinyContentActions, TinyHooks, TinySelections } from '@ephox/mcagar'; import Editor from 'tinymce/core/api/Editor'; import Theme from 'tinymce/themes/silver/Theme'; describe('browser.tinymce.core.keyboar...
TypeScript
modules/tinymce/src/core/test/ts/browser/keyboard/TypeTextAtCefTest.ts
TeamupCom/tinymce
lgpl-2.1
2,019
45
codeparrot/github-code
24e9780e167bd82031d2d31b862b2d5607c5fab75ae74d402104ea240f1dbb54
/** * Copyright 2006-2017 the original author or authors. * * 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 * * Unle...
Java
generator/core/src/main/java/org/solmix/generator/plugin/RenameExampleClassPlugin.java
solmix/datax
lgpl-2.1
3,084
99
codeparrot/github-code
beb881bb1b282e6aa050fbfbc44176257e50d9f6d37cb3309b6ccc752c4f11c9
/* * SonarQube Java * Copyright (C) 2012-2017 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 3 of the Licen...
Java
java-maven-model/src/main/java/org/sonar/maven/model/LocatedAttributeAdapter.java
mbring/sonar-java
lgpl-3.0
1,812
50
codeparrot/github-code
7ebfe23ef5a5f902e9021573f15e89e7a8001497da1150cc0341f2c4a94fa28a
/** * Copyright (C) 2010-2012 Regis Montoya (aka r3gis - www.r3gis.fr) * This file is part of CSipSimple. * * CSipSimple 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...
Java
src/com/csipsimple/ui/outgoingcall/OutgoingCallListFragment.java
fingi/csipsimple
lgpl-3.0
8,351
229
codeparrot/github-code
6b1df18757529324e9638a3a53245211fbfeca39bdb4c334f5e9e593bab7b1b7
/* Copyright 2013-2021 Paul Colby This file is part of QtAws. QtAws is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later v...
C
src/chime/describeappinstanceuserrequest.h
pcolby/libqtaws
lgpl-3.0
1,435
51
codeparrot/github-code
698230742664a7f26a86cc94b1dbcf1d39352b977b4adf1db8a1c0ab03511cfc
/************************************************************************** ** ** This file is part of . ** https://github.com/HamedMasafi/ ** ** is free software: you can redistribute it and/or modify ** it under the terms of the GNU Lesser General Public License as published by ** the Free Software Foundation, eithe...
C++
src/serverhub.cpp
HamedMasafi/Noron
lgpl-3.0
3,066
122
codeparrot/github-code
0cb3d587191ba3d45c136851a237e278552bbe10ffc81daa758df038a82d6a70
package com.sirma.itt.seip.rest.handlers.readers; import static com.sirma.itt.seip.rest.utils.request.params.RequestParams.PATH_ID; import java.io.IOException; import java.io.InputStream; import java.lang.annotation.Annotation; import java.lang.reflect.Type; import javax.inject.Inject; import javax.ws.rs.BeanParam; ...
Java
docker/sirma-platform/platform/seip-parent/platform/rest-api/src/main/java/com/sirma/itt/seip/rest/handlers/readers/InstanceBodyReader.java
SirmaITT/conservation-space-1.7.0
lgpl-3.0
1,803
58
codeparrot/github-code
be72e6bbfa7fac27e7abd2e641abdde44eb63bb3a682f2f12efd7c2178535504
/*** Copyright (c) 2012 - 2021 Hércules S. S. José Este arquivo é parte do programa Orçamento Doméstico. Orçamento Doméstico é um software livre; você pode redistribui-lo e/ou modificá-lo dentro dos termos da Licença Pública Geral Menor GNU como publicada pela Fundação do Software Livre (FSF); na versão 3.0 da L...
Java
orcamento/src/test/java/br/com/hslife/orcamento/entity/DividaTerceiroTest.java
herculeshssj/orcamento
lgpl-3.0
4,168
159
codeparrot/github-code
bd86abf0e2504ad9b2609e8a437a003657ea8860c66a15d233ee375be0f6c643
/* Copyright 2013-2021 Paul Colby This file is part of QtAws. QtAws is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later v...
C
src/pricing/describeservicesresponse.h
pcolby/libqtaws
lgpl-3.0
1,512
52
codeparrot/github-code
4e53a1953fb8c73b46414d307a83743132d39220819f29011ba31e45c26e8f1c
/** * GetAllUsersResponse.java * Created by pgirard at 2:07:29 PM on Aug 19, 2010 * in the com.qagwaai.starmalaccamax.shared.services.action package * for the JobMalaccamax project */ package com.qagwaai.starmalaccamax.client.service.action; import java.util.ArrayList; import com.google.gwt.user.client...
Java
src/com/qagwaai/starmalaccamax/client/service/action/GetAllJobsResponse.java
qagwaai/StarMalaccamax
lgpl-3.0
1,407
68
codeparrot/github-code
040b29e7b6bbafbc32905c775312eb00bb2bc1422fe103d25ed23b7a4b843b63
/* * Copyright (c) 2001-2003 Swedish Institute of Computer Science. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright not...
C
src/osal/network/lwip/sys_arch.c
PheeL79/diOS
lgpl-3.0
14,130
428
codeparrot/github-code
8190f623a9f228fcf3ceadb435f9f387553520acb9dfb9e2914b6cb4cd575ed5
package Genome::Sys; use strict; use warnings; use Genome; use Genome::Carp qw(croakf); use Genome::Utility::File::Mode qw(mode); use autodie qw(chown); use Carp; use Cwd; use Digest::MD5; use Errno qw(); use File::Basename; use File::Copy qw(); use File::Path; use File::Spec; use File::stat qw(stat lstat); use IO::...
Perl
lib/perl/Genome/Sys.pm
malachig/genome
lgpl-3.0
63,117
2,089
codeparrot/github-code
6ba5dfa9a8d0aaf520d1342ce4ef57d255e40cc20de779c23c7af8b677350c1e
#include "gblackboard_p.h" #include "gblackboard_p_p.h" #include "gghosttree_p.h" #include "gghostnode_p.h" typedef QHash<QQmlEngine *, QPointer<GBlackboard> > GlobalBlackboards; Q_GLOBAL_STATIC(GlobalBlackboards, theGlobalBlackboards) // class GBlackboard GBlackboard::GBlackboard(QObject *parent) : QObject(*ne...
C++
src/ghost/kernel/gblackboard.cpp
echowalways/GtGhost
lgpl-3.0
3,388
146
codeparrot/github-code
3b1f1af1be5bce200018d8e3b2003b4ed24b0fc9c770759eddebf4844033c6dd
/***************************************************************************** ** Copyright (c) 2012 Ushahidi Inc ** All rights reserved ** Contact: team@ushahidi.com ** Website: http://www.ushahidi.com ** ** GNU Lesser General Public License Usage ** This file may be used under the terms of the GNU Lesser ** G...
C
App/Classes/Controllers/USHReportAddViewController.h
ccarducci/Ushahidi_local
lgpl-3.0
2,719
62
codeparrot/github-code
5907e9d490ddba002cf70c3e11af63c4737de2c0fbda9c01a0aa2dd7c15d4754
package com.pahlsoft.ws.iaas.provision.deploy.behaviors; import org.apache.log4j.Logger; import com.pahlsoft.ws.iaas.provision.generated.InstructionType; import com.pahlsoft.ws.iaas.provision.generated.ProvisionProperties; import com.pahlsoft.ws.iaas.provision.generated.ProvisionResponse; import com.pahlsoft.ws.iaas....
Java
iaas-provision-service/src/main/java/com/pahlsoft/ws/iaas/provision/behaviors/deploy/JbossDeployBehavior.java
ajpahl1008/iaas
lgpl-3.0
2,342
72
codeparrot/github-code
8bf6551cfb5250df5edbdfe5bf0043e1298eb85c97998451937fc6ab85c5019e
package org.eso.ias.cdb; import org.eso.ias.cdb.json.CdbFiles; import org.eso.ias.cdb.json.CdbJsonFiles; import org.eso.ias.cdb.json.JsonReader; import org.eso.ias.cdb.rdb.RdbReader; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.lang.reflect.Constructor; import java.util.Arrays; import java.uti...
Java
Cdb/src/main/java/org/eso/ias/cdb/CdbReaderFactory.java
IntegratedAlarmSystem-Group/ias
lgpl-3.0
6,266
159
codeparrot/github-code
a9ebfc67d4c6f3ed714c612b39f644922adc5d772763b159ac142a235237ee9d
/** *A PUBLIC CLASS FOR ACTIONS.JAVA */ class Actions{ public Fonts font = new Fonts(); /** *@see FONTS.JAVA *this is a font class which is for changing the font, style & size */ public void fonT(){ font.setVisible(true); //setting the visible is true font.pack(); //pack the panel /...
Java
examples/Notepad_casestudies/NotepadBenDelaware/features/Font/Actions.java
SergiyKolesnikov/fuji
lgpl-3.0
1,444
53
codeparrot/github-code
350d7d8255649810d8f57b09c69e8f7de0c7a50bc06b0b53b3125d212f943d99
#pragma once #pragma region Imported API extern "C" NTSYSAPI NTSTATUS NTAPI ZwWaitForSingleObject( __in HANDLE Handle, __in BOOLEAN Alertable, __in_opt PLARGE_INTEGER Timeout); typedef struct _THREAD_BASIC_INFORMATION { NTSTATUS ExitStatus; PVOID TebBaseAddress;...
C
bzscore/WinKernel/thread.h
sysprogs/BazisLib
lgpl-3.0
4,196
167
codeparrot/github-code
0dcf63acc39b563d3de268b4429f0e0fa5d7ada5ce6fb37dfaef006c39b29231
/* * This file is part of BlendInt (a Blender-like Interface Library in * OpenGL). * * BlendInt (a Blender-like Interface Library in OpenGL) is free * software: you can redistribute it and/or modify it under the terms * of the GNU Lesser General Public License as published by the Free * Software Foundation, eith...
C++
include/blendint/gui/color-button.hpp
zhanggyb/BlendInt
lgpl-3.0
2,260
92
codeparrot/github-code
9b61075b9494d6c6544f71c9025dc726a0bb352b6d3f28215f7391c6e3ef0dde
/* *\ ** _____ __ _____ __ ____ FieldKit ** ** / ___/ / / /____/ / / / \ (c) 2009, field ** ** / ___/ /_/ /____/ / /__ / / / http://www.field.io ...
Scala
src.gl/field/kit/gl/scene/shape/Box.scala
field/FieldKit.scala
lgpl-3.0
4,875
166
codeparrot/github-code
86d702d59edd4b14796a80f16836430e06a519602049fe77939e0cf9cf6587d8
package com.ihidea.component.datastore.archive; import java.awt.Graphics2D; import java.awt.Image; import java.awt.image.BufferedImage; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.io...
Java
src/com/ihidea/component/datastore/archive/ArchiveController.java
tyotann/tyo-java-frame
lgpl-3.0
15,562
515
codeparrot/github-code
d5c531a83e9465fbd7f983a29fab2ea0c17e8fd36bac3ddc113dbe3b1bb38dc1
/* * SonarQube * Copyright (C) 2009-2022 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 3 of the License, o...
Java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/almsettings/ws/AlmSettingsSupport.java
SonarSource/sonarqube
lgpl-3.0
4,030
105
codeparrot/github-code
d098f13a09a93d262eb9e76f46f29d1b5a49198dc838b5872431ff18b0d97eda
/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield * * This library is open source and may be redistributed and/or modified under * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or * (at your option) any later version. The full license is in LICENSE file * included with ...
C++
src/osgOcean/SiltEffect.cpp
onox/osgocean
lgpl-3.0
23,252
685
codeparrot/github-code
fd34b01cadaf5e54ef0c9903b203a26609f7c0b1bb45ab5ffe61e7f8628839be
/** * Copyright (C) 2005-2015 Alfresco Software Limited. * * This file is part of Alfresco * * Alfresco is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at ...
JavaScript
aikau/src/main/resources/alfresco/search/FacetFilter.js
nzheyuti/Aikau
lgpl-3.0
8,856
287
codeparrot/github-code
566baef2c46615308de3b6fe5c47aca93870ae9ae9abde2558d7bf025f967dee
///////////////////////////////////////////////////////////////////////////// // Name: wx/utils.h // Purpose: Miscellaneous utilities // Author: Julian Smart // Modified by: // Created: 29/01/98 // Copyright: (c) 1998 Julian Smart // Licence: wxWindows licence /////////////////////////...
C
thirdparty/wxWidgets-3.0.0/include/wx/utils.h
dariusliep/LogViewer
lgpl-3.0
30,662
848
codeparrot/github-code
10eb5a539b499b40f18efc4e6b6ed9635eb78448bb250034950237bbb7b16510
/******************************************************************************/ /* */ /* EntityCollection.hpp */ /* ...
C++
include/Fast/EntityCollection.hpp
JSandrew4/FastGdk
lgpl-3.0
2,905
67
codeparrot/github-code
70e1211d66fc1412e6422053d4e590d074201512e6cd9f0cf52e4a73536e74ba
/* Copyright 2013-2021 Paul Colby This file is part of QtAws. QtAws is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later v...
C
src/managedblockchain/voteonproposalresponse.h
pcolby/libqtaws
lgpl-3.0
1,542
52
codeparrot/github-code
9acb99bddab547a613d0680c3c98d32660d525505c8475ba823da5a20b5691f5
<import resource="classpath:alfresco/site-webscripts/org/alfresco/callutils.js"> if (!json.isNull("wikipage")) { var wikipage = String(json.get("wikipage")); model.pagecontent = getPageText(wikipage); model.title = wikipage.replace(/_/g, " "); } else { model.pagecontent = "<h3>" + msg.get("message.nopage")...
JavaScript
projects/slingshot/config/alfresco/site-webscripts/org/alfresco/modules/wiki/config-wiki.post.json.js
loftuxab/community-edition-old
lgpl-3.0
1,134
39
codeparrot/github-code
6530d441665066a3434deed7a7860b7a1255af8b66c64c84d802193fa19c34bb
package co.edu.unal.sistemasinteligentes.ajedrez.agentes; import co.edu.unal.sistemasinteligentes.ajedrez.base.*; import co.edu.unal.sistemasinteligentes.ajedrez.reversi.Tablero; import co.edu.unal.sistemasinteligentes.ajedrez.reversi.Reversi.EstadoReversi; import java.io.PrintStream; /** * Created by jiacontrerasp...
Java
elCinco/MinMax/src/co/edu/unal/sistemasinteligentes/ajedrez/agentes/AgenteHeuristicoBasico.java
UNColombia/bog-2025995-2-2015-01
lgpl-3.0
2,310
85
codeparrot/github-code
5934437086d5f2196636694148ae1c75cf26560cd59d61f2a58e4b8bc6bcc699
using System; using System.Linq; using System.Collections.Generic; using System.Diagnostics; using System.Threading.Tasks; using System.Threading; namespace CoCoL { /// <summary> /// Static helper class to create channels /// </summary> public static class Channel { /// <summary> /...
C#
src/CoCoL/Channel.cs
kenkendk/cocol
lgpl-3.0
43,299
1,200
codeparrot/github-code
e4ffee9ed0098137640a5e7b5a8e1eb248b26314ebd30e6e39b00f4bbc8e8381
package tk.teemocode.module.base.vo; import java.io.Serializable; public class Vo implements Serializable, Cloneable { private Long id; private String uuid; private Integer tag; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getUuid() ...
Java
teemocode-modulebase/src/main/java/tk/teemocode/module/base/vo/Vo.java
yangylsky/teemocode
lgpl-3.0
520
36
codeparrot/github-code
2e1cf5f1920affbad3a28f5e22339f6aee494e94bcf6e86fe3fa0fb238cea3ef
/******************************************************************************* * Copyright (c) 2011 Dipanjan Das * Language Technologies Institute, * Carnegie Mellon University, * All Rights Reserved. * * IntCounter.java is part of SEMAFOR 2.0. * * SEMAFOR 2.0 is free software: you can redistribute it an...
Java
semafor/src/main/java/edu/cmu/cs/lti/ark/util/ds/map/IntCounter.java
jtraviesor/semafor-parser
lgpl-3.0
8,362
302
codeparrot/github-code
1be3ba03679f00284b89b15693302d132fd8f635bd9ba93afd42ea84c7646577
/************************************************************************/ /* */ /* FramepaC -- frame manipulation in C++ */ /* Version 2.01 */ /* by Ralf Brown <ralf@cs.cmu.edu> */ /* */ /* File frsymbol.h class FrSymbol */ /* LastEdit: 08nov2015 */ /* */ /* (...
C
src/frsymbol.h
ralfbrown/framepac
lgpl-3.0
12,136
304
codeparrot/github-code
a6544ba29383e971e164968a70c6853e363c99c99ba847f07b81c860e49e76b8
/* Copyright 2013-2021 Paul Colby This file is part of QtAws. QtAws is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later v...
C
src/sms/startondemandappreplicationresponse_p.h
pcolby/libqtaws
lgpl-3.0
1,400
48
codeparrot/github-code
0d18b3d8a4138f4d62c183829b4798f3f39ad2ef4f63b703f1248d650657be58
/* * Project: NextGIS Mobile * Purpose: Mobile GIS for Android. * Author: Dmitry Baryshnikov (aka Bishop), bishop.dev@gmail.com * Author: NikitaFeodonit, nfeodonit@yandex.com * Author: Stanislav Petriakov, becomeglory@gmail.com * ****************************************************************************...
Java
src/main/java/com/nextgis/maplib/util/AccountUtil.java
nextgis/android_maplib
lgpl-3.0
5,591
139
codeparrot/github-code
9f24054557cd134788f2cc881a4d3fb5fe19b00b12471786c51be5ca232c0948
package edu.ucsd.arcum.interpreter.ast; import java.util.List; import java.util.Set; import org.eclipse.core.runtime.CoreException; import com.google.common.collect.Lists; import com.google.common.collect.Sets; import edu.ucsd.arcum.exceptions.ArcumError; import edu.ucsd.arcum.exceptions.SourceLocation; ...
Java
src/edu/ucsd/arcum/interpreter/ast/MapTraitArgument.java
mshonle/Arcum
lgpl-3.0
2,934
78
codeparrot/github-code
c419922386210c31d09aef5742a0b5725218b2df3d02745a09639b0908430377
package edu.hm.gamedev.server.packets.client2server; import org.codehaus.jackson.annotate.JsonCreator; import org.codehaus.jackson.annotate.JsonProperty; import edu.hm.gamedev.server.packets.Packet; import edu.hm.gamedev.server.packets.Type; public class JoinGame extends Packet { private final String gameName; ...
Java
src/main/java/edu/hm/gamedev/server/packets/client2server/JoinGame.java
phxql/gamedev-server
lgpl-3.0
1,227
58
codeparrot/github-code
65434665e08f13940d387f047473916ba4c94249cd3222cf5bbe1ddfda25a6e2
#!/usr/bin/env python import sys, argparse def main(): parser = argparse.ArgumentParser() parser.add_argument('-i', '--input', type=str, action='store', dest='input', default=None, help="Input file") args = parser.parse_args() stats = dict() if args.input is None: print "Error: No input fi...
Python
experiments/testbed/results/plot/sort.py
merlin-lang/kulfi
lgpl-3.0
989
33
codeparrot/github-code
2de4c5bb5fcf996a0a1e8f310893fe00630a1a8a17b75679e9f7d994228a62d4
// Copyright 2017 The AriseID Authors // This file is part AriseID. // // AriseID 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. // //...
GO
cmd/puppeth/wizard_genesis.go
AriseID/ariseid-core
lgpl-3.0
4,285
137
codeparrot/github-code
64f659ee525632d6f1ae1fa51662eb818c0b1d21e074ec6f442144b188783209
@echo off rem HTMLParser Library - A java-based parser for HTML rem http:remhtmlparser.org rem Copyright (C) 2006 Derrick Oswald rem rem Revision Control Information rem rem $URL: file:///svn/p/htmlparser/code/tags/HTMLParserProject-2.1/src/main/bin/beanybaby.cmd $ rem $Author: derrickoswald $ rem $Date: 2006-...
Batchfile
src/main/bin/beanybaby.cmd
socialwareinc/html-parser
lgpl-3.0
1,921
52
codeparrot/github-code
c6ddc513d93cd9f6e660ebc3e493b4b6a96e7161bd85006f400b246b06686615
/* * SonarQube * Copyright (C) 2009-2022 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 3 of the License, o...
Java
sonar-duplications/src/main/java/org/sonar/duplications/statement/TokenMatcherFactory.java
SonarSource/sonarqube
lgpl-3.0
2,239
66
codeparrot/github-code
8bc9a39cf5f13853fed4545c6de1da01cf02ccb119c3ef4f8f495ea1762f4093
package com.farevee.groceries; public class BulkItem implements Item { //+--------+------------------------------------------------------ // | Fields | // +--------+ /** * The type of food of the bulk item */ BulkFood food; /** * The unit of the bulk item */ Units unit; /** * The ...
Java
src/com/farevee/groceries/BulkItem.java
lordzason/csc207-hw07-combined-with-hw06
lgpl-3.0
2,267
117
codeparrot/github-code
e23be0fc70b074e7193f1da43e4b7530588e1322d7d12652563e2929d8b5bbef
/******************************************************************** ** Image Component Library (ICL) ** ** ** ** Copyright (C) 2006-2013 CITEC, University of Bielefeld ** ** Neuroinformat...
C
ICLFilter/src/ICLFilter/InplaceLogicalOp.h
iclcv/icl
lgpl-3.0
4,939
115
codeparrot/github-code
898fb040ee2288e1a067709dac84f18fc18d8e89f6120294f876c0b446ace419
package org.logicobjects.converter.old; import java.util.Arrays; import java.util.List; import org.jpc.term.Term; import org.jpc.util.ParadigmLeakUtil; import org.logicobjects.converter.IncompatibleAdapterException; import org.logicobjects.converter.context.old.AdaptationContext; import org.logicobjects.converter.co...
Java
src/main/java/org/logicobjects/converter/old/AnnotatedObjectToTermConverter.java
java-prolog-connectivity/logicobjects
lgpl-3.0
4,202
98
codeparrot/github-code
5f969770964b381d6c701f9694d2973817ab42a5015aa8c5f1dc0e946ceef385
/* Copyright (C) 2007 <SWGEmu> This File is part of Core3. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This progra...
C
src/server/zone/objects/creature/commands/SteadyaimCommand.h
kidaa/Awakening-Core3
lgpl-3.0
4,686
135
codeparrot/github-code
58a45db14c5fe72da7aca8710c1726344e1300d09e4ae8800ddb4ec99d55fdb4
/* * SonarQube * Copyright (C) 2009-2017 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 3 of the License, o...
Java
sonar-plugin-api/src/test/java/org/sonar/api/utils/TempFileUtilsTest.java
lbndev/sonarqube
lgpl-3.0
1,443
47
codeparrot/github-code
04406dfd4e41970891c1f386bb57eef9f90a61584eba693a8582bfd8bc454262
package net.anthavio.sewer.test; import net.anthavio.sewer.ServerInstance; import net.anthavio.sewer.ServerInstanceManager; import net.anthavio.sewer.ServerMetadata; import net.anthavio.sewer.ServerMetadata.CacheScope; import net.anthavio.sewer.ServerType; import org.junit.rules.TestRule; import org.junit.runner.Desc...
Java
src/main/java/net/anthavio/sewer/test/SewerRule.java
anthavio/anthavio-sewer
lgpl-3.0
1,989
87
codeparrot/github-code
1314a4482eeb2307bd16a885ae7db354307ffbe4bead3cbeea34b546537cdb12
var KevoreeEntity = require('./KevoreeEntity'); /** * AbstractChannel entity * * @type {AbstractChannel} extends KevoreeEntity */ module.exports = KevoreeEntity.extend({ toString: 'AbstractChannel', construct: function () { this.remoteNodes = {}; this.inputs = {}; }, internalSend: function (portP...
JavaScript
library/kevoree-entities/lib/AbstractChannel.js
barais/kevoree-js
lgpl-3.0
938
45
codeparrot/github-code
f88316592ea3a2618cf8222f3cc1dcb927ac61273d53bca7f96e1b2b9dd3cfd4
package calc.lib; /** Class (POJO) used to store Uninhabited Solar System JSON objects * * @author Carlin Robertson * @version 1.0 * */ public class SolarSystemUninhabited { private String[] information; private String requirePermit; private Coords coords; private String name; public Strin...
Java
src/main/java/calc/lib/SolarSystemUninhabited.java
TheJavaMagician/CalculusBot
lgpl-3.0
977
58
codeparrot/github-code
fc2c1ea0ebbd72b6b8c0e0d59e1596a642057d6a77a641c26d4ed59552ff34cb
/* Copyright 2009 Semantic Discovery, Inc. (www.semanticdiscovery.com) This file is part of the Semantic Discovery Toolkit. The Semantic Discovery Toolkit is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free So...
Java
src/main/java/org/sd/text/MungedWordFinder.java
jtsay362/semanticdiscoverytoolkit-text
lgpl-3.0
17,721
543
codeparrot/github-code
9a73d20d2f7f30ffd32569b6a68fc6da17ef6ac78357a5b1d5a3fd1b16911810
import java.util.*; import Jakarta.util.FixDosOutputStream; import java.io.*; //------------------------ j2jBase layer ------------------- //------ mixin-layer for dealing with Overrides and New Modifier //------ offhand, I wonder why we can't let j2j map these modifiers //------ to nothing, instead of le...
Java
examples/AHEAD/j2jBase/ModOverrides.java
SergiyKolesnikov/fuji
lgpl-3.0
1,048
32
codeparrot/github-code
9eb73c7421bcae97088a96bdc08d76fececc28fc81e9002592ac16000beb0146
# -*- coding: utf-8 -*- """digitalocean API to manage droplets""" __version__ = "1.16.0" __author__ = "Lorenzo Setale ( http://who.is.lorenzo.setale.me/? )" __author_email__ = "lorenzo@setale.me" __license__ = "LGPL v3" __copyright__ = "Copyright (c) 2012-2020 Lorenzo Setale" from .Manager import Manager from .Drople...
Python
digitalocean/__init__.py
koalalorenzo/python-digitalocean
lgpl-3.0
1,128
33
codeparrot/github-code
c3d25da509d5367e4e0cdebf90ed9ad7f1be669daefdb5bb2f77cf49a1277d94
/* * XAdES4j - A Java library for generation and verification of XAdES signatures. * Copyright (C) 2010 Luis Goncalves. * * XAdES4j is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 3...
Java
src/main/java/xades4j/xml/unmarshalling/FromXmlSignatureTimeStampConverter.java
entaksi/xades4j
lgpl-3.0
1,990
59
codeparrot/github-code
1d1e37f1fb792eb93f253beec0259ec7ea19e66eed146bb178cac9c5107fb2bb
/* * Unitex * * Copyright (C) 2001-2014 Université Paris-Est Marne-la-Vallée <unitex@univ-mlv.fr> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the Lic...
Java
Unitex-Java/src/fr/umlv/unitex/cassys/ConfigurationFileAnalyser.java
mdamis/unilabIDE
lgpl-3.0
3,910
151
codeparrot/github-code
81c6f833e1f3258b1ca98441cbc0df2391ea63112d71b5c97cb2ca05ddc08065
<?php /*! * Schedule builder * * Copyright (c) 2011, Edwin Choi * * Licensed under LGPL 3.0 * http://www.gnu.org/licenses/lgpl-3.0.txt */ //ini_set("display_errors", 1); //ini_set("display_startup_errors", 1); date_default_timezone_set("GMT"); $timezone = date_default_timezone_get(); if ( !isset($_GET['p'])) ...
PHP
datasvc.php
JoeParrinello/schedule-builder
lgpl-3.0
6,667
290
codeparrot/github-code
324ddf30e37d89783e51b732067492c6321187ad4fa680f3ee1b7ca3cc5ca3bc
/* Copyright 2013-2021 Paul Colby This file is part of QtAws. QtAws is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later v...
C
src/lexmodelbuildingservice/deletebotrequest_p.h
pcolby/libqtaws
lgpl-3.0
1,445
48
codeparrot/github-code
4e409e2b486f5095fa68264eee5f25077f24aa85c9c24b71e5b7a357f1fbab14
#include <rlib/rbinfmt.h> static void dump_opt_hdr (RPeOptHdr * opt) { r_print ("\tLinkerVer: %u.%u\n", opt->major_linker_ver, opt->minor_linker_ver); r_print ("\tEntrypoint: 0x%.8x\n", opt->addr_entrypoint); r_print ("\tCode addr: 0x%.8x\n", opt->base_code); r_print ("\tCode size: 0x%.8x\n", opt->size_code...
C
example/rpedump.c
ieei/rlib
lgpl-3.0
4,789
117
codeparrot/github-code
29de4300cf0d142b2bd035aa045927548bfb77fb2de0cb9d1b8c5502bcb5c5d1
/** * Copyright(C) 2009-2012 * @author Jing HUANG * @file EtoileImageToTexturePlugin.cpp * @brief * @date 1/2/2011 */ #include "EtoileImageToTexturePlugin.h" #include "util/File.h" #include "QtTextureLoader.h" /** * @brief For tracking memory leaks under windows using the crtdbg */ #i...
C++
applications/EtoileQtRendererPlugins/EtoileImageToTexturePlugin.cpp
billhj/Etoile
lgpl-3.0
2,341
90
codeparrot/github-code
c32fdd16bdde5c0cdd1a69943b67a44ed3b910b298799eab7bb4f8031d823092
/* * #-------------------------------------------------------------------------- * # Copyright (c) 2013 VITRO FP7 Consortium. * # All rights reserved. This program and the accompanying materials * # are made available under the terms of the GNU Lesser Public License v3.0 which accompanies this distribution, and is ...
Java
source/trunk/Demo/vitroUI/vspEngine/src/main/java/vitro/vspEngine/service/common/abstractservice/dao/GatewayDAO.java
vitrofp7/vitro
lgpl-3.0
2,738
86
codeparrot/github-code
32225be679e5473b52a741a77bfe6c18ba48d60948b139e4b48b888820356fc9
package org.teaminfty.math_dragon.view.math.source.operation; import static org.teaminfty.math_dragon.view.math.Expression.lineWidth; import org.teaminfty.math_dragon.view.math.Empty; import org.teaminfty.math_dragon.view.math.source.Expression; import android.graphics.Canvas; import android.graphics.Paint; import a...
Java
mathdragon/src/main/java/org/teaminfty/math_dragon/view/math/source/operation/Root.java
Divendo/math-dragon
lgpl-3.0
2,494
63
codeparrot/github-code
7584b69681f631c6414ef236d82e1f62c9266c6e7d9e33711f89129680d83536
js.Offset = function(rawptr) { this.rawptr = rawptr; } js.Offset.prototype = new konoha.Object(); js.Offset.prototype._new = function(rawptr) { this.rawptr = rawptr; } js.Offset.prototype.getTop = function() { return this.rawptr.top; } js.Offset.prototype.getLeft = function() { return this.rawptr.left; ...
JavaScript
package/konoha.compiler.js/runtime/js.jquery.js
imasahiro/konohascript
lgpl-3.0
24,892
611
codeparrot/github-code
e3e6c8269077dcb28b43bb9ed91d3e8066f499aa3b350aa55640bc41d7d97e2f
package br.gov.serpro.infoconv.proxy.businesscontroller; import java.lang.reflect.Field; import java.util.ArrayList; import java.util.List; import javax.inject.Inject; import br.gov.frameworkdemoiselle.stereotype.BusinessController; import br.gov.serpro.infoconv.proxy.exception.AcessoNegadoException; import br.gov.s...
Java
src/main/java/br/gov/serpro/infoconv/proxy/businesscontroller/ConsultaCNPJBC.java
infoconv/infoconv-proxy
lgpl-3.0
8,037
213
codeparrot/github-code
d7b7820748d2857c687216e7ae0497646e120df2f56ac106dfc0d2942627400f
/* * This file is part of Codecrypt. * * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> * * Codecrypt is free software: you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the Licens...
C
src/algorithm.h
exaexa/codecrypt
lgpl-3.0
2,137
80
codeparrot/github-code
6f1ab11dfa4211464905a22c1dd1a60747773cf258d19a8f93bdb9d8b7a14354
<?php namespace rocket\si\content\impl\iframe; use n2n\util\type\attrs\DataSet; use n2n\util\type\ArgUtils; use rocket\si\content\impl\InSiFieldAdapter; class IframeInSiField extends InSiFieldAdapter { private $iframeData; private $params = []; public function __construct(IframeData $iframeData) { $this->ifram...
PHP
src/app/rocket/si/content/impl/iframe/IframeInSiField.php
n2n/rocket
lgpl-3.0
1,178
60
codeparrot/github-code
e18e2f3bd388371654dcca4217318eb867ea6afc65aa2fcf5b074212027e5d03
using System.Collections; using System.Linq; using System.Reflection; namespace System.ComponentModel.DataAnnotations { public class EnsureNoDuplicatesAttribute : ValidationAttribute { public EnsureNoDuplicatesAttribute(Type type, string comparassionMethodName) { this.type = type; method = type.GetMethod(...
C#
src/core/Fuxion/ComponentModel/DataAnnotations/EnsureNoDuplicatesAttribute.cs
osjimenez/fuxion
lgpl-3.0
2,396
72
codeparrot/github-code
ec0fbe108f411339979056cb4aec18d5ec96da819667d7c8fa74fc1ae90578f9
#include "NodoTipo.h" NodoTipo::NodoTipo(Tipo* obj) { setTipo(obj); setDer(NULL); setIzq(NULL); _listaISBN = new ListaISBN(); } NodoTipo*&NodoTipo::getIzq() { return _izq; } void NodoTipo::setIzq(NodoTipo* _izq) { this->_izq = _izq; } NodoTipo*& NodoTipo::getDer() { return _der; } void NodoTipo::setDer(...
C++
NodoTipo.cpp
jloriag/Bibliotc
lgpl-3.0
958
67
codeparrot/github-code
1060a93bb3c83c94e869a3a5e8aff6fe5e1f6ebc1f024ed543568493c9afdb5f
#!/bin/bash # # RktCopyHosts # # Function: RktCopyHosts # Params: $1 - Host's '/etc/hosts' location # $2 - Container's '/etc/hosts' location # Output: (Normal acbuild output) function RktCopyHosts { local HOSTS="/etc/hosts" local RKT_HOSTS="/etc/hosts" if [ "${1}" != "" ]; then HOSTS="${1}" fi ...
Shell
Functions/Rkt/CopyHosts.sh
nicrohobak/BashLib
lgpl-3.0
584
39
codeparrot/github-code
c667cf030ab243155bc62636552a4cdce587a035c895bddefbfe0a1d6e70325a
# -*- coding: utf-8 -*- # Copyright(C) 2014 smurail # # This file is part of a weboob module. # # This weboob module is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation, either version 3 of the License...
Python
modules/cmso/pro/pages.py
laurentb/weboob
lgpl-3.0
10,800
263
codeparrot/github-code