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
4e0cb24fb3118a4a3e820242b059af9386dc4fcc792b360fe69d678b620d094f
<?php // (c) Copyright 2002-2015 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$ /* * Shared functions for tiki implementation of nke...
PHP
lib/ckeditor_tiki/wysiwyglib.php
changi67/tiki
lgpl-2.1
8,664
208
codeparrot/github-code
397ddb403a1d47c0b8bbe98ca1b9f77e1a35b99b084908d9dbbd066e911670f9
var expect = require('chai').expect; var preprocessor = require('../../docs/preprocessor'); describe('docs preprocessor', function() { describe('mergeOverloadedMethods()', function() { var merge = preprocessor.mergeOverloadedMethods; var ensureMergeDoesNothing = function(data) { var dataCopy = JSON.p...
JavaScript
test/node/test-docs-preprocessor.js
Mohammed90/p5.js
lgpl-2.1
1,828
72
codeparrot/github-code
20830c3f8000e55e18f72720e04bb63728d2524376695fd5fbe7d5bbec430efb
//===---- Mips16ISelDAGToDAG.h - A Dag to Dag Inst Selector for Mips ------===// // // 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/lib/Target/Mips/Mips16ISelDAGToDAG.h
sawenzel/root
lgpl-2.1
1,598
54
codeparrot/github-code
b30e87626dc7d646e15c402c607c2a22de510b74dbb86bf5e23bb06f78651eb8
package org.pentaho.di.trans.steps.infobrightoutput; import java.io.IOException; import java.sql.SQLException; import org.pentaho.di.core.Const; import org.pentaho.di.core.exception.KettleException; import org.pentaho.di.core.row.RowMetaInterface; import org.pentaho.di.trans.Trans; import org.pentaho.di.trans.TransMe...
Java
src/org/pentaho/di/trans/steps/infobrightoutput/InfobrightLoader.java
icholy/geokettle-2.0
lgpl-2.1
6,002
193
codeparrot/github-code
4c928d67e9a2928346dba179073faf1295297492f4a522762686da81cb1132b7
#!/usr/bin/env python import os pack = open('BlackBeltSorviHero.dat', 'w') length = 0 offset = 0 for i in [1, 2]: length = 0 for fname in os.listdir('data'): f = open('data/' + fname) f.seek(0, 2) size = f.tell() f.close() length += len("%s %d %d\n" % (fname, offset, size)) offset += size offset = len...
Python
create-pack.py
japeq/blackbeltsorvihero
lgpl-2.1
689
40
codeparrot/github-code
40ac8163c58fab67d7609dc01c8dbed4515db818939f61d9323d344c6efe3d38
__author__ = 'Ethan A. Hill' import copy import string import re import itertools import logging from xml.etree import cElementTree as ElementTree from ..constants import ccg_values from ..models.rewrite import Rewrite from ..utilities import reversal_utilities __logger = logging.getLogger(__name__) def find_parse...
Python
novel_disambiguation/utilities/rewrite_utilities.py
hill1303/CCGParaphraseGenerator
lgpl-2.1
17,853
394
codeparrot/github-code
5fe647bd587a2174b32f68cbb7613c3d5c10835313d5e666b551e16b57be0223
\hypertarget{classWombat_1_1Mama}{ \section{Wombat::Mama Class Reference} \label{classWombat_1_1Mama}\index{Wombat::Mama@{Wombat::Mama}} } The {\ttfamily \hyperlink{classWombat_1_1Mama}{Mama}} class provides methods global initialization and manipulating global options. {\ttfamily \#include $<$mamacpp.h$>$}\subse...
TeX
mama/c_cpp/doc/cpp/latex/classWombat_1_1Mama.tex
reed-jpm-alpert/OpenMAMA.233
lgpl-2.1
32,796
412
codeparrot/github-code
22d949ba055ef809d34c56afe7f8fa511297b74d0e1ab982e7a99abaebeabaa4
package jp.gr.java_conf.trpfrog.brother.tools; import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.Font; import java.awt.Image; import java.awt.Insets; import java.awt.Toolkit; import java.io.FileReader; import java.io.IOException; import java.io.PrintWriter; import java.io.Reader; import java.io....
Java
src/jp/gr/java_conf/trpfrog/brother/tools/Tools.java
TrpFrog/BrotherOpener
lgpl-2.1
5,814
183
codeparrot/github-code
a5ea66dea73f32ca30028d08164bd478f1bf26d78c0f79e03c7822cd6103df07
#include "serialise.hh" #include "util.hh" #include "remote-store.hh" #include "worker-protocol.hh" #include "archive.hh" #include "affinity.hh" #include "globals.hh" #include "derivations.hh" #include "pool.hh" #include "finally.hh" #include <sys/types.h> #include <sys/stat.h> #include <sys/socket.h> #include <sys/un...
C++
src/libstore/remote-store.cc
layus/nix
lgpl-2.1
22,821
803
codeparrot/github-code
27432cbde1c0c3a05554fddd04dbb7b6da7f4e9a52816f1da4f2df879c9c2998
/* -*- C++ -*- This file is part of ThreadWeaver, a KDE framework. $ Author: Mirko Boehm $ $ Copyright: (C) 2013 Mirko Boehm $ $ Contact: mirko@kde.org http://www.kde.org http://creative-destruction.me $ This library is free software; you can redistribute it and/or modify it under...
C++
src/queuesignals.cpp
mirkoboehm/threadweaver
lgpl-2.1
1,614
69
codeparrot/github-code
745ec07781fa7a020d0ac284f52173bf179e033379c7d0c2a87d9de841d3f719
/* json-generator.c - JSON streams generator * * This file is part of JSON-GLib * Copyright (C) 2007 OpenedHand Ltd. * Copyright (C) 2009 Intel Corp. * * 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 Fr...
C
json-glib/json-generator.c
Distrotech/json-glib
lgpl-2.1
22,447
895
codeparrot/github-code
1e251b7753568cb0927e69d668969350a4598e341d3ef6a8a4b706c9adacc551
/* * Copyright 2012 The Solmix Project * * 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 * the License, or (at your option) any later version. * * This software is d...
Java
core/src/main/java/org/solmix/datax/script/VelocityReferenceInsertionEventHandler.java
solmix/datax
lgpl-2.1
4,562
120
codeparrot/github-code
6370af5609e5a1e887fb7a0baf63d7177919684e81b4abe9732f7876eff13018
/* * Copyright (C) 2006-2010 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 ...
Java
projects/alfresco-jlan/source/java/org/alfresco/jlan/oncrpc/RpcPacketPool.java
loftuxab/community-edition-old
lgpl-3.0
8,615
413
codeparrot/github-code
447057b17634d93bbd973da2975e4e0f13114d163d7b6fa040b08251e78c5177
#!/usr/bin/python import random import datetime import os import sys import time from optparse import make_option from django.conf import settings from django.core.management.base import BaseCommand from django.db import connection, reset_queries from django.db.transaction import commit_on_success, rollback from djang...
Python
asklet/management/commands/asklet_estimate.py
chrisspen/asklet
lgpl-3.0
1,688
58
codeparrot/github-code
aa635409b95ea94f2576a70ccbae863b197661c00649fb1103bdc8fb9a4c7b15
/** * <copyright> * </copyright> * * $Id$ */ package de.generia.tools.model.api.provider; import java.util.Collection; import java.util.List; import org.eclipse.emf.common.notify.AdapterFactory; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; im...
Java
editor/de.generia.tools.model.api.editor/src/de/generia/tools/model/api/provider/EAttributeItemProvider.java
generia/apitools
lgpl-3.0
3,662
133
codeparrot/github-code
7d7db959c0d8d9cd98fe146d84939e255a5e87f58054c5c1f29a5f88c86a03a9
/* FILE amp/config.cpp LICENSE Copyright 2017 Samantha Stoneman Research Associate, German Aerospace Center (DLR) This file is part of the Articulated-robot Motion Planner (Amp) library. Amp is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as publis...
C++
src/amp/config.cpp
DLR-RM/amp
lgpl-3.0
7,397
185
codeparrot/github-code
aa9393cb9a5a643a8642c552460263882a1267c9762b46a8a70a6237a0731723
package bwapi; import java.lang.Override; import java.util.HashMap; import java.util.Map; /** * Build Tiles - each build tile is a 4x4 square of walk tiles, or a 32x32 square of pixels. * These are called build tiles because buildability data is available at this resolution, and correspond to the tiles seen in game...
Java
manual-bwapi/TilePosition.java
vjurenka/BWMirror-Generator
lgpl-3.0
2,079
89
codeparrot/github-code
10ba3176f03e9d7752ee6ed54c177ba500fd6255641916be9c1ce84f668b82ee
<?php // wcf imports require_once(WCF_DIR.'lib/system/cache/CacheBuilder.class.php'); /** * Caches the theme module types. * * @author Sebastian Oettl * @copyright 2009-2013 WCF Solutions <http://www.wcfsolutions.com/> * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php> ...
PHP
files/lib/system/cache/CacheBuilderThemeModuleTypes.class.php
moxeo/com.wcfsolutions.wcf.theme
lgpl-3.0
1,779
52
codeparrot/github-code
9696638cc9aaaf7f5e58a51c592dccfeb2abe1b3f7ebe02e850f4ccf6d5460e6
package com.amocrm.amocrmclient.lead.entity.list; import com.google.gson.annotations.SerializedName; import java.util.List; /** * /private/api/v2/json/leads/list -- $.response */ public class LLResponse { /** * /private/api/v2/json/leads/list -- $.response.leads */ public List<LLResponseLead> l...
Java
src/main/java/com/amocrm/amocrmclient/lead/entity/list/LLResponse.java
syncro/amocrm-client
lgpl-3.0
715
37
codeparrot/github-code
1bebe526808082b87b349c2edda45210344a726245e33615ff7da73a3dcdcca1
<p>The use of the <code>with</code> keyword produces an error in JavaScript strict mode code. However, that’s not the worst that can be said against <code>with</code>.</p> <p>Using <code>with</code> allows a short-hand access to an object’s properties - assuming they’re already set. But use <code>with</code> to access ...
HTML
javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S1321.html
SonarSource/sonar-javascript
lgpl-3.0
1,061
35
codeparrot/github-code
67bddee9d26012594327517511c0c16025087cbc96234bbf4f860e5a1de1ef67
package com.mxt.anitrend.adapter.recycler.index; import android.content.Context; import android.text.TextUtils; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Filter; import androidx.annotation.NonNull; import com.annimon.stream.Stream; import com.b...
Java
app/src/main/java/com/mxt/anitrend/adapter/recycler/index/UserAdapter.java
wax911/AniTrendApp
lgpl-3.0
3,957
124
codeparrot/github-code
e3a32b2013ba72f63b9471e9d6867586f3221aa359967a762581e0f37ea5896f
# -*- coding: utf-8 -*- import sys import os.path import subprocess import json import string import tempfile import shutil import threading import exceptions import errno from collections import defaultdict from xml.etree import ElementTree import nixops.statefile import nixops.backends import nixops.logger import ni...
Python
nixops/deployment.py
beni55/nixops
lgpl-3.0
46,304
1,104
codeparrot/github-code
b2dfa41c10c4a4957921eb4a4553aa0efa62b76fbf130a1121e51d32b8a47cb0
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.Builder; using Microsoft.AspNet.Hosting; using Microsoft.Framework.DependencyInjection; using Microsoft.Framework.Logging; using Microsoft.AspNet.Server.Kestrel; using Microsoft.AspNet.StaticFiles; ...
C#
src/CameraService/Startup.cs
ulkuniem/CameraService-aforge-dnx
lgpl-3.0
2,902
87
codeparrot/github-code
4805a93ce316b213bc0bb9d444f53b1d4d71050c4dcb9bdfe4e399f8bb4e9f13
import Tkinter as tk import random NOMOVE = { 'Left': 'Right', 'Right': 'Left', 'Up': 'Down', 'Down': 'Up', } OFF = 0 PLACE = 1 DELETE = 2 # TODO # 1. speed management # 3. not empty field by default, additional borders # 5. menu configure before start # 6. levels and egg counter class Snake(object): def __ini...
Python
main.py
lordnord/tkSnake
lgpl-3.0
7,825
248
codeparrot/github-code
2b7d28deb13db97ffc8b33a5c60e58a041c38cab0f8daf28a136244129fdc39d
<?php /** * Smarty Internal Plugin Compile Include * Compiles the {include} tag * * @package Smarty * @subpackage Compiler * @author Uwe Tews */ /** * Smarty Internal Plugin Compile Include Class * * @package Smarty * @subpackage Compiler */ class Smarty_Internal_Compile_Include extends Smarty_In...
PHP
libs/sysplugins/smarty_internal_compile_include.php
iorikiir/smarty
lgpl-3.0
14,941
333
codeparrot/github-code
77a4b58808339277e27ca45956de2211544e353d8ab9abdaa7af0729da4f0738
/* * Copyright (C) 2010 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
C
webkit/Source/WebCore/html/NumberInputType.h
nawawi/wkhtmltopdf
lgpl-3.0
3,501
73
codeparrot/github-code
b7cbea9a4fd7c3671723596242aff923a00a4181295698b8fc475a70d6d68194
/* 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/RequestSurveyCommand.h
kidaa/Awakening-Core3
lgpl-3.0
3,900
115
codeparrot/github-code
41db9cfbbbe4b5f20763f78467b20f77e5ab995e9a9be5f024981e320dc52e8e
/* 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/cognitosync/setidentitypoolconfigurationresponse_p.h
pcolby/libqtaws
lgpl-3.0
1,441
48
codeparrot/github-code
bf7c85d9886c3822842dcc6109034a349509c01185b05d8a6ab317b34a0d8093
/* 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/devicefarm/updateinstanceprofilerequest.h
pcolby/libqtaws
lgpl-3.0
1,444
51
codeparrot/github-code
5b4c9d9f599a1dc14ba36bbe7182ca1ec9a81ec08178e7052bd681bc280f122e
/* 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/mediatailor/mediatailorclient_p.h
pcolby/libqtaws
lgpl-3.0
1,256
47
codeparrot/github-code
88e1e53b92e39c3905b8769299863ff182332694b3a3d9ef8686cc8794da8546
from MoveMe.Canvas.Objects.Base.CanvasObject import CanvasObject import wx import numpy as np from MoveMe.Canvas.Objects.Base.DeletableObject import DeletableObject from MoveMe.Canvas.Objects.Base.SelectableObject import SelectableObject class Connection(SelectableObject, DeletableObject, CanvasObject): def __ini...
Python
MoveMe/Canvas/Objects/Connection.py
zyxer/Nodes-tree
lgpl-3.0
3,057
83
codeparrot/github-code
4d735f99304e7b9c8d856a271e92ff962ad29338449dce0b8305823368f7d50e
#include <RcppArmadillo.h> // #define ARMA_64BIT_WORD // to enable matrix with more than 4 billions elements // requires a 64bits machine using namespace Rcpp; using namespace arma; // [[Rcpp::depends(RcppArmadillo)]] //' C++ implementation of the F-measure computation //' //'@param pred vector of a predicted partit...
C++
src/FmeasureC.cpp
borishejblum/NPflow
lgpl-3.0
4,506
189
codeparrot/github-code
35c1ece90a27ea99d206374436b7f5653a7ae7755053bf52aedc9946ded93a6b
# -*- coding: utf-8 -*- import inspect import random import numpy as np from django.contrib import messages from django.views.generic import RedirectView from django.contrib.contenttypes.models import ContentType from django.http import Http404 from django.contrib.auth.mixins import UserPassesTestMixin class RunAct...
Python
django_ai/base/views.py
math-a3k/django-ai
lgpl-3.0
2,787
85
codeparrot/github-code
58567e5b742eaca143654db6fdb4be130211795a9891861c046f4eb6babe1b9b
/* @License ------------------------------------------------------------------------------- | osgAndroid - Copyright (C) 2012 Rafael Gait�n, Mirage Technologies S.L. | | Contribution by Christian Kehl, Uni Research AS CIPR | | ...
Java
org.openscenegraph.android/src/org/openscenegraph/osg/core/Vec2Array.java
CKehl/osgAndroid
lgpl-3.0
3,155
99
codeparrot/github-code
68eebc79a6cef4229ec2f04ec44489a0187bdc24bd9b93105101a4604ad75b99
/* * This file is part of Peli - universal JSON interaction library * Copyright (C) 2014-2022 Alexey Chernov <4ernov@gmail.com> * * 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 * * ht...
C
include/peli/json/detail/parser/utf.h
aclex/peli
lgpl-3.0
6,073
162
codeparrot/github-code
2b6d28e40dda1df4452a8ef4f72bf5478cac264276d68eb37b62b22049d8dc12
/* * SonarQube Java Properties Analyzer * Copyright (C) 2015-2017 David RACODON * david.racodon@gmail.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 t...
Java
jproperties-frontend/src/main/java/org/sonar/plugins/jproperties/api/visitors/issue/PreciseIssue.java
racodond/sonar-jproperties-plugin
lgpl-3.0
2,301
80
codeparrot/github-code
165374fcff3facfe9de0418be6b81e6125d3e441e29c010ea77d7f5df38ce4e9
/** * Copyright (C) 2010 NetMind Consulting Bt. * * 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 option) any later version. * * Thi...
Java
src/main/java/hu/netmind/beankeeper/schema/impl/SchemaManagerImpl.java
nile/beankeeper
lgpl-3.0
7,731
197
codeparrot/github-code
b0273acd6b6e59764f577c975c3f38dffb65c1abe5c4bdcf431cab793afeb8ff
package com.sirma.itt.emf.semantic.search.operation; import com.sirma.itt.emf.semantic.NamespaceRegistry; import com.sirma.itt.seip.collections.CollectionUtils; import com.sirma.itt.seip.domain.search.SearchOperation; import com.sirma.itt.seip.domain.search.tree.Rule; import com.sirma.itt.seip.domain.search.tree.Searc...
Java
docker/sirma-platform/platform/seip-parent/platform/emf-semantic/emf-semantic-impl/src/main/java/com/sirma/itt/emf/semantic/search/operation/EqualsSearchOperation.java
SirmaITT/conservation-space-1.7.0
lgpl-3.0
5,381
149
codeparrot/github-code
c0b6142c89ea424effa5b8c1b5b2197c69d61783ff66476eb997ad11394b055f
package fr.univmobile.backend; import static com.google.common.base.Preconditions.checkNotNull; import java.io.IOException; import java.sql.SQLException; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import fr.univmobile.backend.core.SessionManager; import fr.univmobile.backen...
Java
unm-backend-app/src/main/java/fr/univmobile/backend/HomeController.java
univmobile/unm-backend
lgpl-3.0
3,544
156
codeparrot/github-code
1d3b2add8314cd0fa0893fdab39737a79624018d705997fdd8631fb6a234e10e
/* * SonarQube Cucumber Gherkin Analyzer * Copyright (C) 2016-2017 David RACODON * david.racodon@gmail.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 ...
Java
gherkin-checks/src/main/java/org/sonar/gherkin/checks/UseAndButCheck.java
racodond/sonar-gherkin-plugin
lgpl-3.0
2,795
79
codeparrot/github-code
db4eed8a1b859660dae36ba3e40ca9be7ec84bc9674c24716ffe4b9beb5e3e14
/** * Copyright (c) 2013 SLL. <http://sll.se> * * This file is part of Invoice-Data. * * Invoice-Data 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, ...
Java
invoice-data/invoice-data-core/src/main/java/se/sll/invoicedata/core/service/InvoiceDataErrorCodeEnum.java
KentorIT/sll-invoice-data
lgpl-3.0
3,249
82
codeparrot/github-code
308faa25150bc92d7f00a7f4fd7c15573837fb9c1f299075c8a48b0b4882b4d8
<?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" /> <!-- qxmlschema.cp...
HTML
qt-everywhere-opensource-src-4.7.4/doc/html/qxmlschema-members.html
ssangkong/NVRAM_KWU
lgpl-3.0
4,192
67
codeparrot/github-code
c20ae1392d7eeedaaa6d91b86a866d6f65a415228144d5f20bb5bad5847d4c0b
<?php /*************************************************************************************/ /* This file is part of the Thelia package. */ /* */ /* Copyright (c) OpenStudio ...
PHP
core/lib/Thelia/Controller/Admin/MailingSystemController.php
bibich/thelia
lgpl-3.0
6,556
157
codeparrot/github-code
b63caca48cd06e21fc2833d045839954a5e78f323ea73c1bd836856ddb43c6dd
package de.claas.mosis.processing.debug; import de.claas.mosis.annotation.Category; import de.claas.mosis.annotation.Documentation; import de.claas.mosis.model.ProcessorAdapter; import java.util.List; /** * The class {@link de.claas.mosis.processing.debug.Forward}. It is intended for * debugging purposes...
Java
src/main/java/de/claas/mosis/processing/debug/Forward.java
claasahl/MOSIS
lgpl-3.0
1,344
34
codeparrot/github-code
5a9dc919490d2e8279dbc4707c0a6b2ff0722749af9dd75d4332bc1499bbf18d
/** * Copyright 2014 JogAmp Community. 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 notice, this list of * co...
Java
3DTools/src/com/jogamp/opengl/hudbasics/graph/demos/ui/TextureSeqButton.java
philjord/3DTools
lgpl-3.0
3,438
80
codeparrot/github-code
700d9087f865bc86ee22411d2ff45e092f992d64a891a99dab63b958daaf88f8
#ifndef TILE_BLITTER_H #define TILE_BLITTER_H #include "MacroTile.h" struct TileSetCursorPosition : public std::vector<Vec2D<int>> { void tell(bool linefeed = true) const { fprintf(stderr, "%s: ", __func__); for(const auto& iter : *this) fprintf(stderr, "(%3d, %3d) ", iter.x, iter.y); if (linefeed) fpri...
C
legacy/terrain/TileBlitter.h
xinyazhang/libhgeo
lgpl-3.0
8,868
347
codeparrot/github-code
46ee9d9182eb6868ee7af7cf85ca3241f45f82de0294d967934e03f5420e16ec
/* TSPLINE -- A T-spline object oriented package in C++ Copyright (C) 2015- Wenlei Xiao 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.0 of the License, or (at your o...
C++
source/validator.cpp
GrapeTec/T-SPLINE
lgpl-3.0
3,563
178
codeparrot/github-code
df5cb55eb0ffc7959023c1a6eb098a13161f5e0d5aae361af79d753f87dbadf9
<?php /** * TOP API: taobao.logistics.orderstore.push request * * @author auto create * @since 1.0, 2014-02-20 17:02:53 */ class LogisticsOrderstorePushRequest { /** * 表明是否是拆单,默认值0,1表示拆单 **/ private $isSplit; /** * 流转状态发生时间 **/ private $occureTime; /** * 仓内操作描述 **/ p...
PHP
taobao_sdk/top/request/LogisticsOrderstorePushRequest.php
jnuzh/nidama
lgpl-3.0
2,946
151
codeparrot/github-code
40ea327cbe777d79d5ad309fc01b96891d478bd2bc692a778a0997faeb41abde
/******************************************************************************* * Copyright (c) 2009, 2016 GreenVulcano ESB Open Source Project. * All rights reserved. * * This file is part of GreenVulcano ESB. * * GreenVulcano ESB is free software: you can redistribute it and/or modify * it under the terms of ...
Java
gvlegacy/gvvcl-ws/src/main/java/it/greenvulcano/gvesb/ws/wsdl/GVWebService.java
green-vulcano/gv-legacy
lgpl-3.0
12,661
463
codeparrot/github-code
d6ab330b61d6e094136cd07b428327a9755028abcf244de7e265600d8784e50b
/* 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/glue/getmltaskrunrequest.h
pcolby/libqtaws
lgpl-3.0
1,342
51
codeparrot/github-code
1c43601171d21b586858f26f9d25edac91fb3384ab30be1c040a67cb42f5d320
/*********************************************************************** * mexsmat.c : C mex file * * M = smat(x); * * Input: x = n(n+1)/2 vector * * Based on code from SDPT3.4 ***********************************************************************/ #include <mex.h> #include <math.h> #include <matrix.h>...
C
packages/+cdcs_utils/private/smat.c
oxfordcontrol/CDCS
lgpl-3.0
4,635
175
codeparrot/github-code
b877cd4508bea37367e1e7ad629ddd4c948d186a3dec5fedbfbde11dce7a11fe
#!/usr/bin/env perl -w use strict; # extract barcoded fastq format into mothur-compatible file lists # need forward fastq, reverse fastq and samples file as input # output is to a directory called demultiplex_group # contains the forward and reverse fastq per barcode and a file called key_file.txt # # barcodes and pri...
Perl
demultiplex_dada2.pl
ggloor/miseq_bin
lgpl-3.0
3,479
117
codeparrot/github-code
c0b2f931e7413c44d68017a47f3d4b20c3943e322c0170ba1aa6f332f279d3ae
package cyano.poweradvantage.api.fluid; import net.minecraft.block.material.Material; import net.minecraft.block.state.IBlockState; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityLivingBase; import net.minecraft.util.EnumFacing; import net.minecraft.util.math.AxisAlignedBB; import net.minecraft....
Java
src/main/java/cyano/poweradvantage/api/fluid/InteractiveFluidBlock.java
cyanobacterium/PowerAdvantageAPI
lgpl-3.0
3,438
97
codeparrot/github-code
bdc3721c7775e99167fa8f7bcf2da77f2dab3d98cee7e85c1cc6118bf7337ea9
/** qooxdoo v5.0 | (c) 2015 1&1 Internet AG, http://1und1.de | http://qooxdoo.org/license */ (function(){ if (!window.qx) window.qx = qxWeb.$$qx; var qx = window.qx; if (!qx.$$environment) qx.$$environment = {}; var envinfo = {"json":true,"qx.application":"library.Application","qx.debug":true,"qx.debug.databinding":fa...
JavaScript
qooxdoo/component/standalone/website/script/q-transform.js
sebastienhupin/qxrad
lgpl-3.0
25,943
823
codeparrot/github-code
a39bdff0f8834fb641fa59511f3912a03280b3ccf3846eaa7cbb10d8861ddfb8
namespace Yandex.Translator { using System; using Catharsis.Commons; /// <summary> /// <para>Entry point to access Yandex.Translator web service.</para> /// </summary> /// <seealso cref="http://api.yandex.ru/translate"/> public static class Yandex { /// <summary> /// <para>Configures insta...
C#
src/Yandex.Translator/Yandex.cs
prokhor-ozornin/Yandex.NET.Translator
lgpl-3.0
1,297
33
codeparrot/github-code
7fe41704fc45ccf765fcc92316f64851f091063e4fc5c2c813775c64d6b2890c
/********** 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 option) any later version. (See <http://www.gnu.org/copyleft/lesser.html>.) This librar...
C++
liveMedia/include/JPEGVideoSource.hh
MobotixAG/live666
lgpl-3.0
2,079
56
codeparrot/github-code
3183a0c268e53eb39f08e618151ad4d693cfac955de43200523b7447cf481f3e
############################################################################ # LGPL License # # # # This file is part of the Machine Learning Framework. # # Copyright ...
Python
examples/other/build.py
flashpixx/MachineLearning
lgpl-3.0
2,333
40
codeparrot/github-code
865d7420aa8310a05676852c8c6a0771002c8a4b1539a41aaa2f8f4d9e25d4e4
/* * Sonar, open source software quality management tool. * Copyright (C) 2008-2012 SonarSource * mailto:contact AT sonarsource DOT com * * Sonar 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; e...
Java
sonar-plugin-api/src/main/java/org/sonar/api/batch/BatchExtensionDictionnary.java
jmecosta/sonar
lgpl-3.0
7,775
231
codeparrot/github-code
348970a76b3c09fd39c8b650db87599d07c6296a4804a91d018d3d4a3e63662d
/* GStreamer * Copyright (C) <2006> Philippe Khalaf <philippe.kalaf@collabora.co.uk> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at you...
C
third-party/gstreamer/gst-plugins-base-0.10.29/gst-libs/gst/rtp/gstbasertpaudiopayload.c
cpopescu/whispermedialib
lgpl-3.0
30,479
980
codeparrot/github-code
6040239c8b56a08e59873e34d83fb7280282ffbff96b5df3fe1a2d0546d66708
package org.zenframework.z8.server.db; import java.io.InputStream; import java.math.BigDecimal; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Timestamp; import java.util.UUID; import org.zenframework.z8.server.base.table.value.BinaryField; import org.zenframework.z8.server.base.ta...
Java
org.zenframework.z8.server/src/main/java/org/zenframework/z8/server/db/Cursor.java
zenframework/z8
lgpl-3.0
7,603
249
codeparrot/github-code
ce44e8cbff1b4c5b64f79e06f8421a2e458b868a3ae874df8bc8da8ec37d5cd5
#include "luapainter.h" #include <QImage> #include <QDebug> #include <QPainter> #include <fugio/core/uuid.h> #include <fugio/context_interface.h> #include <fugio/node_interface.h> #include <fugio/lua/lua_interface.h> #include <fugio/image/image.h> #include <fugio/performance.h> #include "luaqtplugin.h" #include "lu...
C++
plugins/LuaQt/luapainter.cpp
bigfug/Fugio
lgpl-3.0
16,452
777
codeparrot/github-code
30cbabb3d3afb01d78573ac05b76cbce632941d509261142ea3f1de67ddaf863
#!/usr/bin/env python ############################################################################## ## ## This file is part of Sardana ## ## http://www.sardana-controls.org/ ## ## Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain ## ## Sardana is free software: you can redistribute it and/or modify ## it und...
Python
src/sardana/taurus/qt/qtgui/extra_sardana/expdescription.py
sagiss/sardana
lgpl-3.0
19,906
446
codeparrot/github-code
0419369abeda7139056cd5bdf1f03d0ed8ce5f7d016fdbd167e3cfd3aaad4d02
/* * AddItemMessageCallback.h * * Created on: 07/06/2010 * Author: victor */ #ifndef ADDITEMMESSAGECALLBACK_H_ #define ADDITEMMESSAGECALLBACK_H_ #include "../MessageCallback.h" #include "server/zone/managers/player/PlayerManager.h" class AddItemMessageCallback : public MessageCallback { uint64 id; publ...
C
src/server/zone/packets/trade/AddItemMessageCallback.h
kidaa/Awakening-Core3
lgpl-3.0
850
42
codeparrot/github-code
e53479191cc8bf992fb1cef87f56b382aa84fd83534bc3d572dc56b3095cbf40
package net.minecraft.src; import java.util.Calendar; import net.minecraft.src.TileEntityChest; import org.lwjgl.opengl.GL11; import org.lwjgl.opengl.GL12; // Spout Start import org.spoutcraft.api.Spoutcraft; import org.spoutcraft.client.SpoutClient; import org.spoutcraft.client.block.SpoutcraftChunk; // Spout End ...
Java
src/main/java/net/minecraft/src/TileEntityChestRenderer.java
Spoutcraft/Spoutcraft
lgpl-3.0
5,774
166
codeparrot/github-code
a68a0ee2c7087f2b04f5c7e37e450932f6b4b51adf8146893a677fd5c5471a7d
package com.github.barteks2x.b173gen.oldgen; import com.github.barteks2x.b173gen.biome.BetaBiome; import com.github.barteks2x.b173gen.biome.BiomeOld; import com.github.barteks2x.b173gen.oldnoisegen.NoiseGeneratorOctaves2D; import java.util.Random; public class WorldChunkManagerOld { public double temperat...
Java
src/main/java/com/github/barteks2x/b173gen/oldgen/WorldChunkManagerOld.java
Barteks2x/173generator
lgpl-3.0
5,546
143
codeparrot/github-code
dbc291ff704ca40f5ae3457a2b5411756251b774ec6d3460fb19ef48614d1c87
/* * SonarQube, open source software quality management tool. * Copyright (C) 2008-2014 SonarSource * mailto:contact AT sonarsource DOT com * * SonarQube 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 Found...
Java
server/sonar-server/src/main/java/org/sonar/server/issue/ws/SearchAction.java
vamsirajendra/sonarqube
lgpl-3.0
24,877
457
codeparrot/github-code
5ea0978ebf687b5f6fa1f0fef6eea77d7e6e317fcd4e2be2d792be20a2aa00ce
/* 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/servicediscovery/createpublicdnsnamespaceresponse.h
pcolby/libqtaws
lgpl-3.0
1,637
52
codeparrot/github-code
87d5c08ccc22bd50a415e9043a4eee19d6c070aa3787ba5147a286ad004a9666
/**************************************************************************** ** ** Copyright (C) 2017 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the Qt3D module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees holding valid commercial...
C++
src/plugins/renderers/opengl/graphicshelpers/graphicshelperes3_2.cpp
qtproject/qt3d
lgpl-3.0
6,660
196
codeparrot/github-code
515d7a2a79d5830c7fee219a46214ff0aab63cc76d06772fe550af6e18152be3
/****************************************************************************** * Copyright (C) 2011 by Jerome Maye * * jerome.maye@gmail.com * * * ...
C++
src/lib/base/Thread.cpp
jmaye/mrtk
lgpl-3.0
10,175
373
codeparrot/github-code
c40ed9d3462b6ad8ce6b6068d23e59acb020de8f967937448f7f57936ac108f9
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package optas.optimizer.parallel; import java.io.BufferedOutputStream; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileFilter; import java.io.FileInpu...
Java
JAMSOptas/src/optas/optimizer/parallel/ParallelExecution.java
kralisch/jams
lgpl-3.0
10,794
299
codeparrot/github-code
6c5ed471de3a1ea7f35d5955bd95f55ad4533a7db7d611a47300390f2c3e3ab8
var azulejoe_scanning = false; function trigger_on_scan(){ if (azulejoe_scanning == true) { if (y == 0) { if (x >= Math.floor(grid_size_columns / 4)) { if (x < Math.ceil(grid_size_columns * 0.75)) { makeWav() return } } } } add(x, y); } document.body.onkey...
JavaScript
javascript/scanning.js
kirstymcnaught/azulejoe
lgpl-3.0
2,534
104
codeparrot/github-code
2a2837a9d2519b8cee08a582870cc25f762186ef3902278c0facf1f6a2b64eac
/* 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/sns/setplatformapplicationattributesrequest.h
pcolby/libqtaws
lgpl-3.0
1,497
51
codeparrot/github-code
0819f576867249be23844d1623ddb5d50c9093cee9cc110d56d425f22e57c3bd
#pragma once #include<QDialog> #include "ui_createDataReceiverDialogWindowFramework.h" #include<string> #include<QFileDialog> #include "utilityFunctions.hpp" namespace pylongps { /** This class represents the dialog window that is used to create data receivers that are receiving from somewhere other than a caster. ...
C++
src/executables/transceiverGUI/createDataReceiverDialogWindow.hpp
charlesrwest/pylonGPS
lgpl-3.0
1,596
67
codeparrot/github-code
5a2d9e7eb1859ce71a969e79cc4bddde3a28a6beea2d9c0c15e45188e62c1124
/* * StreamCruncher: Copyright (c) 2006-2008, Ashwin Jayaprakash. All Rights Reserved. * Contact: ashwin {dot} jayaprakash {at} gmail {dot} com * Web: http://www.StreamCruncher.com * * This file is part of StreamCruncher. * * StreamCruncher is free software: you can redistribute it and...
Java
src/streamcruncher/util/TwoDAppendOnlyList.java
AshwinJay/StreamCruncher
lgpl-3.0
14,695
493
codeparrot/github-code
7a6c2a28bda3f4f02210da466ea90a00c90dc1199ef56caf60fe91ce2ab9a269
################################################################################### ## MODULE : spell.lang.helpers.genhelper ## DATE : Mar 18, 2011 ## PROJECT : SPELL ## DESCRIPTION: Helpers for generic features ## -------------------------------------------------------------------------------- ## ## Cop...
Python
src/spell/spell/lang/helpers/genhelper.py
Spacecraft-Code/SPELL
lgpl-3.0
21,984
576
codeparrot/github-code
bd1116c49ea3c8cf739a1d3daca93fa8725581ad43f006a526edeb0819f01bb5
/******************************************************************************* * 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 redistrib...
Java
Engines/Utils/AsapMotionUnit/src/asap/motionunit/MUSequence.java
ArticulatedSocialAgentsPlatform/AsapRealizer
lgpl-3.0
4,212
156
codeparrot/github-code
455dea47d62dec4abb445331aed3d8fc86b364d716a4c41df78e0ebe8f809bc2
/* * This file is part of MyPet * * Copyright © 2011-2019 Keyle * MyPet is licensed under the GNU Lesser General Public License. * * MyPet 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...
Java
modules/Plugin/src/main/java/de/Keyle/MyPet/entity/types/MyRavager.java
xXKeyleXx/MyPet
lgpl-3.0
1,618
44
codeparrot/github-code
51e542a79e54ee8a118133909fe1eaa84425879b55aa974d4f3a5525af8100ce
/* * #%L * Alfresco Repository * %% * Copyright (C) 2005 - 2019 Alfresco Software Limited * %% * This file is part of the Alfresco software. * If the software was purchased under a paid Alfresco license, the terms of * the paid license agreement will prevail. Otherwise, the software is * provided under the fo...
Java
src/test/java/org/alfresco/repo/rendition2/TestSynchronousTransformClient.java
Alfresco/alfresco-repository
lgpl-3.0
4,611
114
codeparrot/github-code
3abe239f92c2b1fe89f48aa2073f2f603484724ac9d5426ec6ab2a3f54243e25
/* * Copyright (c) 2004-2020 The YAWL Foundation. All rights reserved. * The YAWL Foundation is a collaboration of individuals and * organisations who are committed to improving workflow technology. * * This file is part of YAWL. YAWL is free software: you can * redistribute it and/or modify it under the terms of...
Java
src/org/yawlfoundation/yawl/controlpanel/cli/CliUpdater.java
yawlfoundation/yawl
lgpl-3.0
3,161
102
codeparrot/github-code
2bdfd6f332c6c6bdc172925b5d030be2de318c28c7556bf54130d67b470de5cf
package com.rzg.zombieland.server.comunicacion.controlador; import com.google.gson.Gson; import com.rzg.zombieland.comunes.comunicacion.respuesta.RespuestaGenerica; import com.rzg.zombieland.comunes.misc.Log; import com.rzg.zombieland.comunes.misc.ZombielandException; import com.rzg.zombieland.server.sesion.ManejadorS...
Java
zombieland-servidor/src/com/rzg/zombieland/server/comunicacion/controlador/ControladorAbandonarPartida.java
nicolassatragno/zombieland
lgpl-3.0
1,155
38
codeparrot/github-code
8829a08b991f78fee15c24a32484a3ec883d12e8a5bbae52a032bfd1498b39e1
#ifndef CORELIB___NCBIDIAG_P__HPP #define CORELIB___NCBIDIAG_P__HPP /* $Id: ncbidiag_p.hpp 505891 2016-06-29 17:58:41Z gouriano $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Info...
C++
src/ncbi-blast-2.5.0+/c++/src/corelib/ncbidiag_p.hpp
kyungtaekLIM/PSI-BLASTexB
lgpl-3.0
10,757
396
codeparrot/github-code
c0cf5fd13580830b9a3ea69b11bc0118160ae09152e025d2be8c777682e46197
///////////////////////////////////////////////////////////////////////////// // Name: props.cpp // Purpose: Basic Property Classes // Author: Jaakko Salli // Modified by: // Created: May-14-2004 // RCS-ID: $Id: // Copyright: (c) Jaakko Salli // Licence: wxWindows license ////////////////...
C++
src/lib/wxPropGrid/Src/props.cpp
jmaye/libmv
lgpl-3.0
74,583
2,729
codeparrot/github-code
17b10365697b8aad4c1787838935f9d5da0cc60b036dceaef6a9a8a65247a68e
package au.com.acpfg.spectra.phosphorylation; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.HashSet; import java.util.Set; import org.knime.core.data.DataCell; import org.kni...
Java
Spectra Phosphorylation Scorer/src/au/com/acpfg/spectra/phosphorylation/PhosphorylationScorerNodeModel.java
acas-zz/bioknime
lgpl-3.0
27,051
660
codeparrot/github-code
43f17612abbb27ad06cb7bec707e00f4a8d7464e201edc6610ceb138d4110ce9
#!/bin/python # -*- coding: utf-8 -*- # Fenrir TTY screen reader # By Chrys, Storm Dragon, and contributers. from fenrirscreenreader.core import debug class command(): def __init__(self): pass def initialize(self, environment): self.env = environment def shutdown(self): ...
Python
src/fenrirscreenreader/commands/onSwitchApplicationProfile/inactive/bash.py
chrys87/fenrir
lgpl-3.0
853
32
codeparrot/github-code
3d22ec3a09a5669aa04f28f4d9ec3c875b2b37a0278a1eb710b0f4d71d722e97
/* * Error functions * * Copyright (C) 2009-2022, Joachim Metz <joachim.metz@gmail.com> * * Refer to AUTHORS for acknowledgements. * * 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...
C
pylnk/pylnk_error.c
libyal/liblnk
lgpl-3.0
9,506
423
codeparrot/github-code
1316a6c4573b4802203ee0c531af777cd9fc0347b57752766db65d3375d536a9
/* Copyright (c) 2010-2011 250bpm s.r.o. Copyright (c) 2010-2015 Other contributors as noted in the AUTHORS file This file is part of 0MQ. 0MQ 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 F...
C#
src/NetMQ/Core/Utils/Signaler.cs
buybackoff/netmq
lgpl-3.0
3,684
122
codeparrot/github-code
60d447a56d9940837447bc130459b2aa21f978d4b1fae3a561d228a4ae28e4bf
/* ========================================================================= * This file is part of NITRO * ========================================================================= * * (C) Copyright 2004 - 2010, MDA Information Systems LLC * * NITRO is free software; you can redistribute it and/or modify * it ...
Java
archive/modules/java/nitf.imageio/src/test/nitf/imageio/ReaderTest.java
mdaus/nitro
lgpl-3.0
1,666
50
codeparrot/github-code
4692196e91294616915fa07a9765ec20f519e959057fdd51a440d3ed7c9ce146
/* styleManager.cpp * * This file is part of the EPICS QT Framework, initially developed at the Australian Synchrotron. * * The EPICS QT Framework 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 Foundati...
C++
framework/widgets/QEWidget/styleManager.cpp
andrewrhyder/epicsqt
lgpl-3.0
8,775
273
codeparrot/github-code
6a64ad35ad78eeac8932f3620a0c4c3c6164d550e502fa7d3fa2e4c7cc72b436
// Copyright (C) 2014 by Thomas Moulard, AIST, CNRS. // // This file is part of the roboptim. // // roboptim 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 ...
C++
include/roboptim/retargeting/function/torque/choreonoid.hh
roboptim/roboptim-retargeting
lgpl-3.0
3,269
107
codeparrot/github-code
96ae7685e9d2bab3bab7c92362b5b71fc975883f9bb7c01610ce06d9360eb16a
package com.infox.common.mail; import java.io.IOException; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.Properties; import javax.activation.DataHandler; import javax.activation.DataSource; import javax.activation.FileDataSource; import javax.mail.Message; impo...
Java
src/main/java/com/infox/common/mail/MailUtil.java
yhqmcq/infox-cms
lgpl-3.0
9,708
306
codeparrot/github-code
23c649bfa3ef4f20cc42e60f10589d3d93d38ff8a40c0b68e8626bede5a3ce57
/* Copyright (C) 2013 Fairmat SRL (info@fairmat.com, http://www.fairmat.com/) * Author(s): Stefano Angeleri (stefano.angeleri@fairmat.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 Foun...
C#
MEFFIntegration/MEFFHistoricalQuote.cs
fairmat/MarketDataProviders
lgpl-3.0
12,525
356
codeparrot/github-code
5b3b4458304611ef36d3ea8c5ff192785e52786c92271757efe573877d67d6d6
#include<stdio.h> #include<string.h> int c[27][27]; void GetCTable() { int i,j; for (i=0;i<=26;i++) for (j=0;j<=i;j++) { if (!j || j==i) c[i][j]=1; else c[i][j]=c[i-1][j-1]+c[i-1][j]; } c[0][0]=0; } int main() { int i,len,res,flag; char num[10],c...
C
数学类/递推与组合数学/poj1496.c
EnigmaHuang/ACM-ICPC-Algorithm
lgpl-3.0
940
51
codeparrot/github-code
e722903681f9dd48e1a9a0d348574b6b7f31b9655bb7243cbb874b1ba89e0b96
/** * DataCleaner (community edition) * Copyright (C) 2014 Neopost - Customer Information Management * * This copyrighted material is made available to anyone wishing to use, modify, * copy, or redistribute it subject to the terms and conditions of the GNU * Lesser General Public License, as published by the Free...
Java
monitor/extensions/quick-analysis-wizard/src/main/java/org/datacleaner/monitor/jobwizard/quickanalysis/SelectPatternFinderColumnsPage.java
anandswarupv/DataCleaner
lgpl-3.0
2,929
94
codeparrot/github-code
31c8137694b29fd80c0214c9a0eb202fb4dabc2381e7628dbd59f0a806e1eff0
#ifndef RENDER_H #define RENDER_H #include <stdint.h> #include <SDL2/SDL_platform.h> #include <SDL2/SDL_opengl.h> #include "../core/vmath.h" #include "render_debug.h" struct portal_s; struct frustum_s; struct world_s; struct room_s; struct camera_s; struct entity_s; struct sprite_s; struct base_mesh_s; struct obb_s...
C
src/render/render.h
opentomb/OpenTomb
lgpl-3.0
3,984
137
codeparrot/github-code
1318c740ff79dd67f4b100f4a73eb0721e049ca531cc967411f1b4927059783c
# Copyright 2016 Ivan Yelizariev <https://it-projects.info/team/yelizariev> # Copyright 2016,2018 Dinar Gabbasov <https://it-projects.info/team/GabbasovDinar> # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html). from odoo import api, fields, models from odoo.addons.base.models.assetsbundle import Asse...
Python
theme_kit/models/theme.py
yelizariev/addons-yelizariev
lgpl-3.0
41,736
919
codeparrot/github-code
2ccb6374867583a99a9febc2ea02b1abebb1f75ff3acd9f9594a65d9e60172a7
package ipsis.wini; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.SidedProxy; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLInterModComms; import cpw.mods.fml.common.event.FMLPostInitializationEvent; import cpw.mods.fml.common.event.FMLPreInitializationEvent;...
Java
src/main/java/ipsis/wini/Wini.java
Ipsis/Wini
lgpl-3.0
2,045
71
codeparrot/github-code
61d99a4a69f7cf71f1afe81abd9cd571acaf36675ae6b70a99907d6fdc68496a
/* This file is part of: * Jalali, a Gregorian to Jalali and inverse date convertor * Copyright (C) 2001 Roozbeh Pournader <roozbeh@sharif.edu> * Copyright (C) 2001 Mohammad Toossi <mohammad@bamdad.org> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser ...
C
jalali.c
5j9/jalali.c
lgpl-3.0
4,067
180
codeparrot/github-code
0ea2f6f6fa5fbed7e7132132b0e541a49ca5b82e3818529e75f04e64cc5d1202
/** * */ package org.wltea.analyzer.help; /** * 字符集识别辅助工具类 * * @author 林良益 */ public class CharacterHelper { /** * 是否是空白字符 * * @param input 字符 * @return 如果字符为空白字符 返回 true */ public static boolean isSpaceLetter(char input) { return input == 8 || input =...
Java
src/main/java/org/wltea/analyzer/help/CharacterHelper.java
lostsquirrel/ik-analyzer
lgpl-3.0
2,279
78
codeparrot/github-code
cb8d26b160057f7d8fa49d05d93237a84705dded1a666574d66babdf13a8c2b5
#ifndef __GEGL_BUFFER_INDEX_H #define __GEGL_BUFFER_INDEX_H /* File format building blocks GeglBuffer on disk representation ================================= */ /* Increase this number when the structures change.*/ #define GEGL_FILE_SPEC_REV 0 #define GEGL_MAGIC {'G','E','G','L'} #define GEGL_FLAG...
C
gegl/buffer/gegl-buffer-index.h
GNOME/gegl
lgpl-3.0
5,412
148
codeparrot/github-code
73fbc01319a5698423a05b011ed61c00412c551864df1e5685eee4a87ba7342f
package me.ichun.mods.tabula.client.gui.window.popup; import me.ichun.mods.ichunutil.client.gui.bns.window.Fragment; import me.ichun.mods.ichunutil.client.gui.bns.window.Window; import me.ichun.mods.ichunutil.client.gui.bns.window.WindowEditList; import me.ichun.mods.ichunutil.client.gui.bns.window.constraint.Constrai...
Java
src/main/java/me/ichun/mods/tabula/client/gui/window/popup/WindowEditProject.java
iChun/Tabula
lgpl-3.0
9,701
179
codeparrot/github-code