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 |
|---|---|---|---|---|---|---|---|---|
e5c8cfdc967cbc9c550798517b3da804b0a98898f86be467f9a0f0452b54e321 | <?php defined("SYSPATH") or die("No direct script access.");
//================================================================================================
//================================================================================================
/*
Exifer
Extracts EXIF information from digital photos.
... | PHP | modules1/gallery3/modules/exif/lib/makers/nikon.php | isaacueca/Guia15Anos | gpl-2.0 | 14,533 | 411 | codeparrot/github-code |
776aff647d5f353c284ea5bb9adbf18c00469eee81cad71310af3dd48e83ca76 | /*
* Main bcache entry point - handle a read or a write request and decide what to
* do with it; the make_request functions are called by the block layer.
*
* Copyright 2010, 2011 Kent Overstreet <kent.overstreet@gmail.com>
* Copyright 2012 Google, Inc.
*/
#include "bcache.h"
#include "btree.h"
#include "debug.h... | C | drivers/md/bcache/request.c | animalcreek/linux | gpl-2.0 | 28,747 | 1,153 | codeparrot/github-code |
7536b1477214ce0ec3b2e586095525be9120d49c82a9909081b4f4ef9fb05b16 | /* 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/wintermute/base/file/base_savefile_manager_file.cpp | vanfanel/scummvm | gpl-2.0 | 2,737 | 77 | codeparrot/github-code |
f578c799edbe921176dc2abe8024babffbe5147c1a3453f8332fd2824fbc2f38 | /* ScriptData
SDName: dragon_soul_teleport_and_transport
SD%Complete: 100%
SDComment:
SDCategory: Teleport and Transport
EndScriptData
*/
#include "ScriptMgr.h"
#include "InstanceScript.h"
#include "dragon_soul.h"
class npc_eiendormi : public CreatureScript
{
public:
npc_eiendormi() : CreatureScript("npc... | C++ | src/server/scripts/Kalimdor/CavernsOfTime/DragonSoul/dragon_soul_teleport_and_transport.cpp | Desch/CataclysmV9 | gpl-2.0 | 5,139 | 161 | codeparrot/github-code |
8b7443716ab60836e6c24a480992c162b1aee62194d116ceaead7c1116f84e06 | #include <string.h>
#include <locale.h>
#include <limits.h>
char *setlocale(int category, const char *locale)
{
if(strcmp(locale, "C") && strcmp(locale, "POSIX"))
return NULL;
return "C";
}
locale_t uselocale(locale_t newloc)
{
return "C";
}
locale_t newlocale(int category_mask, const char *locale, locale_t bas... | C | Library/libs/setlocale.c | vandys/FUZIX | gpl-2.0 | 792 | 64 | codeparrot/github-code |
2fdbd1dacfff7ae8c4b821ea8053c135ab87746e89bc274bda11e223e32fd824 | /*
* drivers/cpufreq/cpufreq_smartass2.c
*
* Copyright (C) 2010 Google, Inc.
*
* 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 distribut... | C | drivers/cpufreq/cpufreq_smartass2.c | AndroidOpenSourceXperia/android_kernel_sony_u8500 | gpl-2.0 | 26,841 | 908 | codeparrot/github-code |
462f090a0c38f15bcc3f4825d9f8aa4a8076d743de7f537de6ebaa063600199c | /*
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.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 version.
*
... | C | src/game/UnitEvents.h | 801616/mangos | gpl-2.0 | 4,933 | 137 | codeparrot/github-code |
1e55ab5678ee0e0a742279006e0ab462aae21bcce6118b60981b98cfbe111427 | /*
* EAP defines
*
* Copyright (C) 2014, Broadcom Corporation
* All Rights Reserved.
*
* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Broadcom Corporation;
* the contents of this file may not be disclosed to third parties, copied
* or duplicated in any form, in whole or in part, without the prior
* written ... | C | release/src-rt-7.x.main/src/wps/common/include/eap_defs.h | wkritzinger/asuswrt-merlin | gpl-2.0 | 2,935 | 103 | codeparrot/github-code |
efd49f1bd5ae56dc38497100c4b8796be67e2a24f8d49c455a5322c9c18a3e53 | /*
* cfg80211 MLME SAP interface
*
* Copyright (c) 2009, Jouni Malinen <j@w1.fi>
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/netdevice.h>
#include <linux/nl80211.h>
#include <linux/slab.h>
#include <linux/wireless.h>
#include <net/cfg80211.h>
#include <net/iw_handler.h>
#include "core.h"... | C | net/wireless/mlme.c | pershoot/kernel-2634 | gpl-2.0 | 24,152 | 904 | codeparrot/github-code |
5083573091354704e814de2b9d0787446e0212e11865fed172845dda35ad02bc | <?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2008 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | PHP | plugins/sfPhpExcelPlugin/lib/PHPExcel/PHPExcel/Shared/trend/exponentialBestFitClass.php | mwveliz/siglas-mppp | gpl-3.0 | 2,769 | 92 | codeparrot/github-code |
e6db2574f5c2be73280a4f2c7aff3072bb2be414342af6e5a39e488ebcb09aed | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2012-2013 OpenFOAM Foundation
\\/ M anipulation |
--------... | C++ | applications/utilities/mesh/generation/foamyHexMesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMeshI.H | adrcad/OpenFOAM-2.3.x | gpl-3.0 | 13,415 | 589 | codeparrot/github-code |
d551fd26ef83ee122e68dd0ca8a698e5be1427b201d1c08259e5affbbb76bf49 | /* Assign reload pseudos.
Copyright (C) 2010-2016 Free Software Foundation, Inc.
Contributed by Vladimir Makarov <vmakarov@redhat.com>.
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 Fou... | C | source/gcc-latest/gcc/lra-assigns.c | selmentdev/selment-toolchain | gpl-3.0 | 60,531 | 1,634 | codeparrot/github-code |
b97a191f47b50cd20defaf7992d4c9e631d981ae2200ea17696b0ef3c488b12f | //* 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
#inc... | C++ | modules/geochemistry/test/src/base/GeochemistryTestApp.C | nuclear-wizard/moose | lgpl-2.1 | 1,855 | 62 | codeparrot/github-code |
14b6aef9e01e7a8becccd428cde7cf7f5d330966c36631edef23b96cfb975c9f | /***************************************************************************
*
* Copyright (c) 2005 Jürgen Riegel <juergen.riegel@web.de> *
* *
* This file is part of the FreeCAD CAx development system. *
* ... | C++ | src/Gui/SoFCSelectionAction.cpp | yantrabuddhi/FreeCAD | lgpl-2.1 | 42,087 | 1,205 | codeparrot/github-code |
761b66fab414eb27241b700136e8da910932cef789cdae6f7d522a7a91dfcfc6 | package clusterpolicy
import (
kapi "github.com/GoogleCloudPlatform/kubernetes/pkg/api"
"github.com/GoogleCloudPlatform/kubernetes/pkg/api/rest"
"github.com/GoogleCloudPlatform/kubernetes/pkg/fields"
"github.com/GoogleCloudPlatform/kubernetes/pkg/labels"
"github.com/GoogleCloudPlatform/kubernetes/pkg/watch"
aut... | GO | pkg/authorization/registry/clusterpolicy/registry.go | dustintownsend/origin | apache-2.0 | 4,189 | 115 | codeparrot/github-code |
81f762f2ecc3e06c33f080efcde75807dd83ea25df767a8235fdc78aea01189c | /**
* Copyright (c) 2016 Intel Corporation
*
* 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 applicabl... | Scala | sparktk-core/src/test/scala/org/trustedanalytics/sparktk/frame/internal/DataTypesTest.scala | ashaarunkumar/spark-tk | apache-2.0 | 2,242 | 62 | codeparrot/github-code |
b942355f1fd066e48182a7fb50c281c159751bd2ab97939eda941091f558a60f | /*
* 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-table/flink-table-runtime/src/main/java/org/apache/flink/table/runtime/hashtable/LongHashPartition.java | wwjiang007/flink | apache-2.0 | 36,335 | 959 | codeparrot/github-code |
4f9df4ce6c40159efd19299330d64cb5c82f739ac1dbf2734d1ee0613ef811f5 | # 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/util/cache/download_cache.rb | bbyers-pivotal/java-buildpack | apache-2.0 | 12,105 | 342 | codeparrot/github-code |
d6e86cb9d16c8cd3308987435de8c88f7ce7b1c6eb1617c79781f88f52f9c443 | /* Copyright 2017 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/lite/kernels/tile.cc | kevin-coder/tensorflow-fork | apache-2.0 | 7,557 | 204 | codeparrot/github-code |
0b1d794e591b045b048cc0a5e9b3c43c799d7d848b1f34af4682a2b19d090a1d | /*
* 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 | jena-arq/src/test/java/org/apache/jena/sparql/junit/SyntaxTest.java | CesarPantoja/jena | apache-2.0 | 2,458 | 86 | codeparrot/github-code |
adab6164cb0c1b7f3c06901a85e331c08c398ccf43500665eefb10be3e338303 | /*
* Copyright 2000-2015 JetBrains s.r.o.
*
* 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 agre... | Java | plugins/maven/maven3-server-common/src/org/jetbrains/idea/maven/server/embedder/FieldAccessor.java | asedunov/intellij-community | apache-2.0 | 1,394 | 43 | codeparrot/github-code |
46b7e8e4ebdcd7816f24e424f6a07f4af2593ce8a545d29f3f990e249d4f9683 | // Copyright 2011 Software Freedom Conservancy
// 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... | C | cpp/iedriver/CommandHandlers/GetPageSourceCommandHandler.h | jknguyen/josephknguyen-selenium | apache-2.0 | 1,682 | 52 | codeparrot/github-code |
54835a1ebd0c184f21f229b875a8acb8a54303169209718a691e440922eb5a17 | // 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;
using System.Collections.Immutable;
using System.Globalization;
using System.Refle... | C# | src/Compilers/Core/CodeAnalysisTest/MetadataReferences/AssemblyIdentityTests.cs | physhi/roslyn | apache-2.0 | 19,851 | 388 | codeparrot/github-code |
904ed2237a1e81b324c853f9e3803934a1cdc091b66b2a67e2ad31e58eb75124 | /*
* Copyright 2012 Twitter 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 applicable law or agreed t... | Scala | zipkin-query/src/main/scala/com/twitter/zipkin/query/ZipkinQueryServerFactory.scala | pkoryzna/zipkin | apache-2.0 | 1,943 | 45 | codeparrot/github-code |
8c207dbbe64fa78988ff5db70b3cc0de3ecfee362627477aef128f3bae3d84e8 | /* Copyright 2015 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/core/util/sparse/sparse_tensor.h | tongwang01/tensorflow | apache-2.0 | 19,843 | 536 | codeparrot/github-code |
1147cc237cc8eeb14f840f6a16296e1dd27252b86812def9c67a94e97fd6cc01 | /*
* ProGuard -- shrinking, optimization, obfuscation, and preverification
* of Java bytecode.
*
* Copyright (c) 2002-2017 Eric Lafortune @ GuardSquare
*
* 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 F... | Java | third_party/java/proguard/proguard5.3.3/src/proguard/gui/MemberSpecificationDialog.java | dslomov/bazel | apache-2.0 | 22,453 | 510 | codeparrot/github-code |
8b59137fced228b8587b59ab7c9fefb75744b84a0f0201d9b80fc73b15bff206 | /****************************************************************************
*
* Copyright 2018 Samsung Electronics 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... | C++ | external/libcxx-test/std/containers/sequences/list/list.modifiers/insert_iter_iter_iter.pass.cpp | an4967/TizenRT | apache-2.0 | 2,383 | 81 | codeparrot/github-code |
2332d6f50469cbafd430d1463aa8ec5feea6fe5cf80bb4dfa4b6688d2898ad58 | #pragma warning disable 1634, 1691
using System;
using System.Collections;
using System.Workflow.ComponentModel;
using System.Workflow.Runtime;
using System.Diagnostics;
using System.Transactions;
namespace System.Workflow.Runtime
{
[Obsolete("The System.Workflow.* types are deprecated. Instead, please use the ne... | C# | System.Workflow.Runtime/WorkflowEnvironment.cs | sekcheong/referencesource | mit | 1,313 | 45 | codeparrot/github-code |
175b8eecf129186f176b47ab97f7e4e5cdce946f05e4f14b50736877011ed7e6 | # frozen_string_literal: true
require "bundler/inline"
gemfile(true) do
source "https://rubygems.org"
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
gem "rails", github: "rails/rails", branch: "main"
gem "sqlite3"
end
require "active_record"
require "minitest/autorun"
require "logger"
# T... | Ruby | guides/bug_report_templates/active_record_main.rb | kddeisz/rails | mit | 1,041 | 49 | codeparrot/github-code |
0c16813d00fdd7d7d54b4e5c9b1f6ea46f66506aa94e55f2fe77d9a13d237541 | /**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import {AnimationPlayer, ɵStyleData} from '@angular/animations';
import {allowPreviousPlayerStylesMerge, balancePrev... | TypeScript | packages/animations/browser/src/render/web_animations/web_animations_driver.ts | Toxicable/angular | mit | 3,376 | 82 | codeparrot/github-code |
0f5d983b71a531856c22999bc25ae96374aa03ae219c24bcdf8e5b4f4394e316 | <?php
namespace Drupal\search_api\Form;
use Drupal\Component\Utility\Html;
use Drupal\Core\Entity\EntityForm;
use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Plugin\PluginFormInterface;
use Drupal\Core\Form\SubformState;
use Drupal\search_api\Datasource\Data... | PHP | profiles/social/modules/contrib/search_api/src/Form/IndexForm.php | raidho93/buildrace | gpl-2.0 | 24,196 | 629 | codeparrot/github-code |
b5327abb864d8fab33b3494f45f9241c08200c03b5193a1f914bbfbbd8b87e89 | #ifndef __ASM_ARCH_PXA3XX_ONENAND_H
#define __ASM_ARCH_PXA3XX_ONENAND_H
#include <linux/mtd/mtd.h>
#include <linux/mtd/partitions.h>
#include <linux/mtd/onenand.h>
#ifdef CONFIG_PXA3XX_BBM
#include <plat/pxa3xx_bbm.h>
#endif
#define MAX_DMA_CHANNEL 4
#define ONENAND_RAM_SIZE (1 << 11)
#define DMA_BUF_SIZE ... | C | arch/arm/plat-pxa/include/plat/pxa3xx_onenand.h | Tab3/android_kernel_samsung_lt02 | gpl-2.0 | 1,743 | 64 | codeparrot/github-code |
f9e1bd2c63fcded590cbda02b896885d27f380386f0ffbf64c8afa312f1d475d | /* 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/neverhood/modules/module2400.cpp | vanfanel/scummvm | gpl-2.0 | 20,141 | 677 | codeparrot/github-code |
2a4f135dbecb0f99f9c190a792bbefeb2bc45ad2ba43529f129e519e2d71ee97 | /*
* Copyright (C) 2012-2013 Motorola Mobility, LLC.
*
* 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 useful,
* but... | C | sound/soc/codecs/tfa9890.c | BlissRoms-Kernels/kernel_motorola_BlissPure | gpl-2.0 | 70,388 | 2,572 | codeparrot/github-code |
2e857d5c2f6886cae22937220325ec1a8519fa473f74a39a1fd326da78eed4b2 | <?php
/**
* Cart totals
*
* This template can be overridden by copying it to yourtheme/woocommerce/cart/cart-totals.php.
*
* HOWEVER, on occasion WooCommerce will need to update template files and you (the theme developer).
* will need to copy the new files to your theme to maintain compatibility. We try to do th... | PHP | wp-content/themes/tinbox/woocommerce/cart/cart-totals.php | estrategasdigitales/digmota | gpl-2.0 | 4,061 | 105 | codeparrot/github-code |
d58bc9f8a6708ef15f254baa9864eceea4963865b7594f4af5dbc6858ca47df1 | // Copyright Joyent, Inc. and other Node contributors.
//
// 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, modi... | JavaScript | work/install/node-v0.10.25/test/simple/test-fs-utimes.js | teeple/pns_server | gpl-2.0 | 4,817 | 161 | codeparrot/github-code |
4f68d702d1ec797a29f02ae702d0e857919bf3ff02a2bacc65bd0434dbd3c670 | /*
* Driver for PowerMac Z85c30 based ESCC cell found in the
* "macio" ASICs of various PowerMac models
*
* Copyright (C) 2003 Ben. Herrenschmidt (benh@kernel.crashing.org)
*
* Derived from drivers/macintosh/macserial.c by Paul Mackerras
* and drivers/serial/sunzilog.c by David S. Miller
*
* Hrm... actually, ... | C | drivers/tty/serial/pmac_zilog.c | tellapart/ubuntu-precise | gpl-2.0 | 55,025 | 2,216 | codeparrot/github-code |
0f0cfefbf73fd61a46739636a4fc7ddbddc13142d5b42182dc8f0b9ef9bc6696 | <?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle ... | PHP | question/classes/local/bank/edit_menu_column.php | dcai/moodle | gpl-3.0 | 3,472 | 109 | codeparrot/github-code |
7a7992658ddb6ae567ad2b9df486137cd96851b60b7826b2c21db848d307652f | /*
Simple DirectMedia Layer
Copyright (C) 1997-2019 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | C | external/sdl2/SDL2-2/src/video/directfb/SDL_DirectFB_shape.h | libcrosswind/libcrosswind | gpl-3.0 | 1,418 | 39 | codeparrot/github-code |
b8c7a3f3745f3ff5ebcfd5cea43b0562350904bffd30a6521358eb965026e275 | #pragma once
#include <deque>
#include <iostream>
#include "ASyncTCP.h"
#include "DomoticzHardware.h"
class FritzboxTCP : public CDomoticzHardwareBase, ASyncTCP
{
public:
FritzboxTCP(const int ID, const std::string &IPAddress, const unsigned short usIPPort);
~FritzboxTCP(void);
bool isConnected(){ return mIsConnec... | C | hardware/FritzboxTCP.h | ducseb/domoticz | gpl-3.0 | 1,186 | 46 | codeparrot/github-code |
0b89f5fb62045bc7ec9eaaa97600e371bc457f52025d08fa05d68fc25e13e2a4 | #ifndef BOOST_THREAD_WIN32_SHARED_MUTEX_HPP
#define BOOST_THREAD_WIN32_SHARED_MUTEX_HPP
// (C) Copyright 2006-8 Anthony Williams
// (C) Copyright 2011-2012,2017-2018 Vicente J. Botet Escriba
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// ht... | C++ | thirdparty/boost_1_67_0/boost/thread/win32/shared_mutex.hpp | zcobell/MetOceanViewer | gpl-3.0 | 31,080 | 850 | codeparrot/github-code |
af1bd78ad18c30a538ebaedc78e160ed80aa2c72c9520d6e7fa8e78ba4bed3e7 | <?php
/**
* WordPress User Page
*
* Handles authentication, registering, resetting passwords, forgot password,
* and other user handling.
*
* @package WordPress
*/
/** Make sure that the WordPress bootstrap has run before continuing. */
require( dirname( __FILE__ ) . '/wp-load.php' );
// Redirect to HTTPS logi... | PHP | wp-login.php | BuergerbautStadt/bbs-wordpress | agpl-3.0 | 39,551 | 1,172 | codeparrot/github-code |
9b5a258283c893df45b9e12e313c4d57271cfb2bac3b0f6ae04c19b60de96f55 | /*
* USB device quirk handling logic and table
*
* Copyright (c) 2007 Oliver Neukum
* Copyright (c) 2007 Greg Kroah-Hartman <gregkh@suse.de>
*
* 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 Foundat... | C | linux/drivers/usb/core/quirks.c | EvanHa/rbp | lgpl-3.0 | 10,152 | 332 | codeparrot/github-code |
847823b66bff099e16094dace728147ac2a301a5cad19fdb9e909d3230f84b36 | /*------------------------------------------------------------------*-
Main.c (v1.00)
------------------------------------------------------------------
Test program for shared-clock (UART) scheduler for 89C52, etc.
*** (LOCAL / RS-232) SLAVE CODE ***
--- HARDWARE ASSUMED ---
--- 89C52 ... | C | Patterns_for_Time_Triggered_Emb/27/local/SCU_a3/SCU_A3s/Main.c | mildrock/CodeLibrary | unlicense | 2,105 | 77 | codeparrot/github-code |
28dbe76b1e0d6f6177bb8a1b08ba0445caa66f0d178c36a0f6e02ccf72f2e4b2 | /*-------------------------------------------------------------------------
*
* system.c
* Win32 system() and popen() replacements
*
*
* Win32 needs double quotes at the beginning and end of system()
* strings. If not, it gets confused with multiple quoted strings.
* It also requires double-quotes around th... | C++ | src/postgres/port/system.cpp | eric-haibin-lin/peloton | apache-2.0 | 2,570 | 118 | codeparrot/github-code |
cff85ca1d6c7905525fd66d490de2c6a1bd18500eaae4e5d65f22200bec46aa0 | /*
* 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 | hbase-examples/src/main/java/org/apache/hadoop/hbase/coprocessor/example/BulkDeleteEndpoint.java | toshimasa-nasu/hbase | apache-2.0 | 11,887 | 290 | codeparrot/github-code |
c62f46402638d2f6c54ef09ed0281737b9b2bade55adcde2b29e203c2093811b | /* Copyright 2015 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/core/kernels/tensor_array.h | cg31/tensorflow | apache-2.0 | 19,884 | 537 | codeparrot/github-code |
1a02c1b18bfaca31764f3f9881d6e8dc4ecdc1c97706471f0750135bdcb40bfa | /**
* 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 | hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/SimpleBlocksMovementsStatusHandler.java | steveloughran/hadoop | apache-2.0 | 3,160 | 89 | codeparrot/github-code |
6572c082193e80d85735e9eb347971ae5d26e98899652f3853c1539bb2d7fd07 | #
#
# 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... | Ruby | titan-hbase-parent/titan-hbase-11/src/test/bin/ruby/shell/commands/get_counter.rb | graben1437/titan1withtp3.1 | apache-2.0 | 1,791 | 55 | codeparrot/github-code |
54575625b946c531da588597092c884a7992c8db921993f1f35ab5d2936eff66 | /* Copyright (C) 2003 Vladimir Roubtsov. All rights reserved.
*
* This program and the accompanying materials are made available under
* the terms of the Common Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/cpl-v10.html
*
* $Id: IItemAttribute.java,v... | Java | third-party/java/emma-2.0.5312/core/java12/com/vladium/emma/report/IItemAttribute.java | thinkernel/buck | apache-2.0 | 10,576 | 266 | codeparrot/github-code |
5db3574c39e2b3cd86d79d7a9acd401a8ebaeb04adc01b634ecd699a4fdee273 |
/*
* Copyright (C) Igor Sysoev
*/
#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_event.h>
#include <ngx_event_connect.h>
ngx_int_t
ngx_event_connect_peer(ngx_peer_connection_t *pc)
{
int rc;
ngx_int_t event;
ngx_err_t err;
ngx_uint_t level;
... | C | src/event/ngx_event_connect.c | mattxia/nginx_analyze_cn | bsd-2-clause | 5,771 | 259 | codeparrot/github-code |
a6370c9078a10ae3a219c8660162a50b56d7f7fabe9193634074fca81d1b9090 | /*
* File: enet.h
* Purpose: Driver for the ENET controller
*
* Notes:
*/
#ifndef _ENET_H_
#define _ENET_H_
#include "nbuf.h"
/********INTERFACE**********/
typedef enum {
mac_mii,
mac_rmii,
} ENET_INTERFACE;
/********AUTONEG**********/
typedef enum {
autoneg_on,
autoneg_off... | C | third_party/freertos/repo/FreeRTOS/Demo/CORTEX_Kinetis_K60_Tower_IAR/Freescale_Code/drivers/enet/enet.h | openthread/ot-rtos | bsd-3-clause | 1,979 | 96 | codeparrot/github-code |
1917545564e7515c665781b8dbc2b5247e2525620739465816a61efb4d9f94d9 | /* sbt -- Simple Build Tool
* Copyright 2008 Mark Harrah */
package sbt
import org.scalacheck._
import Prop._
object NameFilterSpecification extends Properties("NameFilter") {
property("All pass accepts everything") = forAll { (s: String) => AllPassFilter.accept(s) }
property("Exact filter matches provided stri... | Scala | util/io/src/test/scala/sbt/NameFilterSpecification.scala | jasonchaffee/sbt | bsd-3-clause | 1,635 | 49 | codeparrot/github-code |
d425d133e920bbd9c12334cfcb589596324d07768e16ed5728e5f730ec435cc2 | /*
* Copyright (c) 2006 The Regents of The University of Michigan
* 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, ... | C++ | src/python/swig/pyobject.cc | xiaoyaozi5566/GEM5_DRAMSim2 | bsd-3-clause | 5,229 | 163 | codeparrot/github-code |
1730d896dd86c0cae89ffb21b6869bb5d8d22bc20450044f39f02df35d57d019 | <?php
namespace Concrete\Core\ImageEditor;
use Concrete\Core\View\AbstractView;
interface EditorExtensionInterface
{
/**
* @return string
*/
public function getHandle();
/**
* @return string
*/
public function getName();
/**
* @return \Concrete\Core\Asset\AssetInterface
... | PHP | concrete/src/ImageEditor/EditorExtensionInterface.php | Akhenoth/Factorian | mit | 550 | 33 | codeparrot/github-code |
2c47b1302471973e6d7f221c008646ccbd4749d6404c425e90eb5b54bd413bb7 | 'use strict';
import find = require('find-package-json');
const f = find();
find(__dirname); // $ExpectType FinderIterator
const fModule = find(module); // $ExpectType FinderIterator
const iter = fModule[Symbol.iterator](); // $ExpectType IterableIterator<PackageWithPath>
const iterResult = iter.next(); // $ExpectTy... | TypeScript | types/find-package-json/find-package-json-tests.ts | markogresak/DefinitelyTyped | mit | 1,355 | 38 | codeparrot/github-code |
9ffb70552e58d8df9e51d9359f94ddf2f2dbd3980c7de4ff31b7b67fbeee155f | <?php
namespace PhpOffice\PhpSpreadsheet;
use PhpOffice\PhpSpreadsheet\Calculation\Calculation;
use PhpOffice\PhpSpreadsheet\Style\Style;
use PhpOffice\PhpSpreadsheet\Worksheet\Iterator;
use PhpOffice\PhpSpreadsheet\Worksheet\Worksheet;
class Spreadsheet
{
// Allowable values for workbook window visilbity
co... | PHP | vwmldbm/lib/PhpOffice/src/PhpSpreadsheet/Spreadsheet.php | wise4edu/VWMLDBM | mit | 38,312 | 1,491 | codeparrot/github-code |
87d50dbef33007830ed93faeffdb8e95824c4803af34894930104fb887a0e856 | /****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this f... | C | src/3rdparty/fancylineedit/fancylineedit.h | cketti/client | gpl-2.0 | 3,929 | 122 | codeparrot/github-code |
2e9fc31ce335e6b1301b422ccf89235bf403ada8352e5cf5fbd6744bf45cb1d4 | // File_Extractor 1.0.0. http://www.slack.net/~ant/
#include "Gzip_Extractor.h"
/* Copyright (C) 2005-2009 Shay Green. This module is free software; you
can redistribute it and/or modify it under the terms of the GNU Lesser
General Public License as published by the Free Software Foundation; either
version 2.1 of the... | C++ | vbam-code/fex/fex/Gzip_Extractor.cpp | jnsnow/vbam | gpl-2.0 | 2,258 | 99 | codeparrot/github-code |
313cae6d5a72bb99d35820149284c93d66fd8efe44c9b5258b272666fb825a88 | //>>built
define("dojox/mobile/_ScrollableMixin",["dojo/_base/kernel","dojo/_base/config","dojo/_base/declare","dojo/_base/lang","dojo/_base/window","dojo/dom","dojo/dom-class","dijit/registry","./scrollable"],function(_1,_2,_3,_4,_5,_6,_7,_8,_9){
var _a=_3("dojox.mobile._ScrollableMixin",_9,{fixedHeader:"",fixedFooter... | JavaScript | web/public/libs/dojo/1.8.3/dojox/mobile/_ScrollableMixin.js | ISTang/sitemap | gpl-2.0 | 2,231 | 88 | codeparrot/github-code |
c7d9948ac59179184c8526fd560b5d63c63e9e351aad272bbac2dca9dc436786 | /*
* arch/arm/mach-tegra/pm.c
*
* CPU complex suspend & resume functions for Tegra SoCs
*
* Copyright (c) 2009-2012, NVIDIA Corporation. 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 as published by
* the Fre... | C | arch/arm/mach-tegra/pm.c | andrewz1/kernel.tf300tg | gpl-2.0 | 38,929 | 1,433 | codeparrot/github-code |
e65e0ee761159b9902fd401e975eebf220b34ccc45a26d64d64409ad147ab0d6 | /*
* Copyright (c) 2007, Michael Feathers, James Grenning and Bas Vodde
* 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... | C++ | drivers/video/msm/mdss/mhl_sii8620_8061_drv_31/CppUTest/src/CppUTest/TestMemoryAllocator.cpp | NoelMacwan/android_Kernel_sony_msm8974 | gpl-2.0 | 5,740 | 205 | codeparrot/github-code |
84654360255187f4dee13db762d9dc92d2845e20720b003e82e69f759401a204 | /*
* This file is part of Cleanflight.
*
* Cleanflight is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Cleanflight is distr... | C | src/main/drivers/dma_stm32f4xx.c | PickwickGroup/betaflight | gpl-3.0 | 5,229 | 137 | codeparrot/github-code |
10f04f4c1333f95220322d2b4c3d43946d52299fa0a094315b238a358e314702 | /* Support routines for the intrinsic power (**) operator.
Copyright (C) 2004-2016 Free Software Foundation, Inc.
Contributed by Paul Brook
This file is part of the GNU Fortran 95 runtime library (libgfortran).
Libgfortran is free software; you can redistribute it and/or
modify it under the terms of the GNU Gen... | C | source/gcc-latest/libgfortran/generated/pow_c8_i4.c | selmentdev/selment-toolchain | gpl-3.0 | 1,962 | 76 | codeparrot/github-code |
9029cf30716814c38bb62a9ec29163c832f756996762b9ba8ace1fc8691ddc2d | -----------------------------------------
-- ID: 17533
-- Item: Whale Staff
-- Additional Effect: Water Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
-------------------------------... | Lua | scripts/globals/items/whale_staff.lua | kidaa/darkstar | gpl-3.0 | 1,034 | 36 | codeparrot/github-code |
d22f27fbaf8b41d4f4b0d4876786f4b53c2e3d9f44e9c59f63d8ce1e4716f4e7 | /* vi: set sw=4 ts=4: */
/*
* settimeofday() for uClibc
*
* Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
*
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
#include <sys/syscall.h>
#ifdef __USE_BSD
# include <sys/time.h>
# ifdef __NR_settimeofday
_syscall2(int, settime... | C | libc/sysdeps/linux/common/settimeofday.c | czankel/xtensa-uclibc | lgpl-2.1 | 955 | 44 | codeparrot/github-code |
9f9f018ca5f287c700d72de93d78bcd52712d981c3d9276356dfdec1a7947af1 | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.sql.expression.gen.script;
import org.elasti... | Java | x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/gen/script/Scripts.java | coding0011/elasticsearch | apache-2.0 | 3,591 | 91 | codeparrot/github-code |
55865c3090dc068d9b8ef885099ffd6da965e7737d25e0b821eb3a8947df9109 | /*
* Copyright 2008 Google 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 applicable law or agreed to ... | Java | src/impl/java/com/google/template/soy/exprtree/DataRefAccessIndexNode.java | core9/closure-templates | apache-2.0 | 1,746 | 75 | codeparrot/github-code |
d887d9df0dde62555da374fd3b6d1275fb657bc88229925dfb130d3e6023c595 | #
# Author:: Richard Lavey (richard.lavey@calastone.com)
# Cookbook:: windows
# Resource:: certificate
#
# Copyright:: 2015-2017, Calastone 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 a... | Ruby | www-db/cookbooks/windows/resources/certificate.rb | Coveros/starcanada2016 | apache-2.0 | 6,148 | 167 | codeparrot/github-code |
b60327e63e65775aaaa32a5fa6d4e8833c1e246541c7d94d96c77f77f370b364 | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace BoletoNet.Testes
{
[TestClass]
public class BancoItauTeste
{
#region Carteira 109
private BoletoBancario GerarBoletoCarteira109()
{
DateTime vencimento = new DateTime(2012, 12, 6);
... | C# | src/Boleto.Net.Testes/BancoItauTeste.cs | correamarques/boletonet | apache-2.0 | 1,972 | 68 | codeparrot/github-code |
33a352c73e0361f66f9edb1260d345b2c10e0bd42c6aed9764a4ed53142d4257 | /*
* Copyright 2011 Google Inc.
* Copyright 2014 Andreas Schildbach
*
* 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 requ... | Java | examples/src/main/java/org/bitcoinj/examples/PrivateKeys.java | tjth/bitcoinj-lotterycoin | apache-2.0 | 3,538 | 82 | codeparrot/github-code |
78a2f71226a89832b0ca7c8d44e4a522601f0133ffdef1c079c95baf8f16e11e | /*
*
* Copyright 2016 gRPC authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | C++ | src/cpp/common/core_codegen.cc | deepaklukose/grpc | apache-2.0 | 7,402 | 212 | codeparrot/github-code |
69d26dfca0d2c5352649cf502837f6ccd4430d1d81f1fc6116f67ce77be51d1f | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | Java | core/src/test/java/org/elasticsearch/http/netty/NettyHttpServerPipeliningTests.java | slavau/elasticsearch | apache-2.0 | 9,995 | 231 | codeparrot/github-code |
485da3e63ddeebc74d9865471d4f02144f3079244ee1bf393011239bd5fba1e7 | package org.zstack.test.network;
import junit.framework.Assert;
import org.junit.After;
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.header.network.l2.L2Netwo... | Java | test/src/test/java/org/zstack/test/network/TestRandomIpAllocatorStrategy3.java | zstackorg/zstack | apache-2.0 | 2,922 | 72 | codeparrot/github-code |
1fb44d92bf275500f3472f31df9eef556e32e4a1559ceeab249477e3e5f45251 | /*
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.io.RhinoIO");
dojo.require("dojo.... | JavaScript | src/plugins/dojo/target/classes/org/apache/struts2/static/dojo/src/io/RhinoIO.js | yuzhongyousida/struts-2.3.1.2 | apache-2.0 | 2,998 | 117 | codeparrot/github-code |
11fb6b478377e87a719aff3a9752c1478d465696bc7ad3df2ca25935a4911294 | /**
* Copyright 2005-2015 The Kuali Foundation
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php
*
* Unless required by a... | Java | rice-middleware/core-service/web/src/main/java/org/kuali/rice/coreservice/web/parameter/ParameterLookupableHelperServiceImpl.java | bhutchinson/rice | apache-2.0 | 4,887 | 114 | codeparrot/github-code |
369b1a10e52d3ed0a9fc1e4b520b853d3bea84af66272a0a063e5006ec858b11 | /*
* 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/test/java/org/apache/flink/runtime/operators/testutils/NirvanaOutputList.java | wwjiang007/flink | apache-2.0 | 3,386 | 158 | codeparrot/github-code |
e712c333cc5afe2b84758e6693f970969be7debe55bb9e60c05e7c25dcdf8a20 | /**
* Copyright 2005-2015 The Kuali Foundation
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php
*
* Unless required by a... | Java | rice-middleware/kns/src/main/java/org/kuali/rice/core/framework/persistence/ojb/conversion/OjbCharBooleanConversionBase.java | bhutchinson/rice | apache-2.0 | 1,954 | 59 | codeparrot/github-code |
a23cb501930325df1f3b610bb9479b4082882b2897a819deda3cf42e26abe6ca | // Copyright (c) 2011 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/proxy/proxy_bypass_rules.h"
#include "base/stl_util.h"
#include "base/stringprintf.h"
#include "base/string_number_conversions.h"
#incl... | C++ | net/proxy/proxy_bypass_rules.cc | aYukiSekiguchi/ACCESS-Chromium | bsd-3-clause | 10,360 | 348 | codeparrot/github-code |
21b7e7cea354c2533415c86b10da4870855a2e9b5fccc9477b0810b3a8655c9a | // 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.
#ifndef CHROMEOS_NETWORK_MANAGED_NETWORK_CONFIGURATION_HANDLER_IMPL_H_
#define CHROMEOS_NETWORK_MANAGED_NETWORK_CONFIGURATION_HANDLER_IMPL_H_
#include <m... | C | chromeos/network/managed_network_configuration_handler_impl.h | 7kbird/chrome | bsd-3-clause | 7,513 | 192 | codeparrot/github-code |
edb1410c501c60aa58bc1670d2ed4a80e2e45fd206a4c4bfe233bc58de92f248 | <?php
class mpdfform {
var $mpdf = null;
var $forms;
var $formn;
//Active Forms
var $formSubmitNoValueFields;
var $formExportType;
var $formSelectDefaultOption;
var $formUseZapD;
/* Form Styles */
var $form_border_color;
var $form_background_color;
var $form_border_width;
var $form_border_style;
var $form_button_... | PHP | wp-content/plugins/order_form/mpdf60/classes/mpdfform.php | Bubomir/zaldat | gpl-2.0 | 67,331 | 1,550 | codeparrot/github-code |
4ecb40c1e1108de42ad3355f4754b1905de5a040abbe9b0615c7d402f650d800 | /**
* @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
( function() {
function addCombo( editor, comboName, styleType, lang, entries, defaultLabel, styleDefinition, order ) {
var config = editor.config,
styl... | JavaScript | web/ckeditor-plugins/font/plugin.js | teclliure/demofony2 | mit | 11,864 | 354 | codeparrot/github-code |
598158d8241e3f4281caf5e17d6c313fae1af079dc90b0f0ecb91eeacce24110 | // Copyright (C) 2012-2014 National ICT Australia (NICTA)
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
// -----------------------------------------------------... | C++ | src/include/armadillo_bits/spop_strans_bones.hpp | gaow/pfar | mit | 1,053 | 37 | codeparrot/github-code |
823e7be5448ae253f464fbb4df59b2bdaf70d9f05054b7cdd28557e62ed04ccf | <?php
if( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
if( ! class_exists('acf_admin') ) :
class acf_admin {
// vars
var $notices = array();
/*
* __construct
*
* Initialize filters, action, variables and includes
*
* @type function
* @date 23/06/12
* @since 5.0.0
*
* @param n/... | PHP | wp/wp-content/plugins/advanced-custom-fields-pro-master/includes/admin/admin.php | martin-magakian/3dev | mit | 3,963 | 235 | codeparrot/github-code |
1f40afb9b41b4357bbdc1ba4d16fdf2f11f57a305083030f114f9d9421c38e8d | # frozen_string_literal: true
require "concurrent/map"
require "openssl"
module ActiveSupport
# KeyGenerator is a simple wrapper around OpenSSL's implementation of PBKDF2.
# It can be used to derive a number of keys for various purposes from a given secret.
# This lets Rails applications have a single secure se... | Ruby | activesupport/lib/active_support/key_generator.rb | kddeisz/rails | mit | 2,133 | 59 | codeparrot/github-code |
4696bbe35537ff547001f89a58e30b4479f97eebfae9640227b908197d4b6a50 | /*
* linux/fs/lockd/svclock.c
*
* Handling of server-side locks, mostly of the blocked variety.
* This is the ugliest part of lockd because we tread on very thin ice.
* GRANT and CANCEL calls may get stuck, meet in mid-flight, etc.
* IMNSHO introducing the grant callback into the NLM protocol was one
* of the wo... | C | fs/lockd/svclock.c | vovan888/p750-kernel | gpl-2.0 | 24,814 | 915 | codeparrot/github-code |
bdf3f34cff8fb1404e7fce0fd03cf4278211c44d119f8bae12f7a2e2f0866ac7 | /*
* Wireless configuration interface internals.
*
* Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net>
*/
#ifndef __NET_WIRELESS_CORE_H
#define __NET_WIRELESS_CORE_H
#include <linux/list.h>
#include <linux/netdevice.h>
#include <linux/rbtree.h>
#include <linux/debugfs.h>
#include <linux/rfkill.h>
#inclu... | C | net/wireless/core.h | michabs/linux-imx6-3.14 | gpl-2.0 | 15,126 | 483 | codeparrot/github-code |
d9189d1036a59e4ebf186874ec865ea2a942d2974e1b5d46e925e92226b6ec4b | /*
* Copyright (C) 2016 Team Kodi
* http://kodi.tv
*
* 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 P... | C++ | xbmc/ContextMenus.cpp | hackthis02/xbmc | gpl-2.0 | 1,500 | 58 | codeparrot/github-code |
74c38411e1e9ce1904b89dc84eeda45082e0913c593730e849d09277d221dc46 | /**
* Copyright (c) 2009--2014 Red Hat, Inc.
*
* This software is licensed to you under the GNU General Public License,
* version 2 (GPLv2). There is NO WARRANTY for this software, express or
* implied, including the implied warranties of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. You should have rece... | Java | java/code/src/com/redhat/rhn/frontend/action/user/UserListSetupAction.java | aronparsons/spacewalk | gpl-2.0 | 2,192 | 65 | codeparrot/github-code |
24b70f988abbc59056ad620f1791e012a36186efecf558ad21f9bf59097a2a02 | /*
* Copyright (C) 2012-2013 Felix Ruess <felix.ruess@gmail.com>
*
* This file is part of paparazzi.
*
* paparazzi 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)
... | C | sw/airborne/firmwares/rotorcraft/stabilization/stabilization_attitude_rc_setpoint.c | baspijhor/paparazzi | gpl-2.0 | 16,002 | 459 | codeparrot/github-code |
f182f750318f7ca684fc8063ce112bfa99af2fb8dd0c15e7ef43029063199388 | /**
* @private
*
* The abstract class. Sub-classes are expected, at the very least, to implement translation logics inside
* the 'translate' method
*/
Ext.define('Ext.util.translatable.Abstract', {
extend: 'Ext.Evented',
requires: ['Ext.fx.easing.Linear'],
config: {
useWrapper: nu... | JavaScript | wp-content/themes/extjs/ext/packages/core/src/util/translatable/Abstract.js | sqlwang/my_wpblog | gpl-2.0 | 7,276 | 288 | codeparrot/github-code |
e718ef3e4d6da16f84eb546b6c3e474b5470447165f26e6ba124e0ecd2092446 | #include "AP_JSButton.h"
const AP_Param::GroupInfo JSButton::var_info[] = {
// @Param: FUNCTION
// @DisplayName: Function for button
// @Description: Set to 0 to disable or choose a function
// @Values: 0:Disabled,1:shift,2:arm_toggle,3:arm,4:disarm,5:mode_manual,6:mode_stabilize,7:mode_depth_hold,8:m... | C++ | libraries/AP_JSButton/AP_JSButton.cpp | ChristopherOlson/ArduHeli | gpl-3.0 | 2,857 | 41 | codeparrot/github-code |
87e66b7c891136061d922a1a81a5a785259f467dc56da89d30855f610bd3f416 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2013-2014 OpenFOAM Foundation
\\/ M anipulation |
--------... | C++ | src/TurbulenceModels/compressible/compressibleTurbulenceModel.C | Atizar/RapidCFD-dev | gpl-3.0 | 2,267 | 77 | codeparrot/github-code |
4a3c10cc07ab8d57b6b8c97e930da036881b0963bc27ba7e7d7cb6082a1dd9c2 | // Copyright 2014 Canonical Ltd.
// Licensed under the AGPLv3, see LICENCE file for details.
package apiserver
import (
"github.com/juju/errors"
"github.com/juju/utils/set"
"github.com/juju/juju/rpc"
"github.com/juju/juju/rpc/rpcreflect"
)
var aboutToRestoreError = errors.New("juju restore is in progress - Juju... | GO | apiserver/restoring_root.go | tsakas/juju | agpl-3.0 | 2,961 | 85 | codeparrot/github-code |
dda02b66ad2dc011a188ca9b4fa6f0075d4bea0f0a236dfb81213bd9fd251b0c | /* @(#)root/pythia6:$Id$ */
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* ... | C | montecarlo/pythia6/inc/TPythia6Calls.h | esakellari/my_root_for_test | lgpl-2.1 | 4,339 | 191 | codeparrot/github-code |
5029418742da9ed5975465fefdbca7ef572edf03914accd908838f70a7dcea5b | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | Java | src/main/java/org/elasticsearch/action/admin/cluster/settings/ClusterUpdateSettingsAction.java | fabiofumarola/elasticsearch | apache-2.0 | 1,680 | 46 | codeparrot/github-code |
4588fa30d2f7f993776447519bf564f7fbcf06e573e28185a33cce34a34088df | /**
* 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 | src/java/org/apache/sqoop/mapreduce/MySQLDumpImportJob.java | dlanza1/sqoop | apache-2.0 | 4,982 | 131 | codeparrot/github-code |
453382019cc7a8093a73daa4e1207893051afa8ea0158227dacd40b5ecdccced | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | Java | src/main/java/org/elasticsearch/search/query/QuerySearchResult.java | abhijitiitr/es | apache-2.0 | 5,316 | 198 | codeparrot/github-code |
1715799c683305f7a299bfebadb42f0e7f513f6ed77330ee1a1126fd3e9b8a9d | package spittr;
import java.util.Date;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
public class Spittle {
private final Long id;
private final String message;
private final Date time;
private Double latitude;
private Double longitude;
... | Java | src/main/java/spittr/Spittle.java | myhousepoor/thymeleaf | apache-2.0 | 1,152 | 59 | codeparrot/github-code |
34702b20d9c0408fd2604401be448757b915820f711217d8f2b8564989335953 | class GuestApplication < ApplicationRecord
belongs_to :vm_or_template
belongs_to :host
belongs_to :container_image
virtual_column :v_unique_name, :type => :string
def self.add_elements(parent, xmlNode)
add_missing_elements(parent, xmlNode, "software/applications")
end
def self.add_missing_elements(... | Ruby | app/models/guest_application.rb | maas-ufcg/manageiq | apache-2.0 | 815 | 31 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.