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 |
|---|---|---|---|---|---|---|---|---|
3640b89eba7681e4bb557387936a0b1fb69111e5f6dbc1afd181b1ccd371c065 | # -*- coding: utf-8 -*-
#
# This file is part of Invenio.
# Copyright (C) 2013 CERN.
#
# Invenio 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... | Python | invenio/modules/search/signals.py | zenodo/invenio | gpl-2.0 | 1,169 | 37 | codeparrot/github-code |
b99667ed36ef5ba24f18efd7c239c14aaad439b1ebc9c362ffd2c43af5a26f5a | /*
* Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | Java | src/java.xml.ws/share/classes/com/sun/xml/internal/stream/buffer/sax/DefaultWithLexicalHandler.java | FauxFaux/jdk9-jaxws | gpl-2.0 | 1,938 | 49 | codeparrot/github-code |
44f42c4b694ca42aab153756264724766d1994160759576e2419a23b04c41b8c | /* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of ... | C | engines/mohawk/myst_scripts.h | clone2727/cabal | gpl-2.0 | 4,971 | 174 | codeparrot/github-code |
aca19b667ed21d6a5a05a85cd6f0610cf0515dd446c93d73d5e2bb3d70d7ed17 | #include "base.h"
#include "log.h"
#include "buffer.h"
#include "plugin.h"
#include <ctype.h>
#include <stdlib.h>
#include <string.h>
#ifdef USE_OPENSSL
# include <openssl/md5.h>
#else
# include "md5.h"
typedef li_MD5_CTX MD5_CTX;
#define MD5_Init li_MD5_Init
#define MD5_Update li_MD5_Update
#define MD5_Final li_MD... | C | release/src/router/lighttpd-1.4.29/src/mod_usertrack.c | ghmajx/asuswrt-merlin | gpl-2.0 | 7,528 | 294 | codeparrot/github-code |
663d7576fd09a21d85f9d5752dad458b79e353eaf5ae968ee26b0639a2177a81 | /*
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++ | src/MergeThread.hpp | Exadios/XCSoar-the-library | gpl-2.0 | 2,131 | 85 | codeparrot/github-code |
dd06f8d003f70394a502efe6bfffa07eb5b111dff252198cdf72496ffe2072d8 | package com.temenos.interaction.springdsl;
/*
* #%L
* interaction-springdsl
* %%
* Copyright (C) 2012 - 2016 Temenos Holdings N.V.
* %%
* 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 Founda... | Java | interaction-dsl/interaction-springdsl/src/main/java/com/temenos/interaction/springdsl/EagerSpringDSLResourceStateProvider.java | ritumalhotra8/IRIS | agpl-3.0 | 9,581 | 229 | codeparrot/github-code |
bb171d2f38e1fc106024a5a66296fa8ae68eef6dafc341622ab1a1bc1448fff0 | package com.thinkaurelius.titan.graphdb.types;
import com.thinkaurelius.titan.graphdb.internal.InternalVertexLabel;
import com.thinkaurelius.titan.graphdb.transaction.StandardTitanTx;
import com.thinkaurelius.titan.graphdb.types.vertices.TitanSchemaVertex;
/**
* @author Matthias Broecheler (me@matthiasb.com)
*/
pub... | Java | titan-core/src/main/java/com/thinkaurelius/titan/graphdb/types/VertexLabelVertex.java | CYPP/titan | apache-2.0 | 1,112 | 43 | codeparrot/github-code |
01f6582f03e8939a189d87863a5ba0e90056edd2e5fdb97010a5f31969333ce9 | #.rst:
# FindWinSock
# --------
#
# Find the native realtime includes and library.
#
# IMPORTED Targets
# ^^^^^^^^^^^^^^^^
#
# This module defines :prop_tgt:`IMPORTED` target ``WINSOCK::WINSOCK``, if
# WINSOCK has been found.
#
# Result Variables
# ^^^^^^^^^^^^^^^^
#
# This module defines the following variables:
#
# :... | CMake | thirdparty/civetweb-1.9.1/cmake/FindWinSock.cmake | brosander/nifi-minifi-cpp | apache-2.0 | 3,029 | 103 | codeparrot/github-code |
d3bdc3bdde862968ae1d0633efd2beb4d54c19e63960e85b5fff020c69e2eb7a | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | Java | oak-commons/src/test/java/org/apache/jackrabbit/oak/commons/io/LazyInputStreamTest.java | chetanmeh/jackrabbit-oak | apache-2.0 | 3,396 | 115 | codeparrot/github-code |
b5c7369edf47f7105e81d90f24a14c67ccd0edc4fe3e6ac556220cf297d3d565 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may n... | Java | artemis-journal/src/test/java/org/apache/activemq/artemis/core/io/DelegateCallbackTest.java | kjniemi/activemq-artemis | apache-2.0 | 4,442 | 123 | codeparrot/github-code |
fdd642b348cfdf52ec81d7f0ce0f43d7985ecb26913dd2d756454aa7977a6c07 | <HTML>
<BODY BGCOLOR="white">
<PRE>
<FONT color="green">001</FONT> /**<a name="line.1"></a>
<FONT color="green">002</FONT> * Licensed to the Apache Software Foundation (ASF) under one<a name="line.2"></a>
<FONT color="green">003</FONT> * or more contributor license agreements. See the NOTICE file<a name="li... | HTML | share/doc/hadoop/api/src-html/org/apache/hadoop/metrics2/lib/Interns.html | SAT-Hadoop/hadoop-2.6.0 | apache-2.0 | 14,687 | 232 | codeparrot/github-code |
1aa76897ce6d758a8b25dcf0d13fc0dc16b76565634a5810bb1132fae3a10ed1 | /*
* Copyright 2014-present Open Networking Laboratory
*
* 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 appli... | Java | utils/junit/src/test/java/org/onlab/junit/UtilityClassCheckerTest.java | Shashikanth-Huawei/bmp | apache-2.0 | 5,111 | 161 | codeparrot/github-code |
2077b397ace6f34d2b52bb79eeda667a4747291887b014db315e8b5e249c5655 | /*
* Copyright 2012-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | Java | spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/jdbc/DataSourceJmxConfigurationTests.java | ilayaperumalg/spring-boot | apache-2.0 | 8,200 | 205 | codeparrot/github-code |
cfd28704a445bed19678ebdc08b6c74008535e6d52b8fdde6df4122595069898 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Java | components/camel-tracing/src/test/java/org/apache/camel/tracing/decorators/MongoDBSpanDecoratorTest.java | nikhilvibhav/camel | apache-2.0 | 2,680 | 73 | codeparrot/github-code |
9996e8708b926ab5943401639906ac801c97ef0912abbb1c478aa3bb5f77edc1 | /*
* TTA (The Lossless True Audio) decoder
* Copyright (c) 2006 Alex Beregszaszi
*
* This file is part of FFmpeg.
*
* FFmpeg 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... | C | third_party/ffmpeg/libavcodec/tta.c | shyamalschandra/sagetv | apache-2.0 | 13,524 | 447 | codeparrot/github-code |
b7287f5fb8e1fb225f00711d9add7fcc32fa0ec125ac806d251fc67d6fe3aea8 | import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class Regex {
private static void expect(boolean v) {
if (! v) throw new RuntimeException();
}
private static Matcher getMatcher(String regex, String string) {
return Pattern.compile(regex).matcher(string);
}
private static void... | Java | test/hide/Regex.java | ucdseniordesign/avian | isc | 3,492 | 103 | codeparrot/github-code |
e6c4adaa2095223bb18d710f70f37d90965e63cc66735f2811a6b35b593d52af | <?php
/*
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sylius\Behat\Page;
use Behat\Mink\Driver\DriverInterface;
use Behat\Mink\Element\DocumentEl... | PHP | src/Sylius/Behat/Page/Page.php | danut007ro/Sylius | mit | 7,007 | 281 | codeparrot/github-code |
3f7601ba5a58ea400782db86b7245f0d11b8919c76c480389c941f106e83813f | <!--
@license
Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors ma... | HTML | designer/elements/design-tree/design-tree.html | Ocode/polymer-proj | mit | 3,210 | 124 | codeparrot/github-code |
6a4fe9671a9404b7db3c926fbb526ca91ad4ada4370feccf9337a92abeb50c7f | #ifndef PDEP_H
#define PDEP_H
#include "sword25/util/lua/lua.h"
#include "sword25/util/pluto/pdep/lzio.h"
#include "sword25/util/lua/ldo.h"
#include "sword25/util/lua/lfunc.h"
#include "sword25/util/lua/lgc.h"
#include "sword25/util/lua/llimits.h"
#include "sword25/util/lua/lobject.h"
#include "sword25/util/lua/lopcod... | C | engines/sword25/util/pluto/pdep/pdep.h | MaddTheSane/scummvm | gpl-2.0 | 1,599 | 43 | codeparrot/github-code |
c742bc3408ca889d9862cb998aa0cf3b7bfbca1a1cc5bf074cce359f98468d0a | package junit.framework;
/**
* Thrown when an assert equals for Strings failed.
*
* Inspired by a patch from Alex Chaffee mailto:alex@purpletech.com
*/
public class ComparisonFailure extends AssertionFailedError {
private String fExpected;
private String fActual;
/**
* Constructs a comparison fa... | Java | stubs/java_original/junit_3.8/framework/ComparisonFailure.java | carvalhomb/tsmells | gpl-2.0 | 1,798 | 68 | codeparrot/github-code |
b236c36780bf01e552a8fda0de1acd36b4b824ff1e9bc7b3bae87c45e1d2e6ee | <?php
/**
* @file
* Process theme data.
*
* Use this file to run your theme specific implimentations of theme functions,
* such preprocess, process, alters, and theme function overrides.
*
* Preprocess and process functions are used to modify or create variables for
* templates and theme functions. They are a ... | PHP | sites/all/themes/mix_and_match/template.php | pgrayove/lint-backup | gpl-2.0 | 3,140 | 86 | codeparrot/github-code |
2bceebe70bcbb4976d49e8a6b46637fee1cbbf64476ab732896525a00557690b | ///////////////////////////////////////////////////////////////////////////////
// Name: src/xrc/xmladv.cpp
// Purpose: Parts of wxXRC library depending on wxAdv: they must not be in
// xmlres.cpp itself or it becomes impossible to use wxXRC without
// linking wxAdv even if the latt... | C++ | win32/clamav-for-windows/sigui/wxWidgets-2.9.1/src/xrc/xmladv.cpp | Distrotech/clamav | gpl-2.0 | 2,172 | 80 | codeparrot/github-code |
02698f23b466371eca164b4cee838ec277f8236f7e313b9e81b9140b2bb7e432 | /*
* Copyright (C) 2010 Samsung Electronics.
*
* 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 under those terms.
*
* This program is distributed in the hope that it will be use... | C | drivers/misc/modem_v1/modem_ctrl_ss222.c | cm-3470/android_kernel_samsung_gardalte | gpl-2.0 | 6,944 | 298 | codeparrot/github-code |
85c9e18edea07fd3022f328fbfc5e30b002d3a6dbb122a6ff079467ecbccf0c8 | /*
* Diag Function Device - Route DIAG frames between SMD and USB
*
* Copyright (C) 2007 Google, Inc.
* Author: Brian Swetland <swetland@google.com>
*
* 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, dis... | C | drivers/usb/gadget/diag.c | slz/samsung-exhibit-ii-kernel | gpl-2.0 | 21,819 | 939 | codeparrot/github-code |
944a0dfa6d13c9bc8f65ac3753da1ff2fbdd25048ec083df6a0f7cb0734e323a | -----------------------------------
-- Area: Zeruhn Mines
-- NPC: Makarim
-- Involved In Mission: The Zeruhn Report
-- @pos -58 8 -333 172
-----------------------------------
package.loaded["scripts/zones/Zeruhn_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("s... | Lua | scripts/zones/Zeruhn_Mines/npcs/Makarim.lua | Igdra/darkstar | gpl-3.0 | 1,548 | 62 | codeparrot/github-code |
4b9612e68f9c84937c0400a21bcc539df069d4a1e910e7386d33d1e6d4e83266 | <?php
/**
* @author Mike Cochrane <mikec@mikenz.geek.nz>
* @author Nick Pope <nick@nickpope.me.uk>
* @copyright Copyright © 2010, Mike Cochrane, Nick Pope
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License v2.0
* @package Twitter
*/
/**
* Twitter Regex Abstract Class
*
* Used... | PHP | webapp/plugins/twitter/extlib/twitter-text-php/lib/Twitter/Regex.php | ddanuj/ThinkUp | gpl-3.0 | 15,057 | 295 | codeparrot/github-code |
c328bf464a787ffa63f66db1d82d2ca43fe5774a9d9b76427f621d62fc5b2e1a | from datetime import datetime, timedelta
from twitter.common.lang import total_ordering
# TODO(wickman) Do something that won't break if this is running over NYE?
_CURRENT_YEAR = str(datetime.now().year)
class Level(object):
DEBUG = 0
INFO = 10
WARNING = 20
ERROR = 30
FATAL = 40
@total_ordering... | Python | src/python/twitter/common/log/parsers.py | Yasumoto/commons | apache-2.0 | 3,099 | 119 | codeparrot/github-code |
70b545f2c2f86f63218d79324a979d22ee6633237e55595047e8f852ec8e8313 | <div class="col-sm-9 col-md-10 col-sm-push-3 col-md-push-2">
<ol class="breadcrumb">
<li><a href="#/realms/{{realm.realm}}/clients">{{:: 'clients' | translate}}</a></li>
<li><a href="#/realms/{{realm.realm}}/clients/{{client.id}}">{{client.clientId}}</a></li>
<li><a href="#/realms/{{realm.r... | HTML | themes/src/main/resources/theme/base/admin/resources/partials/authz/policy/resource-server-policy-list.html | keycloak/keycloak | apache-2.0 | 7,688 | 118 | codeparrot/github-code |
efa8dc54258a3e25806ffc265bd0b4e9a8ec26e2cf8620ed3bee4e879696ac0a | /*
*
* * Copyright 2005-2015 Red Hat, Inc.
* * Red Hat licenses this file to you 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
* * Unl... | Java | sandbox/apps/fabric8mq-controller/src/main/java/io/fabric8/mq/controller/camel/ControllerComponent.java | rajdavies/ipaas-quickstarts | apache-2.0 | 2,623 | 55 | codeparrot/github-code |
b5faa21abefd3ff1e293066d9ba7391cade95e69f4d8cc046a9d2a4188f21e75 | define([
"dojo/_base/declare",
"dojo/_base/array",
"dojo/dom-construct",
"./common",
"dojo/_base/window"
], function(declare, array, domConstruct, common, win){
// module:
// dojox/mobile/ListItem
return declare(null, {
// summary:
// Support for control over text direction for mobile ListItem widget, u... | JavaScript | src/main/webapp/js/dojox/mobile/bidi/ListItem.js | denov/dojo-demo | apache-2.0 | 3,874 | 99 | codeparrot/github-code |
f7a0d89e8e452b47ebe5c316768d5a1142e29cd48bb1bb0dbbc0a09fd71efac8 | /*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... | Java | core/common/src/main/java/alluxio/underfs/options/ListOptions.java | PasaLab/tachyon | apache-2.0 | 1,997 | 85 | codeparrot/github-code |
06f49bbabbfca7b22e5605d469c7608db71f11144b224a80d5324b9ff188a602 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may n... | Java | clients/src/test/java/org/apache/kafka/clients/producer/RecordMetadataTest.java | KevinLiLu/kafka | apache-2.0 | 3,305 | 82 | codeparrot/github-code |
d8463d7820b191567977581678a74616766a32c36ac99e8a42fe87038624c259 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | Java | flink-runtime/src/main/java/org/apache/flink/runtime/rest/handler/job/checkpoints/AbstractCheckpointHandler.java | hequn8128/flink | apache-2.0 | 4,467 | 100 | codeparrot/github-code |
fd72e9f8965a569883b341fc44417b217eb76dc146e14c360536ff3755b438fe | /*
* 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 in writing, software
* distribut... | Java | presto166/presto-accumulo/src/main/java/com/facebook/presto/accumulo/model/Field.java | marsorp/blog | apache-2.0 | 18,083 | 529 | codeparrot/github-code |
8bb09ce41d3f845207e5104582c07e0cb68cdd3448934d89eb335265d038559f | /* Common hooks for picoChip.
Copyright (C) 2001, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3, or (at y... | C | gccsrc/gcc-4.7.2/gcc/common/config/picochip/picochip-common.c | the-linix-project/linix-kernel-source | bsd-2-clause | 1,397 | 41 | codeparrot/github-code |
5df290563b536069c161f4cbb0228dfbabf83abaefb9c8de70c7db77f84b3d63 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "remoting/host/sas_injector.h"
#include <windows.h>
#include <string>
#include "base/files/file_path.h"
#include "base/logging.h"
#include ... | C++ | remoting/host/sas_injector_win.cc | CTSRD-SOAAP/chromium-42.0.2311.135 | bsd-3-clause | 6,840 | 230 | codeparrot/github-code |
6bd0ee12c4755cc5ca1bea560a2a0f66f0ca981e8e657e90730e5d2d93bf150b | // Type definitions for react-test-renderer 16.0
// Project: https://facebook.github.io/react/
// Definitions by: Arvitaly <https://github.com/arvitaly>
// Lochbrunner <https://github.com/lochbrunner>
// John Reilly <https://github.com/johnnyreilly>
// John Gozde <https:/... | TypeScript | types/react-test-renderer/index.d.ts | zuzusik/DefinitelyTyped | mit | 2,190 | 53 | codeparrot/github-code |
bf22a34609b3d4f5d8824831107d940de0aa11011a4be4601bcd987c910d4922 | // Copyright 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SYNC_INTERNAL_API_PUBLIC_BASE_NODE_H_
#define SYNC_INTERNAL_API_PUBLIC_BASE_NODE_H_
#include <string>
#include <vector>
#include "base/basictype... | C | third_party/webrtc/src/chromium/src/sync/internal_api/public/base_node.h | Teamxrtc/webrtc-streaming-node | mit | 8,762 | 230 | codeparrot/github-code |
400c0f6e41e2bc97a14c684d0d4120da14a8a257cebb3f36c446da98321ec333 | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Lock\Store;
use Psr\Log\LoggerAwareInterface;
use Psr... | PHP | src/Symfony/Component/Lock/Store/CombinedStore.php | Simperfit/symfony | mit | 5,421 | 178 | codeparrot/github-code |
743386d6d0d63b77772f193cb77bc9dab14fd3ace885f844bbcd25944fb2b1a3 | // Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
// MIT License. See license.txt
wn.provide("wn.ui.form");
wn.ui.form.Toolbar = Class.extend({
init: function(opts) {
$.extend(this, opts);
this.make();
this.add_update_button_on_dirty();
this.appframe.add_module_icon(this.frm.meta.module... | JavaScript | public/js/wn/form/toolbar.js | saurabh6790/medsyn-lib | mit | 7,348 | 237 | codeparrot/github-code |
7c90fb87a711cc42d8c5b190f2a4a75966a341d7c7af0f96e479a4ae633077a8 | /*
Copyright (c) 2010-2012, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | C++ | libtorrent/include/libtorrent/rss.hpp | djmaze/twister-core | mit | 7,226 | 221 | codeparrot/github-code |
9e6b6e3a203040e32c50a4c9f05a4a8f5a52cc9a98aa5f7f90311e3f6e4b5fa7 | class Admin::Merchandise::Wizards::ShippingCategoriesController < Admin::Merchandise::Wizards::BaseController
helper_method :selected?
def index
form_info
end
def create
@shipping_category = ShippingCategory.new(params[:shipping_category])
if @shipping_category.save
session[:product_wizard] |... | Ruby | app/controllers/admin/merchandise/wizards/shipping_categories_controller.rb | drhenner/founderslogic | mit | 1,246 | 44 | codeparrot/github-code |
1cc70caa140e0e6e6221724a447f54d0a1e82a6a8dfc4324135482a99137a04d | // Downloads torrents from the command-line.
package main
import (
"bufio"
"fmt"
"io"
"io/ioutil"
"log"
"net"
"net/http"
_ "net/http/pprof"
"os"
"strings"
"time"
_ "github.com/anacrolix/envpprof"
"github.com/anacrolix/missinggo"
"github.com/dustin/go-humanize"
"github.com/jessevdk/go-flags"
"github.c... | GO | Godeps/_workspace/src/github.com/anacrolix/torrent/cmd/torrent-pick/main.go | Mysecretid/mysecretid2 | mit | 4,243 | 191 | codeparrot/github-code |
ccae4c8356b19b350d70be40600e678bfe0bc3fd7a24a62376faf0e67514c966 | //----------------------------------------------
// NGUI: Next-Gen UI kit
// Copyright © 2011-2013 Tasharen Entertainment
//----------------------------------------------
using UnityEngine;
using System.Collections.Generic;
/// <summary>
/// Turns the popup list it's attached to into a language selection l... | C# | Visualizer/Assets/NGUI/Scripts/Interaction/LanguageSelection.cs | Vrixyz/Planet-Factory | epl-1.0 | 1,265 | 50 | codeparrot/github-code |
1af49a65229ad8b45df194abfbdcef399d3c3de1bde908759ce1c7e7dd39a1ad | /**
* Copyright (c) 2010-2019 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.logreader/src/main/java/org/openhab/binding/logreader/internal/config/LogReaderConfiguration.java | clinique/openhab2 | epl-1.0 | 1,383 | 38 | codeparrot/github-code |
246ea55eded7823e3966bf473c477a7caf6bfdba2d1bd86d763dd05e739643bc | /*
* Kuda includes a library and editor for authoring interactive 3D content for the web.
* Copyright (C) 2011 SRI International.
*
* 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
*... | JavaScript | public/js/editor/plugins/shadows/shadows.js | supergoldorak/kuda.stable | gpl-2.0 | 15,997 | 527 | codeparrot/github-code |
9a1ff8003358dcbfe1d0e8c99ffb9858441a87443f78d6bab4fc3927806d2199 | // script for calculating excl and incl prices for Posterita products
var taxRateFactor = 1.0;
var updateTax = function(e)
{
var taxCategoryId = document.forms[0].taxCategoryId.value;
var url = "TaxAction.do";
var pars = "action=getTaxRate&taxCategoryId="+ taxCategoryId;
var myAjax = new Ajax.Request( url,
{ ... | JavaScript | posterita/posterita/web/js/productTax.js | TaymourReda/-https-github.com-adempiere-adempiere | gpl-2.0 | 2,903 | 131 | codeparrot/github-code |
b411404a010ebe3c527b343ca02ea927ce6f0df247ce08cf1d37742cd8181263 | /* Target-dependent code for the S+core architecture, for GDB,
the GNU Debugger.
Copyright (C) 2006-2012 Free Software Foundation, Inc.
Contributed by Qinwei (qinwei@sunnorth.com.cn)
Contributed by Ching-Peng Lin (cplin@sunplus.com)
This file is part of GDB.
This program is free software; you can ... | C | gdb/score-tdep.c | ILyoan/gdb | gpl-2.0 | 46,518 | 1,558 | codeparrot/github-code |
7e23ea41cc63a05a6a46a2b69aec5d32c01503d4688f938cc80129c052912b0c | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Arrow Navigator Skin 21 - Jssor Slider, Slideshow with Javascript Source Code</title>
</head>
<body style="font-family:Arial, Verdana;background-color:#fff;">
<script type="text/javascript" sr... | HTML | wp-content/themes/twentythirteen/Jssor.Slider.FullPack/skin/arrow-21.source.html | waikitlin/wordpress | gpl-2.0 | 4,251 | 84 | codeparrot/github-code |
09cdde35d7268d5bcae29af023f6f1b945d65836abd0c9cabfa94d987f2a7095 | /* $Id$
*
* Copyright (C) 2006-2007 VozTelecom Sistemas S.L
*
* This file is part of Kamailio, a free SIP server.
*
* Kamailio 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 Li... | C | modules/seas/utils.c | foucse/kamailio | gpl-2.0 | 4,786 | 195 | codeparrot/github-code |
dca4131202bd4ce9975ba5d4133842b233674c4e31482b565f19bda95a3d2d9e | /*
* Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | Java | test/hotspot/jtreg/compiler/arguments/TestUseCountTrailingZerosInstructionOnUnsupportedCPU.java | md-5/jdk10 | gpl-2.0 | 3,566 | 89 | codeparrot/github-code |
6658629a07bbb345f1c90f28dcb6152a76ae983584e80788737c388271c4c07b | <?php
/**
* WPSEO plugin file.
*
* @package WPSEO\Internals
*/
/**
* Represents the health check for paginated comments.
*/
class WPSEO_Health_Check_Page_Comments extends WPSEO_Health_Check {
/**
* The name of the test.
*
* @var string
*/
protected $test = 'yoast-health-check-page-comments';
/**
*... | PHP | wp-content/plugins/wordpress-seo/inc/health-check-page-comments.php | TheThumbsupguy/Ross-Upholstery-Inc | gpl-2.0 | 1,733 | 53 | codeparrot/github-code |
de29611b6ee35b83a867220a525b13b5523ae30cf0f84c3c46a5ba6082f413fe | // Copyright 2008 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
// This file controls all system timers
/* (shuffle2) I don't know who wrote this, but take it with salt. For starters, "time" is
contextual...
"Time" is measured in frames, not time: These update frequencie... | C++ | Source/Core/Core/HW/SystemTimers.cpp | Mushman/dolphin | gpl-2.0 | 10,340 | 300 | codeparrot/github-code |
b1c913740c9daefb78e6747e57d7c5fc7d1f187a6d07b2af054e9d69734ba0eb | <?php
/*
+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2015 |
+---------------------... | PHP | wp-content/plugins/civicrm/civicrm/CRM/Utils/Hook/DrupalBase.php | glocalcoop/activist-network | gpl-2.0 | 4,337 | 134 | codeparrot/github-code |
5b93969484f6b27e67b0edd6874c3be6ae407523a534c4fa0e80bf70dd97a574 | /* arch/arm/mach-msm/board-liberty-keypad.c
* Copyright (C) 2009 HTC 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 under those terms.
*
* This program is distri... | C | arch/arm/mach-msm/board-liberty-keypad.c | schlund/2.6.35-photonic-kernel | gpl-2.0 | 5,127 | 186 | codeparrot/github-code |
e1c3fcd7129425c4c2623f2e6201ef9264940259aad460e1adb3f9871fbaf888 | /*
Copyright (c) 2004-2006, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/community/licensing.shtml
*/
dojo.provide("dojo.debug.Firebug");
dojo.deprecated("d... | JavaScript | web/js/dojo/src/debug/Firebug.js | cidesa/roraima | gpl-2.0 | 1,675 | 63 | codeparrot/github-code |
57907ae8192c04781689a78c1e1d7d181dcae597fbc9a771ef09b006fa05c72b | // { dg-options "-std=gnu++11" }
// Copyright (C) 2005-2016 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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... | C++ | source/gcc-latest/libstdc++-v3/testsuite/23_containers/deque/capacity/moveable.cc | selmentdev/selment-toolchain | gpl-3.0 | 1,361 | 56 | codeparrot/github-code |
17f8b0657c8f7e32bd5a9294732d29ffb9ba697e679a22721cf62512bec33047 | // Copyright (C) 2015-2016 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Foundation; either version 3, or (at your op... | C++ | source/gcc-latest/libstdc++-v3/testsuite/20_util/enable_shared_from_this/members/reinit.cc | selmentdev/selment-toolchain | gpl-3.0 | 1,503 | 50 | codeparrot/github-code |
3043316fed5ff28d698a99fa32bc407b7d892eddd349667ffef65417a1202653 | <?php
class ModelAmazonListing extends Model {
private $tabs = array();
public function search($search_string, $marketplace) {
$search_params = array(
'search_string' => $search_string,
'marketplace' => $marketplace,
);
$results = json_decode($this->amazon->ca... | PHP | upload/admin/model/amazon/listing.php | zilgrg/opencart | gpl-3.0 | 4,795 | 139 | codeparrot/github-code |
187c787fb5ea5dc12d248f950e0a118a132491e9c159d7ddba8949acad898690 | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2010,2011,2012,2013 TELEMATICS LAB, Politecnico di Bari
*
* This file is part of LTE-Sim
*
* LTE-Sim is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3 as
* p... | C | src/networkTopology/Building.h | davonchi87/lte-sim | gpl-3.0 | 2,126 | 100 | codeparrot/github-code |
6770927b03aad601f9894b1461178ead74d2de45af8183451489339230d6e11e | package dependency
import (
"errors"
"fmt"
"log"
"regexp"
"sort"
)
// Node is a node entry in Consul
type Node struct {
Node string
Address string
}
type CatalogNodes struct {
rawKey string
DataCenter string
}
// Fetch queries the Consul API defined by the given client and returns a slice
// of Node... | GO | dependency/catalog_nodes.go | skippy/consul-template | mpl-2.0 | 2,617 | 126 | codeparrot/github-code |
9a7b196a814babdeebb160e7fd567e3c76e6116c4d86260f4207b5b1fcbecee6 | <?php
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
... | PHP | modules/Users/metadata/quickcreatedefs.php | vsanth/dynamic-crm | agpl-3.0 | 4,731 | 108 | codeparrot/github-code |
8480a4b57e2c5b2d0166e417b7990b8776ad4a33c09f0a35cc53d10fe48b67ba | /*
* Jitsi, the OpenSource Java VoIP and Instant Messaging client.
*
* Copyright @ 2015 Atlassian Pty Ltd
*
* 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.or... | Java | src/net/java/sip/communicator/impl/protocol/yahoo/OperationSetFileTransferYahooImpl.java | gpolitis/jitsi | apache-2.0 | 15,508 | 467 | codeparrot/github-code |
1f419c9e2930a9ad2d4b722e5fbe10f824472e03fe9f2e73c7460938af1d281d | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Java | modules/clients/src/test/java/org/apache/ignite/internal/jdbc2/JdbcStatementBatchingSelfTest.java | samaitra/ignite | apache-2.0 | 4,972 | 139 | codeparrot/github-code |
990db330b85b68576b5ab9cd8abc0ed8c749acfaff8479b812cefa9ced8f6672 | /*
* JBoss, Home of Professional Open Source
* Copyright 2015, Red Hat, Inc. and/or its affiliates, and individual
* contributors by the @authors tag. See the copyright.txt in the
* distribution for a full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* y... | CSS | hibernate3/src/main/webapp/resources/css/screen.css | DLT-Solutions-JBoss/jboss-eap-quickstarts | apache-2.0 | 3,974 | 201 | codeparrot/github-code |
b7b3afa43b3cac7ef2a56f17f85390fecfcc08d3c734790790cc4d8d77dba568 | //*********************************************************//
// Copyright (c) Microsoft. All rights reserved.
//
// Apache 2.0 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 in writing,... | C# | Nodejs/Product/Analysis/Analysis/IEnumerableExtensions.cs | mauricionr/nodejstools | apache-2.0 | 1,638 | 49 | codeparrot/github-code |
c4d42f8f1b61bd83c8b801dd0fb414030c8c2c9174c5867db59fee4ed9d434ec | 'use strict';
describe('collapse', function () {
var $compile, $templateCache, $animate, scope, sandboxEl;
beforeEach(module('ngSanitize'));
beforeEach(module('mgcrea.ngStrap.collapse'));
beforeEach(inject(function (_$rootScope_, _$compile_, _$templateCache_, _$animate_) {
scope = _$rootScope_.$new();
... | JavaScript | www/js/angular-strap-master/src/collapse/test/collapse.spec.js | npbtrac1/np_16014_kelle_mobile | apache-2.0 | 24,562 | 350 | codeparrot/github-code |
2694a0a68e3f244ceffe8cf9699cf25e8e9a43b801a440e2c7f1c86010f4c85a | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef NET_COOKIES_COOKIE_STORE_UNITTEST_H_
#define NET_COOKIES_COOKIE_STORE_UNITTEST_H_
#include "base/bind.h"
#include "base/message_loop/message_... | C | net/cookies/cookie_store_unittest.h | jaruba/chromium.src | bsd-3-clause | 50,667 | 1,209 | codeparrot/github-code |
c9b6d2fdeb759aaba78c8eada66b734b94d08e2677919c83929b00625ea2a55d | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "cc/trees/occlusion.h"
#include "cc/base/math_util.h"
#include "ui/gfx/geometry/rect.h"
namespace cc {
Occlusion::Occlusion() {
}
Occlusion::... | C++ | cc/trees/occlusion.cc | CTSRD-SOAAP/chromium-42.0.2311.135 | bsd-3-clause | 3,435 | 101 | codeparrot/github-code |
f5dfbf8b5f52ea4e5e5a99ed8b6b25671839c46798e19bf53f78e3c8024b5ae1 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Collections.Generic;
using System.Collections.Immutable;
using Roslyn.Utilities;
n... | C# | src/Compilers/CSharp/Portable/Symbols/ErrorMethodSymbol.cs | mavasani/roslyn | mit | 7,615 | 279 | codeparrot/github-code |
059d314d21999a6feeaf8cf3b9532f41fb48fa44a51fc225fce10e1925a376fb | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/base/url_util.h"
#include <ostream>
#include "base/format_macros.h"
#include "base/strings/utf_string_conversions.h"
#include "base/string... | C++ | src/net/base/url_util_unittest.cc | junhuac/MQUIC | mit | 19,206 | 587 | codeparrot/github-code |
34d2a1cd3358a6c565dc08bb07045404fad6dd1a082c9d5be5e8b926d7921172 | /*
* ProjectVersion.h - version compared in import upgrades
*
* Copyright (c) 2007 Javier Serrano Polo <jasp00/at/users.sourceforge.net>
* Copyright (c) 2015 Tres Finocchiaro <tres.finocchiaro/at/gmail.com>
*
* This file is part of LMMS - http://lmms.io
*
* This program is free software; you can redistribute it... | C | include/ProjectVersion.h | rcorre/lmms | gpl-2.0 | 2,858 | 75 | codeparrot/github-code |
6118269392f9cad7d468717187d0a0704668de22e02e3ac6ca5a8f154de10a5f | /*
* This file is part of the CMaNGOS Project. See AUTHORS file for Copyright information
*
* 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 o... | C++ | src/game/GMTicketHandler.cpp | mynew1/mangos-classic | gpl-2.0 | 6,287 | 171 | codeparrot/github-code |
aa99a98dc8a06f977effeabca3d878932ae9fa4b9e44d286ac0f24c0ed77cefd | using System;
using System.Collections.Generic;
using System.Text;
using Server.Items;
namespace Server.Ethics.Hero
{
public sealed class HolyItem : Power
{
public HolyItem()
{
m_Definition = new PowerDefinition(
5,
"Holy Item",
"Vidda K'balc",
""
);
}
public ov... | C# | Scripts/Engines/Ethics/Hero/Powers/HolyItem.cs | alucardxlx/caoticamente-shards | gpl-2.0 | 1,840 | 72 | codeparrot/github-code |
68d9ca2cb5a3789367594ce8666c35e75e48b4cb3704e6fc0ce7cc982ca8aa9a | /* Test exception in current environment.
Copyright (C) 1997-2014 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... | C | sysdeps/sparc/fpu/ftestexcept.c | vvavrychuk/glibc | gpl-2.0 | 994 | 31 | codeparrot/github-code |
8006f1871825027409b2aaa56e777c47009dc6fe1dbe3a42883d50c99596e7f9 | /* $Id: sungem.c,v 1.44.2.22 2002/03/13 01:18:12 davem Exp $
* sungem.c: Sun GEM ethernet driver.
*
* Copyright (C) 2000, 2001, 2002, 2003 David S. Miller (davem@redhat.com)
*
* Support for Apple GMAC and assorted PHYs, WOL, Power Management
* (C) 2001,2002,2003 Benjamin Herrenscmidt (benh@kernel.crashing.org)
*... | C | drivers/net/sungem.c | janrinze/loox7xxport.loox2624 | gpl-2.0 | 80,989 | 3,208 | codeparrot/github-code |
3848a74e085a7e1b2b31076627fa75784c7ad11aa5677e0a8fb8deae99e1a955 | /*******************************************************************************************
Copyright 2010 Broadcom Corporation. All rights reserved.
Unless you and Broadcom execute a separate written software license agreement
governing use of this software, this software is licensed to you under the
terms of ... | C | modules/drivers/sound/brcm/alsa_athena/soc/csl/dsp/src/sharedmem_ap.c | sembre/kernel_totoro_update3 | gpl-2.0 | 27,662 | 997 | codeparrot/github-code |
835af2fb4ea299519984471bfdf6e1bbab2d90e2e689b416a08117f8ccc052f0 | include build/config.mk
MODULES = applications/* libs/*
OS:=$(shell uname)
MODULES:=$(foreach item,$(wildcard $(MODULES)),$(if $(realpath $(wildcard $(item)/Makefile)),$(item)))
export OS
.PHONY: all build gccbuild luabuild clean host gcchost luahost hostcopy hostclean
all: build
build: gccbuild luabuild
gccbuil... | Makefile | luci/Makefile | openwrt-stuff/openwrt-extra | gpl-2.0 | 2,918 | 106 | codeparrot/github-code |
ca686ddda03a8100239803a461697a9ebd6ef0466b64422933ee70a065d70c92 | /* Definitions of constants and data structure for POSIX 1003.1b-1993
scheduling interface.
Copyright (C) 1996-2014 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 Genera... | C | bits/sched.h | vvavrychuk/glibc | gpl-2.0 | 5,080 | 152 | codeparrot/github-code |
3c552ca7aa42f554bf5d7e2405aafcbe5782b11b65353ac9c0b535601ac1e0f7 | /* Copyright (C) 2007-2008 Nick Harbour
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, or (at your option)
any later version.
This program is distributed... | C | libpefile/util.c | piffd0s/pescrambler | gpl-2.0 | 2,473 | 106 | codeparrot/github-code |
669ad2b43e02920d6dc5bafcd969a468af7f6dfbe23ba97c25624001d46e1217 | #!/bin/sh
# Add "freifunk" firewall zone
# If wan/lan is used for olsr then remove these networks from wan/lan zones
# Also setup rules defined in /etc/config/freifunk and /etc/config/profile_<community>
. /etc/functions.sh
. $dir/functions.sh
wan_is_olsr=$(uci -q get meshwizard.netconfig.wan_config)
lan_is_olsr=$(uc... | Shell | feeds/luci/meshwizard/files/usr/bin/meshwizard/helpers/setup_firewall.sh | IoveSunny/DreamBox | gpl-2.0 | 3,148 | 101 | codeparrot/github-code |
3013cd4747119c4752dde5d0193f8944e43c1dd866f71b8c0f6b5dbea3e72aa5 | /* Copyright (C) 2009-2016 Free Software Foundation, Inc.
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 3, or (at your option) any later
version.
GCC is distribute... | C | source/gcc-latest/gcc/config/moxie/uclinux.h | selmentdev/selment-toolchain | gpl-3.0 | 1,573 | 43 | codeparrot/github-code |
488dff00b4cb423422127d768bffb5b6577d2b2106e388fcee4f16286082d18b | /*
* This is a plug-in for GIMP.
*
* Generates clickable image maps.
*
* Copyright (C) 1998-2003 Maurits Rijk lpeek.mrijk@consunet.nl
*
* 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; ... | C | plug-ins/imagemap/imap_cmd_select.c | brion/gimp | gpl-3.0 | 2,044 | 76 | codeparrot/github-code |
8f6adda0d0e63d7adf114b51367e2a7fe78bb017be872eedfdff5c8729d2654d | // Copyright (c) 2016 Klemens D. Morgenstern
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_PROCESS_WINDOWS_ON_EXIT_HPP_
#define BOOST_PROCESS_WINDOWS_ON_EXIT_HPP_
#include <boost/process/detail/... | C++ | thirdparty/boost_1_67_0/boost/process/detail/windows/on_exit.hpp | zcobell/MetOceanViewer | gpl-3.0 | 1,199 | 40 | codeparrot/github-code |
8396c55e3cb0bda363d9a485bda159fabf2f905debc8ee90fd5e25ea8cafa080 | /*
* Multi2Sim
* Copyright (C) 2012 Rafael Ubal (ubal@ece.neu.edu)
*
* 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 late... | C | src/arch/mips/emu/machine.c | siscof/multi2sim-4.2 | gpl-3.0 | 32,762 | 1,281 | codeparrot/github-code |
1b5a9705609c604368e826636fa5cfbed74f1af01c2eb653f7c5b41b3ecf4f3e | //* 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/actions/SetAdaptivityOptionsAction.C | harterj/moose | lgpl-2.1 | 5,625 | 141 | codeparrot/github-code |
7df3e9670a30ac4205cbf03a9b9d144c856b1f11347dfd3c68c0e5b67241094d | /*
* Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | C | webrtc_dsp/modules/audio_coding/codecs/isac/main/source/pitch_estimator.c | grishka/libtgvoip | unlicense | 25,360 | 696 | codeparrot/github-code |
dde4c77daf8b168b73a79a8f98b1f4da4abfaab3a456e56c7d9c34645188f65e | # Encoding: utf-8
# Cloud Foundry Java Buildpack
# Copyright 2013-2016 the original author or authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/... | Ruby | lib/java_buildpack/container/dist_zip_like.rb | phopper-pivotal/java-buildpack | apache-2.0 | 3,798 | 122 | codeparrot/github-code |
2cb91f09525a227bcfbbfdd5f092c1f17540857f77c54f94a0432b3a5599b8f5 | //===--- Signature.h - An IR function signature -----------------*- C++ -*-===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | C | lib/IRGen/Signature.h | codestergit/swift | apache-2.0 | 2,080 | 82 | codeparrot/github-code |
b9e086262638c06cb582e8468948902311e26156c94c61ec35a3b60c7197d8c4 | /*
** The original version of this file is in the public domain, so clarified as of
** 1996-06-05 by Arthur David Olson.
*/
/*
** Leap second handling from Bradley White.
** POSIX-style TZ environment variable handling from Guy Harris.
** Updated to use int64_t's instead of system-dependent definitions of int64_t
** a... | C | src/libbson/src/bson/bson-timegm.c | ajdavis/mongo-c-driver | apache-2.0 | 23,279 | 796 | codeparrot/github-code |
b9d4a9a2b5f7e56933438fccb512feaae2946976d2b8c18cee32e0c8e18e4c57 | // Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.jetbrains.python.psi.impl;
import com.intellij.lang.ASTNode;
import com.intellij.openapi.util.TextRange;
import com.intellij.psi.PsiElement;
import com.intellij.util.... | Java | python/src/com/jetbrains/python/psi/impl/PyFStringFragmentImpl.java | msebire/intellij-community | apache-2.0 | 1,781 | 57 | codeparrot/github-code |
6b0b7e6e828787c1c5168e3cdf206a9b02472c978ce7c4793dececf0f7caeede | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved.
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 a... | C++ | tensorflow/compiler/mlir/tfr/resources/composite_ops.cc | karllessard/tensorflow | apache-2.0 | 1,311 | 40 | codeparrot/github-code |
25236b251074c19380655255752a640ddaee4691a2b98086b3780a3c103b0ca4 | /*
* Copyright (C) 2012-2015 DataStax Inc.
*
* 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 app... | Java | driver-core/src/main/java/com/datastax/driver/core/utils/Bytes.java | amasta/java-driver | apache-2.0 | 8,228 | 228 | codeparrot/github-code |
9fb0bd7f575a0e3a1df1bbbad1483e44aaeecafe5bc173e1bce43904bcd36ef8 | /**********************************************************************************
* $URL$
* $Id$
***********************************************************************************
*
* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009 The Sakai Foundation
*
* Licensed under the Educational Community License, Ve... | Java | samigo/samigo-hibernate/src/java/org/sakaiproject/tool/assessment/data/dao/assessment/PublishedAssessmentData.java | rodriguezdevera/sakai | apache-2.0 | 24,328 | 757 | codeparrot/github-code |
38bd83526bdf59d6336cb360bd8fd65b7c6f51887650ed5f45d895266c45f696 | package org.zstack.test.storage.snapshot;
import junit.framework.Assert;
import org.junit.Before;
import org.junit.Test;
import org.zstack.core.cloudbus.CloudBus;
import org.zstack.core.componentloader.ComponentLoader;
import org.zstack.core.db.DatabaseFacade;
import org.zstack.core.db.SimpleQuery;
import org.zstack.c... | Java | test/src/test/java/org/zstack/test/storage/snapshot/TestGetSnapshotTree.java | zstackorg/zstack | apache-2.0 | 6,352 | 155 | codeparrot/github-code |
0bdc8afd0fefa3a4e2478e5a8782ea6b4a2de662084ab391213455ebad828071 | package weechat
import (
"bytes"
"encoding/binary"
"reflect"
"strconv"
"time"
)
const (
typeChar = "chr"
typeInt = "int"
typeLong = "lon"
typeString = "str"
typeBytes = "buf"
typePtr = "ptr"
typeTime = "tim"
typeMap = "htb"
typeHdata = "hda"
typeInfo = "inf"
typeInfos = "inl"
type... | GO | weechat/message.go | tylerb/go-misc | bsd-3-clause | 4,579 | 232 | codeparrot/github-code |
37af807c8e226023c96a0ac43adb7e0298fb57f8a03b23053f495b86a61846f2 | //===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | C++ | third_party/llvm/libcxx/test/std/containers/container.adaptors/priority.queue/priqueue.members/empty.pass.cpp | endlessm/chromium-browser | bsd-3-clause | 660 | 31 | codeparrot/github-code |
41601f5d9c192a14af2557ef4737a46bc19139154f0dd2e8c2d08a9d9194dd37 | <?php
namespace Concrete\Controller\SinglePage\Dashboard\System\Express\Entities;
use Concrete\Core\Express\EntryList;
use Concrete\Core\Page\Controller\DashboardPageController;
class OrderEntries extends DashboardPageController
{
public function view($id = null)
{
if ($id) {
$entity = $t... | PHP | concrete5/concrete/controllers/single_page/dashboard/system/express/entities/order_entries.php | noLunch/nolunch | mit | 1,863 | 49 | codeparrot/github-code |
a3a4f50a5d9897f0182d93106ce107e270d7a20589fcf8c35b88f3a1d87d844c | /* winbond-840.c: A Linux PCI network adapter device driver. */
/*
Written 1998-2001 by Donald Becker.
This software may be used and distributed according to the terms of
the GNU General Public License (GPL), incorporated herein by reference.
Drivers based on or derived from this code fall under the GPL and must
... | C | snapgear_linux/linux-2.6.21.1/drivers/net/tulip/winbond-840.c | impedimentToProgress/UCI-BlueChip | mit | 49,892 | 1,684 | codeparrot/github-code |
c95c03873038531b2425d7a97f24f291e8162cccd3910d298da0f2c2324a7bc2 | <?php
function mm_add_button( $icons ) {
$img = plugin_dir_url( dirname( __FILE__ ) ) . "img/mojo-icon-22.png";
$id = 'mm_sg_container';
$title = '';
$icons .= "<a class='thickbox button' title='" . $title . "' href='#TB_inline?width=640&inlineId=" . $id . "'>
<img style='position:relative; bottom: 2px;' src='" .... | PHP | wp-content/plugins/mojo-marketplace/inc/shortcode-generator.php | ddelmar/trustlayers | gpl-2.0 | 6,304 | 174 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.