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
b1393b37cc5a50809ae17827366afd42ea6b5fdcbc77c21041b02931689f49fa
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Xml; using PHPAnalysis.Analysis.CFG.Taint; using PHPAnalysis.Data; using PHPAnalysis.Utils; using PHPAnalysis.Utils.XmlHelpers; namespace PHPAnalysis.Analysis.CFG { public sealed class VariableResolveResult...
C#
PHPAnalysis/PHPAnalysis/Analysis/CFG/VariableResolver.cs
Chikila/Eir
mit
14,292
291
codeparrot/github-code
549c74a4b33f1b99f84ce399639e445f1055da3a0b8b23d131387dff7ba0507b
'use strict'; // event // eventType - 'dragStart', 'drag', 'dragStop' // pos - absolute pos, // returnCallback var app = angular.module('utilsDrag', []); app.directive('utilsDrag', function ( ) { return { restrict: 'A', scope: { dragCallback: '&utilsDrag' }...
JavaScript
utils-drag.js
nangelova/utils-drag
mit
3,120
103
codeparrot/github-code
b81636de4fb770f1fdb16b7255ad210338c860c5baeed784db2c2ec8911186a2
using System; using System.Collections.Generic; using System.Linq; using System.Text; using PainLang; using System.Runtime.Serialization; namespace PainLang.OnpEngine.Models { [DataContract(IsReference = true)] public class ExpressionContext { [DataMember(EmitDefaultValue = false)] publi...
C#
OnpEngine/Models/ExpressionContext.cs
b-y-t-e/PainLang
mit
1,719
67
codeparrot/github-code
38fa02d1bbe9f5af0cd15d73d36863b9ac6ff7208e0cf7ef73b84885c6f0781d
//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------...
C++
libs/boost_1_50_0/libs/thread/test/sync/futures/future/move_ctor_pass.cpp
djsedulous/namecoind
mit
1,982
79
codeparrot/github-code
07c1f7d9dc4743ffd533bdad62fb617690f5cd1e001630ca513efa97c52cb941
/* jshint node: true */ 'use strict'; var assign = require('object-assign'); module.exports = { name: 'ember-cli-cloudinary-images', config: function(environment, appConfig) { var CLOUDINARY = appConfig.CLOUDINARY || {}; return { CLOUDINARY: assign({ /** For future support */ API_K...
JavaScript
index.js
oriSomething/ember-cli-cloudinary-images
mit
1,098
36
codeparrot/github-code
a6194faf2921b59af888bcbc10c35ecbfb946d9bb39011d1a3e4af7853ddf24a
namespace Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.Implementation.QuickPulse { using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.Implementation.QuickPulse.Helpers; //...
C#
WEB/Src/PerformanceCollector/Perf.Shared.NetStandard/Implementation/QuickPulse/Process/QuickPulseTopCpuCollector.cs
pharring/ApplicationInsights-dotnet
mit
2,139
59
codeparrot/github-code
312a7c78e7cab5d759f9be777f04c323443f61c4292bd91ad025aa1f0c980226
/** * Produces optimized XTemplates for chunks of tables to be * used in grids, trees and other table based widgets. */ Ext.define('Ext.view.TableChunker', { singleton: true, requires: ['Ext.XTemplate'], metaTableTpl: [ '{%if (this.openTableWrap)out.push(this.openTableWrap())%}', '<table ...
JavaScript
examples/ext/src/view/TableChunker.js
brunotavares/Ext.ux.Router
mit
5,033
140
codeparrot/github-code
08f18a738c957eada466df68757cd68e667b740cfb2f0e449cb94a66fd498b38
// <copyright file="GramSchmidt.cs" company="Math.NET"> // Math.NET Numerics, part of the Math.NET Project // http://numerics.mathdotnet.com // http://github.com/mathnet/mathnet-numerics // // Copyright (c) 2009-2013 Math.NET // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this...
C#
src/Numerics/LinearAlgebra/Complex/Factorization/GramSchmidt.cs
albertp007/mathnet-numerics
mit
3,669
104
codeparrot/github-code
b615e057b33ef045b82df57b9d59ade5e8755386b192d3609c60e9e0723314f3
-- -- C# wrapper functions -- require 'globals' function createPreBuildCommand(name) local cmd = "" local includes = "" if (target == 'vs2003' or target == 'vs2005') then -- only for visual studio cmd = "swig -c++ -csharp -dllimport _".. name .." -nodefaultdtor -I..\\..\\src\\ -I&quot;$(OSG_ROOT)\\incl...
Lua
etc/csharp.lua
cmbruns/osgswig
mit
2,675
124
codeparrot/github-code
d1c12d7a84063f33c0ec969f2e2ed7855f7966d3e8bc3fe619d5542f47f98ef1
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.DocAsCode.MarkdigEngine.Extensions { using System; using System.Collections.Generic; using System.Text; using System.Text.RegularExp...
C#
src/Microsoft.DocAsCode.MarkdigEngine.Extensions/CodeSnippet/CodeSnippetExtractor.cs
superyyrrzz/docfx
mit
4,473
121
codeparrot/github-code
5e6886e11228954d5d17957c270892284c0a79b778a672024e3f914f6c0c5d4c
// Smart Properties & Crowd Sales #include "base58.h" #include "rpcserver.h" #include "init.h" #include "util.h" #include "wallet.h" #include <stdint.h> #include <string.h> #include <fstream> #include <algorithm> #include <vector> #include <utility> #include <string> #include <boost/assign/list_of.hpp> #include <...
C++
src/mastercore_sp.cpp
mastercoin-MSC/mastercore
mit
19,083
589
codeparrot/github-code
3117f60c2826d1e57fbc5f56968ba204399a6d24383131c72bda7559f4f562f0
package Dec2020Leetcode; import java.util.ArrayList; import java.util.Arrays; import java.util.LinkedList; import java.util.List; import java.util.Queue; public class _0297SerializeAndDeserializeBinaryTree { static public class TreeNode { int val; TreeNode left; TreeNode right; TreeNode(int x) { val = x;...
Java
src/Dec2020Leetcode/_0297SerializeAndDeserializeBinaryTree.java
darshanhs90/Java-InterviewPrep
mit
2,061
88
codeparrot/github-code
5d5623c8540b3c91ddde20d105fa023d256fe451b4e881e3dd2360bf1e7215ec
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using UnityEngine; using UnityEngine.SceneManagement; namespace Microsoft.MixedReality.Toolkit.Examples.Demos.EyeTracking { /// <summary> /// When the butto...
C#
Two-hands manipulation - MRTKv2/Assets/MixedRealityToolkit.Examples/Demos/EyeTracking/General/Scripts/TargetBehaviors/OnLoad_StartScene.cs
davidezordan/MixedRealitySamples
mit
907
32
codeparrot/github-code
60a9c0808c30e9e9f63647527b273efeeda779023bf3f5a56769df1c808ac256
/** @module utils/nodes */ /** * The default testnet node * * @type {string} */ let defaultTestnetNode = 'http://bob.nem.ninja:7778'; /** * The default mainnet node * * @type {string} */ let defaultMainnetNode = 'http://alice6.nem.ninja:7778'; /** * The default mijin node * * @type {string} */ let defaul...
JavaScript
src/app/utils/nodes.js
AtrauraBlockchain/Landstead
mit
3,382
189
codeparrot/github-code
c55ad543e656df6109aeb756aff70835261917326324258e535e4c2db563a7ae
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* | ------------------------------------------------------------------------- | URI ROUTING | ------------------------------------------------------------------------- | This file lets you re-map URI requests to specific controller functions. | | T...
PHP
application/config/routes.php
QuazarRDesigns/CI_ShoppingList
mit
1,968
55
codeparrot/github-code
b7386382e392b2508cf5b6530c02c84ef4a3a51ea06606b2b9edf09bb4e1018d
/* Copyright (c) 2011 Cimaron Shanahan Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute...
JavaScript
ir/instruction.js
DelvarWorld/glsl2js
mit
5,157
265
codeparrot/github-code
2c96f62a4bd9dd0ca10f1b0256e866fed8839c8846bd5e5d78f28f463cc2803f
/* * Copyright (c) 2009 WiQuery team * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publi...
Java
src/main/java/org/odlabs/wiquery/ui/sortable/SortableRevert.java
openengsb-attic/forks-org.odlabs.wiquery
mit
3,565
128
codeparrot/github-code
319047f5fbb6704595440f0ac72a939e1c8c027e9e976839608b8d92364d0aaa
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2011 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any person obta...
C++
Gamekit/Ogre-1.8/RenderSystems/GL/src/GLSL/src/OgreGLSLProgram.cpp
Josiastech/vuforia-gamekit-integration
mit
18,361
536
codeparrot/github-code
c21b6afb2bbf12775f7a128325b9600bb279e07690d1f342cfb2b4d68d85d765
<?php namespace JMSSerializerModule\Service; use Application\Module; use JMS\Serializer\Handler\DateHandler; use Metadata\Driver\FileLocator; use Zend\ModuleManager\ModuleManager; use Zend\ServiceManager\FactoryInterface; use Zend\ServiceManager\ServiceLocatorInterface; /** * @author Martin Parsiegla <martin.parsie...
PHP
src/JMSSerializerModule/Service/MetadataDriverFactory.php
unixslayer/JMSSerializerModule
mit
904
44
codeparrot/github-code
9689898198d4a9396a83e5a091e94541ab9c7c07d784a42b32ee13ea594fd490
/** @license MIT License (c) copyright B Cavalier & J Hann */ /** * wire/on plugin * wire plugin that provides an "on" facet to connect to dom events, * and includes support for delegation * * wire is part of the cujo.js family of libraries (http://cujojs.com/) * * Licensed under the MIT License at: * http://w...
JavaScript
on.js
cujojs/wire
mit
2,712
93
codeparrot/github-code
ae6c96005f705b662b3cfe4ec2fe2aaaa3746e8598368cc827f955a275cba13a
import { extend, colorRgbToHex, colorRgbToHsl, colorHslToHsb, colorHslToRgb, colorHsbToHsl, colorHexToRgb, nextTick, deleteProps, } from '../../shared/utils'; import Framework7Class from '../../shared/class'; import $ from '../../shared/dom7'; import { getDevice } from '../../shared/get-device'; impo...
JavaScript
src/core/components/color-picker/color-picker-class.js
framework7io/Framework7
mit
23,717
873
codeparrot/github-code
479bf2e6f0f2a7319a68e690acf7137b085eeebc2a18dae3fb9b111f7c295b9a
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2013 Tasharen Entertainment //---------------------------------------------- // Dynamic font support contributed by the NGUI community members: // Unisip, zh4ox, Mudwiz, Nicki, DarkMagicCK. using UnityEngine; usin...
C#
ExtremeMotionSDK/Win32/Samples/Unity/UIConceptsSample/Source/Assets/NGUI/Scripts/UI/UIFont.cs
d28park/McHacks
mit
34,546
1,408
codeparrot/github-code
9c6bf16c6ad8c47642719b6df8cf27978c3b810ee8d69aaaf6dc4cdbd381691f
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using System.Linq; using osu.Framework.Allocation; using osu.Framework.Extensions.Color4Extensions; using osu.Framework.G...
C#
osu.Game/Overlays/BeatmapListing/BeatmapListingFilterControl.cs
smoogipooo/osu
mit
11,170
314
codeparrot/github-code
ed47a85ad701bea9826b5f239875620d8d47683250dd39a9548e23ea1b7ae5c0
// ---------------------------------------------------------------------------------- // <copyright file="StandardMessage.cs" company="NMemory Team"> // Copyright (C) 2012-2014 NMemory Team // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and assoc...
C#
Main/Source/NMemory/Diagnostics/Messages/StandardMessage.cs
wertzui/nmemory
mit
2,082
52
codeparrot/github-code
b7eb64721717ec4648422bc0efae688a54f2ffa16a0a42808c6ef04a63891708
#!/bin/bash ########################################################################## # This script contains common functions used by installation scripts # @author César Rodríguez González # @since 1.0, 2014-05-10 # @version 1.3.3, 2017-04-25 # @license MIT #########################################################...
Shell
common/commonFunctions.sh
cesar-rgon/desktop-app-installer
mit
17,666
427
codeparrot/github-code
2c9c0078b148be124e9b809fe5d0b3804988dfd56fe75b5b419d2caa21655958
/** * Spacelet Manager, 2013 Spaceify Inc. * SpaceletManager is a class for managing Spacelets and their processes. It launches spacelet processes, manages their quotas and access rights and terminates them when needed. * * @class SpaceletManager */ var fs = require("fs"); var fibrous = require("fibrous"); var Co...
JavaScript
spaceifyapplication/api/spaceletmanager.js
citsym/PointerTest
mit
5,915
215
codeparrot/github-code
f96b4444c0bf3f17034785ec90592b9cc0d21e1caa9075bbfb0ac2b885368498
/*- * See the file LICENSE for redistribution information. * * Copyright (c) 2002,2008 Oracle. All rights reserved. * * $Id: SampleDatabase.java 63573 2008-05-23 21:43:21Z trent.nelson $ */ package collections.ship.tuple; import java.io.File; import java.io.FileNotFoundException; import com.sleepycat.bind.ser...
Java
UnrealPyEmbed/Development/Python/2015.08.07-Python2710-x64-Source-vs2015/Python27/Source/db-4.7.25.0/examples_java/src/collections/ship/tuple/SampleDatabase.java
mollstam/UnrealPy
mit
11,795
324
codeparrot/github-code
ce40d949745fb6b2c75541b6663e5e22d668616d68dd2d10741e0767fc1fd64d
/* File: MediaHandlers.h Contains: QuickTime Interfaces. Version: Technology: QuickTime 6.0 Release: QuickTime 6.0.2 Copyright: (c) 1990-2001 by Apple Computer, Inc., all rights reserved Bugs?: For bug reports, consult the following page on ...
C
original/IntelliKeys/WindowsOld/Control Panel/REALbasic Plugin and bundle/QT6/Interfaces & Libraries/QTDevWin/CIncludes/MediaHandlers.h
ATMakersOrg/OpenIKeys
mit
42,839
692
codeparrot/github-code
41e04aa07a7dc1d77d486f45a00830a9b156d90f1f7d487a2430a2f1727d213e
var util = require('util'); var async = require('async'); var path = require('path'); var Router = require('../utils/router.js'); var sandboxHelper = require('../utils/sandbox.js'); // Private fields var modules, library, self, private = {}, shared = {}; private.loaded = false // Constructor function Server(cb, scop...
JavaScript
src/core/server.js
anshuman-singh-93/agrichain
mit
1,677
78
codeparrot/github-code
c7f55d09a084dc2145f34e4d3f1465ce9b759410c9a01ab4a352818b04d02a0e
(function(global) { // simplified version of Object.assign for es3 function assign() { var result = {}; for (var i = 0, len = arguments.length; i < len; i++) { var arg = arguments[i]; for (var prop in arg) { result[prop] = arg[prop]; } ...
JavaScript
grid-packages/ag-grid-docs/documentation/static/example-runner/charts-react-boilerplate/systemjs.config.js
ceolter/angular-grid
mit
2,518
85
codeparrot/github-code
17ad8ad0abecbe5c564f20a796d1af8d0511adbbe55cd2cce6394f0f8732fa57
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Castle.Core; using Castle.MicroKernel.Registration; using Castle.Windsor; namespace BddTraining.SharpArch.Web { public static class WindsorExtensions { public static IWindsorContainer RegisterControllers(...
C#
SharpArch/app/BddTraining.SharpArch.Web/WindsorExtensions.cs
frankwang0/bdd-tdd-starter-kit
mit
1,776
54
codeparrot/github-code
ffd4e2fc58a5e6461bc6cfe25c385e8a1402b0c6cdcf106450212e3bad8bb0a3
import { EventEmitter, Input, Output, Component, ViewContainerRef, ContentChildren, ElementRef, NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { TooltipModule } from 'primeng/tooltip'; import { PrimeTemplate, SharedModule } from 'primeng/api'; var __decorate = (this && this.__d...
JavaScript
ajax/libs/primeng/9.0.0-rc.4/fesm2015/primeng-tabview.js
cdnjs/cdnjs
mit
11,946
355
codeparrot/github-code
8b99aba8a8ff7478e8b4bf1b1a390103f9aab1f1919e018d00bb8cbded1ede93
/* * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org...
Java
bgp/bmp-impl/src/main/java/org/opendaylight/protocol/bmp/impl/message/RouteMonitoringMessageHandler.java
inocybe/odl-bgpcep
epl-1.0
3,459
67
codeparrot/github-code
0b277e938b9bd595e64f506e5ae6a99f3666d60427cc970ea184b5b71c2f9bb1
/** * Copyright (c) 2010-2021 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
Java
bundles/org.openhab.binding.somfymylink/src/main/java/org/openhab/binding/somfymylink/internal/handler/SomfyShadeHandler.java
MikeJMajor/openhab2-addons-dlinksmarthome
epl-1.0
4,382
118
codeparrot/github-code
08076aafdc0f8d3f91c1a546d7e05a523d755424eb275faa7472557375fd68c0
/** * Copyright (c) 2010-2021 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
Java
bundles/org.openhab.binding.nibeheatpump/src/main/java/org/openhab/binding/nibeheatpump/internal/message/MessageFactory.java
paulianttila/openhab2
epl-1.0
1,936
51
codeparrot/github-code
aef2b36f2a94888fc2a2f85a3cec66b2291d9da0e5d085ede842218efbaa30b2
/******************************************************************************* * Copyright (c) 2012 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is a...
Java
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsSharedUtilsImpl.java
OpenLiberty/open-liberty
epl-1.0
8,999
222
codeparrot/github-code
5d217f5575e11aa552f85a336fead07ca6c7398b4f8f7e412720429b7695ca8a
/* * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org....
Java
common/util/src/test/java/org/opendaylight/yangtools/util/MapAdaptorTest.java
522986491/yangtools
epl-1.0
4,879
148
codeparrot/github-code
882508988c5e1988ed7042c760e6f77cfae833bd875284cee9fde668450574e3
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
Java
bundles/org.openhab.binding.coolmasternet/src/main/java/org/openhab/binding/coolmasternet/internal/handler/HVACHandler.java
openhab/openhab2
epl-1.0
9,992
237
codeparrot/github-code
7b7916dbcbb302dc0ba1577b3c7cb2c24b468c4146500999bc10e72da494d920
package org.eclipse.incquery.examples.cps.xform.m2t.monitor.util; import com.google.common.collect.Sets; import java.util.Arrays; import java.util.List; import java.util.Set; import org.eclipse.emf.ecore.EClass; import org.eclipse.incquery.examples.cps.xform.m2t.monitor.HostIpChangeMatch; import org.eclipse.in...
Java
transformations/org.eclipse.incquery.examples.cps.xform.m2t/src-gen/org/eclipse/incquery/examples/cps/xform/m2t/monitor/util/HostIpChangeQuerySpecification.java
ZsoltKovari/incquery-examples-cps
epl-1.0
5,185
119
codeparrot/github-code
790c6c5c904f66081881caed18e3e6074f8ef157bdbb60ee6f491d55dd9392a4
/******************************************************************************* * Copyright (c) 2011-2015 The University of York. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and...
Java
plugins/org.hawk.neo4j-v2/src/org/hawk/neo4j_v2/util/Neo4JNode.java
Orjuwan-alwadeai/mondo-hawk
epl-1.0
6,636
242
codeparrot/github-code
c942bb553f1b6ba3f0308e0029c0decacd8102810a8eeaaeccee56598f96274f
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
Java
bundles/binding/org.openhab.binding.ecobee/src/main/java/org/openhab/binding/ecobee/messages/Selection.java
openhab/openhab
epl-1.0
28,297
803
codeparrot/github-code
c290cf3b0572f37861b03fe020df58dca76f435e9f02416dc0165bacc330c765
/*- ******************************************************************************* * Copyright (c) 2011, 2016 Diamond Light Source Ltd. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, ...
Java
org.eclipse.scanning.device.ui/src/org/eclipse/scanning/device/ui/model/ModelFieldLabelProvider.java
AnthonyHullDiamond/scanning
epl-1.0
6,987
219
codeparrot/github-code
2f62e089ac3989cdca22b0235e96de193256a488cb80ab6c9b6abf0b81ccf678
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
Java
bundles/org.openhab.binding.omnikinverter/src/main/java/org/openhab/binding/omnikinverter/internal/handler/OmnikInverterHandler.java
openhab/openhab2
epl-1.0
4,175
111
codeparrot/github-code
a032f323c189453e8043e34ebfa990dc52214eff34aac6936ea1fa8752c43f75
/** * Copyright (c) Rich Hickey. All rights reserved. * The use and distribution terms for this software are covered by the * Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) * which can be found in the file epl-v10.html at the root of this distribution. * By using this softwar...
Java
zephyr.plugin.clojure/clojure-1.2.0/src/jvm/clojure/lang/EnumerationSeq.java
zephyrplugins/zephyr
epl-1.0
1,782
79
codeparrot/github-code
c66b333d1b6559915ec76b733335cd84ca84a036c9f15db1d399e28abf3dec8e
/** * Copyright (c) 2014-2017 by the respective copyright holders. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html */ pa...
Java
bundles/core/org.eclipse.smarthome.core.thing/src/main/java/org/eclipse/smarthome/core/thing/type/ThingTypeRegistry.java
vkolotov/smarthome
epl-1.0
5,966
178
codeparrot/github-code
b4770e3b647989d3eda9b92715dc089f9ab893d35a8860e7dfd0b9cd16f4180f
/*- ******************************************************************************* * Copyright (c) 2011, 2016 Diamond Light Source Ltd. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, ...
Java
org.eclipse.scanning.api/src/org/eclipse/scanning/api/event/status/AdministratorMessage.java
AnthonyHullDiamond/scanning
epl-1.0
1,818
68
codeparrot/github-code
9e180f1625d7abccd9921ac800c30d9a85846ab5d8fdf1a8c216739abed955c3
/*==========================================================================*/ /*cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc*/ /*==========================================================================*/ /* */ /* ...
C
src/interface/intra_params/set_params/set_res_bond_params.c
yuhangwang/PINY
epl-1.0
7,404
171
codeparrot/github-code
053cfbab9d5c0b0f9dbfe26c1bcfebea108c23a9ee0b5632f6374e6e10d5c0f6
/******************************************************************************* * Copyright (c) 2016, 2020 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, an...
Java
dev/com.ibm.ws.security.jwt/src/com/ibm/ws/security/jwt/config/JwtConfig.java
OpenLiberty/open-liberty
epl-1.0
1,585
73
codeparrot/github-code
ba182411fcd6eb0c49b0deb95e32eb845229c3cdbe75c40f6db612ff3478a387
//$Id: Node.java 10759 2006-11-08 00:00:53Z steve.ebersole@jboss.com $ package org.hibernate.test.ops; import java.sql.Date; import java.util.HashSet; import java.util.Set; /** * @author Gavin King */ public class Node { private String name; private String description; private Date created; private Node parent...
Java
thirdparty/plugins/org.csstudio.platform.libs.hibernate/project/testsuite/src/test/java/org/hibernate/test/ops/Node.java
ControlSystemStudio/cs-studio
epl-1.0
1,674
89
codeparrot/github-code
870cb047ec063d3c283f4c8946e52f371d773048b0a3885f7f2bd587447cd269
/** * Copyright (c) 2010-2021 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
Java
bundles/org.openhab.binding.digitalstrom/src/main/java/org/openhab/binding/digitalstrom/internal/lib/sensorjobexecutor/SceneReadingJobExecutor.java
paulianttila/openhab2
epl-1.0
3,105
84
codeparrot/github-code
74b4900988ddedd57c4e12d3d9a2fb86cda8b408cd3f437c55e47ce62fa9f809
/** * */ package org.cmg.ml.sam.prism; import java.math.BigInteger; import org.cmg.ml.sam.core.Probability; /** * @author loreti * */ public class Renaming extends PrismSystem { private PrismSystem argument; private int[] invMap; public Renaming( PrismSystem argument, int[] map ) { super( argument...
Java
CORE/org.cmg.ml.sam.prism/src/org/cmg/ml/sam/prism/Renaming.java
Quanticol/jSAM
epl-1.0
1,644
70
codeparrot/github-code
d227e33d0501749bbca7c3dba1f855f74bac6d1f38cd89a02eb188a7e48577ba
/* Copyright (C) 2003-2004 Douglas Thain and the University of Wisconsin Copyright (C) 2005- The University of Notre Dame This software is distributed under the GNU General Public License. See the file COPYING for details. */ #include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <string.h> #include <err...
C
wavefront/src/wavefront_master.c
matz-e/cctools
gpl-2.0
8,938
337
codeparrot/github-code
3071d68e8da8812e984aa7b2a978b86e258266509c88d5281a879ca0b7231ece
/* Copyright (C) 2011 Circuits At Home, LTD. All rights reserved. This software may be distributed and modified under the terms of the GNU General Public License version 2 (GPL2) as published by the Free Software Foundation and appearing in the file GPL2.TXT included in the packaging of this file. Please note that GPL...
C
firmware/confdescparser.h
otelconsulting/spark-usb-host
gpl-2.0
10,662
221
codeparrot/github-code
c7a20894284e0e2334eecdddae5eebd987f4b10a6595dd40fd18d1f284458a93
/*-- Addition for remembering expanded state of pages --*/ function writeSessionCookie(cookieName, cookieValue) { document.cookie = escape(cookieName) + "=" + escape(cookieValue) + ";"; } function toggle_viewers() { if (document.add.visibility.value == 'private') { document.getElementById('viewe...
JavaScript
wbce/admin/pages/page_index.js
WBCE/WebsiteBaker_CommunityEdition
gpl-2.0
1,953
49
codeparrot/github-code
4c690bd2443d864a9e6e0985d0dec7a84a1da69b15aa3a59657ecedc0101b652
/* * DEBUG: section 54 Interprocess Communication * */ #include "squid.h" #include "base/TextException.h" #include "ipc/TypedMsgHdr.h" #include "tools.h" #include <string.h> Ipc::TypedMsgHdr::TypedMsgHdr() { memset(this, 0, sizeof(*this)); sync(); } Ipc::TypedMsgHdr::TypedMsgHdr(const TypedMsgHdr &tmh...
C++
src/ipc/TypedMsgHdr.cc
hkerem/squid3-ssl
gpl-2.0
4,803
241
codeparrot/github-code
4c561c1135d687e47b7d0e2133e590b20527ef6232273d48e633be3b8232d534
// ===== // // Copyright (c) 2013-2020 Timothy Baxendale // // ===== using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; using System.IO; using Monk.Memory; namespace Monk.Imaging { public abstract partial class LockedBitmap : IDisposable { ...
C#
monk/Imaging/LockedBitmap.cs
tbaxendale/trithemius
gpl-2.0
7,498
223
codeparrot/github-code
eba1316d1031ce24e75b474d25a07409a27a41769f8fb38459567cb04054b1bb
#include <linux/init.h> #include <linux/mm.h> #include <linux/spinlock.h> #include <linux/smp.h> #include <linux/interrupt.h> #include <linux/module.h> #include <linux/cpu.h> #include <asm/tlbflush.h> #include <asm/mmu_context.h> #include <asm/cache.h> #include <asm/apic.h> #include <asm/uv/uv.h> DEFINE_PER_CPU_SHAR...
C
arch/x86/mm/tlb.c
dh-electronics/linux-imx25
gpl-2.0
9,457
353
codeparrot/github-code
32cbd5d4fb9d57fae61abfe78cda294c554d85d0e5afb529e07d4fa68fe55f0e
/* Copyright (C) 2006 - 2010 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/> * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any l...
C++
src/bindings/ScriptDev2/scripts/northrend/ulduar/ulduar/ulduar.cpp
koksneo/MaNgOs
gpl-2.0
2,135
61
codeparrot/github-code
a624613d9b6c2af3af8f0946b869f8bfd1e729470d25a516c6eb6d4f11b87e74
import time from pygame.locals import * import gui MOUSE_LEFT_BUTTON = 1 MOUSE_MIDDLE_BUTTON = 2 MOUSE_RIGHT_BUTTON = 3 MOUSE_WHEELUP = 4 MOUSE_WHEELDOWN = 5 class Screen(object): """Base gui screen class every game screen class should inherit from this one """ __triggers = [] ...
Python
game/gui/screen.py
pjotrligthart/openmoo2-unofficial
gpl-2.0
8,413
259
codeparrot/github-code
8eb7d3c177810fa599868ef08e59f299803e1454c68e21dd7ff897a52a0955e7
/******************************************************************************/ /* Mednafen Fast SNES Emulation Module */ /******************************************************************************/ /* cpu.h: ** Copyright (C) 2015-2016 Mednafen Team ** ** This program is fre...
C
src/snes_faust/cpu.h
emanuel4you/mednafen-dreambox
gpl-2.0
3,338
156
codeparrot/github-code
7ac8ac5ef3f457cec93942d2068e3a4f942cc09df713810e7268df0840e70bf4
/* Copyright (C) 2010-2019 The RetroArch team * * --------------------------------------------------------------------------------------- * The following license statement only applies to this file (vfs_implementation_cdrom.c). * --------------------------------------------------------------------------------------- *...
C
core/libretro-common/vfs/vfs_implementation_cdrom.c
libretro/reicast-emulator
gpl-2.0
13,760
424
codeparrot/github-code
1fd970978ba589e50e7daaa8848e3716baf48d1f5860eedd5da6800405189b7d
/* * Copyright 2009-2014 PrimeTek. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
Java
src/main/java/org/primefaces/showcase/view/data/treetable/SelectionView.java
cams7/primefaces-showcase
gpl-2.0
3,271
111
codeparrot/github-code
108322ea4d8d28ebbb01fcb367e041652c1f365fd4b59800e50b2e245501a022
/* * processor.c * * Syslink driver support functions for TI OMAP processors. * * Copyright (C) 2009-2010 Texas Instruments, Inc. * * This package is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundat...
C
drivers/dsp/syslink/procmgr/processor.c
r3d4/samsung_kernel_nowplus
gpl-2.0
11,748
399
codeparrot/github-code
0613bb35adb0158db9e144f6b034361b62d477afb5692d38f6de8c539f05219f
/* * This file is part of the UCB release of Plan 9. It is subject to the license * terms in the LICENSE file found in the top-level directory of this * distribution and at http://akaros.cs.berkeley.edu/files/Plan9License. No * part of the UCB release of Plan 9, including this file, may be copied, * modified, pro...
C
sys/src/cmd/auth/factotum/p9sk1.c
brho/plan9
gpl-2.0
10,247
496
codeparrot/github-code
725d078e974869fb67bb3fd82dd0bf49272612d0023bb649465c2045fb654d86
from __future__ import unicode_literals from __future__ import print_function from __future__ import absolute_import from __future__ import division ''' All things computer vision. ''' import cv2 from mousetrap.i18n import _ from mousetrap.image import Image import mousetrap.plugins.interface as interface import logg...
Python
src/mousetrap/vision.py
GNOME-MouseTrap/mousetrap
gpl-2.0
6,987
228
codeparrot/github-code
45fc3e1377f8f2b53f558bc86a0641f0963e1cc9ee5d3c6b1ba7832f9c7835d5
/* Copyright (C) 2013-2014 Draios inc. This file is part of sysdig. sysdig is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. sysdig is distributed in the hope that it will be useful, but WITHOUT ANY WAR...
C++
userspace/libsinsp/container.cpp
chen0031/sysdig
gpl-2.0
10,890
458
codeparrot/github-code
ebf91df1078a01f4e6ad86bec3ce84e5905b93d239e996a3f405eb23b429f434
VERSION = 3 PATCHLEVEL = 2 SUBLEVEL = 62 EXTRAVERSION = NAME = Saber-toothed Squirrel # *DOCUMENTATION* # To see a list of typical targets execute "make help" # More info can be located in ./README # Comments in this file are targeted only to the developer, do not # expect to learn how to build the kernel reading this...
Makefile
Makefile
souljaboy11792/linux
gpl-2.0
53,472
1,570
codeparrot/github-code
5f6effd53bafe8342dad5f7192a3254af3e4e7e531886ef9ce1e63e3dbef94c3
/*--------------------------------------------------------------------*/ /*--- A mapping where the keys exactly cover the address space. ---*/ /*--- pub_tool_rangemap.h ---*/ /*--------------------------------------------------------------------*/ /* This file is part of...
C
include/pub_tool_rangemap.h
zhmz90/valgrind
gpl-2.0
3,662
85
codeparrot/github-code
5eaa8909041434b8446aed938741038e6272e2236f30ac7bedf479ab2bf220bd
/* * Copyright (C) 2014 rafa * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed ...
JavaScript
src/main/webapp/js/specific/nota/routes.js
jesuspablo/proyectoFinal2015
gpl-2.0
3,915
84
codeparrot/github-code
3ea62389ef554321189affd6c35ab28561c25fb60102c090fee9286448c8123f
/* * Copyright (C) 2010 Apple 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: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
C
Source/WebCore/rendering/style/StylePendingImage.h
qtproject/qtwebkit
gpl-2.0
4,179
94
codeparrot/github-code
245b6b604a4866913c69cf1ca6263c216d373e276da622863c111a45b95a5449
/* DocManager.H * * Copyright (C) 2006 Richard Spindler <richard.spindler AT gmail.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at y...
C++
src/DocManager.H
oracle2025/openmovieeditor
gpl-2.0
1,406
55
codeparrot/github-code
904a437ef079106efbc3b47e13fb64dc1e7cd750411024d8118a3fe9a7d731dd
using WGestures.App.Gui.Windows.Controls; namespace WGestures.App.Gui.Windows { partial class EditGestureForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up a...
C#
WGestures.App/Gui/Windows/EditGestureForm.Designer.cs
luchaoshuai/WGestures
gpl-2.0
13,716
272
codeparrot/github-code
026952f73e01703b6c5936fe67783efbc515235792b32a1759cdad34dd06adff
/* * Copyright (c) 2013 - 2015, Freescale Semiconductor, 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: * * o Redistributions of source code must retain the above copyright not...
C
Vendor Firmware/platform/system/src/clock/MK22F51212/fsl_clock_MK22F51212.c
wrh2/ECE411
gpl-2.0
31,469
931
codeparrot/github-code
1320c224b8a6c7556a62d287bf078667a4a3986113d09bc07694975f4c9e2481
/* * ircd-ratbox: A slightly useful ircd. * m_trace.c: Traces a path to a client/server. * * Copyright (C) 1990 Jarkko Oikarinen and University of Oulu, Co Center * Copyright (C) 1996-2002 Hybrid Development Team * Copyright (C) 2002-2005 ircd-ratbox development team * * This program is free software; you...
C
modules/m_trace.c
Elemental-IRCd/elemental-ircd
gpl-2.0
12,104
426
codeparrot/github-code
a7411d0338d5eeb6c63c09b251099464044a729db1301a022e2eb42e9c67747e
/* * Copyright (C) 2007 Oracle. All rights reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public * License v2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHO...
C
src/btrfs/extent-tree.c
mdbooth/partclone
gpl-2.0
87,811
3,286
codeparrot/github-code
be51fd512eb2d02b573a0f647a10d46ac0ce9e8f74a61c907f573fd43d261544
/* This file is part of the KDE project * Copyright (C) 2007-2008 Jan Hambrecht <jaham@gmx.net> * * 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,...
C
karbon/plugins/tools/KarbonGradientTool.h
KDE/calligra-history
gpl-2.0
2,860
81
codeparrot/github-code
d0fbd46301517a35c41cb7f77a7b3b38c901da5984c9ea68fe7292927682fe1b
require 'mysql2' require File.expand_path(File.dirname(__FILE__) + '/base.rb') require 'htmlentities' require 'tsort' require 'set' require 'optparse' require 'etc' require 'open3' class ImportScripts::Smf2 < ImportScripts::Base def self.run options = Options.new begin options.parse! rescue Opti...
Ruby
script/import_scripts/smf2.rb
atlanta-ember-org/discuss-atlanta-ember-app
gpl-2.0
21,303
664
codeparrot/github-code
c7eae10d338bd32d9ed9eda1376f3f0c3acab9b3b732d8d86584d8fed305685a
/* Copyright_License { XCSoar Glide Computer - http://www.xcsoar.org/ Copyright (C) 2000-2016 The XCSoar Project A detailed list of copyright holders can be found in the file "AUTHORS". This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License ...
C++
test/src/RunAirspaceParser.cpp
glukolog/xcsoar
gpl-2.0
1,698
62
codeparrot/github-code
feee47ffd525f3dd4f3634845957c79c725650e15a6a4ec209541d0801e73bb8
# Copyright (C) 2020 Red Hat, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in ...
Python
dnf/transaction_sr.py
rpm-software-management/dnf
gpl-2.0
24,701
638
codeparrot/github-code
14a2c4a4bc4d24ccb1c63823f4799730031d6ecc8ed74608ab6c034c0ad56d23
#include <net-snmp/net-snmp-config.h> #if HAVE_STRING_H #include <string.h> #else #include <strings.h> #endif #include <net-snmp/net-snmp-includes.h> #include <net-snmp/agent/net-snmp-agent-includes.h> #include <net-snmp/agent/cache_handler.h> static netsnmp_cache *cache_head = NULL; static int cache_o...
C
package/teltonika-snmpd/src/agent/helpers/cache_handler.c
ingran/balzac
gpl-2.0
20,109
612
codeparrot/github-code
3b7b3eaab0d110a9a8651b11e4281f16aa60424b7bc1fb74c47298b02ca518f4
/************************************************************************************************** Filename: ipd.h Revised: $Date: 2012-04-02 17:02:19 -0700 (Mon, 02 Apr 2012) $ Revision: $Revision: 29996 $ Description: Header file for the IPD functionality Copyright 2009-2011 Texas ...
C
Projects/zstack/SE/SampleApp/Source/IPD/ipd.h
smileboywtu/zigbee-lcd-stack
gpl-2.0
4,128
115
codeparrot/github-code
049e9370849a9cfd0c1eb87d70f844883cc9f1e63e1ed01be5a3ecf49a4325e4
# #################################################################### # gofed - set of tools to automize packaging of golang devel codes # Copyright (C) 2014 Jan Chaloupka, jchaloup@redhat.com # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public Licen...
Python
modules/RemoteSpecParser.py
ingvagabund/gofed
gpl-2.0
2,663
75
codeparrot/github-code
028e829a39cbb648df03f336954e1ad5c17afc92e36af24110f7ce0f50c82f6b
/* * SL_LinAlgWarper.h * * Created on: 2010-11-15 * Author: Danping Zou * E-mail: dannis.zou@gmail.com */ #ifndef SL_LINALGWARPER_H_ #define SL_LINALGWARPER_H_ #include "math/SL_LinAlg.h" #include "math/SL_Matrix.h" inline void matScale(Mat_d& A, double scale) { matScale(A.rows, A.cols, A.da...
C
src/math/SL_LinAlgWarper.h
jackyspeed/LibVisualSLAM
gpl-2.0
1,411
48
codeparrot/github-code
2b3e6579bd39cc01cc08454097d72047b37330a0d843097414675f86bb58bd3f
<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName /** * ES_WP_Query adapters: Jetpack Search adapter * * @package ES_WP_Query */ // phpcs:disable Generic.Classes.DuplicateClassName.Found /** * An adapter for Jetpack Search. */ class ES_WP_Query extends ES_WP_Query_Wrapper { /** * Implement...
PHP
wp-content/plugins/es-wp-query/adapters/jetpack-search.php
MinnPost/minnpost-wordpress
gpl-2.0
11,921
294
codeparrot/github-code
b320726423abd3c9f94afb7f856e7498c4ded75f4a696cc04a56848009a0bd7c
/* * Copyright (C) 2013 Samsung Electronics. All rights reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be u...
C
drivers/sensors/cm3323.c
caplio/android_kernel_samsung_hltedcm
gpl-2.0
14,488
568
codeparrot/github-code
50d8b88620c7b5aac88b8d3b6fa4264db7d950dc7bf375c7c4ec0334f21d63c2
<!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" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>CodeIgniter User Guide</title> <style type='...
HTML
CodeIgniter_1.6.3/CodeIgniter_1.6.3/user_guide/installation/upgrade_141.html
Calico90/codeigniter-version-scanner
gpl-2.0
5,305
148
codeparrot/github-code
c5ef0fa5042111ccb16f444f56350044c861c7008e2f9b47e5938a9dbf75284d
/*************************************************************************** qgschunkedentity_p.cpp -------------------------------------- Date : July 2017 Copyright : (C) 2017 by Martin Dobias Email : wonder dot sk at gmail dot com **********************************...
C++
src/3d/chunks/qgschunkedentity_p.cpp
rldhont/Quantum-GIS
gpl-2.0
16,452
541
codeparrot/github-code
994b8e0d9ca092672cd0ad19223da73685057777f709becf3d0a32cd4b95516a
/* * Synaptics DSX touchscreen driver * * Copyright (C) 2012 Synaptics Incorporated * * Copyright (C) 2012 Alexandra Chin <alexandra.chin@tw.synaptics.com> * Copyright (C) 2012 Scott Lin <scott.lin@tw.synaptics.com> * * This program is free software; you can redistribute it and/or modify * it under the terms o...
C
drivers/input/touchscreen/synaptics/synaptics_i2c_rmi.h
GuneetAtwal/kernel_g900f
gpl-2.0
36,800
1,278
codeparrot/github-code
819fcfd2e9921e2e1288b63c76f23fdaa0ffd737ca41ef306809e64f810c5092
/* Copyright (C) 2006 - 2015 Evan Teran evan.teran@gmail.com This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later v...
C++
src/QULongValidator.cpp
Northern-Lights/edb-debugger
gpl-2.0
3,364
95
codeparrot/github-code
39804c98d6d0a3e2c38d69d2eaf9f4f85d0e52cc31487aedf78c0088e73e5c95
/* * Copyright (c) 2014 Somsubhra Bairi <somsubhra.bairi@gmail.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later ...
C
app/propertyreader.h
Somsubhra/Lils
gpl-2.0
2,517
102
codeparrot/github-code
d12c5a818fde03f995e42bd94ae1b33b36e9ad42362be5be967168faf0b41575
/*************************************************************************** * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at you...
C
umbrello/dialogs/selectopdlg.h
Elv13/Umbrello-ng
gpl-2.0
2,217
87
codeparrot/github-code
a74b3f5143e4e71c9fb6aaa0d6c6f33ddf747d4316f11d269be7da1c1e94d977
/* * varcpuload: Simple tool to create reproducable artifical sustained load on * a machine. * * Copyright (C) 2008-2012 Red Hat, Inc. * Authors: Phil Knirsch * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as publish...
C
experiments/varcpuload.c
fcelda/tuned
gpl-2.0
5,100
210
codeparrot/github-code
5c34439c7fb8770703b3a355df8002dd08976994cde6e81e4f7eb4b827d4d090
/* LibTomMath, multiple-precision integer library -- Tom St Denis * * LibTomMath is a library that provides multiple-precision * integer arithmetic as well as number theoretic functionality. * * The library was designed directly after the MPI library by * Michael Fromberger but has been written from scratch with ...
C
user/dropbear/libtommath/bn_mp_sqrt.c
kidmaple/CoolWall
gpl-2.0
1,695
76
codeparrot/github-code
05531ea5438ae2c8f7f44827f89b343bc64ca2388cf35d41aefb535f370af0bc
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (c) Linux Test Project, 2003-2021 * Copyright (c) 2014 Cyril Hrubis <chrubis@suse.cz> * Copyright (c) International Business Machines Corp., 2001 * 07/2001 Ported by Wayne Boyer */ /*\ * [Description] * * Verify that fchown(2) invoked by super-user: ...
C
testcases/kernel/syscalls/fchown/fchown02.c
linux-test-project/ltp
gpl-2.0
2,249
96
codeparrot/github-code
ce645ce620919bf61ed317682472ee58bbc801ef16a2f22727a9467644251679
/* This file is part of Warzone 2100. Copyright (C) 1999-2004 Eidos Interactive Copyright (C) 2005-2009 Warzone Resurrection Project Warzone 2100 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 ver...
C
src/scriptextern.c
venkatarajasekhar/wzgraphicsmods
gpl-2.0
5,081
228
codeparrot/github-code
d5c3ff2ca247fc4044d2d50dd5eb3ffb44cfbfefb9aa0cc9bcd2b58530ff7f90
<?php if (is_user_logged_in()) { header("Location: " . get_bloginfo('url')); exit(NULL); } /* Template Name: Recover Password */ $accountReg = get_page_by_title($OPTION['wps_pgNavi_regOption']); $accountLog = get_page_by_title($OPTION['wps_pgNavi_logOption']); get_header(); $EMAIL = loa...
PHP
wp-content/themes/TheClothesShop/lost_password.php
BalajiRamachandran/autos2day
gpl-2.0
5,473
139
codeparrot/github-code
183267c9135b73f7385ff5ac4ee81e4b2623b0d49d91cc3da23aaef392af9fc0
// FrictionSolver.h // // Breannan Smith // Last updated: 09/03/2015 #ifndef FRICTION_SOLVER_H #define FRICTION_SOLVER_H #include <memory> #include "scisim/Math/MathDefines.h" class Constraint; class FlowableSystem; class FrictionSolver { public: virtual ~FrictionSolver() = 0; virtual void solve( const unsi...
C
scisim/ConstrainedMaps/FrictionSolver.h
hmazhar/scisim
gpl-2.0
976
34
codeparrot/github-code
ec9cf15444dea455099e332f3641ce3cb8273d6f412f35df4a9cb0f0d4a4be1f
// Copyright (C) 2009, 2010 EPITA Research and Development Laboratory // (LRDE) // // This file is part of Olena. // // Olena 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, version 2 of the License. // // O...
C++
scribo/scribo/binarization/global_threshold_auto.hh
glazzara/olena
gpl-2.0
4,566
168
codeparrot/github-code
74ce0bfb781888b6d6cc69ae13376655b9b9b9576bd98b1dfdac405ddbf103ed
/* * Copyright (C) 2010 Google, Inc. * Author: Dima Zavin <dima@android.com> * * Copyright (C) 2010-2012 NVIDIA Corporation * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be copied, distributed, and modified un...
C
drivers/staging/tegra/media/avp/avp.c
ac100-ru/picasso-kernel
gpl-2.0
50,363
1,950
codeparrot/github-code
9ba601f53580deb85c03e3c95eb4a5baaf6c85322d86d1ab559d862777cbebfd
/* * dselect - Debian package maintenance user interface * bindings.cc - keybinding manager object definitions and default bindings * * Copyright © 1995 Ian Jackson <ian@chiark.greenend.org.uk> * * This is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License...
C++
dselect/bindings.cc
davidben/dpkg
gpl-2.0
6,593
175
codeparrot/github-code