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 |
|---|---|---|---|---|---|---|---|---|
c1c18663a9d666469e58318ffb6034a08500b4ce9bfb0a302f40942f3cc7c21f | /**************************************************************
spi_main.c
process of spi
This is MASTER side.
***************************************************************/
/**************************************************************
Preprocessor by common
**************************************************... | C | drivers/phone_svn/ipc_spi/spi_main.c | sdonati84/GalaxyS3_Kernel | gpl-2.0 | 14,075 | 564 | codeparrot/github-code |
40c531a594fd2ce8259346b539d11f0847ece1e07ec1f29a632671cdb4a0ef43 | /*
*
* Copyright (c) International Business Machines Corp., 2001
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any l... | C | testcases/kernel/syscalls/ipc/semget/semget02.c | liaoqingwei/ltp | gpl-2.0 | 4,062 | 166 | codeparrot/github-code |
d72d0e45864ea3a3c67816ebee1ead2e08111a004d40322707b7bfa481ef8fd3 | /* A substitute <strings.h>.
Copyright (C) 2007-2014 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3, or (at your option)
any later ver... | C | release/src/router/wget/lib/strings.in.h | wkritzinger/asuswrt-merlin | gpl-2.0 | 4,014 | 123 | codeparrot/github-code |
c76f7d18d6b55ae7daf78fd145b45519ca31263354631e1d720972aa1d2b0552 | // Copyright (C) 2005-2016 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Foundation; either version 3, or (at your op... | C++ | source/gcc-latest/libstdc++-v3/testsuite/25_algorithms/partial_sort_copy/1.cc | selmentdev/selment-toolchain | gpl-3.0 | 2,643 | 89 | codeparrot/github-code |
231c0de23e5a1ce74d7ed35042e887b5bcb7c5a3aa9ba74d6d60e881cc1b5c34 | // 1999-06-10 bkoz
// Copyright (C) 1999-2016 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Foundation; either versi... | C++ | source/gcc-latest/libstdc++-v3/testsuite/21_strings/basic_string/operations/substr/wchar_t/1.cc | selmentdev/selment-toolchain | gpl-3.0 | 1,869 | 75 | codeparrot/github-code |
f53f9cf495ca9c56ea950c8539d69f99224a991a2bd918bd14b49254a6df18a0 | # -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>).
# Copyright (C) 2010-2011 OpenERP s.a. (<http://openerp.com>).
#
# This program is free software: you ca... | Python | openerp/modules/graph.py | legalsylvain/OpenUpgrade | agpl-3.0 | 8,097 | 226 | codeparrot/github-code |
16b4f26f1df9d2ce2a84c6954084cba6c6805a544f0d981304d286b8a6cdac48 | /*
* OpenMAMA: The open middleware agnostic messaging API
* Copyright (C) 2011 NYSE Technologies, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the... | C | common/c_cpp/src/c/windows/wSemaphore.c | dpauls/OpenMAMA | lgpl-2.1 | 3,899 | 148 | codeparrot/github-code |
30fe59187d44910a12de19dcb69f01710eb41ad6e996e8a15896d62ab2375bcd | /**
* Copyright © 2002 Instituto Superior Técnico
*
* This file is part of FenixEdu Academic.
*
* FenixEdu Academic 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 3 of the License... | Java | src/main/java/org/fenixedu/academic/dto/InfoCoordinator.java | andre-nunes/fenixedu-academic | lgpl-3.0 | 2,177 | 76 | codeparrot/github-code |
9791af4ec590ee474056c533633bb713a9e305b934597df3dc23b66abce188fe | /**********************************************************************************
* $URL$
* $Id$
***********************************************************************************
*
* Copyright (c) 2005, 2006, 2008 The Sakai Foundation
*
* Licensed under the Educational Community License, Version 2.0 (the "Li... | Java | login/login-tool/tool/src/java/org/sakaiproject/login/tool/ContainerLogin.java | ouit0408/sakai | apache-2.0 | 4,830 | 161 | codeparrot/github-code |
47baafbcfbc3c00755503d9c4c1025dcae7ff1e6698d1e1c5c1d3315808b085e | /**
* Copyright (C) 2012-2015 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/LICENSE-2.0
*
* Unless required b... | Java | ninja-core/src/main/java/ninja/template/TemplateEngineXml.java | skyseazcq/ninja-1 | apache-2.0 | 1,980 | 76 | codeparrot/github-code |
44ca3638af7df203f3c663d190777512319a6f5d60eafec53010018053e047b4 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Java | modules/core/src/test/java/org/apache/ignite/internal/processors/cache/CachePutEventListenerErrorSelfTest.java | afinka77/ignite | apache-2.0 | 6,263 | 186 | codeparrot/github-code |
e5bcb05b5f8a9638b7364dbedbc454e68bce5c6c696af3f7af9b374b16f53f89 | /**
* Copyright (c) Microsoft. 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 ag... | JavaScript | test/commands/arm/ad/arm.ad-tests.js | oaastest/azure-xplat-cli | apache-2.0 | 10,291 | 242 | codeparrot/github-code |
1af5c1cb7de11ba890c98bc30d225875aeface1fe7eea0bb380baaf4e4b39ad4 | /**
* 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/api/src/main/java/org/kuali/rice/core/api/impex/xml/ZipXmlDoc.java | bhutchinson/rice | apache-2.0 | 1,779 | 52 | codeparrot/github-code |
040fdce29d82c504eda2bcf381fecd3c430ad76ee62b702733fc0819874a6d81 | /*
*
* 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
* distri... | Java | traffic_monitor_java/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/MonitorApplication.java | alficles/incubator-trafficcontrol | apache-2.0 | 3,690 | 117 | codeparrot/github-code |
29d2f15eef6032a091afcddfbd1d7831b3fb0b57cdaf7937250305b5afedbea0 | /*
* 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 | installer/providers/jcr/src/test/java/org/apache/sling/installer/provider/jcr/impl/ScanningLoopTest.java | roele/sling | apache-2.0 | 6,177 | 164 | codeparrot/github-code |
260fac0d61c4f5d22ad720243a9bc28023063dc4b9e21667f426787bdcba1d64 | /*
* 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-core/src/test/java/org/apache/flink/api/common/typeutils/base/BigIntSerializerTest.java | apache/flink | apache-2.0 | 1,893 | 60 | codeparrot/github-code |
0b2dd4abe79a9dd5c75401dbb627988292b825200a88b5ba51f34b7d41584355 | package org.zstack.header.network.service;
import org.zstack.header.network.l3.L3NetworkInventory;
/**
* Created with IntelliJ IDEA.
* User: frank
* Time: 10:34 PM
* To change this template use File | Settings | File Templates.
*/
public class SnatStruct {
private String guestIp;
private String guestGate... | Java | header/src/main/java/org/zstack/header/network/service/SnatStruct.java | zxwing/zstack-1 | apache-2.0 | 1,769 | 70 | codeparrot/github-code |
dae394ed29927bc218a1f2d3e57aaf87aad651d5cfc9d2d7ac9d454d5cbfcacc | // 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 "content/browser/renderer_host/pepper/pepper_flash_file_message_filter.h"
#include "base/bind.h"
#include "base/file_util.h"
#include "base/... | C++ | content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc | 7kbird/chrome | bsd-3-clause | 12,025 | 294 | codeparrot/github-code |
fd377d4ef9801b4a772f9f0fdbbdd33c2271737b85304f2fb1cfb6891ddada3e | // $Id: HLTVZEROTest.C 43204 2010-08-30 07:47:06Z richterm $
void HLTVZEROTest();
/**
* @file HLTVZEROTest.C
* @brief Example macro to run the AliHLTSampleRawAnalysisComponent in
* AliReconstruction.
*
* The component subscribes to DDL raw data published by the
* AliHLTRawReaderPublisherComponent. The macros requ... | C++ | HLT/VZERO/macros/HLTVZEROTest.C | miranov25/AliRoot | bsd-3-clause | 6,847 | 197 | codeparrot/github-code |
8fba6216dce521ded31b6608d0a2a454f0d117f562ab8e7ba11858cdda512949 | /*
* 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 | elasticsearch-master/core/src/main/java/org/elasticsearch/action/termvectors/MultiTermVectorsRequest.java | strahanjen/strahanjen.github.io | bsd-3-clause | 7,542 | 183 | codeparrot/github-code |
ace5c287924889031c4a8a6846ed673aaf175f148fc5657f02baba8edc55a2c8 | //------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace System.ServiceModel.Channels
{
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
... | C# | System.ServiceModel/System/ServiceModel/Channels/MsmqReceiveContext.cs | sekcheong/referencesource | mit | 6,820 | 212 | codeparrot/github-code |
b39509ea2d123286e43754372105f362ceb82a0fa67d8a3016914c7326a7a91a | /**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import SyntheticMouseEvent from './SyntheticMouseEvent';
/**
* @interface WheelEvent
* @see http://www.w3.org/TR/DOM-Level-3-Ev... | JavaScript | packages/react-dom/src/events/SyntheticWheelEvent.js | jdlehman/react | mit | 1,362 | 44 | codeparrot/github-code |
5fd0a88548f534dcb67e843bc250953eb346b41ce8297eeed0a66a15cfd3a128 | //
// Copyright (c) 1990-2011, Scientific Toolworks, Inc.
//
// The License.txt file describes the conditions under which this software may be distributed.
//
// Author: Jason Haslam
//
// Additions Copyright (c) 2011 Archaeopteryx Software, Inc. d/b/a Wingware
// Scintilla platform layer for Qt
#ifndef PLATQ... | C | tools/scintilla/qt/ScintillaEditBase/PlatQt.h | sdottaka/mruby-bin-scite-mruby | mit | 3,724 | 128 | codeparrot/github-code |
3a7f18baf5d402bf6549a8b6465d34166737835ef20b055d9022b159882b93a9 | // This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (C) Microsoft Corporation
// All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and related
// electronic documentation provided with the library.
// See these sourc... | C | module/include/atlmfc/afxpanecontainermanager.h | pvpgn/pvpgn-magic-builder | mit | 5,194 | 135 | codeparrot/github-code |
48bd6c79a356ac881dfe46a6fbfd3848f66036c6e64d75d58bdc602a3a16fceb | package exec
import (
"bytes"
"fmt"
"os/exec"
"path/filepath"
"runtime"
"strings"
"sync"
"syscall"
"time"
"github.com/kballard/go-shellquote"
"github.com/influxdata/telegraf"
"github.com/influxdata/telegraf/internal"
"github.com/influxdata/telegraf/plugins/inputs"
"github.com/influxdata/telegraf/plugin... | GO | plugins/inputs/exec/exec.go | sbouchex/telegraf | mit | 4,979 | 229 | codeparrot/github-code |
5489f34cd801bbdb22acfd1169afa7eb34255855f08a0e7fb583d150b8d7c3ac | // ***********************************************************************
// Copyright (c) 2013 Charlie Poole
//
// 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, incl... | C# | src/NUnitEngine/nunit.engine/Internal/SettingsGroup.cs | passaro/nunit | mit | 5,649 | 153 | codeparrot/github-code |
458c80d1b4365318d9a498f614e0477bce4d9ff6cb5e15aaf7c764286741d69f | <?php
add_action('init','of_options');
if (!function_exists('of_options'))
{
function of_options()
{
global $of_options, $zee_googlefonts;
$of_options = array();
// General Settings
$of_options[] = array(
"name" => __('General Settings',ZEETEXTDOMAIN),
... | PHP | wp-content/themes/flattheme/flat-theme/admin/themeoptions/functions/functions.php | Bramon-Software/BramonNews | mit | 17,396 | 442 | codeparrot/github-code |
43215f19c782a848dc755aab2d456a23729046236ea33a8df1847af45c0a9baa | /**
* 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.tinkerforge/src/main/java/org/openhab/binding/tinkerforge/internal/model/impl/MBrickDCImpl.java | mvolaart/openhab | epl-1.0 | 93,360 | 2,809 | codeparrot/github-code |
99b3ed1754ca5fa290eb34e33b8adb24b0a5fca79c25b7e3490e69b265fc6b43 | <?php
namespace Drupal\responsive_image;
use Drupal\Core\Config\Entity\ConfigEntityListBuilder;
use Drupal\Core\Entity\EntityInterface;
/**
* Provides a listing of responsive image styles.
*/
class ResponsiveImageStyleListBuilder extends ConfigEntityListBuilder {
/**
* {@inheritdoc}
*/
public function b... | PHP | core/modules/responsive_image/src/ResponsiveImageStyleListBuilder.php | rsathishkumar/drupal8 | gpl-2.0 | 992 | 45 | codeparrot/github-code |
5355df93279325fc12868954400e82962cb505345076ec07af7ad5ad699ad451 | <?php
/**
* ======================================================================
* LICENSE: This file is subject to the terms and conditions defined in *
* file 'license.txt', which is part of this source code package. *
* ======================================================================
*/
/**
*
*... | PHP | wp-content/plugins/contact-form-7/advanced-access-manager/application/view/capability.php | subhadip-sahoo/wp-proejctAAC | gpl-2.0 | 7,147 | 224 | codeparrot/github-code |
8506d2a52f8ef0cb95f1eb3e4a7c2dde6b245c0a159f31e6ca5beb053ded2b4b | /* sha1.c : Implementation of the Secure Hash Algorithm */
/* SHA: NIST's Secure Hash Algorithm */
/* This version written November 2000 by David Ireland of
DI Management Services Pty Limited <code@di-mgt.com.au>
Adapted from code in the Python Cryptography Toolkit,
version 1.0.0 by A.M. Kuchling 1995.
*/
/* A... | C | shared/sleuthkit/src/hashtools/sha1.c | cmpham/decaf-platform | gpl-2.0 | 2,406 | 100 | codeparrot/github-code |
0ac646f6bdf0669e16881dc963b969bd15abd1a232f2d1104b1cc87f2c6a53a2 | /*
* Makes a tree bootable image for IBM Evaluation boards.
* Basically, just take a zImage, skip the ELF header, and stuff
* a 32 byte header on the front.
*
* We use htonl, which is a network macro, to make sure we're doing
* The Right Thing on an LE machine. It's non-obvious, but it should
* work on anything... | C | tools/mktree/mktree.c | mvpmc/mvpmc | gpl-2.0 | 3,534 | 153 | codeparrot/github-code |
443596905021693ef8e6c578d4332cf9c79e9d1eb7d51146460c529e31bfbd86 | /* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
Copyright © 2014 Intel Corporation. All rights reserved.
***/
#include "log.h"
#include "time-util.h"
#include "sd-ndisc.h"
#define NDISC_ROUTER_SOLICITATION_INTERVAL (4U * USEC_PER_SEC)
#define NDISC_MAX_ROUTER_SOLICITATION_INTERVAL (3600U * USEC_PER_SEC... | C | src/libsystemd-network/ndisc-internal.h | heftig/systemd | gpl-2.0 | 1,144 | 45 | codeparrot/github-code |
417d951d6349356c89a799299746d74dc6dcf929473d2e95a971e3471fef6c84 | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2005,2006,2007 INRIA
*
* 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 d... | C++ | src/wifi/model/wifi-remote-station-manager.cc | hossamkhader/ns-3 | gpl-2.0 | 58,944 | 1,934 | codeparrot/github-code |
49de06a152983901ef832e3380868ddff5ab7853c3c9811f51a75597be3c4b02 | /* SPDX-License-Identifier: GPL-2.0 */
#ifndef _FAT_H
#define _FAT_H
#include <linux/buffer_head.h>
#include <linux/nls.h>
#include <linux/hash.h>
#include <linux/ratelimit.h>
#include <linux/msdos_fs.h>
/*
* vfat shortname flags
*/
#define VFAT_SFN_DISPLAY_LOWER 0x0001 /* convert to lowercase for display */
#defin... | C | fs/fat/fat.h | rneugeba/linux-stable | gpl-2.0 | 14,839 | 436 | codeparrot/github-code |
218415576e31b8556e91a6edec35d87193ecbc7400c798416785cbc3df469316 | -----------------------------------
-- Area: Cloister of Gales
-- NPC: Wind Protocrystal
-- Involved in Quests: Trial by Wind, Trial Size Trial By Wind
-- @zone -361 1 -381 201
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Gales/TextIDs"] = nil;
-----------------------------------
requ... | Lua | scripts/zones/Cloister_of_Gales/npcs/Wind_Protocrystal.lua | UnknownX7/darkstar | gpl-3.0 | 1,950 | 73 | codeparrot/github-code |
f0ccdcd93c7947eec84f515e809f75eb6a9aa857da6a8c39665bdd4a950f5891 | <?php
// +----------------------------------------------------------------------
// | TOPThink [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2010 http://topthink.com All rights reserved.
// +-----------------------------------------------------... | PHP | simplewind/Lib/Extend/ThinkSDK/sdk/TaobaoSDK.class.php | qiyoon/moqie | gpl-3.0 | 2,271 | 78 | codeparrot/github-code |
784ccec6db9085fb616903d24f7b222cbaeb4e63b94c6b4a87b14fa0c979d73e | # Copyright (c) 2006-2009 Mitch Garnaat http://garnaat.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
# without limitation the rights to use, copy, modi... | Python | y/google-cloud-sdk/platform/gsutil/third_party/boto/boto/manage/cmdshell.py | harshilasu/LinkurApp | gpl-3.0 | 8,585 | 244 | codeparrot/github-code |
d5e44a2758ae9e427dc84e1a4ed90d9596a1d523123dc968e158b2d4172e5a22 | import time
from ajenti.com import *
from ajenti.ui import *
from ajenti.utils import shell, str_fsize
class BSDIfconfig(Plugin):
platform = ['FreeBSD']
def get_info(self, iface):
ui = UI.Container(
UI.Formline(
UI.HContainer(
UI.Image(... | Python | plugins/network/nctp_bsd.py | DVSBA/ajenti | lgpl-3.0 | 2,275 | 84 | codeparrot/github-code |
6cd03dfa75809926aadb88790d6ae41689cbcf7dedd37cfd25b0ad10378ac910 | /*
* 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 | test/org/apache/pig/test/TestConversions.java | ibmsoe/pig | apache-2.0 | 18,733 | 475 | codeparrot/github-code |
49030b7a84581d38fcfa4124f1d20b349b867e209ff5c8012fa01d1841908aae | /*
* Copyright 2013 Cloudera 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... | Java | kite-morphlines/kite-morphlines-solr-core/src/main/java/org/kitesdk/morphline/solr/SanitizeUnknownSolrFieldsBuilder.java | prazanna/kite | apache-2.0 | 4,102 | 103 | codeparrot/github-code |
40eb7804c3a6622db03b0313d7c8ec8600f2fe3d285b504a1a2f72e188c32a91 | // 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.
#ifndef EXTENSIONS_BROWSER_DECLARATIVE_USER_SCRIPT_MASTER_H_
#define EXTENSIONS_BROWSER_DECLARATIVE_USER_SCRIPT_MASTER_H_
#include <set>
#include "base/... | C | extensions/browser/declarative_user_script_master.h | guorendong/iridium-browser-ubuntu | bsd-3-clause | 2,569 | 75 | codeparrot/github-code |
22e6e29c8b0036096d6468c83d340895461894fc871fec8a6455a93ffeedb372 | /*
SOLID - Software Library for Interference Detection
Copyright (C) 1997-1998 Gino van den Bergen
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License... | C++ | vtorcs-RL-color/src/modules/simu/simuv2/SOLID-2.0/src/Response.cpp | ugo-nama-kun/gym_torcs | mit | 1,800 | 53 | codeparrot/github-code |
ed6ccb3650a4e87b5286135441f7556deaf3c55d155fe88dfe0a51d71cd47e82 | <?php
/**
* MySQLi layer for DBO
*
* PHP versions 4 and 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*... | PHP | www/cake/libs/model/datasources/dbo/dbo_mysqli.php | sandermarechal/fmjewelry | mit | 8,449 | 339 | codeparrot/github-code |
81b5545cf25d29addaabdefb3e56f929e7de80db70c8be569f5cdb0e093c7372 | #
# The Python Imaging Library.
# $Id$
#
# MSP file handling
#
# This is the format used by the Paint program in Windows 1 and 2.
#
# History:
# 95-09-05 fl Created
# 97-01-03 fl Read/write MSP images
#
# Copyright (c) Secret Labs AB 1997.
# Copyright (c) Fredrik Lundh 1995-97.
#
# See the README fi... | Python | venv/lib/python2.7/site-packages/PIL/MspImagePlugin.py | havard024/prego | mit | 2,173 | 102 | codeparrot/github-code |
a95a1e34401e85039a03c5b91e2adbe588fd097f13a8690cdb62353eee226e33 | // ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
/*============================================================
**
** Class: CoTaskMemUnicodeSafeHandle
**
** Purpose:
** This internal class is a SafeHandle implementation over a
** native CoTaskMem allocated via SecureStringT... | C# | System.Core/System/Diagnostics/Eventing/Reader/CoTaskMemUnicodeSafeHandle.cs | sekcheong/referencesource | mit | 1,994 | 69 | codeparrot/github-code |
8600f5090b77b7f05a4208997e2ee23f9041b2e7a6712dd9d4f02e0661947ccc | /*
* The MIT License
*
* Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Stephen Connolly
*
* 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, i... | Java | core/src/main/java/hudson/slaves/CommandLauncher.java | syl20bnr/jenkins | mit | 7,086 | 187 | codeparrot/github-code |
36865f37c17ce841ca722a546a71801b77890fe4fec9e0d338f2124377697aed | <?php
use Symfony\Component\HttpKernel\Kernel;
use Symfony\Component\Config\Loader\LoaderInterface;
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = array(
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
new Symfony\Bundle\SecurityBundle\Sec... | PHP | apps/webservice/AppKernel.php | gerardtoko/symfony-bootstrap | mit | 1,456 | 38 | codeparrot/github-code |
baa818023d493945b078995912357d33310bf89aa96e792f7e6633dd6b6fa845 | /* SPDX-License-Identifier: GPL-2.0+ */
/*
* Renesas SuperH DMA Engine support
*
* Copyright (C) 2009 Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
* Copyright (C) 2009 Renesas Solutions, Inc. All rights reserved.
*
*/
#ifndef __DMA_SHDMA_H
#define __DMA_SHDMA_H
#include <linux/sh_dma.h>
#include <linux/shdm... | C | drivers/dma/sh/shdma.h | codeaurora-unoffical/linux-msm | gpl-2.0 | 1,824 | 69 | codeparrot/github-code |
e4947ab41be7304bc2be32d12721f3646ed196fd35bd7f8409eb177348699948 | /*
* Copyright (c) 2004-2011 Atheros Communications Inc.
* Copyright (c) 2011-2012 Qualcomm Atheros, Inc.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in al... | C | drivers/net/wireless/ath/ath6kl/main.c | wanam/Adam-Kernel-N8000 | gpl-2.0 | 36,756 | 1,367 | codeparrot/github-code |
fd372610a78404b8b40d79001a3cd4f8b85c906dcb1c45d4dd4e64d309828682 | <!--@subject Account confirmation for {{var customer.name}} @-->
<!--@vars
{"store url=\"\"":"Store Url",
"var logo_url":"Email Logo Image Url",
"var logo_alt":"Email Logo Image Alt",
"store url=\"customer/account/\"":"Customer Account Url",
"htmlescape var=$customer.name":"Customer Name",
"var customer.email":"Custome... | HTML | src/public/app/locale/nl_NL/template/email/account_new_confirmation.html | chemissi/P2 | gpl-2.0 | 3,610 | 50 | codeparrot/github-code |
ea4b399854c21159956d677a37a77299663233ffc9249b10fc586f9ef8ee0442 | /*
* Copyright Copyright 2003 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms specified in the COPYING file
* distributed with the Net-SNMP package.
*/
/*
* pkcs.c
*/
#include <net-snmp/net-snmp-config.h>
#ifdef NETSNMP_USE_PKCS11
#include <net-snmp/types.h>
#include <net-snmp/outp... | C | user/net-snmp/net-snmp-5.7.1/snmplib/pkcs.c | ZHAW-INES/rioxo-uClinux-dist | gpl-2.0 | 23,153 | 780 | codeparrot/github-code |
c03631b6885b110ece5ca9ab246304ba3b2bb3c5af99c08c4a304cb51fcfb002 | <?php
/**
* Module Name: Subscriptions
* Module Description: Allow users to subscribe to your posts and comments to receive a notification via email.
* Sort Order: 3
* First Introduced: 1.2
* Requires Connection: Yes
*/
add_action( 'jetpack_modules_loaded', 'jetpack_subscriptions_load' );
Jetpack_Sync::sync_opt... | PHP | wp-content/plugins/jetpack/modules/subscriptions.php | jonbolden/iaw | gpl-2.0 | 25,429 | 727 | codeparrot/github-code |
4644f255e827483e8b5739f6a5ee77aadaacae752479e0a90d6a2964c440bf28 | #region License Information (GPL v3)
/*
ShareX - A program that allows you to take screenshots and share any file type
Copyright (c) 2007-2015 ShareX Team
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 ... | C# | ShareX.UploadersLib/FileUploaders/OneDrive.cs | canihavesomecoffee/ShareX | gpl-3.0 | 9,120 | 265 | codeparrot/github-code |
941aa6dc347bacc3bf1312b49df8b72cec1f3b6938a0b2b46b4b9203b9adf7a6 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
\\/ M anipulation |
--------... | C++ | src/lagrangian/intermediate/parcels/Templates/CollidingParcel/CollidingParcel.C | adrcad/OpenFOAM-2.3.x | gpl-3.0 | 3,816 | 144 | codeparrot/github-code |
e54a905d72177d64806be98268798a11785e9384e1a423b078c5616a020170b5 | // ----------------------------------------------------------------------------
//
// Copyright (C) 2006-2011 Fons Adriaensen <fons@linuxaudio.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 Softw... | C++ | src/thirdparty/zita-resampler/zita-resampler/apps/zretune.cc | zengweitotty/mpc-hc | gpl-3.0 | 6,494 | 258 | codeparrot/github-code |
3760e32aefb3bbf68e7f80652b4ea41816bd6a05b40ec5ff0104ecac975b53b2 | /* -*- c++ -*- */
/*
* Copyright 2006,2010 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
* GNU Radio is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your o... | C++ | modules/gr36/gnuradio-core/src/lib/general/gr_stream_mux.cc | gnu-sandhi/sandhi | gpl-3.0 | 3,369 | 125 | codeparrot/github-code |
e6bd5b4394693dbcc2c234e62cf08b7c94349214c5a5f452a032b5140026c62a | /*
* Copyright (C) 2008 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditi... | C | webkit-1.2.5/WebCore/loader/archive/ArchiveResource.h | pocketbook-free/browser | lgpl-2.1 | 3,135 | 66 | codeparrot/github-code |
973ae3b05e013d7a6f4ae245ae215b5959bd9fdeb7cb307a6f3c2bfaab8b876d | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2009 Gael Guennebaud <g.gael@free.fr>
//
// 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 a... | C++ | libmesh/contrib/eigen/3.2.9/unsupported/test/alignedvector3.cpp | vityurkiv/Ox | lgpl-2.1 | 1,808 | 60 | codeparrot/github-code |
3cf104134b613455f0fcce96e28e7fef731f511aa84f5a86b590b96552338561 | <?php if (!defined('FLUX_ROOT')) exit; ?>
<h2>Zeny Ranking</h2>
<h3>
Top <?php echo number_format($limit=(int)Flux::config('ZenyRankingLimit')) ?> Richest Characters
<?php if (!is_null($jobClass)): ?>
(<?php echo htmlspecialchars($className=$this->jobClassText($jobClass)) ?>)
<?php endif ?>
on <?php echo htmlspeci... | PHP | themes/designno3/ranking/zeny.php | johngerome/Flux-CP-themes---Design-no-3 | lgpl-3.0 | 3,122 | 77 | codeparrot/github-code |
4b4081387b1503c642709cf583b4e4056d00a2e736e53b94a3043eb7c110bca1 | /**
* 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 | library/src/test/java/com/datatorrent/lib/logs/ApacheLogParseMapOutputOperatorTest.java | PramodSSImmaneni/apex-malhar | apache-2.0 | 4,593 | 98 | codeparrot/github-code |
e44db15e071abed64e038624cbed9edb356a0c36739f5d9270787fa48c19f25a | /*
* 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/mlt/MoreLikeThisRequestBuilder.java | abhijitiitr/es | apache-2.0 | 8,425 | 260 | codeparrot/github-code |
fad560430edd8821be9be339bdf42d00914b2b6dabcfdacae5abd3a189c62082 | /**
* 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 | addons/hivedr/src/main/java/org/apache/falcon/hive/DefaultPartitioner.java | sriksun/falcon | apache-2.0 | 14,693 | 318 | codeparrot/github-code |
1471267fc7cb1503d9bfa6833e696128a66c8692a15a3f4325cdb09a23d4c2c4 | /*
* Copyright 2013 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkBenchmark.h"
#include "SkCanvas.h"
#include "SkPaint.h"
#include "SkTypeface.h"
enum {
LOOP = SkBENCHLOOP(1000),
NGLYPHS = 100
};
static SkTypeface::Enco... | C++ | bench/CmapBench.cpp | Nu3001/external_skia | bsd-3-clause | 3,125 | 104 | codeparrot/github-code |
7e45267b9dbc9b17d511bdf43013ca4ca5f068cf9b7bdb8668b645be983454a0 | /* Copyright (c) 2000, 2011, Oracle and/or its affiliates. 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; version 2 of the License.
This program is distributed in t... | C | wamp/bin/mysql/mysql5.6.17/include/decimal.h | amohan212/webdev-html5 | apache-2.0 | 5,193 | 139 | codeparrot/github-code |
b67ce721399f4c1bc2b055d74d9ba279565d53359dd1b64d83f61a723e42f92c | //===----- CXXABI.h - Interface to C++ ABIs ---------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | C | src/rapierlang/lib/AST/CXXABI.h | Rapier-Foundation/rapier-script | mit | 1,668 | 52 | codeparrot/github-code |
e76b716fd1b1f9c809cbb9c3757e5fcf70db44545429c57a55a9205cc0bcc583 | /*
---------------------------------------------------------------------------
Open Asset Import Library (assimp)
---------------------------------------------------------------------------
Copyright (c) 2006-2019, assimp team
All rights reserved.
Redistribution and use of this software in source and binary forms,... | C++ | thirdparty/assimp/code/PostProcessing/FindInstancesProcess.cpp | Paulloz/godot | mit | 12,218 | 278 | codeparrot/github-code |
90e2144cc24f71d1beb5944bf49ce5e0c4759aa8fb1a76858becf9ea94a5af1c | // 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.
using System.Collections.Generic;
using System.IO;
using System.Xml.Serialization;
using System.Xml.Schema;
using Sy... | C# | src/System.Private.Xml.Linq/src/System/Xml/Linq/XElement.cs | nbarbettini/corefx | mit | 88,077 | 2,126 | codeparrot/github-code |
a35a2e005542c030d22e98c59b162a158360df182744999bc0f189465632935c | using BlueYonder.Companion.Client.DataModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BlueYonder.Companion.Client.Helpers;
using BlueYonder.Companion.Client.Common;
using System.Collections.ObjectModel;
namespace BlueYonder.Companion.Cli... | C# | Allfiles/20487C/Mod11/LabFiles/end/BlueYonder.Companion.Client/BlueYonder.Companion.Client/Helpers/ReservationDataFetcher.cs | MicrosoftLearning/20487-DevelopingWindowsAzureAndWebServices | mit | 5,054 | 140 | codeparrot/github-code |
362d0a7528841d0a5f58ad3a8515a40c2be913c15f35ff9c0d20c95045155ace | """SymPy is a Python library for symbolic mathematics. It aims to become a
full-featured computer algebra system (CAS) while keeping the code as
simple as possible in order to be comprehensible and easily extensible.
SymPy is written entirely in Python and does not require any external
libraries, except optionally for ... | Python | venv/lib/python2.7/site-packages/sympy/__init__.py | wolfram74/numerical_methods_iserles_notes | mit | 2,176 | 71 | codeparrot/github-code |
279d569e14e1d0a51d1e7f1b18b7748a17229ce01fbc114e67f5590fe8ab1edd | /*
* Copyright (C) 2012, Samsung Electronics Co. Ltd. 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; either version 2 of the License, or
* (at your option) any... | C | drivers/sensorhub/factory/accel_mpu6500.c | harise100/Harise100Kernel | gpl-2.0 | 9,181 | 343 | codeparrot/github-code |
42600781f0373d27bf99ada84b3d53d3361fc187c85c23676da7aed4e949b1e3 | /*
* Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | C | submodules/mswebrtc/webrtc/modules/video_coding/codecs/test/videoprocessor.h | techstormteam/12-vision-connect-ios-linphone | gpl-2.0 | 10,160 | 261 | codeparrot/github-code |
dfc493447d60ae5c049ca58ebf52756caa4107204462266a6ea2a8d2a5bea539 | /*
* HighPoint RR3xxx/4xxx controller driver for Linux
* Copyright (C) 2006-2015 HighPoint Technologies, 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; version... | C | drivers/scsi/hptiop.c | qzhuyan/linux | gpl-2.0 | 46,849 | 1,709 | codeparrot/github-code |
6fca8f0348026fa00d8e30968786726778ee4fc6e41b4ae2ee7d384cedc386a0 | /*
* mxser.c -- MOXA Smartio/Industio family multiport serial driver.
*
* Copyright (C) 1999-2006 Moxa Technologies (support@moxa.com.tw).
* Copyright (C) 2006-2007 Jiri Slaby <jirislaby@gmail.com>
*
* This code is loosely based on the 1.8 moxa driver which is based on
* Linux serial driver... | C | drivers/char/mxser_new.c | darth-llamah/kernel-caanoo | gpl-2.0 | 72,367 | 2,818 | codeparrot/github-code |
74b3e24c6c6ff17b1262f2cc5290f413b6339e5d17e391b4ac1c0947df0e4dba | // @(#)root/roostats:$Id$
// Author: Kyle Cranmer, Lorenzo Moneta, Gregory Schott, Wouter Verkerke
/*************************************************************************
* Copyright (C) 1995-2008, Rene Brun and Fons Rademakers. *
* All rights reserved. ... | C | roofit/roostats/inc/RooStats/ConfidenceBelt.h | lgiommi/root | lgpl-2.1 | 7,647 | 221 | codeparrot/github-code |
ade17d54e435bbd0fc7ae96fbfc665ddee1e117a3deddbe8563990b3c1463be6 | ////////////////////////////////////////////////////////////////////////////////
// checkstyle: Checks Java source code for adherence to a set of rules.
// Copyright (C) 2001-2015 the original author or authors.
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU ... | Java | src/test/resources/com/puppycrawl/tools/checkstyle/InputEmptyCatchBlockCheck.java | autermann/checkstyle | lgpl-2.1 | 5,932 | 245 | codeparrot/github-code |
e37d1c6570863cd061fd67301469edf980af234f7e7c8c3c74336ac6deaf98b2 | /*
* 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 | oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/rdb/RDBBlobStoreFriend.java | mduerig/jackrabbit-oak | apache-2.0 | 2,992 | 77 | codeparrot/github-code |
9d7d3157a7df59d2e3599f196b3097cf7e73568d164e9b4c7349470df8fc4e00 | # Copyright (C) 2014, Red Hat, 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... | Python | nova/objects/dns_domain.py | petrutlucian94/nova | apache-2.0 | 2,520 | 76 | codeparrot/github-code |
29fc96169947bccb6b1200e9f3f35848e084829ebf2229557efe7f9b72daaa4f | /*!
\file usbh_ctrl.h
\brief header file for usbh_ctrl.c
*/
/*
Copyright (C) 2017 GigaDevice
2017-02-10, V1.0.0, firmware for GD32F30x
*/
#ifndef USBH_CTRL_H
#define USBH_CTRL_H
#include "usbh_core.h"
#include "usbh_usr.h"
#define CTRL_HANDLE_TABLE_SIZE 13U /*!< the ctrl handle table size def... | C | bsp/gd32303e-eval/Libraries/GD32F30x_usbfs_driver/Include/usbh_ctrl.h | weiyuliang/rt-thread | apache-2.0 | 1,559 | 46 | codeparrot/github-code |
5db3c653ff4cc63aa78e065b108227d0549b79ee6fc53305244a340a35ce5783 | // Copyright 2015 PingCAP, 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 i... | GO | util/types/helper.go | vanillahsu/tidb | apache-2.0 | 1,926 | 78 | codeparrot/github-code |
fd66bae0bccc377c011596f3f2630fe70c2e3b7e7a6874e5d69b8a0694380185 | /*
* Copyright 2012 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "gm.h"
#include "SkBlendImageFilter.h"
#include "SkBitmapSource.h"
namespace skiagm {
class ImageBlendGM : public GM {
public:
ImageBlendGM() : fInitialized(fal... | C++ | skia_old/gm/blend.cpp | mogoweb/webkit_for_android5.1 | apache-2.0 | 3,707 | 107 | codeparrot/github-code |
b8bcf53d9f31787582e9c098192417aa1bdf1b75dff10bf0414f33226d602c6e | /*
* 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/service/reads/repair/RepairedDataVerifier.java | cooldoger/cassandra | apache-2.0 | 4,139 | 96 | codeparrot/github-code |
a43aed7ab5f3d44b9df9d5d7ce7dda57f89c857666138f7706b742c79a585428 | class Poppler < Formula
desc "PDF rendering library (based on the xpdf-3.0 code base)"
homepage "http://poppler.freedesktop.org"
url "http://poppler.freedesktop.org/poppler-0.35.0.tar.xz"
sha256 "e86755b1a4df6efe39d84f581c11bcb0e34976166a671a7b700c28ebaa3e2189"
bottle do
sha256 "67d25bdcc05d0491fb91771a7... | Ruby | Library/Formula/poppler.rb | mndrix/homebrew | bsd-2-clause | 2,345 | 77 | codeparrot/github-code |
4ab47aff2eff8c276d9e434644f96ec67c0488fc14258bce38262d8e0f5feb98 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
function Modal(title, name, place) {
this.self;
this.name = name;
this.place = place;
this.title = title;
this.bo... | JavaScript | perun-apps/apps-include/js/Modal.js | Natrezim/perun | bsd-2-clause | 2,528 | 76 | codeparrot/github-code |
45c192b4e598c1d1ddbffd4681380b66f42d282f36dc2fe5585d35a34d93bcf1 | /*
* Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | C++ | third_party/webrtc/modules/rtp_rtcp/source/rtcp_format_remb_unittest.cc | leighpauls/k2cro4 | bsd-3-clause | 4,483 | 136 | codeparrot/github-code |
5f27955e5927d39e9e1e6b0711ad9a93b2fab9c5c560c6f2d1315ff137bf327b | #!/usr/bin/env python
try:
from collections import OrderedDict
import json
except ImportError:
from ordereddict import OrderedDict
import simplejson as json
import itertools
import six
from csvkit import CSVKitWriter
def parse_object(obj, path=''):
"""
Recursively parse JSON objects and a di... | Python | csvkit/convert/ndjs.py | unpingco/csvkit | mit | 1,769 | 77 | codeparrot/github-code |
95748dc547b6ece31198c2d11e4764275e062b59da9740e5607269aa6fe414ed | /*
Project: angular-gantt v1.3.2 - Gantt chart component for AngularJS
Authors: Marco Schweighauser, Rémi Alvergnat
License: MIT
Homepage: https://www.angular-gantt.com
Github: https://github.com/angular-gantt/angular-gantt.git
*/
(function(){
/* global ResizeSensor: false */
/* global ElementQueries: false */
... | JavaScript | ajax/libs/angular-gantt/1.3.2/angular-gantt-resizeSensor-plugin.js | him2him2/cdnjs | mit | 4,252 | 110 | codeparrot/github-code |
03eb98cbaceb18c2f635da3f87c27ba2e4dd56e19ddb4fdb08f9304d3e97d237 | /*
* rk610.c -- RK610 ALSA SoC audio driver
*
* Copyright (C) 2009 rockchip lhh
*
*
* Based on RK610.c
*
* 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.
*/
#include <linux/... | C | sound/soc/codecs/rk610_codec.c | davidftv/rk3x_kernel_3.0.36 | gpl-2.0 | 25,676 | 915 | codeparrot/github-code |
db045c5b56241cfc4e9eee560f20dbc78192dbebfb50728283fe5bf977810374 | /*--------------------------------------------------------------------*/
/*--- Callgrind ---*/
/*--- ct_costs.c ---*/
/*--------------------------------------------------------------------*/
/*
This file is part of ... | C | callgrind/costs.c | svn2github/Valgrind3 | gpl-2.0 | 2,228 | 71 | codeparrot/github-code |
c1d3f268c8aacd171053b17d0af8dd9100445028f05f3169740b4002887aaf11 | /*
* Arcfour (RC4) implementation for PuTTY.
*
* Coded from Schneier.
*/
#include <assert.h>
#include "ssh.h"
typedef struct {
unsigned char i, j, s[256];
} ArcfourContext;
static void arcfour_block(void *handle, unsigned char *blk, int len)
{
ArcfourContext *ctx = (ArcfourContext *)handle;
unsigned ... | C++ | win/putty/SSHARCF.C | AudriusButkevicius/TurboVNC | gpl-2.0 | 2,819 | 124 | codeparrot/github-code |
bcf8922670c4eeeec7d18d8a668750a0da93029f2c07b140a28774d66400cbc5 | /*******************************************************************************
* Copyright 2011 Broadcom Corporation. All rights reserved.
*
* @file arch/arm/plat-kona/kona_cpufreq.c
*
* Unless you and Broadcom execute a separate written software license agreement
* governing use of this software, this software is l... | C | dragon/arch/arm/plat-kona/kona_cpufreq.c | sai9615/MY-kernel-for-grand-I9082 | gpl-2.0 | 17,206 | 687 | codeparrot/github-code |
bcbf0f23d642b626547b5f82aa6de93a71429d2bedaf2462e0652931a8422140 | /*
* Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | C++ | src/share/vm/oops/typeArrayKlass.cpp | lewurm/graal | gpl-2.0 | 13,622 | 394 | codeparrot/github-code |
4e958a297d99a7dce69befe29f08aa50197c49744fdb2d204939f5907e8745a3 | /* This code is part of Freenet. It is distributed under the GNU General
* Public License, version 2 (or at your option any later version). See
* http://www.gnu.org/ for further details of the GPL. */
package freenet.client.events;
import freenet.support.compress.Compressor.COMPRESSOR_TYPE;
/**
* Event indicating ... | Java | src/freenet/client/events/StartedCompressionEvent.java | uprasad/fred | gpl-2.0 | 750 | 32 | codeparrot/github-code |
fd403ff26f4ec114e50e065f2d71224d73c7f34d9b6090e47f15cd02ef285527 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<%
var component = this.Component;
%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</... | HTML | Ris/Client/Workflow/PatientProfileDiff.html | chinapacs/ImageViewer | gpl-3.0 | 1,520 | 47 | codeparrot/github-code |
33a1f537ef9c92298a9f7cf1f0672e83c0114b1ef25d44ba78007c883dc5fb32 | package command
import (
"context"
"fmt"
"strings"
"github.com/hashicorp/terraform/backend"
"github.com/hashicorp/terraform/config/module"
)
// PlanCommand is a Command implementation that compares a Terraform
// configuration to an actual infrastructure and shows the differences.
type PlanCommand struct {
Met... | GO | command/plan.go | foragerr/terraform | mpl-2.0 | 5,302 | 182 | codeparrot/github-code |
e3ee8fa4d9a6850178e8a668963c572a61a1bc2515703d621b583af9765a5448 | '''
This is a one-off command aimed at fixing a temporary problem encountered where input_state was added to
the same dict object in capa problems, so was accumulating. The fix is simply to remove input_state entry
from state for all problems in the affected date range.
'''
import json
import logging
from optparse im... | Python | lms/djangoapps/courseware/management/commands/remove_input_state.py | beni55/edx-platform | agpl-3.0 | 6,715 | 149 | codeparrot/github-code |
bf2cf07001c42ef2c63a6dc58274278fc2e35732eade26b30ceb4aa6819860ff | /*
Copyright 2016 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 | mungegithub/mungers/matchers/comment/pinger.go | krzyzacy/contrib | apache-2.0 | 3,017 | 119 | codeparrot/github-code |
cdd584f5fa74fba52bb1dd154a07130478c0a27807bdcc6cec581a45ea919abd | /*
* Copyright 2005 JBoss 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... | Java | drools-decisiontables/src/test/java/org/drools/decisiontable/parser/RulesheetUtil.java | amckee23/drools | apache-2.0 | 1,757 | 51 | codeparrot/github-code |
64758054c01b0dfde0b3563fab561a367a990d36e1d4d61aa40a0b244ed1775d | /**
******************************************************************************
* @file stm32l4xx_hal_usart_ex.c
* @author MCD Application Team
* @brief Extended USART HAL module driver.
* This file provides firmware functions to manage the following extended
* functionalities of ... | C | targets/TARGET_STM/TARGET_STM32L4/device/stm32l4xx_hal_usart_ex.c | kjbracey-arm/mbed | apache-2.0 | 15,990 | 545 | codeparrot/github-code |
ca387e3c9ddb6323c25fc9a3144f75e5aedd91b0671742059a5567f51d4c4700 | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server... | Java | server/src/internalClusterTest/java/org/elasticsearch/search/aggregations/bucket/TermsDocCountErrorIT.java | GlenRSmith/elasticsearch | apache-2.0 | 47,671 | 1,120 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.