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 |
|---|---|---|---|---|---|---|---|---|
a6ce8689669626a59627c3e02cf334f7081d9224a26d6d8f43d252e529e715aa | package soot.shimple;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 2003 Navindra Umanee <navindra@cs.mcgill.ca>
* %%
* 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 ... | Java | src/main/java/soot/shimple/ShimpleTransformer.java | plast-lab/soot | lgpl-2.1 | 3,026 | 102 | codeparrot/github-code |
b645a9f7adccfca564b33d584f7f3f1ad4b88af523a959025e5e2eb57cb5e872 | <?php
/* Copyright (C) 2001-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2001-2002 Jean-Louis Bergamo <jlb@j1b.org>
* Copyright (C) 2006-2011 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of ... | PHP | htdocs/public/members/new.php | gambess/ERP-Arica | lgpl-2.1 | 21,583 | 541 | codeparrot/github-code |
35beb29e854adea51339d0da8661aa07cd12564b6231467f66a64a2bcf696469 | // The libMesh Finite Element Library.
// Copyright (C) 2002-2012 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner
// 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 ... | C++ | src/geom/face_quad.C | markcmiller86/libmesh_silo | lgpl-2.1 | 6,529 | 323 | codeparrot/github-code |
13fc286b835ae91eef50539247f485743ec974fbaa8895b76880024b399f373d | package org.jitsi.nabus.device;
import org.jitsi.impl.neomedia.device.MediaDeviceImpl;
import org.jitsi.nabus.access.CameraAccess;
import org.jitsi.service.neomedia.MediaType;
import org.jitsi.service.neomedia.device.MediaDevice;
import org.jitsi.service.neomedia.format.MediaFormat;
import javax.media.CaptureDeviceIn... | Java | src/org/jitsi/nabus/device/Camera.java | kerenby/nabus | lgpl-2.1 | 1,525 | 71 | codeparrot/github-code |
a0954e0d02aa1d3c7c4586039092286487266e50ba7fd4a4722f07ee3e81ebbd | /*****************************************************************************
FILE : $Source: /projects/higgs1/SNNS/CVS/SNNS/kernel/sources/kr_mem.c,v $
SHORTNAME :
SNNS VERSION : 4.2
PURPOSE : SNNS-Kernel Memory Manager
NOTES :
AUTHOR : Niels Mache
DATE ... | C | kernel/sources/kr_mem.c | mwri/snns | lgpl-2.1 | 56,018 | 2,106 | codeparrot/github-code |
9207acd042599ab8efb46cd6854ed221bcfeec60fdb5178b08ffe09fd4e323a7 | /*
Copyright (C) 1995-2001 Activision, 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 library is distribu... | C | src/demo/udptest/udpspew.c | BygoneWorlds/anet | lgpl-2.1 | 2,803 | 103 | codeparrot/github-code |
3837e4875f93e3814033c36e2da4377daf351f2aafbc05c948755ce3f330c5bb | # -*- coding: utf-8 -*-
"""
irc/server.py
Copyright © 2009 Ferry Boender
Copyright © 2012 Jason R. Coombs
This server has basic support for:
* Connecting
* Channels
* Nicknames
* Public/private messages
It is MISSING support for notably:
* Server linking
* Modes (user and channel)
* Proper error reporting
* Basic... | Python | irc/server.py | sim0629/irc | lgpl-2.1 | 17,732 | 504 | codeparrot/github-code |
0fb1bcb961667975550952ca34f0a5cd1b5b4d92e3706e5a25316b0c482cdede | //
// XmlAttributeState.cs
//
// Author:
// Michael Hutchinson <mhutchinson@novell.com>
//
// Copyright (C) 2008 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to dea... | C# | src/addins/Xml/Parser/XmlAttributeState.cs | mono/linux-packaging-monodevelop | lgpl-2.1 | 3,847 | 125 | codeparrot/github-code |
7191e370be3f12a22a17962bde16dc2d61f98bf19b967a7439b20249295526db | /*
* Copyright (c) 2010-2012 Anders Wallin (anders.e.e.wallin "at" gmail.com).
*
* This file is part of Openvoronoi
* (see https://github.com/aewallin/openvoronoi).
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as ... | C++ | src/medial_axis_pocket.cpp | aewallin/openvoronoi | lgpl-2.1 | 19,625 | 524 | codeparrot/github-code |
f7af67c747f0098a1fa55c81a0e35b3825fa50f6d9b1f23c528f0f3fe46b20aa | /* http://www.kryogenix.org/code/browser/searchhi/ */
/* Modified 20021006 to fix query string parsing and add case insensitivity */
/* Modified 20030227 by sgala@hisitech.com to skip words with "-" and cut %2B (+) preceding pages */
function highlightWord(node,word)
{
// Iterate into this nodes childNodes
if... | JavaScript | jspwiki/templates/old/search_highlight.js | hgschmie/EyeWiki | lgpl-2.1 | 2,580 | 76 | codeparrot/github-code |
56770ec4b92892330679948573e26acfbb924fdcfc72656d58dac08faa4cd870 | #ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "n_hash_int.h"
#include "narray.h"
#include "nmalloc.h"
tn_array *n_hash_keys_ext(const tn_hash *ht, int cp)
{
register size_t i;
register struct hash_bucket *tmp;
tn_array *keys;
tn_fn_free fn = NULL;
if (cp)
fn = free;
... | C | n_hash_keys.c | megabajt/trurlib | lgpl-2.1 | 1,172 | 57 | codeparrot/github-code |
95e440622569c16e00e3085c845dfe268296db9cc82d7e77e2837ef4f5962340 | /*
This file is part of libmicrohttpd
(C) 2007, 2009, 2010 Daniel Pittman and Christian Grothoff
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.... | C | src/microhttpd/response.c | pmq20/libmicrohttpd | lgpl-2.1 | 14,411 | 523 | codeparrot/github-code |
8fad15c75f13ca4d736a24d77a304e2f7439b8606a9a91c559b97c5354f4a0dd | <?php
//A function for basic validation of fields
function ValidateField($field, $fieldName, &$error, $isMandatory, $reg)
{
if ($isMandatory)
{
if ($field == '')
{
$error .= $fieldName.' is a mandatory field. ';
return ... | PHP | external/paymex_pro/Validation.php | JojoCMS-Plugins/jojo_cart_paymex_pro | lgpl-2.1 | 2,081 | 79 | codeparrot/github-code |
35d8eafb3dcc041c5f1db27ea7c1005b002ee2a1783fe79623ab816d0dfa382b |
/*
* File: demo_table.css
* CVS: $Id$
* Description: CSS descriptions for DataTables demo pages
* Author: Allan Jardine
* Created: Tue May 12 06:47:22 BST 2009
* Modified: $Date$ by $Author$
* Language: CSS
* Project: DataTables
*
* Copyright 2009 Allan Jar... | CSS | www/themes/default/styles/datatable.css | lilobase/ICONTO-EcoleNumerique | lgpl-2.1 | 10,530 | 591 | codeparrot/github-code |
25ad154817ed367b1bf68c129da6396c9b7d275f170cf1ae696b6327be838b8e | /******************************************************************************
* SOFA, Simulation Open-Framework Architecture, development version *
* (c) 2006-2017 INRIA, USTL, UJF, CNRS, MGH *
* *
... | C | applications/plugins/image/ImageDataDisplay.h | FabienPean/sofa | lgpl-2.1 | 4,689 | 132 | codeparrot/github-code |
1f4fd01ea24100b2e12bfcd5f9a68401419787522403bb9359092bd4f536c601 | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* Copyright (c) 2008, Red Hat Middleware LLC or third-party contributors as
* indicated by the @author tags or express copyright attribution
* statements applied by the authors. All third-party contributions are
* distributed under license by Red Hat Mi... | Java | com.huawei.soa.ldae/src/main/java/org/hibernate/hql/internal/ast/HqlSqlWalker.java | kevin-chen-hw/LDAE | lgpl-2.1 | 49,256 | 1,327 | codeparrot/github-code |
83bf3b1635c182e4541e961c7f9eb93292d1812e46edcba5dc073cafd6d89bd4 | /*
* Copyright (c) 2016 Ken McDonell. All Rights Reserved.
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <regex.h>
/*
* sort instances based on instance name from pminfo/__pmDumpResult
* output like
* inst [0 or "sdc1"] value 24163451
* inst [1 or "dm-1"] value 2... | C | qa/src/sortinst.c | wuliming/pcp | lgpl-2.1 | 2,944 | 122 | codeparrot/github-code |
dfc85b8cd0a4f209acc561aee74619297568787062ecfa239af3b581de34453b | ########################################################################
#
# University of Southampton IT Innovation Centre, 2011
#
# Copyright in this library belongs to the University of Southampton
# University Road, Highfield, Southampton, UK, SO17 1BJ
#
# This software may not be used, sold, licensed, transferred,... | Python | django-mserve/jobservice/tasks.py | mmcardle/MServe | lgpl-2.1 | 4,498 | 149 | codeparrot/github-code |
9c8163817bd735aed9804b472cdf06e3d514a8b903e2a9f1f4a04c834633e95d | //*******************************************************************************
//* Flsh Memory File System
//* by Mark Sproul
//* this source code is part of the liquid ware drivers for the
//* TouchShield and TouchSlide
//* it is public domain under the the GPL as is the rest of the Arduino family
//*
//* Thes... | C | hardware/cores/touchSlide/FlashFileSystem.c | electricFeel/antipasto_arduino | lgpl-2.1 | 8,080 | 379 | codeparrot/github-code |
076037c7171a2b6e5923109a0bad7bd7a5fa4435d9b90289b64f0542465bfd03 | #include "typevariant.hpp"
#include <QMimeData>
TypeVariant::TypeVariant() {
// Empty and invalid object
}
QList<TypeVariant> TypeVariant::fromMimeData(const QMimeData* mimeData) {
QList<TypeVariant> tvl;
QByteArray data = mimeData->data("bevel/type-variant");
QDataStream stream(data);
stream >> tvl;
ret... | C++ | typevariant.cpp | yznpku/bevel | lgpl-2.1 | 1,224 | 66 | codeparrot/github-code |
84ffb397dfde23caacdbc856af6519dfe6bab8183b82800507900ac89662bcd8 | package controllers
import java.sql.{Date, SQLType}
import java.util
import javax.inject._
import models.{AssignmentContact, DatabaseAO, SessionUtils}
import play.api.data.Forms._
import play.api.data._
import play.api.libs.concurrent.Execution.Implicits.defaultContext
import play.api.mvc.{Action, Controller}
import... | Scala | app/controllers/Event.scala | jimmy00784/eventorganizer | lgpl-2.1 | 16,881 | 486 | codeparrot/github-code |
a66cbbd60f2e0539a102bbe0a341b0176c3e731973197761886b45626c63662e | //
// ThemeExtensions.cs
//
// Author:
// Lluis Sanchez Gual <lluis@xamarin.com>
//
// Copyright (c) 2015 Xamarin, Inc (http://www.xamarin.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... | C# | src/core/MonoDevelop.Ide/MonoDevelop.Components/IdeTheme.cs | mono/linux-packaging-monodevelop | lgpl-2.1 | 18,754 | 440 | codeparrot/github-code |
c70b777d715173e81034c7ed9e0095f7b455b6543365b8201f3999d1ec533ed9 | // jq_StaticMethod.java, created Mon Feb 5 23:23:20 2001 by joewhaley
// Copyright (C) 2001-3 John Whaley <jwhaley@alum.mit.edu>
// Licensed under the terms of the GNU LGPL; see COPYING for details.
package Clazz;
//friend jq_ClassLoader;
import Bootstrap.PrimordialClassLoader;
import Main.jq;
import UTF.Utf8;
impor... | Java | Clazz/jq_StaticMethod.java | wctaiwan/joeq | lgpl-2.1 | 2,933 | 80 | codeparrot/github-code |
1c333961eafd591ef8d4aca848351f89abed3ff033a8685ce20485b20d011867 | import java.util.Scanner;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
public class Fombinatorial {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
OutputStreamWriter outputStream = new OutputStreamWriter(System.out);
PrintWriter pw = new PrintWriter(outputStream... | Java | November2014CodeChallenge/src/Fombinatorial.java | animesh-kumar/codechef | lgpl-2.1 | 1,399 | 53 | codeparrot/github-code |
f3a1f8751d00a6f8fdbe43d342fe13404dce481cbca421e0eb7991b384da0a51 | /*
* JBoss, Home of Professional Open Source.
* Copyright 2015, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify i... | Java | testsuite/mixed-domain/src/test/java/org/jboss/as/test/integration/domain/mixed/eap620/DomainAdjuster620.java | 99sono/wildfly | lgpl-2.1 | 5,962 | 107 | codeparrot/github-code |
d14b1d4a988941c795581b2832f853481fb98e5d28b17084c0f79f0dc0cd7fe2 | /*
* libvirt-gconfig-domain-interface-bridge.c: libvirt domain interface configuration
*
* Copyright (C) 2011 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... | C | libvirt-gconfig/libvirt-gconfig-domain-interface-bridge.h | libvirt/libvirt-glib | lgpl-2.1 | 3,068 | 68 | codeparrot/github-code |
4c84cfbc8fc9967bb5c56f4cc475445982e44f596b1b13d87fb9b8badfcb7776 | /****************************************************************/
/* DO NOT MODIFY THIS HEADER */
/* MOOSE - Multiphysics Object Oriented Simulation Environment */
/* */
/* (c) 2010 Battelle Energy Alliance, LLC ... | C | framework/include/restart/RestartableDataIO.h | mellis13/moose | lgpl-2.1 | 4,094 | 146 | codeparrot/github-code |
8d0491325af16fe61b8e926f5e87e2ea15555c4b90eb37ad31f729c2dc3a22e9 | package com.boutique.view;
import javax.swing.*;
/**
* <p>Title: boutique management</p>
*
* <p>Description: Sistema de administracion de boitiques</p>
*
* <p>Copyright: Copyright (c) 2005</p>
*
* <p>Company: SESTO</p>
*
* @author Aldo Antonio Cuevas Alvarez
* @version 1.0
*/
public class F... | Java | pos/source_code/src/com/boutique/view/FrmBusquedaProducto.java | aldocuevas/test | lgpl-2.1 | 936 | 41 | codeparrot/github-code |
c9c9a84acfb7ce331f2e2470bfc9f530535453e8aa06399a5e17b023fd4855a4 | //
// GitConfigurationDialog.cs
//
// Author:
// Lluis Sanchez Gual <lluis@novell.com>
//
// Copyright (c) 2010 Novell, Inc (http://www.novell.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
//... | C# | src/addins/VersionControl/MonoDevelop.VersionControl.Git/MonoDevelop.VersionControl.Git/GitConfigurationDialog.cs | mono/linux-packaging-monodevelop | lgpl-2.1 | 13,024 | 380 | codeparrot/github-code |
d1bb95c05b58f6a524871493605e277b8464c4f7f3a7c91d4329f72fe2233f1e | package minefantasy.block.tileentity;
import java.util.Random;
import minefantasy.api.IMFCrafter;
import minefantasy.api.leatherwork.EnumToolType;
import minefantasy.api.tanner.LeathercuttingRecipes;
import minefantasy.api.tanner.TanningRecipes;
import minefantasy.system.network.PacketManagerMF;
import minefantasy.sy... | Java | src/main/java/minefantasy/block/tileentity/TileEntityTanningRack.java | TheAwesomeGem/MineFantasy | lgpl-2.1 | 7,646 | 334 | codeparrot/github-code |
e23d08c2ca95b88e94a77cbae0ca3a1e0647720e5cff09bfb17fb28a488fa684 | <?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">
<!-- q3gridview.cpp -->
<head>
<title>Qt 4.6: Q3GridView Class Reference</title>
<link href="classic.css" rel="stylesh... | HTML | doc/html/q3gridview.html | kobolabs/qt-everywhere-opensource-src-4.6.2 | lgpl-2.1 | 22,449 | 223 | codeparrot/github-code |
8911b4a68c34177ff8a46b3d5e07e3069da2e0dc7004665f9643175e6f381507 | package soot.toolkits.scalar;
/*-
* #%L
* Soot - a J*va Optimization Framework
* %%
* Copyright (C) 1997 - 1999 Raja Vallee-Rai
* %%
* 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 Foundatio... | Java | src/main/java/soot/toolkits/scalar/LocalPacker.java | plast-lab/soot | lgpl-2.1 | 6,842 | 205 | codeparrot/github-code |
87b080450343e4635badb3d4e1f50a921d35fddd0c2cbd6d681051baac119e00 | /*
TerraLib - a library for developing GIS applications.
Copyright 2001, 2002, 2003 INPE and Tecgraf/PUC-Rio.
This code is part of the TerraLib library.
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 Soft... | C++ | src/terralib/image_processing/TePDIParaSegRegGrowStrategy.hpp | Universefei/Terralib-analysis | lgpl-2.1 | 10,807 | 291 | codeparrot/github-code |
ee60ac2d7019083a0fea8d3a4c321b20d67c5108645caeb82d06e0364c51d8e3 | /**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** Commercial Usage
**
** Licensees holding valid Qt Commercial licenses may u... | C | src/plugins/projectexplorer/filewatcher.h | enricoros/k-qt-creator-inspector | lgpl-2.1 | 2,193 | 75 | codeparrot/github-code |
b557098d21e2d2e54aa9d2166d5220876278218d6e2cdf18ccd0171299dc2058 | # -*- python -*-
# Copyright (C) 2009-2013 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 version 3 of the License, or
# (at your option) any later versio... | Python | tools/macosx/xtensa-lx106-elf/xtensa-lx106-elf/sysroot/lib/libstdc++.a-gdb.py | toddtreece/esp8266-Arduino | lgpl-2.1 | 2,463 | 61 | codeparrot/github-code |
b76072b70ceec925f62c390bf495caf7e156de38befdc118c89708b13fc596c9 | /*
This file is part of libmicrohttpd
Copyright (C) 2011 Christian Grothoff (and other contributing authors)
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
... | C | src/examples/post_example.c | Karlson2k/libmicrohttpd | lgpl-2.1 | 21,692 | 781 | codeparrot/github-code |
0ff5e19d22771ad4bda0ee7682d1bc787890b6b9efc52861981a39aa8fb232a7 | #ifndef _ROS_pr2_plugs_msgs_DetectOutletFeedback_h
#define _ROS_pr2_plugs_msgs_DetectOutletFeedback_h
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include "ros/msg.h"
namespace pr2_plugs_msgs
{
class DetectOutletFeedback : public ros::Msg
{
public:
virtual int serialize(unsigned char *ou... | C | libraries/Rosserial86/pr2_plugs_msgs/DetectOutletFeedback.h | roboard/86Duino_Linux_SDK | lgpl-2.1 | 664 | 34 | codeparrot/github-code |
133b78cfec99f412d5fbeebb6c0c47f3b7624a621dea481abfb788db22889720 | /*
* libcaca Colour ASCII-Art library
* Copyright (c) 2002-2012 Sam Hocevar <sam@hocevar.net>
* All Rights Reserved
*
* This library is free software. It comes without any warranty, to
* the extent permitted by applicable law. You can redistribute it
* and/or modify it under the terms o... | C | caca/box.c | mcfiredrill/libcaca-old | lgpl-2.1 | 5,997 | 230 | codeparrot/github-code |
e853663b86744b3b8f7a75ce0c4fc4add87065083796efcda5a6f50d0a6f3846 | package org.exist.security;
import java.util.Arrays;
import org.exist.test.ExistWebServer;
import org.exist.xmldb.UserManagementService;
import org.junit.Rule;
import org.xmldb.api.DatabaseManager;
import org.xmldb.api.base.Collection;
import org.junit.runners.Parameterized;
import org.exist.security.internal.aider.G... | Java | test/src/org/exist/security/SecurityManagerRoundtripTest.java | jensopetersen/exist | lgpl-2.1 | 7,416 | 208 | codeparrot/github-code |
13ebd54368682f215b627f4311b55014f7096180d3c489e197002d0f116b9022 | //
// SolutionItemDescriptor.cs
//
// Author:
// Lluis Sanchez Gual
//
// Copyright (C) 2005 Novell, Inc (http://www.novell.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 withou... | C# | src/core/MonoDevelop.Ide/MonoDevelop.Ide.Templates/SolutionItemDescriptor.cs | mono/linux-packaging-monodevelop | lgpl-2.1 | 3,278 | 98 | codeparrot/github-code |
e6c04fce62513bcb418025cdb83ec859a229eed170b49321e889dbc5ebf28888 | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* JBoss, Home of Professional Open Source
* Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors
* as indicated by the @authors tag. All rights reserved.
* See the copyright.txt in the distribution for a
* full listing of individual ... | Java | hibernate-ogm-core/src/main/java/org/hibernate/ogm/type/UrlType.java | emmanuelbernard/hibernate-ogm-old | lgpl-2.1 | 2,277 | 73 | codeparrot/github-code |
8c9ce0e617bd132d739b8442c4ebed2acc0f34bbf9060b6446082480ba77f241 | /*
* File: ./FIPA/RECEIVEDOBJECTHELPER.JAVA
* From: FIPA.IDL
* Date: Mon Sep 04 15:08:50 2000
* By: idltojava Java IDL 1.2 Nov 10 1997 13:52:11
*/
package FIPA;
public class ReceivedObjectHelper {
// It is useless to have instances of this class
private ReceivedObjectHelper() { }
public static vo... | Java | src/main/java/FIPA/ReceivedObjectHelper.java | automenta/jadehell | lgpl-2.1 | 2,706 | 76 | codeparrot/github-code |
a96a00ed6d48811064cb58264830f9cd5f37d36f755b2537dea1c54904c040ce | /*
* hbgi source code
* Core code
*
* Copyright 2014-2016 Phil Krylov <phil.krylov a t gmail.com>
*/
#ifndef HBGOBJECT_H
#define HBGOBJECT_H
#include <hbapi.h>
#include <hboo.ch>
#include "hbgihb.h"
#include <glib-object.h>
#include "hbgi.h"
#define HBGOBJECT_ERR 40000
#define HBGOBJECT_IVAR_GTYPE 1
typede... | C | gobject/hbgobject.h | tuffnatty/hbgi | lgpl-2.1 | 2,061 | 81 | codeparrot/github-code |
23c671445784cf10a30d06934592227dbfd374203331cfe45dcdd996fc1f1079 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- */
/* GdkPixbuf library - Progressive loader object
*
* Copyright (C) 1999 The Free Software Foundation
*
* Authors: Mark Crichton <crichton@gimp.org>
* Miguel de Icaza <miguel@gnu.org>
* Federico Mena-Quintero <federico@... | C | gdk-pixbuf/gdk-pixbuf-loader.c | ystk/debian-gtk-2.0 | lgpl-2.1 | 27,784 | 786 | codeparrot/github-code |
26c8185ee2a575df3aff242e1f754e38e9c63546afc3d600639917a57635e7d4 | /*
* Copyright 2000,2005 wingS development team.
*
* This file is part of wingS (http://wingsframework.org).
*
* wingS 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... | Java | wings-demos/demo-wingset/src/main/java/wingset/DynamicLayoutExample.java | dheid/wings3 | lgpl-2.1 | 22,595 | 616 | codeparrot/github-code |
20c828ab99a6b2850cc2b06728e9d29ba5069e3e68ad4fcf5e76e3a97c204768 | /* $Id: om_memory.c,v 1.5 2005/07/16 22:44:17 smilcke Exp $ */
/*
* memory.c
* Autor: Stefan Milcke
* Erstellt am: 16.06.2004
* Letzte Aenderung am: 12.07.2005
*
*/
#include <lxcommon.h>
#include <linux/kernel_stat.h>
#include <linux/mm.h>
#include <linux/hugetlb.h>
#include <linux/mman.h>
... | C | os2/mm/om_memory.c | OS2World/DRV-LXAPI32 | lgpl-2.1 | 15,592 | 551 | codeparrot/github-code |
88308e74116ccaad1334ce58a09724cd69cde9d6255201cec2a6424201254367 | /*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This 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
* th... | Java | xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/internal/plugin/image/ThumbnailatorImageProcessor.java | pbondoer/xwiki-platform | lgpl-2.1 | 2,785 | 85 | codeparrot/github-code |
4a9b5752f274f42ffe7875deb7919606c20bdeae44fef563ab547bb4a4226117 | //===--- ScopeInfo.cpp - Information about a semantic context -------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | C++ | interpreter/llvm/src/tools/clang/lib/Sema/ScopeInfo.cpp | sawenzel/root | lgpl-2.1 | 7,963 | 244 | codeparrot/github-code |
afbf656b4037417596c99063103a8846c22e47124b4b26bb887227fc767df732 | /*
Stream.cpp - adds parsing methods to Stream class
Copyright (c) 2008 David A. Mellis. All right reserved.
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 Li... | C++ | module/cores/arduino/arch_arm/CoreStream.cpp | logos-electromechanical/ExperimentalCore-sam | lgpl-2.1 | 8,683 | 318 | codeparrot/github-code |
a0ca45b22015c8f3eaba6029f75f80beebde200d29e4fc3db34003ea5d856ba3 | <?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: d... | HTML | doc/html/declarative-toys-dynamicscene-qml-dynamicscene-dynamicscene-qml.html | sicily/qt4.8.4 | lgpl-2.1 | 28,272 | 424 | codeparrot/github-code |
bf0dcbacdacb393807e1284bbc71ee5dbfc9298c129491ab50aa42b7fa3d6d55 | /**
* Copyright (C) 2011 Orbeon, Inc.
*
* 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.1 of the License, or (at your option) any later version.
*
* This prog... | Scala | xforms/jvm/src/test/scala/org/orbeon/oxf/xforms/analysis/ComplexContentDependenciesTest.scala | orbeon/orbeon-forms | lgpl-2.1 | 4,129 | 95 | codeparrot/github-code |
8be0f5efb71afc6adf7183086b1403139b9e4d7ce52a92b44644625b7d4e6527 | /* Copyright 2010, 2011 Michael Steinert
* This file is part of Log4g.
*
* Log4g 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 ... | C | modules/layouts/pattern-parser.c | msteinert/log4g | lgpl-2.1 | 11,630 | 485 | codeparrot/github-code |
cd0e632a7be3e9d9a51a6253497c59b40b73911e002841944b06e7c28196359d | <?php
//this script may only be included - so its better to die if called directly.
if (strpos($_SERVER["SCRIPT_NAME"],basename(__FILE__)) !== false) {
header("location: index.php");
exit;
}
class PollLibShared extends TikiLib {
function PollLibShared($db) {
$this->TikiLib($db);
}
function get_poll($pollId) {... | PHP | lib/polls/polllib_shared.php | 4thAce/evilhow | lgpl-2.1 | 7,903 | 221 | codeparrot/github-code |
5f3965674e3d66d77dcd569c08f36352c609bd69d0462a717fbefcc8e73d4ddf | /**
* 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/codegen/mybatis/javamapper/elements/annotated/AnnotatedSelectByExampleWithBLOBsMethodGenerator.java | solmix/datax | lgpl-2.1 | 4,098 | 104 | codeparrot/github-code |
4b2a7fea813a9f264828afebe314dce8e275288f815198c5f0e7923ec27ff307 | /**
* 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/api/IntrospectedColumn.java | solmix/datax | lgpl-2.1 | 9,461 | 371 | codeparrot/github-code |
d9a234f8c2cbb7391a09624e558ad9b1187f7a23f88e2db158c95130f76b8438 | /*
* Copyright (C) 1998-2004 David Turner and Werner Lemberg
* Copyright (C) 2006 Behdad Esfahbod
*
* This is part of HarfBuzz, an OpenType Layout engine library.
*
* Permission is hereby granted, without written agreement and without
* license or royalty fees, to use, copy, modify, and distribute this
* sof... | C | pango/opentype/harfbuzz-gdef-private.h | bratsche/pango | lgpl-2.1 | 3,391 | 125 | codeparrot/github-code |
a88a967dc5e7e065fac2905c94630eed913ab5324e21f7b9493e8ee3282df6bd | <?php
namespace wcf\system\option;
use wcf\data\option\category\OptionCategory;
use wcf\data\option\Option;
use wcf\system\application\ApplicationHandler;
use wcf\system\cache\builder\OptionCacheBuilder;
use wcf\system\event\EventHandler;
use wcf\system\exception\ImplementationException;
use wcf\system\exception\System... | PHP | wcfsetup/install/files/lib/system/option/OptionHandler.class.php | MenesesEvandro/WCF | lgpl-2.1 | 14,056 | 539 | codeparrot/github-code |
473bcd7939db03add86aa4309352b7ecae247f0a5a26d37c43324f95536befd0 | /*
* Copyright (C) 2008 - 2009 Intel Corporation.
*
* Author: Rob Bradford <rob@linux.intel.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU Lesser General Public License,
* version 2.1, as published by the Free Software Foundation.
*
... | C | socialzone/penge-events-pane.c | kkszysiu/gnomesocial | lgpl-2.1 | 24,957 | 901 | codeparrot/github-code |
47c07e251f2932926eaf7be03df4c38b6c322e55eefc0e4762f1bc5b60b8a07f | #!/usr/bin/python3
#
# examples/xfixes-selection-notify.py -- demonstrate the XFIXES extension
# SelectionNotify event.
#
# Copyright (C) 2019
# Tony Crisci <tony@dubstepdish.com>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public Licen... | Python | examples/xfixes-selection-notify.py | python-xlib/python-xlib | lgpl-2.1 | 2,764 | 83 | codeparrot/github-code |
ae4ac787100670e97919530902ca896592917f7ae8b0d4146264fc99b799a064 | <?php
namespace wcf\data\user\option;
use wcf\data\DatabaseObjectEditor;
use wcf\data\IEditableCachedObject;
use wcf\system\cache\builder\UserOptionCacheBuilder;
use wcf\system\WCF;
/**
* Provides functions to edit user options.
*
* @author Alexander Ebert
* @copyright 2001-2019 WoltLab GmbH
* @license GNU Lesse... | PHP | wcfsetup/install/files/lib/data/user/option/UserOptionEditor.class.php | MenesesEvandro/WCF | lgpl-2.1 | 4,223 | 169 | codeparrot/github-code |
d488857d855033e5e4f54ab8a15a65fce194d42fbba3150257335b72225caada | /**
* 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 | specs-validation-report/src/main/java/eu/europa/esig/validationreport/ValidationReportUtils.java | esig/dss | lgpl-2.1 | 2,544 | 81 | codeparrot/github-code |
66f2ba90f835eb43fe8572072848ff83e7bc6b967299a7830d7fb6343f385e8c | /*
* Copyright (C) 2015 Stuart Howarth <showarth@marxoft.co.uk>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will... | C++ | src/authenticationrequest.cpp | lukedirtwalker/qsoundcloud | lgpl-3.0 | 4,463 | 162 | codeparrot/github-code |
e0611ae6a90d94d6fe2ce04b154dd9ea841a7630a65bc9ae48ebcc81ee871aa5 | /****************************************************************************
* cansocket-qt.lib - Qt socketcan library
* Copyright (C) 2016 Georgije Bosiger <gbosiger@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 pub... | C | src/cansocket/canframe.h | gbosiger/cansocket-qt-lib | lgpl-3.0 | 4,938 | 181 | codeparrot/github-code |
77e55c67c1efeff01b33f17958b63d17e6b0c075675d7218606719a89ac25ad7 | #ifndef WIN_IMPL_BASE_HPP
#define WIN_IMPL_BASE_HPP
#include "stdafx.h"
namespace DuiLib
{
//////////////////////////////////////////////////////////////////////////
LPBYTE WindowImplBase::m_lpResourceZIPBuffer=NULL;
DUI_BEGIN_MESSAGE_MAP(WindowImplBase,CNotifyPump)
DUI_ON_MSGTYPE(DUI_MSGTYPE_CLICK,OnClick)
DUI_E... | C++ | DuiLib/Utils/WinImplBase.cpp | XDuilib/XDuilib | lgpl-3.0 | 12,399 | 454 | codeparrot/github-code |
81479a89a3bd58e5a441d2024bff39cfac4719bed1addbba7ee787161c05d8e2 | /*
* Message functions
*
* Copyright (C) 2008-2015, Joachim Metz <joachim.metz@gmail.com>
*
* Refer to AUTHORS for acknowledgements.
*
* This software 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 Founda... | C | libpff/libpff_message.c | PythonForensics/libpff | lgpl-3.0 | 85,434 | 3,350 | codeparrot/github-code |
d8bfa1582514d9e09a1e949c1f7d3e16ba88bf68b40cbc9e2774108bca554350 | function get_matrix_vp_grande(n)
#renvoie une matrice carrée n inversible avec des valeurs propres proches de 1
matrixDiagVP = eye(n)
B = rand(900:1000,n)/1000 # liste de n rand entre 0.9 et 1
matrixDiagVP = matrixDiagVP.*B # multiplication membre par membre de matrice
P = rand(n,n)
return P*matrixDia... | Julia | Traces_experimentales/genA.jl | HaroldGal/Projet_Filtre | lgpl-3.0 | 1,227 | 39 | codeparrot/github-code |
efa64c272f7a3d655fcffc3efbedac825b30f4e9e2401607ac6e0a0fc99f569f | package cd4017be.lib.util;
import net.minecraft.item.ItemStack;
/**
* Used for efficient shaped recipe lookup in HashMaps
* @author cd4017be
*/
public class ItemKey {
public final ItemStack[] items;
private final int hash;
public ItemKey(ItemStack... items) {
this.items = items;
final int prime = 31;
in... | Java | src/java/cd4017be/lib/util/ItemKey.java | CD4017BE/CD4017BE_lib | lgpl-3.0 | 1,000 | 46 | codeparrot/github-code |
419574900e59a546e27f20fb166b93054845a06f62585410211883de74c17339 | /*
* This file is part of FFMQ.
*
* FFMQ 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.
*
* FFMQ is distributed in the ... | Java | core/src/main/java/net/timewalker/ffmq4/transport/packet/query/CreateDurableSubscriberQuery.java | timewalker74/ffmq | lgpl-3.0 | 4,404 | 179 | codeparrot/github-code |
6feb2582a61958958955a61873ff43aff6cb1b24234bd00e4c31fa95c2865d19 | /* -*-c++-*- */
/* osgEarth - Dynamic map generation toolkit for OpenSceneGraph
* Copyright 2008-2012 Pelican Mapping
* http://osgearth.org
*
* osgEarth 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 Foundat... | C++ | src/osgEarth/TerrainLayer.cpp | tomhog/osgearth | lgpl-3.0 | 21,730 | 684 | codeparrot/github-code |
604b38faced8cc1f07986d749de76da464070c561bf19f247b67f3c74157acd1 | #!/usr/bin/env node
// requires
var webcredits = require('../lib/webcredits.js');
var program = require('commander');
/**
* version as a command
*/
function bin(argv) {
// setup config
var config = require('../config/dbconfig.js');
program
.option('-c, --currency <currency>', 'Currency')
.option('-d,... | JavaScript | bin/create.js | webcredits/webcredits | lgpl-3.0 | 1,085 | 44 | codeparrot/github-code |
f8b6edcc40fceab23f9e48e8c2f351a9ef8661749b9804e193b9bde979886453 | package com.siwe.dutschedule.base;
import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import org.json.JSONArray;
import org.json.JSONObject;
import com.siwe.dutschedule.util.AppUtil;
public class BaseMessage {
private String code... | Java | app/src/main/java/com/siwe/dutschedule/base/BaseMessage.java | Spground/NewDUTHelper | lgpl-3.0 | 3,768 | 134 | codeparrot/github-code |
24888981644b3c065980ae7e8d86877bdea93301b0a886ace838c7e9570f7cba | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Test suite for language_check."""
from __future__ import unicode_literals
import unittest
import warnings
from collections import namedtuple
import language_check
class TestLanguageTool(unittest.TestCase):
CheckTest = namedtuple('CheckTest', ('text', 'matches'))... | Python | test.py | myint/language-check | lgpl-3.0 | 5,471 | 152 | codeparrot/github-code |
d3d46e467300dce1ae77bee390f3c2f31836ad428a2c444da959dec843562c1b | /*
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/wellarchitected/listshareinvitationsresponse_p.h | pcolby/libqtaws | lgpl-3.0 | 1,385 | 48 | codeparrot/github-code |
5ab1309de4cab0aff315e32d140b25be2e4b97d84bb292218cdf7d806e87b637 | /*
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/nimblestudio/listeulaacceptancesresponse_p.h | pcolby/libqtaws | lgpl-3.0 | 1,364 | 48 | codeparrot/github-code |
fc9f051e97c4b8b8e5bd20f681071dec053cf0e68bacb9cedb681c626e382c3d | /*******************************************************************************
* Copyright (C) 2009-2020 Human Media Interaction, University of Twente, the Netherlands
*
* This file is part of the Articulated Social Agents Platform BML realizer (ASAPRealizer).
*
* ASAPRealizer is free software: you can redi... | Java | HmiGraphics/src/hmi/graphics/collada/Shape.java | ArticulatedSocialAgentsPlatform/HmiCore | lgpl-3.0 | 5,076 | 180 | codeparrot/github-code |
615a79609d4ce7ecc80b889baabe642904cfa49673d90acdb22cd65c39980b35 | /*
* Copyright (C) 2018 Raffaele Conforti (www.raffaeleconforti.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, or
* (at your option) an... | Java | graph-algorithms/src/main/java/de/vogella/algorithms/dijkstra/engine/DijkstraAlgorithm.java | raffaeleconforti/ResearchCode | lgpl-3.0 | 4,662 | 139 | codeparrot/github-code |
5c3d0be2c911d4a02827527a994b11f827f74820e6571be49c03a752531465db | package android.view.ext;
import android.annotation.SuppressLint;
import android.content.Context;
import android.view.WindowManager;
import android.view.animation.AlphaAnimation;
import android.view.animation.Animation;
import android.view.animation.AnimationSet;
import android.view.animation.AnimationUtils;
import an... | Java | src/android/view/ext/SatelliteAnimationCreator.java | kinglin/satellite-menu | lgpl-3.0 | 4,115 | 118 | codeparrot/github-code |
b626d0c374e0419542fe731760597ab0271e1d158c287da4721ae4954d4e772e | package com.blueice.mobilelottery.utils;
import java.io.File;
import android.os.Environment;
import android.os.StatFs;
import android.util.Log;
/**
* 内存大小判断工具类。
*
*/
public class MemoryManager {
private static final String TAG = "MemoryManager";
private static final int MAXMEMORY=300*1024*1024;//程... | Java | MobileLottery/src/com/blueice/mobilelottery/utils/MemoryManager.java | 384401056/itheima | lgpl-3.0 | 2,594 | 102 | codeparrot/github-code |
8abf8e3283fbb3149f8d7764b1178ef3aa49f093baeaf91405aa202f8f9be6bf | // Copyright 2017 The go-ethereum Authors
// This file is part of go-ethereum.
//
// go-ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any la... | GO | cmd/swarm/db.go | trinityfx/trinity | lgpl-3.0 | 4,490 | 148 | codeparrot/github-code |
04878454d7cb32e5fc16bf60132f86a7b7d292869a82f154483439b171e8a03b | /**
* TableCellBox.java
* Copyright (c) 2005-2007 Radek Burget
*
* CSSBox is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.... | Java | src/main/java/org/fit/cssbox/layout/TableCellBox.java | dbmalkovsky/CSSBox | lgpl-3.0 | 11,888 | 433 | codeparrot/github-code |
ae894cb68c9c41915c35adf1ea74458e5ecf5cb4453c360346d9fe79e53819e2 | /*
* 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... | TypeScript | server/sonar-web/src/main/js/apps/coding-rules/components/DefaultSeverityFacet.tsx | SonarSource/sonarqube | lgpl-3.0 | 1,589 | 44 | codeparrot/github-code |
fc466ca2d588176cd1b0b89b31a27403828aa4270e5cdac6c2ff884cb9a2c6a8 | /* --------------------------------------------------------------------------
* Copyrights
*
* Portions created by or assigned to Cursive Systems, Inc. are
* Copyright (c) 2002-2008 Cursive Systems, Inc. All Rights Reserved. Contact
* information for Cursive Systems, Inc. is available at
* http://www.cursive.ne... | C# | Jabber-Net/jabber/protocol/iq/GeoLoc.cs | dib0/JabberNet | lgpl-3.0 | 3,996 | 145 | codeparrot/github-code |
1a1755a47c1842b66c8483fc50f1a7eba6271b1fac4bce5145242f9a67415c00 | package com.granatasoft.remotelist.website.pages.remotelist.categoryrow;
import java.util.List;
import java.util.stream.Collectors;
import javax.annotation.concurrent.NotThreadSafe;
import javax.inject.Inject;
import org.apache.wicket.request.resource.ByteArrayResource;
import org.apache.wicket.request.resource.IRes... | Java | invesdwin-nowicket-examples/granatasoft-remotelist-parent/granatasoft-remotelist-website/src/main/java/com/granatasoft/remotelist/website/pages/remotelist/categoryrow/CategoryRow.java | subes/invesdwin-nowicket | lgpl-3.0 | 2,287 | 73 | codeparrot/github-code |
9f37af4d041c4a1e1c72d20466ed6fd2439cffe500d185bee084a724ebfad125 | /**
* This file is part of pwt.
*
* pwt is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser
* General Public License as published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* pwt is distributed in the hope ... | Java | doc/src/main/java/fr/putnami/pwt/doc/client/social/widget/SocialBar.java | Putnami/putnami-web-toolkit | lgpl-3.0 | 1,326 | 36 | codeparrot/github-code |
e53ae8bac00f28590a7ee59b07a14d45b8b59a3f7482bef42efb6dcafee2dd37 | <?php
/**
* 基本函数,全局对象$php的构造
* @package SwooleSystem
* @author 韩天峰
*/
define("LIBPATH", __DIR__);
if(PHP_OS=='WINNT') define("NL","\r\n");
else define("NL","\n");
define("BL","<br />".NL);
require_once __DIR__ . '/Swoole/Swoole.php';
require_once __DIR__ . '/Swoole/Loader.php';
/**
* 注册顶层命名空间到自动载入器
*/
Swoole\Loa... | PHP | libs/lib_config.php | abc1225/test2 | lgpl-3.0 | 3,479 | 163 | codeparrot/github-code |
fcb84e75655ed736fb27c9a82fd547497487352f09411acc1e772331e3df9bc3 | using System.Reflection;
using NuPeek.DataServices;
[assembly: WebActivatorEx.PreApplicationStartMethod(typeof(NuPeek.App_Start.NinjectWebCommon), "Start")]
[assembly: WebActivatorEx.ApplicationShutdownMethodAttribute(typeof(NuPeek.App_Start.NinjectWebCommon), "Stop")]
namespace NuPeek.App_Start
{
using System;
usi... | C# | NuPeek/App_Start/NinjectWebCommon.cs | cdmdotnet/nupeek | lgpl-3.0 | 1,901 | 73 | codeparrot/github-code |
201b8c01dfeee8378842cc3c9f491e05858b2a5bc8ae7354d00f59252e0b70b1 | /* Copyright (c) MediaArea.net SARL. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license that can
* be found in the License.html file in the root of the source tree.
*/
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//
// Format:
// * File header
//... | C++ | 3rdParties/mediainfo/MediaInfoLib/Source/MediaInfo/Multiple/File_Dpg.cpp | mohsenti/DSPlayer | lgpl-3.0 | 6,338 | 191 | codeparrot/github-code |
709017a68085421c0ee35c284021db829add0d84b7d4992b8068ed94089f6d41 | /*
thot package for statistical machine translation
Copyright (C) 2013 Daniel Ortiz-Mart\'inez
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 3
of the License, or (at your opt... | C | src/phrase_models/SentSegmentation.h | daormar/thot | lgpl-3.0 | 1,162 | 37 | codeparrot/github-code |
35a4aa989f05265be73a3444a7a2888e94b76d6c8472929819780a0b08cb2a9c | # -*- coding: utf-8 -*-
# 2016-10-20T16:00+08:00
import fnmatch
import glob
import itertools
import os
import re
import subprocess
import sys
import fileutil
# Match version numbers of these formats:
# 1.2.3
# 1.2.3.4
version_number_re = r'([0-9]+(?:.[0-9]+){2,3})'
# Match version numbers of this format:
incompl... | Python | python/SetPEVersion.py | myd7349/Ongoing-Study | lgpl-3.0 | 6,242 | 192 | codeparrot/github-code |
9fb3c61309d1abd7831750ce056cbed83b3db9443ab7bcae1420fef8ccc79154 | /*
*
* SchemaCrawler
* http://www.schemacrawler.com
* Copyright (c) 2000-2015, Sualeh Fatehi.
*
* 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, ... | Java | schemacrawler-api/src/main/java/schemacrawler/utility/SchemaCrawlerUtility.java | ceharris/SchemaCrawler | lgpl-3.0 | 2,500 | 73 | codeparrot/github-code |
b9832812e9254fb7b03b5948edba72f0dd06fb6184a03978718e9b1da7df5e04 | package net.amygdalum.util.text.linkeddawg;
import net.amygdalum.util.text.CharDawg;
import net.amygdalum.util.text.CharWordGraphCompiler;
import net.amygdalum.util.text.CharNode;
import net.amygdalum.util.text.NodeResolver;
public class LinkedCharDawgCompiler<T> implements CharWordGraphCompiler<T, CharDawg<T>> {
@... | Java | src/main/java/net/amygdalum/util/text/linkeddawg/LinkedCharDawgCompiler.java | almondtools/compilerutils | lgpl-3.0 | 1,134 | 45 | codeparrot/github-code |
aa5398034daef276d95c495161df6f644138141284f6bc999a1daf3a0ba0d03a | // ------------------------------------------------------
// DVTk - The Healthcare Validation Toolkit (www.dvtk.org)
// Copyright © 2009 DVTk
// ------------------------------------------------------
// This file is part of DVTk.
//
// DVTk is free software; you can redistribute it and/or modify it under the term... | C# | DVTk_Library/Source/Assemblies/DVTk/DvtkDataHelper.cs | marcokemper/DVTk | lgpl-3.0 | 7,129 | 189 | codeparrot/github-code |
d0576f4a97691b378c92900d06e67229bf914bf36d808afe8da4453c59abbd64 | /*
* SonarQube
* Copyright (C) 2009-2019 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-ws-generator/src/main/java/org/sonarqube/wsgenerator/ApiDefinitionDownloader.java | Godin/sonar | lgpl-3.0 | 2,172 | 57 | codeparrot/github-code |
193d492b185e14aacc4f2383c86f737cc73524ace2c020225febe31a4c5db07b | <html>
<head>
<title>Bootstrap Utilities</title>
<link rel="stylesheet" href="nbdocs://org.jreserve.grscript.gui.script/org/jreserve/grscript/gui/script/docs/help.css" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<h2>Boot... | HTML | NetbeansProject/grscript-gui/script-functions/src/main/resources/org/jreserve/grscript/gui/script/functions/docs/bootstrap-util.html | Depter/JRLib | lgpl-3.0 | 4,998 | 143 | codeparrot/github-code |
65c9d23f27d1db717c02758dbcf0781067a964f07e8271259a366f7c87440a72 | /*
* logic2j - "Bring Logic to your Java" - Copyright (c) 2017 Laurent.Tettoni@gmail.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your opt... | Java | src/test/java/org/logic2j/core/library/impl/AdHocLibraryForTesting.java | ltettoni/logic2j | lgpl-3.0 | 4,016 | 114 | codeparrot/github-code |
6c47c749a77c30b9db831a1765e30a3bb7c17d5ccbda52d598b2d3332e20cdec | /*
* SonarQube
* Copyright (C) 2009-2019 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/DateUtilsTest.java | Godin/sonar | lgpl-3.0 | 6,484 | 195 | codeparrot/github-code |
d6105b5c528249d849602b8210b6fa94ed8a7bd2e9fab903be4791289f03fbbd | #ifndef INFOWINDOW_H
#define INFOWINDOW_H
#include <QObject>
#include <QWidget>
#include <QDialog>
#include <QFormLayout>
#include <QLabel>
#include <QDebug>
#define DEBUG qDebug()
static int lw;
class InfoWindow: public QObject
{
Q_OBJECT
public:
InfoWindow(QWidget *parent, QString windowTitle, int type = ... | C | AutoBL/infowindow.h | firedream89/AutoBL | lgpl-3.0 | 595 | 32 | codeparrot/github-code |
08cbd903fe928361fc004f2e5cafa9ff3a67182b0f7edebbb9f4105d9d00811d | /*
* Hex - a hex viewer and annotator
* Copyright (C) 2009-2014,2016-2017,2021 Hakanai, Hex Project
*
* 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 Licens... | Java | interpreter/src/main/java/org/trypticon/hex/interpreters/InterpreterInfo.java | trejkaz/hex-components | lgpl-3.0 | 3,040 | 102 | codeparrot/github-code |
ce44fbc88361ac90f485598bf8d0e5f7ef550edeb8533d6093c28dc0fd50f750 | /* This file is part of Vault.
Vault is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Vault is distributed... | Java | src/net/milkbowl/vault/economy/plugins/Economy_eWallet.java | Realmcraft/Vault | lgpl-3.0 | 8,714 | 254 | codeparrot/github-code |
62ebe1b33dd45a0ef27b335afc4e710d3542cb547d4340b5d3f3be78264bd75e | /*
This file is part of BitPunch
Copyright (C) 2016 Frantisek Uhrecky <frantisek.uhrecky[what here]gmail.com>
Copyright (C) 2016 Marek Klein <kleinmrk[what here]gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free... | C | lib/src/bitpunch/math/bigint.c | FrUh/BitPunch | lgpl-3.0 | 2,440 | 83 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.