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 |
|---|---|---|---|---|---|---|---|---|
23d91a652fe37156257ada80a4e2f13cff4882146746190094eb6857b0b4ad5f | <?php
///////////////////////////////////////////////////////////////////////////
// //
// This file is part of Moodle - http://moodle.org/ //
// Moodle - Modular Object-Oriented Dynamic Learning Environment //
// ... | PHP | moodle/course/publish/forms.php | rafaelperazzo/ufca-web | gpl-3.0 | 19,486 | 406 | codeparrot/github-code |
74d9c38553392d5cbd9c1ba7ef9e69468ae177f1e964221f3e50fd1091ceb26d | #!/usr/bin/python
# -*- coding: utf-8 -*-
# Copyright: (c) 2018, Michael Tipton <mike () ibeta.org>
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import absolute_import, division, print_function
__metaclass__ = type
ANSIBLE_METADATA = {'metadata_version'... | Python | lib/ansible/modules/cloud/vmware/vcenter_extension.py | thaim/ansible | mit | 7,306 | 230 | codeparrot/github-code |
b1c09000373317f9b399d440cf47e20ad925949eeffd7de8716bd7382c3fbf33 | import files from './files';
const hookDestination =
files.pathJoin(files.getCurrentToolsDir(), '.git', 'hooks');
const hookSource =
files.pathJoin(files.getCurrentToolsDir(),
'scripts', 'admin', 'git-hooks');
const allPossibleHooks = [
'applypatch-msg',
'pre-applypatch',
'post-applypatch',
'pre-comm... | JavaScript | tools/install-git-hooks.js | arunoda/meteor | mit | 2,838 | 100 | codeparrot/github-code |
ffe8c274f44e677947e396023e896ef24f1ff2cf55ba95139dbf0034a2da2458 | /* SCTP kernel implementation
* (C) Copyright IBM Corp. 2001, 2004
* Copyright (c) 1999-2000 Cisco, Inc.
* Copyright (c) 1999-2001 Motorola, Inc.
* Copyright (c) 2001 Intel Corp.
*
* This file is part of the SCTP kernel implementation
*
* These are definitions needed by the state machine.
*
* This SCTP implem... | C | include/net/sctp/sm.h | aberlemont/linux | gpl-2.0 | 15,529 | 420 | codeparrot/github-code |
58da94b19e55d8568ad852ebfc7b7ff889ce6860fc589dbda529f9ace90f2dab | /*
* Copyright (c) 2003, 2004, Oracle and/or its affiliates. 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
* no... | C | test/J2s/java/openjdk-6-src-b27/jdk/src/share/demo/jvmti/java_crw_demo/java_crw_demo.h | andreagenso/java2scala | apache-2.0 | 7,490 | 188 | codeparrot/github-code |
730820915fb445668566a96c81b5dacf99d2d0db464097664839b65bdb7624af | /*
* Copyright 2015 The Android Open Source Project
*
* 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 applica... | C++ | audio-echo/src/main/jni/audio_main.cpp | xiaoxie/android-ndk | apache-2.0 | 8,649 | 244 | codeparrot/github-code |
6f7a10f1f09f674c7fbad28b5c00a1301029f5e5e543c676b7bf63a07e7046f0 | // 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 "net/tools/quic/quic_server.h"
#include <errno.h>
#include <features.h>
#include <netinet/in.h>
#include <string.h>
#include <sys/epoll.h>
#... | C++ | net/tools/quic/quic_server.cc | gfreed/android_external_chromium-org | bsd-3-clause | 6,561 | 224 | codeparrot/github-code |
7e02e8cae5e0ca066294614e16eca755178eb7eab4638a30e0002bfca1e2578b | // 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 "net/tools/quic/quic_client.h"
#include <errno.h>
#include <netinet/in.h>
#include <string.h>
#include <sys/epoll.h>
#include <sys/socket.h>... | C++ | net/tools/quic/quic_client.cc | DirtyUnicorns/android_external_chromium-org | bsd-3-clause | 9,174 | 328 | codeparrot/github-code |
0d5087ca81674f8ec6c0eef4d4814fcbf1ea212605b266591c24665139d9a61a | // 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 "mojo/public/utility/bindings_support_impl.h"
#include <assert.h>
#include "mojo/public/bindings/lib/buffer.h"
#include "mojo/public/utility/ru... | C++ | mojo/public/utility/bindings_support_impl.cc | Gateworks/platform-external-chromium_org | bsd-3-clause | 3,075 | 114 | codeparrot/github-code |
04656be961f1883b9d5ed129297d0f8b362302d1ea0b8116e8bcc3155198691f | /* ----------------------------------------------------------------------
* Copyright (C) 2010-2014 ARM Limited. All rights reserved.
*
* $Date: 19. March 2015
* $Revision: V.1.4.5
*
* Project: CMSIS DSP Library
* Title: arm_cmplx_mag_q31.c
*
* Description: Q31 complex magnitud... | C | wav_player/Drivers/CMSIS/DSP_Lib/Source/ComplexMathFunctions/arm_cmplx_mag_q31.c | a-c-t-i-n-i-u-m/mb-stm32f103vet6-sample | bsd-3-clause | 5,883 | 186 | codeparrot/github-code |
35710469adf8b53891b7eb5e24a9a268817b17b3f9c652a295193907f3f88d70 | import { createContext, isContext, Script, runInNewContext, runInThisContext, compileFunction } from 'vm';
import { inspect } from 'util';
{
const sandbox = {
animal: 'cat',
count: 2
};
const context = createContext(sandbox, {
name: 'test',
origin: 'file://test.js',
... | TypeScript | types/node/v12/test/vm.ts | markogresak/DefinitelyTyped | mit | 1,440 | 63 | codeparrot/github-code |
6eb58c8e12fca14553d72ff00fdf385e3856b3d4c5f64cfc57c35a948c3d965a | // SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (c) 2015-2016 MediaTek Inc.
* Author: Yong Wu <yong.wu@mediatek.com>
*/
#include <linux/memblock.h>
#include <linux/bug.h>
#include <linux/clk.h>
#include <linux/component.h>
#include <linux/device.h>
#include <linux/dma-iommu.h>
#include <linux/err.h>
#include... | C | drivers/iommu/mtk_iommu.c | penberg/linux | gpl-2.0 | 25,182 | 863 | codeparrot/github-code |
a1800c9542b503c37a10990af2931078bc63a7cb1c356299b1d94b3e2e3c28be | <?php
/*
* Import/export data.
*/
/**
* Imports data from XML.
*/
function wpcf_admin_import_data( $data = '', $redirect = true,
$context = 'types' ) {
global $wpdb;
libxml_use_internal_errors( true );
$data = simplexml_load_string( $data );
if ( !$data ) {
echo '<div class="messag... | PHP | wp-content/plugins/wp-types/embedded/includes/import-export.php | carlosapa/sdg-theme | gpl-2.0 | 29,609 | 657 | codeparrot/github-code |
fd0ffe0df62cc8f07612ba83e1a1892cdc91c8ddabdce1022a59e2566ee2ad88 | #!/usr/bin/env python3
import fnmatch
import os
import re
import ntpath
import sys
import argparse
def get_private_declare(content):
priv_declared = []
srch = re.compile('private.*')
priv_srch_declared = srch.findall(content)
priv_srch_declared = sorted(set(priv_srch_declared))
priv_dec... | Python | tools/search_privates.py | kerckasha/ACE3 | gpl-2.0 | 4,382 | 136 | codeparrot/github-code |
6b0f8981f3852113f3f8241d8cefb56a51573bf4cee37f15a3fcc2596e7856e0 | /*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 2004-2006 Silicon Graphics, Inc. All rights reserved.
*
* SGI Altix topology and hardware performance monitoring API.
* ... | C | linux-2.6.31/arch/ia64/sn/kernel/sn2/sn_hwperf.c | stevelord/PR30 | gpl-2.0 | 23,262 | 1,002 | codeparrot/github-code |
f68d0ade14ac03679137cf42f277291c6ee31e47f5020b30cfa4c80b8108d844 | /*
* Copyright (c) 1997 - 2007 Kungliga Tekniska Högskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions o... | C | source4/heimdal/lib/krb5/rd_req.c | opinkerfi/winexe | gpl-3.0 | 25,883 | 1,078 | codeparrot/github-code |
c0ed73f75e400d306976ee066a85c431e7e569dd7a4afcc09cb39121cb8f4d4f | /* THIS FILE IS GENERATED. Original: powerpc-64.xml */
#include "defs.h"
#include "target-descriptions.h"
struct target_desc *tdesc_powerpc_64;
static void
initialize_tdesc_powerpc_64 (void)
{
struct target_desc *result = allocate_target_description ();
struct tdesc_feature *feature;
struct tdesc_type *field_t... | C | gdb/gdb/features/rs6000/powerpc-64.c | parallaxinc/propgcc | gpl-3.0 | 5,252 | 93 | codeparrot/github-code |
ba8bbf7ce9242738ab8110b963f5a63853afea2bbad16bd6b670a96f70d5ced4 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\/ M anipulation |
-------------... | C++ | src/lagrangian/intermediate/submodels/Kinematic/CollisionModel/PairCollision/PairModel/PairModel/PairModel.H | adrcad/OpenFOAM-2.3.x | gpl-3.0 | 5,186 | 177 | codeparrot/github-code |
b80143a58b72026d63692f9956c47533a228748adb24cced69c05d42074f1982 | /**********
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 version. (See <http://www.gnu.org/copyleft/lesser.html>.)
This libr... | C++ | testProgs/testMPEG4VideoStreamer.cpp | dark-crow/live555sourcecontrol | lgpl-2.1 | 4,533 | 127 | codeparrot/github-code |
ca90bac01be7a058a011b5dbe6c480283aeaa94d6f79275366dda540e57c8fff | /*
* 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")... | Java | src/main/org/codehaus/groovy/runtime/DefaultGroovyMethodsSupport.java | antoaravinth/incubator-groovy | apache-2.0 | 11,759 | 335 | codeparrot/github-code |
7b05e9aa63b56c48ff030c0608ad443c527ef07329778b8bab7b30c948e85e96 | /**
* 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 | exec/java-exec/src/main/codegen/templates/Decimal/DecimalFunctions.java | kristinehahn/drill | apache-2.0 | 73,041 | 1,733 | codeparrot/github-code |
147f6e3cf0398707e247135cc82af3cf818ce6cca82ba2ce2428feae723b9a79 | /*
* SIMD-optimized motion estimation
* Copyright (c) 2000, 2001 Fabrice Bellard
* Copyright (c) 2002-2004 Michael Niedermayer <michaelni@gmx.at>
*
* MMX optimization by Nick Kurshev <nickols_k@mail.ru>
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it un... | C | third_party/ffmpeg/libavcodec/x86/me_cmp_init.c | guorendong/iridium-browser-ubuntu | bsd-3-clause | 28,165 | 652 | codeparrot/github-code |
961dc42f7f1619d3123359c303292b57e3dce0fd5df216d70edd45a0e6cb31f3 | // 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 EXTENSIONS_BROWSER_API_BLUETOOTH_BLUETOOTH_EXTENSION_FUNCTION_H_
#define EXTENSIONS_BROWSER_API_BLUETOOTH_BLUETOOTH_EXTENSION_FUNCTION_H_
#in... | C | extensions/browser/api/bluetooth/bluetooth_extension_function.h | guorendong/iridium-browser-ubuntu | bsd-3-clause | 1,456 | 48 | codeparrot/github-code |
4012242744708787e2f97c2f6de6a81ee132520dca911941adce743c5cdd5738 | /*
comedi/drivers/jr3_pci.c
hardware driver for JR3/PCI force sensor board
COMEDI - Linux Control and Measurement Device Interface
Copyright (C) 2007 Anders Blomdell <anders.blomdell@control.lth.se>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General ... | C | mt6592/kernel/drivers/staging/comedi/drivers/jr3_pci.c | visi0nary/mediatek | gpl-2.0 | 26,487 | 1,018 | codeparrot/github-code |
041dc0e98aa1a1c16d917988549acdac71df77166f7b0c5a0d6dec748c62541b | /**
* Copyright (c) 2010-2016 by the respective copyright holders.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/... | Java | bundles/binding/org.openhab.binding.plex/src/main/java/org/openhab/binding/plex/internal/PlexApiLevel.java | lewie/openhab | epl-1.0 | 2,615 | 87 | codeparrot/github-code |
c79e334497129260d610707b245da83ec0f24c59e4bdf802093a7e03aa792dbf | /*
* Copyright (C) 2008-2017 TrinityCore <http://www.trinitycore.org/>
*
* 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 ve... | C++ | src/server/scripts/Northrend/Nexus/Oculus/boss_varos.cpp | benlbot/TrinityCore | gpl-2.0 | 14,630 | 408 | codeparrot/github-code |
0935b7d87f612f0314e1e4934cacedff979299dd5f472d737d3ecd209be2736a | // SPDX-License-Identifier: GPL-2.0-only
/* Event cache for netfilter. */
/*
* (C) 2005 Harald Welte <laforge@gnumonks.org>
* (C) 2005 Patrick McHardy <kaber@trash.net>
* (C) 2005-2006 Netfilter Core Team <coreteam@netfilter.org>
* (C) 2005 USAGI/WIDE Project <http://www.linux-ipv6.org>
*/
#define pr_fmt(fmt) KB... | C | net/netfilter/nf_conntrack_ecache.c | rperier/linux-rockchip | gpl-2.0 | 10,007 | 403 | codeparrot/github-code |
109d229d0fc764ab9fb4471284be7d2ddfdc16e03e21c0844d0b7333a786647c | <?php
namespace Drupal\color\Plugin\migrate\source\d7;
use Drupal\Core\Extension\ThemeHandler;
use Drupal\migrate\Row;
use Drupal\migrate_drupal\Plugin\migrate\source\VariableMultiRow;
use Drupal\Core\Entity\EntityManagerInterface;
use Drupal\Core\State\StateInterface;
use Drupal\migrate\Plugin\MigrationInterface;
us... | PHP | web/core/modules/color/src/Plugin/migrate/source/d7/Color.php | isauragalafate/drupal8 | gpl-2.0 | 2,595 | 99 | codeparrot/github-code |
7cbc1ad743b48858c147aa7f9478d9b734b7ef3ccd9f79f334de7d2cf1c8557a | /*
* This file is part of MPlayer.
*
* MPlayer 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.
*
* MPlayer is distributed in th... | C | gui/dialog/tools.c | larsmagne/mplayer | gpl-2.0 | 6,460 | 228 | codeparrot/github-code |
fb473a4788017491e22d02c9d5f0d7477f5fa3dbd77c4baf473397e46b4ed5eb | /*
* linux/drivers/mmc/core/bus.c
*
* Copyright (C) 2003 Russell King, All Rights Reserved.
* Copyright (C) 2007 Pierre Ossman
*
* 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 Foundati... | C | drivers/mmc/core/bus.c | SlimRoms/kernel_htc_flounder | gpl-2.0 | 8,293 | 391 | codeparrot/github-code |
015df08df47cb79c059bfce4151b04e56de8ce52e864035ec25907fd5a9cd192 | /**
* Marlin 3D Printer Firmware
* Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | C | Marlin/configuration_store.h | meros/Marlin | gpl-3.0 | 3,437 | 102 | codeparrot/github-code |
1011ffc1cdc21e568b1855e964ba8efa908a02f99b174a96770e1194004e1d15 | // 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 "chrome/browser/sync_file_system/drive_backend/metadata_database.h"
#include <algorithm>
#include <stack>
#include "base/bind.h"
#include "base... | C++ | external/chromium_org/chrome/browser/sync_file_system/drive_backend/metadata_database.cc | s20121035/rk3288_android5.1_repo | gpl-3.0 | 60,407 | 1,801 | codeparrot/github-code |
7faec4562bac3319b6d4a84d3f8776ef9a5eb9d89517150dbb1de5130dfff362 | // Copyright (c) 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 "content/browser/gpu/shader_disk_cache.h"
#include "base/threading/thread_checker.h"
#include "content/browser/gpu/gpu_process_host.h"
#incl... | C++ | external/chromium_org/content/browser/gpu/shader_disk_cache.cc | s20121035/rk3288_android5.1_repo | gpl-3.0 | 17,054 | 626 | codeparrot/github-code |
c4f15b1e98375db972e7de90ccb098595a6d8af18d0d38c314eb6857bb9f3eee | // 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 "chrome/browser/media_galleries/media_folder_finder.h"
#include <set>
#include <string>
#include "base/base_paths.h"
#include "base/bind.h"
#in... | C++ | external/chromium_org/chrome/browser/media_galleries/media_folder_finder_unittest.cc | s20121035/rk3288_android5.1_repo | gpl-3.0 | 14,053 | 406 | codeparrot/github-code |
f8583dc99efb659d93269272db46f6cadaef470ab27fc763b508551ba55a9ee9 | /*
===========================================================================
Doom 3 BFG Edition GPL Source Code
Copyright (C) 1993-2012 id Software LLC, a ZeniMax Media company.
This file is part of the Doom 3 BFG Edition GPL Source Code ("Doom 3 BFG Edition Source Code").
Doom 3 BFG Edition Source Code is free... | C++ | neo/d3xp/menus/MenuScreen_PDA_UserEmails.cpp | jslhs/DOOM-3-BFG | gpl-3.0 | 16,179 | 478 | codeparrot/github-code |
c6803e714a0e0e06483f24386ddf93848c6768649e4ef55f2764200dfee0a897 | // AFURLSessionManager.h
// Copyright (c) 2011–2016 Alamofire Software Foundation (http://alamofire.org/)
//
// 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 ... | C | 众商智推/帮助文件/Tools/AFNetworking/AFURLSessionManager.h | imTango/zszt | apache-2.0 | 30,059 | 500 | codeparrot/github-code |
bd0456759a72e08e0ef60b364040751a023e1803bee236576b03dfcf5f03f42c | /*
* 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 | nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/status/history/StandardGarbageCollectionHistory.java | mcgilman/nifi | apache-2.0 | 1,999 | 51 | codeparrot/github-code |
563ec2bb127bdca6f05f788dd8db55dbcaabc58fb207bfcba63e5b28a4cd56c7 | // 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_SSL_SSL_CONNECTION_STATUS_FLAGS_H_
#define NET_SSL_SSL_CONNECTION_STATUS_FLAGS_H_
#include "base/logging.h"
#include "base/macros.h"
nam... | C | net/ssl/ssl_connection_status_flags.h | CTSRD-SOAAP/chromium-42.0.2311.135 | bsd-3-clause | 3,087 | 88 | codeparrot/github-code |
a0fe5c1e67d25ac8d743471cc17bf6100448a182e72844dfbfb51a4fe6751cc0 | // 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 "chrome/browser/ui/views/cookie_info_view.h"
#include <algorithm>
#include "base/i18n/time_formatting.h"
#include "base/message_loop/messag... | C++ | chrome/browser/ui/views/cookie_info_view.cc | aospx-kitkat/platform_external_chromium_org | bsd-3-clause | 8,497 | 221 | codeparrot/github-code |
261f843b36a23cd58f16a721243d1af6d541e5c00d6482afe08420eb5307e529 | // 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 "net/quic/quic_utils.h"
#include <ctype.h>
#include <algorithm>
#include "base/basictypes.h"
#include "base/logging.h"
#include "base/port... | C++ | net/quic/quic_utils.cc | laperry1/android_external_chromium_org | bsd-3-clause | 11,346 | 323 | codeparrot/github-code |
70abad3e1ae87ed7376a8ea4e8d4c16352f0a58b18dd7e67ad930339fdd28470 | define("ace/mode/vbscript_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module) {
"use strict";
var oop = require("../lib/oop");
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
var VBScriptHighlightRules = funct... | JavaScript | v3.x/lib/ace/mode-vbscript.js | stasm/l20n-tinker | mit | 7,373 | 199 | codeparrot/github-code |
a8b773e0d8ceb9d537d2a37fac8b3699939b13986ea26cc56b12a3ef6389a53e | /*****************************************************************************
* Copyright (c) 2020, Hobu, Inc. (info@hobu.co) *
* *
* All rights reserved. *
* ... | C++ | external/untwine/bu/PointAccessor.hpp | pblottiere/QGIS | gpl-2.0 | 2,460 | 81 | codeparrot/github-code |
9c4aa7ed970f5fa20afcd1612ca73622bf83f81d69e3278922525872cbdf6e52 | <?php
/**
* WPBakery Visual Composer Plugin
*
* @package VPBakeryVisualComposer
*
*/
/**
* Manage Envato license for VC to activate/deactivate Envato product license with VC license service.
*/
class Vc_License {
public function addAjaxHooks() {
add_action( 'wp_ajax_wpb_activate_license', array( &$this, 'acti... | PHP | wp-content/themes/Total/plugins/js_composer/include/classes/settings/class-vc-license.php | poppalex/VLAA_dev | gpl-2.0 | 3,597 | 96 | codeparrot/github-code |
3b31ed60323f8bcad371f404ef5ec867b3b411c6e083b9d37375cb74e3850fb9 | /*
* mac80211 configuration hooks for cfg80211
*
* Copyright 2006, 2007 Johannes Berg <johannes@sipsolutions.net>
*
* This file is GPLv2 as found in COPYING.
*/
#include <linux/ieee80211.h>
#include <linux/nl80211.h>
#include <linux/rtnetlink.h>
#include <net/net_namespace.h>
#include <linux/rcupdate.h>
#include... | C | net/mac80211/cfg.c | ZhizhouTian/s3c-linux | gpl-2.0 | 23,108 | 1,019 | codeparrot/github-code |
5841d4261c2bf3fb14244def12f1e560e3027ae22635cfa93d07f4c779bb3b28 | /*
* swconfig.c: Switch configuration API
*
* Copyright (C) 2008 Felix Fietkau <nbd@nbd.name>
*
* 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 ... | C | target/linux/generic/files/drivers/net/phy/swconfig.c | mstorchak/openwrt | gpl-2.0 | 27,663 | 1,243 | codeparrot/github-code |
6152cb26c3090fb7024e29e3c717e9982eae17a79a69018f32aa5ca9b768d79d | <?php
/*
* This file is part of Twig.
*
* (c) 2010 Fabien Potencier
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* Marks a section of a template as untrusted code that must be evaluated in the sandbox mode.
... | PHP | wp-content/plugins/yop-poll/lib/Twig/TokenParser/Sandbox.php | xav335/frenchenglishservices | gpl-2.0 | 2,018 | 69 | codeparrot/github-code |
56f154821511222c40465ae76b36bd61b4d72c3febe9123254bc4951034a6b6d | /* Translation of constants
Copyright (C) 2002-2014 Free Software Foundation, Inc.
Contributed by Paul Brook
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, ... | C | gcc/fortran/trans-const.c | albertghtoun/gcc-libitm | gpl-2.0 | 11,116 | 409 | codeparrot/github-code |
820eeb4bb4649ea2761c098431addc4a17561e456aefa119972b2e7b127f7a83 | /*
* Cyrix MediaGX and NatSemi Geode Suspend Modulation
* (C) 2002 Zwane Mwaikambo <zwane@commfireservices.com>
* (C) 2002 Hiroshi Miura <miura@da-cha.org>
* 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
... | C | arch/i386/kernel/cpu/cpufreq/gx-suspmod.c | xtreamerdev/linux-xtr | gpl-2.0 | 15,737 | 503 | codeparrot/github-code |
3a1045b9e2d25e9bf9b944232eaa2dd5b8211d53bf1052aff5ab5f329c76e684 | // 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 "chrome/browser/chromeos/drive/file_write_watcher.h"
#include <set>
#include "base/bind.h"
#include "base/file_util.h"
#include "base/files/sco... | C++ | external/chromium_org/chrome/browser/chromeos/drive/file_write_watcher_unittest.cc | qtekfun/htcDesire820Kernel | gpl-2.0 | 3,710 | 121 | codeparrot/github-code |
9a7035895880113763e6f3692ea35418f26139469c6bba5097c3e44aa149ca13 | /* dlantr.f -- translated by f2c (version 20061008).
You must link the resulting object file with libf2c:
on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
or, if you install libf2c.a in a standard place, with -lf2c -lm
-- in that order, at the end of... | C | slam_ext/external/clapack-3.2.1-CMAKE/SRC/dlantr.c | CreativeCimmons/ORB-SLAM-Android-app | gpl-2.0 | 10,060 | 399 | codeparrot/github-code |
00ad02346291b83dddbf949a05eb69b6596fbcdad3dea734d3c215d0f0ddf87a | // @(#)root/ged:$Id$
// Author: Ilka Antcheva 10/05/04
/*************************************************************************
* Copyright (C) 1995-2002, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* ... | C | gui/ged/inc/TAttFillEditor.h | mhuwiler/rootauto | lgpl-2.1 | 2,383 | 63 | codeparrot/github-code |
483e727677bc39b8350c99d4f681ac6db4d7e7cc86bf9dc66c02a2711758d11d | """Helpers for HomeKit data stored in HA storage."""
from homeassistant.core import callback
from homeassistant.helpers.storage import Store
from .const import DOMAIN
ENTITY_MAP_STORAGE_KEY = f"{DOMAIN}-entity-map"
ENTITY_MAP_STORAGE_VERSION = 1
ENTITY_MAP_SAVE_DELAY = 10
class EntityMapStorage:
"""
Holds ... | Python | homeassistant/components/homekit_controller/storage.py | nkgilley/home-assistant | apache-2.0 | 2,471 | 74 | codeparrot/github-code |
c98788337497ca0a3fe727518df818b5b0ba0d00e2fb83243a95a1252d411172 | /*
* #%L
* BroadleafCommerce Framework
* %%
* Copyright (C) 2009 - 2013 Broadleaf Commerce
* %%
* 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/licens... | Java | core/broadleaf-framework/src/main/java/org/broadleafcommerce/core/order/service/exception/RequiredAttributeNotProvidedException.java | liqianggao/BroadleafCommerce | apache-2.0 | 1,799 | 59 | codeparrot/github-code |
f38ddcb0dc0d97e8f280fd4719ea0caf2b2f0f4e811b3973f2c9c83ad6fc8fff | /*
* Copyright 2016 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* 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.apach... | Java | testsuite/integration/src/test/java/org/keycloak/testsuite/broker/IdentityProviderRegistrationTest.java | mbaluch/keycloak | apache-2.0 | 4,103 | 107 | codeparrot/github-code |
71d8eb2624034b3d5920f0438fa1fb1ea28485c0158691153099b33b558679df | /* 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++ | third_party/tensorflow/tensorflow/core/kernels/tensor_array_ops.cc | npuichigo/ttsflow | apache-2.0 | 62,879 | 1,437 | codeparrot/github-code |
0fc47520104b0c3769d1c15c75b1c003d186a28e13011d1d0ca5f31e0b483994 | YUI.add('event-focus', function(Y) {
/**
* Adds focus and blur event listener support. These events normally
* do not bubble, so this adds support for that so these events
* can be used in event delegation scenarios.
*
* @module event
* @submodule event-focus
*/
(function() {
var UA = Y.UA,
Event = Y.Event,... | JavaScript | ajax/libs/yui/3.1.0pr1/event/event-focus.js | wil93/cdnjs | mit | 2,450 | 94 | codeparrot/github-code |
da98ad91b78aaf3c28358c4b1f57feeb63cabfedcb42da707117425a1473d981 | <?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | PHP | www/lib/Zend/Controller/Request/Apache404.php | hansbonini/cloud9-magento | mit | 2,907 | 83 | codeparrot/github-code |
890554111354dcf862cd1669326e543ab302b205d21cb017ba5f465e5de049fb | /*
* Copyright (c) 2000-2003 Silicon Graphics, Inc.
* 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 Free Software Foundation.
*
* This program is distributed in the hope that it would be ... | C | fs/xfs/xfs_dquot.c | Isopod/linux | gpl-2.0 | 30,348 | 1,185 | codeparrot/github-code |
2c31564a3c1915d848b54d195c61c722d58f6d06ebe022fd1c137a7a0abc166d | # $Id$
#
# pjsua Python GUI Demo
#
# Copyright (C)2013 Teluu Inc. (http://www.teluu.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) ... | Python | pjsip-apps/src/pygui/log.py | xiejianying/pjsip_trunk | gpl-2.0 | 3,628 | 128 | codeparrot/github-code |
789e35115fe4b23e7f8d1f45844e90bc5ba88fb340f06f9cc2d7b603140e26bc | // -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
/// @file AP_MotorsHeli.h
/// @brief Motor control class for Traditional Heli
#ifndef __AP_MOTORS_HELI_H__
#define __AP_MOTORS_HELI_H__
#include <inttypes.h>
#include <AP_Common.h>
#include <AP_Math.h> // ArduPilot Mega Vector/Matrix... | C | libraries/AP_Motors/AP_MotorsHeli.h | charlesbastos/ArduPilotMega_demo | gpl-3.0 | 15,478 | 305 | codeparrot/github-code |
e71375e616dc464edd7ef98392053ba149b4a7b1a0137aa14fbb8561c26ad62d | /*
* jquery.socialshareprivacy.js | 2 Klicks fuer mehr Datenschutz
*
* http://www.heise.de/extras/socialshareprivacy/
* http://www.heise.de/ct/artikel/2-Klicks-fuer-mehr-Datenschutz-1333879.html
*
* Copyright (c) 2011 Hilko Holweg, Sebastian Hilbig, Nicolas Heiringhoff, Juergen Schmidt,
* Heise Zeitschriften Ver... | JavaScript | scheduler/static/js/social_share/modules/pinterest.js | slevon/volunteer_planner | agpl-3.0 | 3,142 | 84 | codeparrot/github-code |
5ea56215bbe23e417a6702b651ce6870e245dbc3ef2ec83d321101bd2eae99ab | /*
* Copyright (c) 2015, 张涛.
*
* 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... | Java | KJFrame/app/src/main/java/org/kymjs/blog/ui/widget/listview/PullToRefreshBase.java | lzhgreat/KJFrameForAndroid | apache-2.0 | 27,871 | 981 | codeparrot/github-code |
06efe7843effd6c6d579906caf5d23e6d4e4d2a4205e6f15957dc1d36b1f4453 | /*
* 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-raptor/src/main/java/com/facebook/presto/raptor/storage/StorageService.java | marsorp/blog | apache-2.0 | 973 | 36 | codeparrot/github-code |
6a49ca5fd2b0467ac79596aa852035f495895e82369dce72f4e176d624e462c1 | /*
* Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. 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.ap... | Java | samples/data-services/clients/src/org/wso2/carbon/dataservices/samples/GSpreadSample.java | wso2/product-ei | apache-2.0 | 1,668 | 42 | codeparrot/github-code |
c58cc83de4e0c4cf2e1aa1d01f87dce89ccf2e2589ec582a78d32e3ab04fcfe3 | /*
* Copyright 2010-2015 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | Java | aws-java-sdk-glacier/src/main/java/com/amazonaws/services/glacier/model/transform/GetVaultLockResultJsonUnmarshaller.java | mahaliachante/aws-sdk-java | apache-2.0 | 3,374 | 82 | codeparrot/github-code |
5d22a8092e2c3902976d1bbaff936c2fc3e70fa9b02a656e3f3204981ce3aeac | /**
* Copyright 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModu... | JavaScript | src/shared/utils/KeyEscapeUtils.js | flipactual/react | bsd-3-clause | 1,374 | 61 | codeparrot/github-code |
db80aec14d20f0d313bba41504e47b194edea6eb2ef73a527ab79c3230e5e9e8 | /*******************************************************************************
* Copyright 2018 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.o... | C++ | thirdparty/oidn/mkl-dnn/src/common/mkldnn_thread_parallel_nd.hpp | Paulloz/godot | mit | 11,028 | 278 | codeparrot/github-code |
b7d904528e9ed6506ea135d96ab3f83747eedd5326f1e353a9f9f7a5483cb642 | /* Flot plugin for adding the ability to pan and zoom the plot.
Copyright (c) 2007-2014 IOLA and Ole Laursen.
Copyright (c) 2016 Ciprian Ceteras.
Copyright (c) 2017 Raluca Portase.
Licensed under the MIT license.
*/
/**
## jquery.flot.navigate.js
This flot plugin is used for adding the ability to pan and zoom the p... | JavaScript | widgets/weather/lib/js/flot/jquery.flot.navigate.js | rg-engineering/ioBroker.vis-weather | mit | 30,346 | 835 | codeparrot/github-code |
3fa90fc7005579257086a82ed0e1fb3b4ed545398891f00c47c53e46e5d153e6 | """
Members info plugin for Pelican
===============================
This plugin looks for a ``members`` metadata header containing key/value pairs
and makes them available for use in templates
The first line of the members metadata defines each key, and the following
lines contain corresponding values for each member... | Python | plugins/members/members.py | tijptjik/thegodsproject | mit | 1,249 | 39 | codeparrot/github-code |
b9ff7d614fff7be1668f936ab5b44255b926cf69212141f2db7ae4a2fac6b12e | /*
* BMP image format decoder
* Copyright (c) 2005 Mans Rullgard
*
* 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 of the License,... | C | open/_third/ffmpeg-0.10.3/libavcodec/bmp.c | emabiz/e-works-codecpack | gpl-2.0 | 11,444 | 361 | codeparrot/github-code |
6d54e8331fc90b1e16c04fa0a88e761ba14823b971792c2c844036e2575c30f2 | /*
* Copyright (c) 2007, 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/jdk/javax/swing/regtesthelpers/JRobot.java | md-5/jdk10 | gpl-2.0 | 8,807 | 295 | codeparrot/github-code |
f3d6d021fec9c12f86c8a314fd9fbe3eacec9a69eec21fd9de9f81b5be0f784e | /*
* Copyright (c) 2002-2003, Intel Corporation. All rights reserved.
* Created by: rusty.lynch REMOVE-THIS AT intel DOT com
* This file is licensed under the GPL license. For the full content
* of this license, see the COPYING file at the top level of this
* source tree.
Test assertion #17 by verifying that... | C | testcases/open_posix_testsuite/conformance/interfaces/sigaction/17-22.c | heluxie/LTP | gpl-2.0 | 2,166 | 93 | codeparrot/github-code |
ccbfa3b722636da5dbea24f3aa84c43d60229ce3b035063dfa8442573388b14c | // 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 "chrome/browser/chrome_select_file_dialog_factory_win.h"
#include <Windows.h>
#include <commdlg.h>
#include "base/bind.h"
#include "base/bind_h... | C++ | external/chromium_org/chrome/browser/chrome_select_file_dialog_factory_win.cc | s20121035/rk3288_android5.1_repo | gpl-3.0 | 11,257 | 339 | codeparrot/github-code |
0250e52ff3667e6da816e82621199bc1684edf1f715e1dcbf6de7bbf943745d0 | /****************************************************************************/
/* eigenval.c */
/****************************************************************************/
/* */
/* e... | C++ | libmesh/contrib/laspack/eigenval.C | vityurkiv/Ox | lgpl-2.1 | 13,351 | 388 | codeparrot/github-code |
ea0850cbed6c4983e36337d6634cc1cf2b0cd96668c19d738d9c435b6fbc4b30 | /**
* @author mrdoob / http://mrdoob.com/
* @author Mugen87 / https://github.com/Mugen87
*/
import { Geometry } from '../core/Geometry';
import { BufferGeometry } from '../core/BufferGeometry';
import { Float32BufferAttribute } from '../core/BufferAttribute';
import { Vector3 } from '../math/Vector3';
import { Vect... | JavaScript | static/three/extras/geometries/CylinderGeometry.js | robcbryant/projectanka | apache-2.0 | 6,747 | 317 | codeparrot/github-code |
1aa3badc56ffdf341d2fd4bb92fb06094c738472f1d75bf10c32eb8b1b376aa4 | /*
* Copyright 1999-2012 Alibaba Group.
*
* 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 la... | Java | manager/src/main/java/com/alibaba/cobar/manager/dao/CobarAdapterDAO.java | 0359xiaodong/cobar | apache-2.0 | 2,712 | 81 | codeparrot/github-code |
ea587a0163a48356c328eebaa125832e9f9bb0ec5309e25f9a7639ec7c6cae74 | #region License
//
// Copyright (c) 2007-2009, Sean Chambers <schambers80@gmail.com>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
/... | C# | src/FluentMigrator/Expressions/DeleteColumnExpression.cs | mstancombe/fluentmig | apache-2.0 | 2,010 | 59 | codeparrot/github-code |
e0ccb78b3f881f8f09b80a10a012a3f491ea1472c493c496aac431ca7926f1a5 | /*
* 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/cassandra/hadoop/cql3/CqlBulkRecordWriter.java | likaiwalkman/cassandra | apache-2.0 | 10,685 | 299 | codeparrot/github-code |
9e25c007d45a64fc0abeffaa32e83b17034095c2753e14fd863eb7917c6b154b | /*
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 to in writing, software
distr... | Scala | scalding-core/src/main/scala/com/twitter/scalding/TupleGetter.scala | tglstory/scalding | apache-2.0 | 2,529 | 74 | codeparrot/github-code |
b049871b460eeb17c6a3482ce1f585e3839bf0140c8d56abbe010cfd0408ec42 | // Copyright 2016 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 b... | GO | tensorflow/go/op/op.go | anilmuthineni/tensorflow | apache-2.0 | 1,575 | 50 | codeparrot/github-code |
4dcaed5764f4a9aa7874457aaa6039f72e2eda8797225a52daf6401a388f83d1 | from django.dispatch import receiver
from django.dispatch import Signal
from django.utils.timezone import now
from django.contrib.auth.signals import user_logged_out
from django.core.exceptions import ObjectDoesNotExist
from axes.models import AccessLog
user_locked_out = Signal(providing_args=['request', 'username',... | Python | desktop/core/ext-py/django-axes-1.5.0/axes/signals.py | todaychi/hue | apache-2.0 | 919 | 35 | codeparrot/github-code |
a7471b81d9af4ceb411cf4d33ffd216dff3e6a472a8003e66deee8a67d0f2835 | /*
* cblas_cgbmv.c
* The program is a C interface of cgbmv
*
* Keita Teranishi 5/20/98
*
*/
#include <stdio.h>
#include <stdlib.h>
#include "cblas.h"
#include "cblas_f77.h"
void cblas_cgbmv(const enum CBLAS_ORDER order,
const enum CBLAS_TRANSPOSE TransA, const int M, const int N,
... | C | src/tools/cblas/src/cblas_cgbmv.c | wilseypa/llamaOS | bsd-2-clause | 4,191 | 166 | codeparrot/github-code |
8efcf8de95d7e16130fae3f2b6779f2f30fcd8b177c14d9202d88001bd0f1510 | // 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 <string>
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "base/message_loop/message_loop.h"
#include "base... | C++ | content/renderer/media/media_stream_dispatcher_unittest.cc | guorendong/iridium-browser-ubuntu | bsd-3-clause | 18,066 | 471 | codeparrot/github-code |
a98f76ea2f7f97a6514a19f18bd3fa3e8b66512c7bbcfff0ae608579b9a8444f | /*
* Copyright (c) 2005, 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 Softwa... | Java | testing/openjdk/jdk/test/javax/management/monitor/CounterMonitorThresholdTest.java | rokn/Count_Words_2015 | mit | 7,261 | 180 | codeparrot/github-code |
0f4836490dfd4aa5075fe07d9f5c6a98cc22422c15f3c82129246c2eedcd75b1 | /* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (c) 2000-2005 Silicon Graphics, Inc.
* All Rights Reserved.
*/
#ifndef __XFS_FORMAT_H__
#define __XFS_FORMAT_H__
/*
* XFS On Disk Format Definitions
*
* This header file defines all the on-disk format definitions for
* general XFS objects. Directory and att... | C | fs/xfs/libxfs/xfs_format.h | chenshuo/linux-study | gpl-2.0 | 66,621 | 1,935 | codeparrot/github-code |
07336862133d2a42ec4d97f70cff0489199d51630fcd77a7be9b0316b6a2b90d | #
# Author:: Adam Jacob (<adam@chef.io>)
# Copyright:: Copyright 2009-2016, Chef Software Inc.
# License:: Apache License, Version 2.0
#
# 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
#
# ... | Ruby | lib/chef/knife/node_from_file.rb | criteo-forks/chef | apache-2.0 | 1,330 | 52 | codeparrot/github-code |
609be8c589e61f7f75952df8f1a3df47200cee0d4c341f88752bb9781b435ef6 | /*
* 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 | platform/vcs-impl/src/com/intellij/openapi/vcs/changes/committed/CommittedChangesTreeBrowser.java | amith01994/intellij-community | apache-2.0 | 21,613 | 543 | codeparrot/github-code |
6537f8e7c59e17e663e59f7794e1ba777862c0423e8c2780fb5f73639abdf2b4 | // Copyright (c) 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 "chrome/browser/policy/cloud/component_cloud_policy_service.h"
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/location... | C++ | chromium/src/chrome/browser/policy/cloud/component_cloud_policy_service.cc | windyuuy/opera | bsd-3-clause | 17,365 | 475 | codeparrot/github-code |
1d7a961b9aa663c0588a5360fa4210fe7f2821e7365704191e14cd6c1778338f | //===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... | C++ | third_party/libc++/trunk/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/move_convert02.pass.cpp | mxOBS/deb-pkg_trusty_chromium-browser | bsd-3-clause | 1,327 | 62 | codeparrot/github-code |
e26ab26bef9d072bfe1dbd6a4849d8beb665c78db9e3d5e2a4745ea55ba2101f | <?php
namespace Subscriber;
use Event\GenericEvent;
use Model\Task;
use Model\Comment;
use Model\Subtask;
use Model\File;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
class NotificationSubscriber extends \Core\Base implements EventSubscriberInterface
{
public static function getSubscribedEvent... | PHP | app/Subscriber/NotificationSubscriber.php | manishlad/kanboard | mit | 2,369 | 64 | codeparrot/github-code |
f1e073237bf9b5d2844e562ed8479d3308ecbe9e14c445200cc6ac516e527d79 | // Type definitions for request-promise-native 1.0
// Project: https://github.com/request/request-promise-native
// Definitions by: Gustavo Henke <https://github.com/gustavohenke>
// Matt R. Wilson <https://github.com/mastermatt>
// Cory Reed <https://github.com/swashcap>
// Definitions:... | TypeScript | types/request-promise-native/index.d.ts | dsebastien/DefinitelyTyped | mit | 1,333 | 33 | codeparrot/github-code |
6f326efe9daa3dfb87db1ef1f0a42f5e44049ba6724f1cc06c69f8ef992dfe19 | /* Simulator instruction semantics for lm32bf.
THIS FILE IS MACHINE GENERATED WITH CGEN.
Copyright 1996-2015 Free Software Foundation, Inc.
This file is part of the GNU simulators.
This file is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as publish... | C | sim/lm32/sem.c | palmer-dabbelt/riscv-binutils-gdb | gpl-2.0 | 42,373 | 1,665 | codeparrot/github-code |
d2518f74a7aff3db6789c4c4dfbafe2e1382ae7f259d3b681b4454793687c866 | /* SPDX-License-Identifier: GPL-2.0 */
/*
* include/linux/backing-dev.h
*
* low-level device information and state which is propagated up through
* to high-level code.
*/
#ifndef _LINUX_BACKING_DEV_H
#define _LINUX_BACKING_DEV_H
#include <linux/kernel.h>
#include <linux/fs.h>
#include <linux/sched.h>
#include <l... | C | include/linux/backing-dev.h | c0d3z3r0/linux-rockchip | gpl-2.0 | 14,389 | 518 | codeparrot/github-code |
eb39c3cd757c4e26bb2a781f4b5ec49f695c574bd812be9333b740ea8c330837 | define("dijit/form/_FormWidget", [
"dojo/_base/declare", // declare
"dojo/sniff", // has("dijit-legacy-requires"), has("msapp")
"dojo/_base/kernel", // kernel.deprecated
"dojo/ready",
"../_Widget",
"../_CssStateMixin",
"../_TemplatedMixin",
"./_FormWidgetMixin"
], function(declare, has, kernel, ready, _Widget, ... | JavaScript | zh.web.site.admin/src/main/resources/static/js/dojo/dijit/form/_FormWidget.js.uncompressed.js | Caspar12/zh.sw | apache-2.0 | 2,793 | 68 | codeparrot/github-code |
893a6b47810a928d9895e2b88b0e9896621c00b10dc93a56d95af78bea0e920a | /*
* 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 | modules/ingest-common/src/main/java/org/elasticsearch/ingest/common/KeyValueProcessor.java | shreejay/elasticsearch | apache-2.0 | 5,764 | 151 | codeparrot/github-code |
ece3301e418bba17c7088742e99bb157d4289b7b0aa3e8c55447d8513c6694a7 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Graph 3D demo</title>
<style>
body {font: 10pt arial;}
</style>
<script type="text/javascript" src="../../dist/vis.js"></script>
<script type="text/javascript">
var data = nul... | HTML | web/libs/vis/examples/graph3d/example01_basis.html | sekys/ivda | mit | 1,581 | 61 | codeparrot/github-code |
cdf8fc5758df8ae7809522fd495bf003a8bf9b0f84154eba3a79b70d309a5313 | /***************************************************************************
* V4L2 driver for ZC0301[P] Image Processor and Control Chip *
* *
* Copyright (C) 2006-2007 by Luca Risolia <luca.risolia@studio.unibo.it> *
* ... | C | linux-2.6.x/drivers/media/video/zc0301/zc0301.h | kidmaple/CoolWall | gpl-2.0 | 6,557 | 196 | codeparrot/github-code |
f52d3cef71614eaa539bf5627b0a6a3a44525497fb9f9778ce45f50d072c8f49 | #ifndef BOOST_DETAIL_SP_CONVERTIBLE_HPP_INCLUDED
#define BOOST_DETAIL_SP_CONVERTIBLE_HPP_INCLUDED
// MS compatible compilers support #pragma once
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
# pragma once
#endif
// detail/sp_convertible.hpp
//
// Copyright 2008 Peter Dimov
//
// Distributed under the Boost Softwar... | C++ | third_party/libprocess/third_party/boost-1.37.0/boost/detail/sp_convertible.hpp | woggle/mesos-old | apache-2.0 | 1,710 | 77 | codeparrot/github-code |
3d7f3b8c3196b9bdb0e5a74bbcd92c8bf5e7261a414e6882002bb5150a43f881 | /*
Copyright 2015 The Kubernetes 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 agreed to in writing, ... | GO | pkg/kubelet/pleg/generic.go | jackfrancis/kubernetes | apache-2.0 | 17,284 | 533 | codeparrot/github-code |
5f5a4599212c8d159d83cb41572e46ce4989c84a6321f2cb760a0b7ee53c6faf | #ifndef __PRIMECLIENT_H__
#define __PRIMECLIENT_H__
#include "XnLinkProtoLibDefs.h"
#include "XnLinkControlEndpoint.h"
#include "XnLinkInputDataEndpoint.h"
#include "XnLinkOutputDataEndpoint.h"
#include "XnLinkInputStreamsMgr.h"
#include "XnLinkOutputStreamsMgr.h"
#include "PrimeClientDefs.h"
#include "XnShiftToDepth.... | C | Source/Drivers/PSLink/PrimeClient.h | mhaut/openni2 | apache-2.0 | 5,245 | 128 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.