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
066f7a6304bf478cbfcb8e420f45690580fdcb374314bdf160f7af1fc761dade
/** * Copyright (C) 2001-2017 by RapidMiner and the contributors * * Complete list of developers available at our web site: * * http://rapidminer.com * * This program is free software: you can redistribute it and/or modify it under the terms of the * GNU Affero General Public License as published by ...
Java
src/main/java/com/rapidminer/repository/gui/actions/PasteEntryRepositoryAction.java
boob-sbcm/3838438
agpl-3.0
1,862
57
codeparrot/github-code
df13def29e57fe5fea0ecabbf47339b833a6cb3acec9906823073c4d19317ada
#ifndef __EACSMB_MAP_H__ #define __EACSMB_MAP_H__ #define MAP_SIZE (255 * 8) // terrain textures must always be a power of two #define TERR_TEX_SZ 256 // terrain blocks must always be a power of two minus one #define TERR_BLOCK_SZ (TERR_TEX_SZ - 1) #define MAP_TEX_SZ (TERR_TEX_SZ) #define MAP_BLOCK_SZ (TERR_TEX_SZ ...
C
src/map.h
yzziizzy/EACSMB
agpl-3.0
7,480
350
codeparrot/github-code
a5993ea877b3e70a38181db8148bd6fa502f2497fc08c1f365af35684125b1f8
#ifndef MILKCREATURETASK_H_ #define MILKCREATURETASK_H_ #include "server/zone/managers/resource/ResourceManager.h" #include "server/zone/managers/combat/CombatManager.h" #include "server/zone/managers/creature/CreatureManager.h" #include "server/zone/objects/creature/CreatureObject.h" #include "engine/engine.h" clas...
C
src/server/zone/objects/creature/events/MilkCreatureTask.h
Chilastra-Reborn/Chilastra-source-code
agpl-3.0
4,335
142
codeparrot/github-code
b247b2b4eb67c96e0106e958ed94089b65ace7ad3da6364904abb1f5b89d207f
/* * EditPresentationSourceEvent.java * * Copyright (C) 2020 by RStudio, PBC * * Unless you have received this program directly from RStudio pursuant * to the terms of a commercial license agreement with RStudio, then * this program is licensed to you under the terms of version 3 of the * GNU Affero General Pub...
Java
src/gwt/src/org/rstudio/studio/client/workbench/views/source/events/EditPresentationSourceEvent.java
JanMarvin/rstudio
agpl-3.0
1,714
63
codeparrot/github-code
df8b492e08c4e5f6d7677e0f1eba3385a8df8e18f18ae5c41c0840eb2d4ece82
/* * ToroDB * Copyright © 2014 8Kdata Technology (www.8kdata.com) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later...
Java
engine/mongodb/repl/src/main/java/com/torodb/mongodb/repl/topology/TopologyGuiceModule.java
jerolba/torodb
agpl-3.0
2,692
90
codeparrot/github-code
2d11bbad23bae2962b0b25424a560ad48dd72c26bb14a9a89f02d8fd01847936
/* Theme Name: Minisch Theme URI: https://github.com/Schoewilliam/Minisch Author: Schœwilliam Author URI: http://schoewilliam.legtux.org Description: A clear and sober Theme for Wordpress. Version: 2.4.2 License: Creative Commons 3.0 - NC License URI: http://creativecommons.org/licenses/nc/3.0/deed.fr; Tags: light, whi...
CSS
template/minisch/style/main_minisch.css
blankoworld/makefly
agpl-3.0
29,941
1,162
codeparrot/github-code
cb0aed059aa0b8948cdeb7ba4fbebb807d7af1bfcf707344b23c1cc03741db62
#include "mupdf/fitz.h" /* 4bit greyscale Thunderscan decoding */ typedef struct { fz_stream *chain; int lastpixel; int run; int pixel; int len; unsigned char *buffer; } fz_thunder; static int next_thunder(fz_context *ctx, fz_stream *stm, size_t max) { fz_thunder *state = stm->state; unsigned char *p = stat...
C
source/fitz/filter-thunder.c
sebras/mupdf
agpl-3.0
2,882
142
codeparrot/github-code
869868ce64a8c414c708d3a04e71ac2941be662b23290cf1a440b6a5a61e76e4
/* * libjingle * Copyright 2004 Google Inc. * * 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 conditions and the fo...
C
lib/include/webrtc/talk/media/base/mediaengine.h
xear-io/xear
agpl-3.0
10,641
313
codeparrot/github-code
a3488aef49df64196b70394c598ace1c5d6a1ba76e1eb61ef19c93662ba3d248
<?php /* ------------------------------------------------------------------------ FusionInventory Copyright (C) 2010-2016 by the FusionInventory Development Team. http://www.fusioninventory.org/ http://forge.fusioninventory.org/ ------------------------------------------------------------------------...
PHP
inc/taskjoblog.class.php
orthagh/fusioninventory-for-glpi
agpl-3.0
41,270
1,156
codeparrot/github-code
156eb95e5e73b4c64e7694db5edb58997295db7353db431350371835c2644b98
package realtime import ( "context" "fmt" "net/http" "strings" "time" "github.com/cozy/cozy-stack/model/instance" "github.com/cozy/cozy-stack/model/permission" "github.com/cozy/cozy-stack/model/vfs" "github.com/cozy/cozy-stack/pkg/consts" "github.com/cozy/cozy-stack/pkg/couchdb" "github.com/cozy/cozy-stack...
GO
web/realtime/realtime.go
nono/cozy-stack
agpl-3.0
8,794
346
codeparrot/github-code
e0037d51d592c72a8a6223d0b49426eb194b56f0a63a678534070fb31f8021df
/* * Copyright (C) Tildeslash Ltd. All rights reserved. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License version 3. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even th...
C
src/protocols/mysql.c
ezotrank/monit-src
agpl-3.0
4,907
149
codeparrot/github-code
41d8f037c066cbc9506db481b90f7ca2f9d81d65955d44d11cd1f7de6e3da73d
<?php namespace Melisa\core; class Messages { public function __construct() { log_message('debug', __CLASS__ . ' Class Initialized'); } public function add(&$input) { $message = array_default($input, [ 'type'=>'error', 'line'=>FA...
PHP
third_party/melisa-kernel/release/libraries/Melisa/core/Messages.php
melisamx/melisa-kernel
agpl-3.0
2,453
109
codeparrot/github-code
96258007d00d9e2ee798952de3797b5137f685340058538074bb0695da4da704
-- MySQL dump 10.13 Distrib 5.7.25-ndb-7.6.9, for linux-glibc2.12 (x86_64) -- -- Host: localhost Database: hopsworks -- ------------------------------------------------------ -- Server version 5.7.25-ndb-7.6.9-cluster-gpl /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER...
SQL
files/default/sql/ddl/1.4.0__initial_tables.sql
hopshadoop/hopsworks-chef
agpl-3.0
87,459
1,945
codeparrot/github-code
391e0b332696c86adf4ab47439601ac1d4c8b31e0a31621b115cce2ff60076d3
package org.kuali.kra.negotiations.lookup; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import org.apache.commons.lang.StringUtils; import org.kuali.coeus.common.framework.custom.attr.CustomAttribute; import ...
Java
coeus-impl/src/main/java/org/kuali/kra/negotiations/lookup/IUNegotiationLookupableHelperServiceImpl.java
ColostateResearchServices/kc
agpl-3.0
19,905
392
codeparrot/github-code
151f2f9e7cc91646b6c5847f743e36554b6fdfac44b9ea4f359a8c9be8c5b658
/* * This file is part of Kotaka, a mud library for DGD * http://github.com/shentino/kotaka * * Copyright (C) 2018 Raymond Jennings * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundati...
C
mud/home/Thing/sys/propertyd.c
shentino/kotaka
agpl-3.0
4,221
151
codeparrot/github-code
9945eaf228f81cb777ce9319298a92ea8223f8ca7d62f3798450924702c6f098
DELETE FROM `weenie` WHERE `class_Id` = 44051; INSERT INTO `weenie` (`class_Id`, `class_Name`, `type`, `last_Modified`) VALUES (44051, 'ace44051-tamedreaper', 10, '2019-02-10 00:00:00') /* Creature */; INSERT INTO `weenie_properties_int` (`object_Id`, `type`, `value`) VALUES (44051, 1, 16) /* ItemType - Cre...
SQL
Database/3-Core/9 WeenieDefaults/SQL/Creature/Reedshark/44051 Tamed Reaper.sql
LtRipley36706/ACE-World
agpl-3.0
26,316
290
codeparrot/github-code
581f7eec5d5ef14596986bb3b68f10a402fa255922369a4dd0f99760b9e7a7bf
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <link rel="SHORTCUT ICON" href="../../../../../img/clover.ico" /> <link rel="stylesheet" href="../../../../../aui/css/aui.min.css" media...
HTML
report/html/com/rapidminer/tools/math/som/RitterAdaptation.html
cm-is-dog/rapidminer-studio-core
agpl-3.0
72,627
1,138
codeparrot/github-code
75c252dcfa337b9149f0e291189bedb34eefc8f19e0c02ab34c45d3e98e67c21
import React from "react"; import basicComponent from "core/basicComponent"; import Radium from "radium"; import ReactAplayer from "react-aplayer"; import mergeAdvanced from "object-merge-advanced"; class audioPlayer extends basicComponent { constructor(props) { super(props); if (!this.isRestored) { thi...
JavaScript
src/JS/components/audioPlayer.js
project-jste/framework
agpl-3.0
1,207
51
codeparrot/github-code
fd7b6b67a583e061792d0e8cb9fcc523736fc83bb7984250d7d41160b4efb7d4
from . import BaseWordChoice class WordPreference(BaseWordChoice): def pick_w(self,m,voc,mem,context=[]): if m in voc.get_known_meanings(): if m in list(mem['prefered words'].keys()): w = mem['prefered words'][m] if w not in voc.get_known_words(m=m): w = voc.get_random_known_w(m=m) else: w =...
Python
naminggamesal/ngstrat/word_choice/word_preference.py
flowersteam/naminggamesal
agpl-3.0
997
35
codeparrot/github-code
c33f4ce57d05624afa65a0070488c7d37e78c74382a9bc9cbded086fb35415a4
/** * Copyright (C) 2001-2019 by RapidMiner and the contributors * * Complete list of developers available at our web site: * * http://rapidminer.com * * This program is free software: you can redistribute it and/or modify it under the terms of the * GNU Affero General Public License as published by ...
Java
src/main/java/com/rapidminer/gui/viewer/ConfusionMatrixViewer.java
aborg0/rapidminer-studio
agpl-3.0
7,016
220
codeparrot/github-code
fd10cf6c32957daed9c8b19c52e71069bf483545b8e7e19240ffda6d94117d6b
use std::{error::Error as StdError, io::Write, str::FromStr}; use diesel::{backend::Backend, deserialize, serialize, sql_types::Text}; use url::Url as OrigUrl; #[derive(AsExpression, Clone, Debug, FromSqlRow)] #[sql_type = "Text"] pub struct Url(pub OrigUrl); impl<DB> serialize::ToSql<Text, DB> for Url where DB:...
Rust
aardwolf-models/src/sql_types/url.rs
BanjoFox/fedibook
agpl-3.0
1,144
45
codeparrot/github-code
4ba13b3bf84d72bb8dad0e2f57df8855ff7ff3b2e5e8cce3e6bfd7ebe8cc1fb0
/* * Copyright (c) 2010, JANET(UK) * 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 condit...
C
Src/OSF/cyrus-sasl/plugins/gs2.c
papyrussolution/OpenPapyrus
agpl-3.0
56,848
1,853
codeparrot/github-code
c7a0568f8b6b572cce0dbb036462b65b687b7ee6224383bd6fc2cef712e6c495
/* * Copyright 2015 Westfälische Hochschule * * This file is part of Poodle. * * Poodle is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any...
JavaScript
src/main/resources/static/js/instructor/exercise.js
whs-poodle/poodle
agpl-3.0
7,645
278
codeparrot/github-code
8a65a50fa70c3e86912a4a629e3a2b54e90f3842c70df37ddd9d8f75def954e9
/*############################################################################## Copyright (C) 2011 HPCC Systems. All rights reserved. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foun...
C++
esp/services/WsDeploy/WsDeployService.hpp
RussWhitehead/HPCC-Platform
agpl-3.0
35,325
790
codeparrot/github-code
1c9122c32e35c3861694008f41e3b71c5ec880bddf52c99a131a5ca77a3fd353
<?php /** * StatusNet, the distributed open-source microblogging tool * * User profile page * * PHP version 5 * * LICENCE: This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either ve...
PHP
actions/showstream.php
fuzzy31u/mt-clone-app
agpl-3.0
15,013
366
codeparrot/github-code
e4f8f197c39336f48a6ecb598deec6469423a0695da1b842c4fb55fbc4daaeb0
/*************************************************************************** constraintstudentssetmingapsbetweenbuildingchangesform.h - description ------------------- begin : Feb 10, 2005 copyright : (C) 2005 by Lalescu Liviu ...
C
src/interface/constraintstudentssetmingapsbetweenbuildingchangesform.h
karandit/fet
agpl-3.0
2,005
46
codeparrot/github-code
bcbe18830645c5eb644c37382b2ab9d15750cfee5504b3dd9b8d3b9cddecd73a
/** * Copyright by Michael Weiss, weiss.michael@gmx.ch * <p> * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS B...
Java
src/main/java/org/spectrumauctions/sats/core/util/random/UniformJavaUtilRandomWrapper.java
spectrumauctions/sats-core
agpl-3.0
2,952
109
codeparrot/github-code
38ce7fe71e6d5da9193d9cdde33226e585f5b89d796485de9d4ae739b1543203
/* ************************************************************************ ******************* CANADIAN ASTRONOMY DATA CENTRE ******************* ************** CENTRE CANADIEN DE DONNÉES ASTRONOMIQUES ************** * * (c) 2009. (c) 2009. * Government of Canada Gouver...
Java
cadc-adql/src/test/java/ca/nrc/cadc/tap/parser/RegionFinderTest.java
opencadc/tap
agpl-3.0
7,899
215
codeparrot/github-code
63ae36834026c52c38f3b4c509059d5e00ee4df1adcc60772fe8d51d153a328b
# # In development mode, rails is very aggressive about unloading and reloading # classes as needed. Unfortunately, for crabgrass page types, rails always gets # it wrong. To get around this, we create static proxy representation of the # classes of each page type and load the actually class only when we have to. # mo...
Ruby
lib/crabgrass/page/class_proxy.rb
elijh/crabgrass-core
agpl-3.0
2,690
112
codeparrot/github-code
e82b1e3ac36522b00e42ddaa94d4205b2eac47bb06e28b40b713fb45c3aca312
<?php /** * Custom Achievement Rules * * @package BadgeOS LearnDash * @subpackage Achievements * @author Credly, LLC * @license http://www.gnu.org/licenses/agpl.txt GNU AGPL v3.0 * @link https://credly.com */ /** * Load up our LearnDash triggers so we can add actions to them * * @since 1.0.0 */ function ba...
PHP
includes/rules-engine.php
bethadele/BadgeOS-LearnDash-Add-on
agpl-3.0
7,065
232
codeparrot/github-code
62d4d12658c7ca7a171398e099979204ebf04eeb2702643be1f2d49468975390
<?php /** * @copyright 2017-2020 City of Bloomington, Indiana * @license http://www.gnu.org/licenses/agpl.txt GNU/AGPL, see LICENSE */ declare (strict_types=1); namespace Application\Models\Legislation; use Web\ActiveRecord; use Web\Database; class Status extends ActiveRecord { protected $tablename = 'legislat...
PHP
src/Application/Models/Legislation/Status.php
City-of-Bloomington/civic-legislation
agpl-3.0
2,098
74
codeparrot/github-code
f43c827b0367e4694d30096fe2ef49ccb3aefd8f3026367c2b23928b60a5b528
/********************************************************************************* * Ephesoft is a Intelligent Document Capture and Mailroom Automation program * developed by Ephesoft, Inc. Copyright (C) 2015 Ephesoft Inc. * * This program is free software; you can redistribute it and/or modify it under * the term...
Java
Ephesoft_Community_Release_4.0.2.0/source/gxt/gxt-review-validate/src/main/java/com/ephesoft/gxt/rv/client/event/DocumentSplitStartEvent.java
ungerik/ephesoft
agpl-3.0
3,107
87
codeparrot/github-code
ae913ca4e88b8748fcb9248f4ebf232f51f722a7f694f55ace43cf0d8966865a
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8"> <TITLE></TITLE> <META NAME="GENERATOR" CONTENT="OpenOffice.org 3.2 (Unix)"> <STYLE TYPE="text/css"> <!-- @page { margin: 2cm } P { margin-bottom: 0.21cm } P.wester...
HTML
assets/help.html
kleinkm/Referey
agpl-3.0
11,686
208
codeparrot/github-code
655a4ca6df4c688e2229a7e12b672a5601e854479ef44f2977d75ffd5f53d96f
package com.simplyian.superplots; import java.util.logging.Level; import net.milkbowl.vault.economy.Economy; import org.bukkit.plugin.RegisteredServiceProvider; public class EconHook { private final SuperPlotsPlugin main; private Economy economy = null; public EconHook(SuperPlotsPlugin main) { ...
Java
src/main/java/com/simplyian/superplots/EconHook.java
simplyianm/SuperPlots
agpl-3.0
1,693
71
codeparrot/github-code
63b43caeebceb6c4ed87b9b857af26eb22ef28c9cf8f6594d69f6a56f8fe0082
package org.kareha.hareka.server.game.item; import org.kareha.hareka.field.TileType; import org.kareha.hareka.game.ItemType; import org.kareha.hareka.server.game.entity.CharacterEntity; import org.kareha.hareka.server.game.entity.FieldEntity; import org.kareha.hareka.server.game.entity.ItemEntity; import org.kareha.ha...
Java
server/src/main/java/org/kareha/hareka/server/game/item/NoticeItem.java
tyatsumi/hareka
agpl-3.0
1,433
77
codeparrot/github-code
756fff76a8347be78503c771a30533156d02e07ad32eeed939998b78abbb862c
<?php if (! defined ( 'sugarEntry' ) || ! sugarEntry) die ( 'Not A Valid Entry Point' ) ; /********************************************************************************* * SugarCRM is a customer relationship management program developed by * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. * * This pro...
PHP
modules/ModuleBuilder/views/view.layoutview.php
yinhm/sugarcrm
agpl-3.0
11,446
223
codeparrot/github-code
43b31be1a32b8842553e1e7533a4a5a7ba39fe639cd523246170d25070b5d6ec
/* ListJS 1.1.1 (www.listjs.com) License (MIT) Copyright (c) 2012 Jonny Strömberg <jonny.stromberg@gmail.com> http://jonnystromberg.com */ ;(function(){ /** * Require the given path. * * @param {String} path * @return {Object} exports * @api public */ function require(path, parent, orig) { var resolved = requ...
JavaScript
apps/front/static/js/list.js
studentenportal/web
agpl-3.0
40,146
1,465
codeparrot/github-code
d30c6d049327158f673902775c1ab39eabea0de3ea52a80717b2a620439cba33
<!-- .. title: newfangledjstoolschains: Part I .. slug: newfangledjstoolschains .. date: 2015-04-05 08:20:38 UTC .. tags: .. category: .. link: .. description: .. type: text .. LICENSE: CC-BY-SA-4.0 --> <p>I stumbled upon semantic-ui whilst surfing, and immediately became intrigued. It made sense, and it looked gr...
HTML
posts/newfangledjstoolschains.html
decause/decauseblog
agpl-3.0
3,623
90
codeparrot/github-code
fee7ac335c81f55ba533458f777e5cf5ef20f00d9e8cc9de747cd45d01520998
<?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" lang="en" xml:lang="en"> <head> <title></title> <!-- 2018-04-12 Thu 18:24 --> <meta http-equiv="Content-Type" content="text/htm...
HTML
website/EN/mesh.html
bashrc/freedombone
agpl-3.0
7,915
230
codeparrot/github-code
7c872ea12d2f6af6e43f1edd0ebcd24e91f6274db750196060246311aa9c0a4c
app.controller('LeadStatusEditCtrl', ['$scope', 'Auth', 'Leadstatus', function ($scope, Auth, Leadstatus) { $("ul.page-sidebar-menu li").removeClass("active"); $("#id_LeadStatus").addClass("active"); $scope.isSignedIn = false; $scope.immediateFailed = false; $scope.nbLoads = 0; $scope.isLoading ...
JavaScript
static/app/scripts/controllers/admin/LeadStatusEditController.js
ioGrow/iogrowCRM
agpl-3.0
3,220
106
codeparrot/github-code
aff427402d5c5cf15855bbcecc5e0c64abc5f46baf61aa88a527358119fd17c9
import { Component, Inject } from '@angular/core'; import { FormControl, FormGroup, Validators } from '@angular/forms'; import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; import { BehaviorSubject } from 'rxjs'; import { Gap, PlaybackRange } from '../client'; import { YamcsService } from '../core/...
TypeScript
yamcs-web/src/main/webapp/src/app/gaps/RequestPlaybackDialog.ts
m-sc/yamcs
agpl-3.0
2,209
78
codeparrot/github-code
d75987e9c0060c300c43e8c0e898f028138bfdb3ff0c0f47e7f70832ff0bc4ff
package de.hub.cses.ces.jsf.bean.game.play; /* * #%L * CES-Game * %% * Copyright (C) 2015 Humboldt-Universität zu Berlin, * Department of Computer Science, * Research Group "Computer Science Education / Computer Science and Society" * Sebastian Gross <sebastian.gross@hu-berlin.de> * Sven Strickroth <sven.stric...
Java
src/main/java/de/hub/cses/ces/jsf/bean/game/play/ProductionPanel.java
sozialemedienprojekt/ces-game
agpl-3.0
3,631
114
codeparrot/github-code
8d7c718b65aafa5c263497528c75dc8725c1aa9a9faf5e0c89544e73e605ed23
import React, { createRef, useState } from 'react'; import { css } from '@emotion/css'; import { Button, ButtonGroup, useStyles2 } from '@grafana/ui'; import { GrafanaTheme2 } from '@grafana/data'; import { FocusScope } from '@react-aria/focus'; import { useDialog } from '@react-aria/dialog'; import { useOverlay } from...
TypeScript
public/app/features/dimensions/editors/ResourcePickerPopover.tsx
grafana/grafana
agpl-3.0
4,688
150
codeparrot/github-code
d17759c77417d3483b63c6d1e134f928a223b01af237e1a71877fea009c15d7d
import React from 'react'; import Analyzer, { SELECTED_PLAYER } from 'parser/core/Analyzer'; import Events from 'parser/core/Events'; import calculateEffectiveDamage from 'parser/core/calculateEffectiveDamage'; import SPELLS from 'common/SPELLS'; import { formatThousands } from 'common/format'; import STATISTIC_CATEG...
JavaScript
analysis/warlockdemonology/src/modules/talents/SacrificedSouls.js
yajinni/WoWAnalyzer
agpl-3.0
4,211
106
codeparrot/github-code
4eba63c4fab63c0a4cd3af541357fb38785e7ecbf92a04a6822e6c93f9761edd
package astutil import ( "go/ast" "github.com/juju/errors" ) // SameIdent returns true if a and b are the same. func SameIdent(a, b *ast.Ident) bool { // TODO(waigani) Don't rely on name, it could change and still be the same // ident. if a.String() != b.String() { return false } // TODO(waigani) this happ...
GO
go/dev/tenet/astutil/ident.go
lingo-reviews/tenets
agpl-3.0
4,924
224
codeparrot/github-code
5068326f9cd401634935dd2472dc3bce994ff45b08a56ea5c634120cf8088b17
<?php /** * Model for ParcellaireIrrigueDeclaration * */ class ParcellaireIrrigueDeclaration extends BaseParcellaireIrrigueDeclaration { public function getParcellesByCommune() { $parcelles = array(); foreach($this->getParcelles() as $parcelle) { if(!isset($parcelles[$parcelle->com...
PHP
project/plugins/acVinParcellaireIrriguePlugin/lib/model/ParcellaireIrrigue/ParcellaireIrrigueDeclaration.class.php
24eme/AVA
agpl-3.0
832
34
codeparrot/github-code
5e336cb077b4a29224ee840e4232bc47313c492aa4660e0c94d81e87da26f414
// SIMPLETZ.H // © 2016 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html /* Copyright (C) 1997-2013, International Business Machines Corporation and others. All Rights Reserved. * Modification History: * Date Name Description * 12/05/96 clhu...
C++
Src/OSF/icu/icu4c/source/i18n/simpletz.cpp
papyrussolution/OpenPapyrus
agpl-3.0
40,477
1,167
codeparrot/github-code
29bcb97872ee97ef3b00c5970b9e2a49b662d24f5ee76f4f87ef5ab0ccb4ccc0
<?php /** * uiSelectionState maintains a selection of items between requests. * * @package UiParts * @author Fabrice Denis */ class uiSelectionState { protected static $user = null; protected $items = array(); public function __construct() { $this->items = array(); } pu...
PHP
lib/uiparts/uiSelectionState.php
kc5nra/RevTK
agpl-3.0
3,445
175
codeparrot/github-code
37b809a4c50d322013bda3fcebd12617bf18e56260ca2e8efb7e078265acab88
# -*- coding: utf-8 -*- # Copyright (C) 2010 Eduardo Robles Elvira <edulix AT gmail DOT com> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at yo...
Python
user/models.py
miaerbus/timebank
agpl-3.0
4,966
144
codeparrot/github-code
aa005abc62c11761bb3042d584fcef91f2e60d8644a1bf4f1111c016c1fbde5f
#include <stdio.h> #define size 1001 inline int in() { int x = 0, ch; do ch = getchar(); while (ch < '0' || ch > '9'); while (ch >= '0' && ch <= '9') x = x * 10 + ch - '0', ch = getchar(); return x; } int tot, arrays[size][size], len[size][2], arr[size], arr_size; int main(int argc, const char *argv[]) { freop...
C
none-oj-codes/array.c
ice1000/OI-codes
agpl-3.0
1,230
53
codeparrot/github-code
0c685f3ec3256953023e036f4585d16278bf1258091b2ef53134f35e91781a03
/* * minilex.c * * High efficiency lexical state parser * * Copyright (C)2011-2020 Andy Green <andy@warmcat.com> * * Licensed under MIT * * Usage: gcc minilex.c -o minilex && ./minilex > lextable.h * * Run it twice to test parsing on the generated table on stderr * * Whoo this got a bit complicated by lws-...
C
libs-ext/libwebsockets/lib/roles/http/minilex.c
FriendSoftwareLabs/friendup
agpl-3.0
9,911
489
codeparrot/github-code
9374f80e49b7d036552bb1f9ec394ccfb3f5b046c12d0e205cb1e6dd8220f054
<?php /*-----8<-------------------------------------------------------------------- * * BEdita - a semantic content management framework * * Copyright 2008 ChannelWeb Srl, Chialab Srl * * This file is part of BEdita: you can redistribute it and/or modify * it under the terms of the Affero GNU General Public L...
PHP
bedita-app/models/behaviors/delete_object.php
danfreak/BEdita
agpl-3.0
5,395
190
codeparrot/github-code
db3bce7c4ac100ee4b69a54603643d5ed2a88ec228c12565c18cce658079708d
/* * This program was produced for the U.S. Agency for International Development. It was prepared by the USAID | DELIVER PROJECT, Task Order 4. It is part of a project which utilizes code originally licensed under the terms of the Mozilla Public License (MPL) v2 and therefore is licensed under MPL v2 or later. * ...
Java
modules/report/src/main/java/org/openlmis/report/model/params/StockImbalanceReportParam.java
vimsvarcode/elmis
agpl-3.0
2,440
58
codeparrot/github-code
072fc8b694ed0d3719f8b28bf27b11f72b5a7869482fc6470b7752a60385b905
/** * Copyright (c) 2002-2011 "Neo Technology," * Network Engine for Objects in Lund AB [http://neotechnology.com] * * This file is part of Neo4j. * * Neo4j is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software F...
Java
lucene-index/src/test/java/org/neo4j/index/impl/lucene/TestIndexDeletion.java
dmontag/graphdb-traversal-context
agpl-3.0
8,144
280
codeparrot/github-code
d2fa6e150b965fe71c982d1ddb0839b3c624d687f1c230908006840a09a7b6f1
//-----------------------------------------------------------------------bl- //-------------------------------------------------------------------------- // // Antioch - A Gas Dynamics Thermochemistry Library // // Copyright (C) 2013 The PECOS Development Team // // This library is free software; you can redistribute i...
C++
test/sutherland_viscosity_vec_unit.C
ddemidov/antioch
lgpl-2.1
5,734
206
codeparrot/github-code
5bd22e0ef13587a9968d7720b4b5d28ef6bf2d3626b38938a239af8174e2e45a
#pragma once #include "crypto.hh" #include "store-api.hh" #include "pool.hh" #include <atomic> namespace nix { struct NarInfo; struct BinaryCacheStoreConfig : virtual StoreConfig { using StoreConfig::StoreConfig; const Setting<std::string> compression{(StoreConfig*) this, "xz", "compression", "NAR compre...
C++
src/libstore/binary-cache-store.hh
rycee/nix
lgpl-2.1
4,105
122
codeparrot/github-code
bce79612063928d226001869148c5324d5b59e2c0605a8b8c596dd5e1332eb24
/* -*- c++ -*- * * SOCLIB_LGPL_HEADER_BEGIN * * This file is part of SoCLib, GNU LGPLv2.1. * * SoCLib 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; version 2.1 of the License. * * SoCLib ...
C
soclib/module/internal_component/vci_timer/caba/source/include/vci_timer.h
walafc0/soclib
lgpl-2.1
2,655
104
codeparrot/github-code
e46c41362359691a6a37184849e04247b66fb99978caa5cf2cf3f87d930e5b8a
/* * This library is part of OpenCms - * the Open Source Content Management System * * Copyright (C) Alkacon Software (http://www.alkacon.com) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free...
Java
src/org/opencms/acacia/shared/CmsEntity.java
alkacon/opencms-core
lgpl-2.1
27,138
773
codeparrot/github-code
79f23867c75ee9ba53f496f119215da22e8094d4f907e292aebb2b10a963ce6a
/**************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the QtDBus module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ **...
C++
src/dbus/qdbusconnectioninterface.cpp
sunblithe/qt-everywhere-opensource-src-4.7.1
lgpl-2.1
15,733
420
codeparrot/github-code
7fb64e6f8e0b16e0abeabf3482de9df199f487db71c9dc2b4741034171594216
/////////////////////////////////////////////////6//////////////////////// // $Id: sse.cc 11984 2013-12-01 22:21:55Z sshwarts $ ///////////////////////////////////////////////////////////////////////// // // Copyright (c) 2003-2013 Stanislav Shwartsman // Written by Stanislav Shwartsman [sshwarts at sourcefo...
C++
cpu/sse.cc
matildah/bochsdoor
lgpl-2.1
23,130
741
codeparrot/github-code
51e3b7a09a033f0981005944f89c99ed5f020bb0e9e75c6e58d2b4a1eb635542
local S = biome_lib.intllib -- This file supplies a few additional plants and some related crafts -- for the plantlife modpack. Last revision: 2013-04-24 flowers_plus = {} local SPAWN_DELAY = 1000 local SPAWN_CHANCE = 200 local flowers_seed_diff = 329 local lilies_max_count = 320 local lilies_rarity = 33 local sea...
Lua
mods/flowers_plus/init.lua
openwayne/chaos_theory
lgpl-2.1
14,085
481
codeparrot/github-code
5acd01f5b14947d4b0c0b92ae3093737e9445f1a3679c9fffeed3def6a3a7ec3
# -*- coding: utf-8 -*- from __future__ import absolute_import from math import isinf, isnan from warnings import warn NOT_MASS_BALANCED_TERMS = {"SBO:0000627", # EXCHANGE "SBO:0000628", # DEMAND "SBO:0000629", # BIOMASS "SBO:0000631...
Python
cobra/manipulation/validate.py
zakandrewking/cobrapy
lgpl-2.1
2,116
58
codeparrot/github-code
485dbcd947322b7f9f7f5999a61e15ee291155857e3675ad8d6d41bffa2230e4
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="1.1" language="nl" sourcelanguage="en"> <context> <name>AddonInstaller</name> <message> <location filename="addonmanager_workers.py" line="535"/> <source>Installed location</source> <translation>Geïnstalleerde locatie</transla...
TypeScript
src/Mod/AddonManager/Resources/translations/AddonManager_nl.ts
sanguinariojoe/FreeCAD
lgpl-2.1
19,635
428
codeparrot/github-code
bd9ac9bd2ffd184c48ff00ee452445754ca78de6ba3876b9fdedf1acfd2c4a59
import math, os from bup import _helpers, helpers from bup.helpers import sc_page_size _fmincore = getattr(helpers, 'fmincore', None) BLOB_MAX = 8192*4 # 8192 is the "typical" blob size for bupsplit BLOB_READ_SIZE = 1024*1024 MAX_PER_TREE = 256 progress_callback = None fanout = 16 GIT_MODE_FILE = 0100644 GIT_MODE...
Python
lib/bup/hashsplit.py
jbaber/bup
lgpl-2.1
7,757
249
codeparrot/github-code
4090e4e1838efdb6fa5013b4d78ce44bf5cb9e6f4e78d06a8700c9957ddc6de4
package com.kitsu.medievalcraft.item.craftingtools.filters; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import com.kitsu.medievalcraft.Main; import com.kitsu.medievalcraft.util.CustomTab; import cpw.mods.fml.common.registry.GameRegistry; public class FineFilter extends Item { private Strin...
Java
old_src/1.10.2/1-7-10Resources/src/main/java/com/kitsu/medievalcraft/item/craftingtools/filters/FineFilter.java
kitsushadow/ForgeCraft
lgpl-2.1
745
34
codeparrot/github-code
b81ffed42b7b9a478e74931ecb884bc77910473aeb359c0d564bd718c0ecd6d6
package com.stijnhero.forgery.common.block; import java.util.List; import com.stijnhero.forgery.Forgery; import net.minecraft.block.Block; import net.minecraft.block.BlockFence; import net.minecraft.block.material.Material; import net.minecraft.block.state.IBlockState; import net.minecraft.entity.Entity; import net....
Java
src/main/java/com/stijnhero/forgery/common/block/BlockChimney.java
stijnhero/Forgery
lgpl-2.1
1,674
55
codeparrot/github-code
565bc905b05f70cbd1499d2ee65220dad839deeceab5cec39cd0f5db92f7481e
/* Copyright 2013 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 versio...
C
modules/filters/filter/regex-filter.h
msteinert/log4g
lgpl-2.1
2,252
82
codeparrot/github-code
337e6b79636f6b6397f7dab82cc3c4a828a1f1d2ea40be5f5a93dcd7f7ac6495
<?php /* * This file is part of EC-CUBE * * Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved. * https://www.ec-cube.co.jp/ * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Plugin\Point\Event\WorkPlace; use Eccube\Event\EventAr...
PHP
Event/WorkPlace/ServiceMail.php
EC-CUBE/point-plugin
lgpl-2.1
3,227
119
codeparrot/github-code
8c1b5b0072a02e4bdf0a78436e6e4b442fd98f25f4f478644400b07bea9abb82
/* Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C 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
libc/sysdeps/linux/common/sched_getaffinity.c
czankel/xtensa-uclibc
lgpl-2.1
1,586
44
codeparrot/github-code
99a98fdcb53cfccff93cbbb0a9aa7792f513fa90cea7d938a375b5e9ae8ac94e
/* vi: set sw=4 ts=4: */ /* * libfakechroot -- fake chroot environment * (c) 2003-2005 Piotr Roszatycki <dexter@debian.org>, LGPL * (c) 2006, 2007 Alexander Shishkin <virtuoso@slind.org> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public ...
C
src/execvp.c
OpenInkpot-archive/iplinux-fakechroot-cross
lgpl-2.1
3,551
145
codeparrot/github-code
9e19bf96be536155e3042ee4534e27258b0f0a918f5085da0355ce85677f6435
/* * eXist Open Source Native XML Database * Copyright (C) 2001-2014 Wolfgang M. Meier * wolfgang@exist-db.org * http://exist.sourceforge.net * * 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 S...
Java
exist-core/src/main/java/org/exist/dom/memtree/MemTreeBuilder.java
windauer/exist
lgpl-2.1
17,300
498
codeparrot/github-code
ddf9d02aa1a4821baaacd551526ce3ac6e8c4e6654b0937fffa36bfd0572bd13
/* * Clutter. * * An OpenGL based 'interactive canvas' library. * * Copyright (C) 2010 Intel Corporation. * * 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 o...
C
clutter/clutter-shader-effect.c
rkudiyarov/clutter_osx
lgpl-2.1
24,734
836
codeparrot/github-code
537076a19eca59e4ceb5689a8b7496ecad38ac2ffe742d8ec69817bb830924c2
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /* * Copyright (C) 2011, 2012, 2013, 2014, 2015 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; eit...
C
src/goabackend/goaprovider.c
felipeborges/gnome-online-accounts
lgpl-2.1
50,718
1,525
codeparrot/github-code
c193a6357ddc1e947fcc2a55c8db0a555ccfe06ce117410c3c0229253066fad1
/* ________ _____ ____________ ___ __ )____ ___ /_______ ___/_ /__________________ _______ ___ __ __ |_ / / / __/ _ \____ \_ __/_ ___/ _ \ __ `/_ __ `__ \ _ /_/ /_ /_/ // /_ / __/___/ // /_ _ / / __/ /_/ /_ / / / / / /_____/ _\__, / \__/ \___//____/ \__/ /_/ \___/\__,...
C
lib/compare.c
simpleigh/bytestream.c
lgpl-2.1
2,911
114
codeparrot/github-code
6c5ba93742a9960cc8863b0637adc089ae0a81a431889913063e500efa08d001
<?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: f...
HTML
doc/html/tutorials-addressbook-part6-finddialog-cpp.html
sicily/qt4.8.4
lgpl-2.1
14,684
285
codeparrot/github-code
ea17f53b2aaa7936dbc6f50819afefd431ff03ddad6119099335908f75c21a94
<?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"> <!-- qmessagecontentcontainerid.cpp --> <head> <title>Qt Mobility Project 1.0: List of All Members for QMessageContentCo...
HTML
doc/html/qmessagecontentcontainerid-members.html
community-ssu/qt-mobility
lgpl-2.1
2,557
32
codeparrot/github-code
76ddd507404060f6d1de794baa408d667b2a675b2dfa698f220456f948fbb943
/*---------------------------------------------------------------------------*\ * OpenSG * * * * * * ...
C
Source/Experimental/QTWidgets/OSGQMatrixEditor_qt.h
bilke/OpenSG-1.8
lgpl-2.1
5,178
113
codeparrot/github-code
b316302c1d363a390188bad6f8f95038bb8c3a34659a9f9ad6ff3d546a2a7f68
// $Id$ #ifndef moses_TranslationOptionCollectionConfusionNet_h #define moses_TranslationOptionCollectionConfusionNet_h #include "TranslationOptionCollection.h" #include "InputPath.h" namespace Moses { class ConfusionNet; /** Holds all translation options, for all spans, of a particular confusion network input * I...
C
moses/TranslationOptionCollectionConfusionNet.h
hychyc07/mosesdecoder
lgpl-2.1
1,494
55
codeparrot/github-code
efb77d74632c716385a6b0f17fe7b2dfd52c5c50ef0f04ee02693fbb502f7f47
/* * libraw1394 - library for raw access to the 1394 bus with the Linux subsystem. * * Copyright (C) 2008 Dan Dennedy <dan@dennedy.org> * * This library is licensed under the GNU Lesser General Public License (LGPL), * version 2.1 or later. See the file COPYING.LIB in the distribution for * details. */ #includ...
C
src/dispatch.c
Distrotech/libraw1394
lgpl-2.1
19,343
763
codeparrot/github-code
66a8b58615435187050e6ee6002eb91d9d89b6d19fa09d93da25bb70de0d9c8a
#ifndef SVSETWATERVELOCITYINLETBC_H #define SVSETWATERVELOCITYINLETBC_H #include "IntegratedBC.h" #include "Function.h" // Forward Declarations class SVSetWaterVelocityInletBC; class HydrostaticPressure; template<> InputParameters validParams<SVSetWaterVelocityInletBC>(); class SVSetWaterVelocityInletBC : public In...
C
include/bcs/SVSetWaterVelocityInletBC.h
ragusa/SV
lgpl-2.1
1,043
54
codeparrot/github-code
48fe1af6d9643528e45243938fe5a2c7bca397fed23792086802527e08959d76
/*! * This program is free software; you can redistribute it and/or modify it under the * terms of the GNU Lesser General Public License, version 2.1 as published by the Free Software * Foundation. * * You should have received a copy of the GNU Lesser General Public License along with this * program; if not, you can ob...
Java
engine/extensions-mondrian/src/main/java/org/pentaho/reporting/engine/classic/extensions/datasources/mondrian/AbstractMDXDataFactory.java
EgorZhuk/pentaho-reporting
lgpl-2.1
37,834
1,021
codeparrot/github-code
69db7bcd3069ed32e2af1df13897e1656050ab431b22dffcdb49bb120e1b9b58
<?php $root=""; ?> <?php require($root."navigation.php"); ?> <html> <head> <?php load_style($root); ?> </head> <body> <?php make_navigation("subdomains_ex2",$root)?> <div class="content"> <a name="comments"></a> <div class = "comment"> <h1>Subdomains Example 2 - Subdomain-Restricted Variables</h1> <br><br>Thi...
PHP
doc/html/subdomains_ex2.php
certik/libmesh
lgpl-2.1
78,660
2,075
codeparrot/github-code
289c628b0c6bbe24a31d11505593fb14f2df6553a2306de604af537216ee088d
/* * Hibernate, Relational Persistence for Idiomatic Java * * Copyright (c) 2010, Red Hat Inc. 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 Inc. * * T...
Java
com.huawei.soa.ldae/src/main/java/org/hibernate/type/descriptor/java/ByteArrayTypeDescriptor.java
kevin-chen-hw/LDAE
lgpl-2.1
4,548
148
codeparrot/github-code
992d71c715e4e679f69f9b4d8445c2d5a0d384dd06a885d1633cfa44b7c68141
#ifndef FILE_OBJECTS #define FILE_OBJECTS /* *************************************************************************/ /* File: geomobjects.hpp */ /* Author: Joachim Schoeberl */ /* Date: 20. Jul. 02 ...
C++
libsrc/gprim/geomobjects.hpp
live-clones/netgen
lgpl-2.1
10,864
520
codeparrot/github-code
8c99bf28c5e0d90038a7649e95fae656c0a85e4e208dc6d8d0f328925b14c0ac
package com.teambrmodding.neotech.client.gui.machines.processors; import com.teambr.bookshelf.client.gui.GuiColor; import com.teambr.bookshelf.client.gui.GuiTextFormat; import com.teambr.bookshelf.client.gui.component.control.GuiComponentItemStackButton; import com.teambr.bookshelf.client.gui.component.display.GuiComp...
Java
Reference Code/Neotech Code/java/com/teambrmodding/neotech/client/gui/machines/processors/GuiSolidifier.java
HickGamer/Better-Utilites
lgpl-2.1
8,916
196
codeparrot/github-code
39de477b712722d30cf7d8c509ef9107beeb2b987b243aefa794310f32117634
<?php /** * @package tikiwiki */ // (c) Copyright 2002-2016 by authors of the Tiki Wiki CMS Groupware Project // // All Rights Reserved. See copyright.txt for details and a complete list of authors. // Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. // $Id: tiki-view_tracker_item.ph...
PHP
tiki-view_tracker_item.php
lorddavy/TikiWiki-Improvement-Project
lgpl-2.1
29,456
817
codeparrot/github-code
9a29a83bcacc7f8633ca583e77fa1972061e70e564281bd5b32354dfead59f4c
/* * Copyright (C) 2010-2011 * Written by: * Aly Hirani <alyhirani@gmail.com> * James Chou <uohcsemaj@gmail.com> * * All Rights 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 S...
C++
include/LibFacebookCpp/Enum.hpp
kemcoi/libfacebookcpp
lgpl-2.1
1,783
68
codeparrot/github-code
0e39b84794ac86252839448bc63291591f7c288e35ebf1c788b0ff3afdb8b0d0
package com.mhfs.controller.hotplug; import java.io.File; import java.net.DatagramSocket; import java.net.InetSocketAddress; import java.net.SocketException; import com.mhfs.controller.config.Config; import com.mhfs.controller.daemon.DaemonMain; import com.mhfs.ipc.InvocationManager; import io.netty.boots...
Java
src/main/java/com/mhfs/controller/hotplug/DaemonManager.java
thilokru/Controller-Support
lgpl-2.1
2,505
80
codeparrot/github-code
5238bac71db5a9f365cc541d2b1394354b49fd67da5c6fb4e801b8a53a0bbdfe
/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2015 Artem Pavlenko * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as p...
C++
include/mapnik/text/placements/list.hpp
mapycz/mapnik
lgpl-2.1
2,373
66
codeparrot/github-code
4d5114eb2f31d4d8e7e41c1671fef68b69c73d9afb90d0c58c7ad54026d1bc90
package org.openswing.swing.table.client; import java.awt.*; import javax.swing.*; import javax.swing.plaf.*; import com.sun.java.swing.plaf.mac.*; /** * <p>Title: OpenSwing Framework</p> * <p>Description: Vertical scrollbar UI, used inside the pagination vertical scrollbar of the grid control, for Mac...
Java
srclnf/org/openswing/swing/table/client/MacPaginationVerticalScrollBarUI.java
mcarniel/oswing
lgpl-2.1
9,721
277
codeparrot/github-code
e9984f010b21f4fa5bf499dc2df12608e12380c213ddb3f315876f06a73ae81a
<?php include_once('./_common.php'); include_once(G5_CAPTCHA_PATH.'/captcha.lib.php'); if ($is_guest) alert_close('회원만 이용하실 수 있습니다.'); if (!$member['mb_open'] && $is_admin != 'super' && $is_admin != 'admin' && $member['mb_id'] != $mb_id) alert_close("자신의 정보를 공개하지 않으면 다른분에게 쪽지를 보낼 수 없습니다. 정보공개 설정은 회원정보수정에서 하실 ...
PHP
bbs/memo_form.php
dingdong2310/sir
lgpl-2.1
1,312
43
codeparrot/github-code
aaf8f07392add2605f945fc5e7532efc0e5b4584bc3f70ca213435843c36b7e0
package m.c.m.proxyma.rewrite; import java.net.URL; import java.util.logging.Logger; import javax.servlet.http.Cookie; import m.c.m.proxyma.context.ProxyFolderBean; import m.c.m.proxyma.context.ProxymaContext; import m.c.m.proxyma.resource.ProxymaResource; /** * <p> * This Class implements the logic of the Cookies ...
Java
proxyma-core/src/main/java/m/c/m/proxyma/rewrite/CookieRewriteEngine.java
dpoldrugo/proxyma
lgpl-2.1
3,420
94
codeparrot/github-code
a4ccfa78d82861faae4b59ec89e355e8dee0446dc40d9fca1948b9c15374d738
<?php namespace wcf\system\bbcode; use wcf\system\application\ApplicationHandler; use wcf\system\message\embedded\object\MessageEmbeddedObjectManager; use wcf\system\request\RouteHandler; use wcf\system\WCF; /** * Parses the [quote] bbcode tag. * * @author Marcel Werk * @copyright 2001-2015 WoltLab GmbH * @licen...
PHP
wcfsetup/install/files/lib/system/bbcode/QuoteBBCode.class.php
ramiusGitHub/WCF
lgpl-2.1
2,133
55
codeparrot/github-code
737ea78896f2951dce02dd8fb958cf97796eeec17cfa8dde6cbce3909c150425
using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.IO; using System.Linq; using System.Net.Http; using System.Text; using System.Text.Json; using System.Text.RegularExpressions; using System.Threading; using System.Threading.Tasks; using CompatApiClient; ...
C#
CompatBot/Commands/CompatList.cs
RPCS3/discord-bot
lgpl-2.1
37,859
724
codeparrot/github-code
44aaaf9c67af5f0e300ea4aff77d850e2e53a3a324d6d11f1f96b58577ab41d5
------------------------------------------------------------ -- Copyright (c) 2016 tacigar. All rights reserved. -- https://github.com/tacigar/maidroid ------------------------------------------------------------ local maidroid_instruction_set = { -- popular (similars in lua_api) information gathering functions getp...
Lua
maidroid_core/cores/ocr.lua
tacigar/maidroid
lgpl-2.1
3,944
167
codeparrot/github-code
bfc7fb572d6a17a15db4da34395a9cc68a9b631da56f7606d105e9f05cc7a30b
package usp.ime.line.ivprog.model.domain.actions; import usp.ime.line.ivprog.model.components.datafactory.dataobjetcs.Expression; import usp.ime.line.ivprog.model.components.datafactory.dataobjetcs.ReturnStatement; import usp.ime.line.ivprog.model.domain.IVPDomainModel; import ilm.framework.assignment.model.Domai...
Java
src/usp/ime/line/ivprog/model/domain/actions/ReturnSetExpression.java
Romenig/ivprog2
lgpl-2.1
1,489
53
codeparrot/github-code
ecb8283ed22d98d2495568527ae39c1194cee13c857ee0fb76a2d7c339e5336e
/* * qemu_monitor.h: interaction with QEMU monitor console * * Copyright (C) 2006-2015 Red Hat, Inc. * Copyright (C) 2006 Daniel P. Berrange * * 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 ...
C
src/qemu/qemu_monitor.h
agx/libvirt-debian
lgpl-2.1
59,245
1,426
codeparrot/github-code
69b2222a457a70ee34ec26a016de7a28552ef8709bebc4627e7802757a41f6a4
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs For Class CssSelectorExpectatio...
HTML
docs/simpletest.org/api/SimpleTest/Extensions/CssSelectorExpectation.html
GerHobbelt/simpletest
lgpl-2.1
15,732
447
codeparrot/github-code
6073a74472a8c2787619ba4efd632d4a777efcb0706231b79491b835ada64f81
//* This file is part of the MOOSE framework //* https://www.mooseframework.org //* //* All rights reserved, see COPYRIGHT for full restrictions //* https://github.com/idaholab/moose/blob/master/COPYRIGHT //* //* Licensed under LGPL 2.1, please see LICENSE for details //* https://www.gnu.org/licenses/lgpl-2.1.html #in...
C++
framework/src/meshgenerators/ParsedSubdomainMeshGenerator.C
nuclear-wizard/moose
lgpl-2.1
3,959
107
codeparrot/github-code
e899b40df2e45cf60416950c072144c6541a806f75de72536c7640f114015e0a
// // MD2Managed.cs - Message Digest 2 Managed Implementation // // Author: // Sebastien Pouliot (sebastien@ximian.com) // // (C) 2001-2003 Motus Technologies Inc. (http://www.motus.com) // Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obta...
C#
Crypto.Net/SSL/Mono/Mono.Security.Cryptography/MD2Managed.cs
Reaper38/Crypto.NET
lgpl-2.1
6,457
195
codeparrot/github-code