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
15572052265f2640899d53f87175bcf43c8f82c38ba5005cb79f4354850b9884
// SPDX-License-Identifier: GPL-2.0-only /* * Generic pidhash and scalable, time-bounded PID allocator * * (C) 2002-2003 Nadia Yvette Chambers, IBM * (C) 2004 Nadia Yvette Chambers, Oracle * (C) 2002-2004 Ingo Molnar, Red Hat * * pid-structures are backing objects for tasks sharing a given ID to chain * against...
C
kernel/pid.c
penberg/linux
gpl-2.0
17,010
685
codeparrot/github-code
a7ae8e45aff2b6a38af6be79dbecb893909d53929241d06a61172afe1b45e876
/* =========================================================================== Copyright (C) 2000 - 2013, Raven Software, Inc. Copyright (C) 2001 - 2013, Activision, Inc. Copyright (C) 2013 - 2015, OpenJK contributors This file is part of the OpenJK source code. OpenJK is free software; you can redistribute it and/or...
C
codeJK2/game/g_headers.h
dpadgett/OpenJK
gpl-2.0
1,511
51
codeparrot/github-code
75e115b0f6665d738f2b23e74e71c11032b162fc6245c4d495f93c8108e43fd1
/* * IPv6 Syncookies implementation for the Linux kernel * * Authors: * Glenn Griffin <ggriffin.kernel@gmail.com> * * Based on IPv4 implementation by Andi Kleen * linux/net/ipv4/syncookies.c * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Gene...
C
net/ipv6/syncookies.c
Epirex/Samsung_STE_Kernel
gpl-2.0
7,573
272
codeparrot/github-code
3f665fc196653ec8bdacc2c3809189f03bdb51e8f7130af42b81b5f836914439
/* * * Most of this source has been derived from the Linux USB * project: * (C) Copyright Linus Torvalds 1999 * (C) Copyright Johannes Erdfelt 1999-2001 * (C) Copyright Andreas Gal 1999 * (C) Copyright Gregory P. Smith 1999 * (C) Copyright Deti Fliegl 1999 (new USB architecture) * (C) Copyright Randy Dunlap 20...
C
software/custom_leds/fpga/software/spl_bsp/uboot-socfpga/common/usb_hub.c
JeremySavonet/Eurobot-2017-Moon-Village
gpl-3.0
14,939
510
codeparrot/github-code
d1accd41d98349d0d366893aaa8f8499a691c61236874b25a8b01fd2d4bdff27
/** * @license * Visual Blocks Language * * Copyright 2014 Google Inc. * https://developers.google.com/blockly/ * * 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.apa...
JavaScript
web/blockly/generators/dart/logic.js
zggdfsccnzcgy/SCNUOJ
gpl-3.0
4,133
129
codeparrot/github-code
5b07a9302865a3eba05674f115257188c8657b8725ac16fc36347d2bbf186c14
/*============================================================================= Boost.Wave: A Standard compliant C++ preprocessor library Definition of the preprocessor iterator http://www.boost.org/ Copyright (c) 2001-2012 Hartmut Kaiser. Distributed under the Boost Software License, Ver...
C++
external/common/include/boost/wave/util/cpp_iterator.hpp
tsenggordon/nupic.core.gordon
gpl-3.0
97,567
2,584
codeparrot/github-code
6b392cbb055394c86de5ca2dcc650f2642240c055e514c7f33a071d42c604892
# -*- coding: utf-8 -*- import cStringIO import datetime from itertools import islice import json import xml.etree.ElementTree as ET import logging import re import werkzeug.utils import urllib2 import werkzeug.wrappers from PIL import Image import openerp from openerp.addons.web.controllers.main import WebClient fr...
Python
openerp/addons/website/controllers/main.py
minhphung171093/GreenERP_V8
agpl-3.0
20,190
449
codeparrot/github-code
9cfabb41749ec737d45b07087bf5acf561b896881887a9c158a542145ae17282
/* * Copyright (C) 2010 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
C
webkit/Source/WebKit2/UIProcess/Authentication/AuthenticationDecisionListener.h
mogoweb/webkit_for_android5.1
apache-2.0
2,294
63
codeparrot/github-code
f83f299b978fd740be38993f58d194408b8f4b64f8c562cd0497078cf360c27f
/********************************************************************************** * $URL$ * $Id$ *********************************************************************************** * * Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008 The Sakai Foundation * * Licensed under the Educational Community License, Ve...
Java
portal/portal-service-impl/impl/src/java/org/sakaiproject/portal/service/SiteNeighbourhoodServiceImpl.java
OpenCollabZA/sakai
apache-2.0
15,105
592
codeparrot/github-code
b1f6c941cf36be85f0c5a12061caad8bf29fb9e9ebacc5bdee98b52ad5d4ad28
/* * Copyright 2017 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
services/src/main/java/org/keycloak/keys/GeneratedAesKeyProviderFactory.java
thomasdarimont/keycloak
apache-2.0
3,760
111
codeparrot/github-code
0ac032f8b25c3e61d6ccace21cf4795c67c3884166df11f6db473c5eaaec3adb
/* * 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 ma...
Java
modules/integration/test/org/apache/axis2/engine/util/profiling/Client.java
arunasujith/wso2-axis2
apache-2.0
1,704
49
codeparrot/github-code
5d7b4f577003bb1f18355a91a419d762ea738fe9603bd20ca1fd89bd32698a37
package com.mapswithme.maps.bookmarks; import android.content.Intent; import android.os.Bundle; import android.support.annotation.LayoutRes; import android.view.MenuItem; import android.view.View; import com.cocosw.bottomsheet.BottomSheet; import com.mapswithme.maps.R; import com.mapswithme.maps.base.BaseMwmRecyclerFr...
Java
android/src/com/mapswithme/maps/bookmarks/BookmarkCategoriesFragment.java
sidorov-panda/omim
apache-2.0
3,827
123
codeparrot/github-code
26077e2bbf065a0a11be4098fe6076bc7c69a7cd29fa6df0d921a92c1d9a5b10
package liquibase.datatype.core; import liquibase.database.core.*; import liquibase.datatype.DataTypeInfo; import liquibase.datatype.DatabaseDataType; import liquibase.datatype.LiquibaseDataType; import liquibase.exception.DatabaseException; import liquibase.statement.DatabaseFunction; import liquibase.database.Databa...
Java
liquibase-core/src/main/java/liquibase/datatype/core/TimeType.java
dyk/liquibase
apache-2.0
4,941
127
codeparrot/github-code
0d9c097c6fa3dbdcd2009498cf096eeb6f86f3e137e4dc13e6bdf394f0da094d
// 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. /*============================================================ ** ** ** ** Purpose: Contains identifiers for each of...
C#
src/mscorlib/src/System/ResId.cs
ragmani/coreclr
mit
6,602
98
codeparrot/github-code
8ae4911b6c386f21ce63a9adb58ab0d21db5207f4b4299b20aa5fbba82dc9809
/* * Based on work from: * Andrew Andrianov <andrew@ncrmnt.org> * Google * The Linux Foundation * * 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/ini...
C
drivers/staging/android/ion/ion_of.c
hgl888/linux
gpl-2.0
4,300
185
codeparrot/github-code
37ef9a608c980c0d39d1f645575a26811316286a604ccf3fb162dca89742bc9b
/* * Copyright (c) 2003-2012 Broadcom Corporation * All Rights Reserved * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU * General Public License (GPL) Version 2, available from the file * COPYING in the main directory of thi...
C
drivers/staging/netlogic/xlr_net.c
Sricharanti/sricharan
gpl-2.0
32,317
1,124
codeparrot/github-code
d32ee0c4a880f6c2ec2d71cfab81377930bac9f0e3b24660c0f3bd93f6ced06f
// 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/history/visit_database.h" #include <algorithm> #include <limits> #include <map> #include <set> #include "base/logging.h" #i...
C++
external/chromium_org/chrome/browser/history/visit_database.cc
qtekfun/htcDesire820Kernel
gpl-2.0
23,113
635
codeparrot/github-code
ebb4e07d943afd24b1cebc10f7179f40787e9bb21ddab089ddfc3f0b1610ea79
<?php /** * Class Minify_Controller_Files * @package Minify */ if (!defined('W3TC')) { die(); } require_once W3TC_LIB_MINIFY_DIR . '/Minify/Controller/Base.php'; /** * Controller class for minifying a set of files * * E.g. the following would serve the minified Javascript for a site * <code> * Minify::ser...
PHP
wp-content/plugins/w3-total-cachea/lib/Minify/Minify/Controller/Files.php
KhanhTran88/New-Rubik
gpl-2.0
2,172
82
codeparrot/github-code
43c8ee8178e9693b468e9cb2bf8f9fab6452441113f5283ec417d062ad78aed2
/* Searching a string for the last occurrence of a character. Copyright (C) 2007-2012 Free Software Foundation, Inc. Written by Bruno Haible <bruno@clisp.org>, 2007. 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 ...
C
lib/mbsrchr.c
IllusionRom-deprecated/android_platform_external_bison
gpl-3.0
1,769
50
codeparrot/github-code
0d2e96d9909c0e4c42402718b2883f7177fcf6630f529cb7400818cac400e0b1
// Copyright 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "cc/trees/layer_tree_settings.h" #include <limits> #include "base/command_line.h" #include "base/logging.h" #include "base/strings/string_numbe...
C++
external/chromium_org/cc/trees/layer_tree_settings.cc
s20121035/rk3288_android5.1_repo
gpl-3.0
2,812
75
codeparrot/github-code
aaf25c47222e3ca990695631fd50cfd2b7404cd3ba52bbd240d503a6d96200fe
/* * ctkBusEventTest.cpp * ctkEventBusTest * * Created by Daniele Giunchi on 20/04/10. * Copyright 2010 B3C. All rights reserved. * * See Licence at: http://tiny.cc/QXJ4D * */ #include "ctkTestSuite.h" #include <ctkEventDefinitions.h> #include <ctkBusEvent.h> using namespace ctkEventBus; /** Class na...
C++
Plugins/org.commontk.eventbus/Testing/Cpp/ctkBusEventTest.cpp
pieper/CTK
apache-2.0
1,932
85
codeparrot/github-code
a7a5346387dd64b01066e24862892ebe5fedf80093f66ff575de599e120fa774
// 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 "ui/views/controls/native/native_view_host.h" #include "base/basictypes.h" #include "base/memory/scoped_ptr.h" #include "ui/aura/window.h" #...
C++
ui/views/controls/native/native_view_host_unittest.cc
android-ia/platform_external_chromium_org
bsd-3-clause
10,191
274
codeparrot/github-code
ec07013d45b7d77f844b5734371558a2ef9f89dfa86679234202ab42ce001d00
// 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/http/transport_security_state.h" #if defined(USE_OPENSSL) #include <openssl/ecdsa.h> #include <openssl/ssl.h> #else // !defined(USE_OP...
C++
net/http/transport_security_state.cc
hgl888/chromium-crosswalk-efl
bsd-3-clause
26,099
928
codeparrot/github-code
e72192a7660292d57a2a847c3126c7f2d1ed06303d0a1a526ff6c903b39be099
#include <linux/kernel.h> #include <linux/init.h> #include <linux/types.h> #include <linux/module.h> #include <linux/list.h> #include <linux/pci.h> #include <linux/dma-mapping.h> #include <linux/pagemap.h> #include <linux/sched.h> #include <linux/slab.h> #include <linux/dmapool.h> #include <linux/mempool.h> #include <l...
C
go12/linux-2.6.28.10/drivers/net/qlge/qlge_ethtool.c
kzlin129/tt-gpl
gpl-2.0
10,965
415
codeparrot/github-code
0f3cd9d11a84607776910b48f219569fb778d27dc6b4b5fdac53855c43916fec
/* * Copyright (c) 2005, 2010, 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/com/sun/crypto/provider/TLS/TestPremaster.java
stain/jdk8u
gpl-2.0
3,743
104
codeparrot/github-code
8ff9a9799eac0ab1e55026fd87c3b4368558975b5d495332ca4925bb10add3ce
// Derived from libstdc++/12048 by LJR <ljrittle@acm.org> with // reminder from Petur Runolfsson <peturr02@ru.is>. // Copyright (C) 2003-2013 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...
C++
libstdc++-v3/testsuite/27_io/objects/char/12048-1.cc
atgreen/gcc
gpl-2.0
1,230
46
codeparrot/github-code
6e305bee4919973591ec28ed120b39335a57c06a25f799a02506cb6922bf57c3
/* * Copyright (c) 2012-2014, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in ...
C
drivers/video/msm/mdss/mdss_mdp.h
posemukkl/android_kernel_oneplus_msm8974
gpl-2.0
24,376
833
codeparrot/github-code
83f3e4bb57496ed225d3cc30a793ba2098bf8743694094576ee55603c3e146ae
/* * DECnet An implementation of the DECnet protocol suite for the LINUX * operating system. DECnet is implemented using the BSD Socket * interface as the means of communication with the user level. * * DECnet Neighbour Functions (Adjacency Database and * ...
C
net/decnet/dn_neigh.c
shichao-an/linux-2.6.11.12
gpl-2.0
16,343
628
codeparrot/github-code
89c1485b4eb87383aed18284be97bde00b901c67430b2e6e96d56c8758573743
/* ScummVM - Graphic Adventure Engine * * ScummVM is the legal property of its developers, whose names * are too numerous to list here. Please refer to the COPYRIGHT * file distributed with this source distribution. * * This program is free software; you can redistribute it and/or * modify it under the terms of ...
C++
engines/titanic/game/sgt/washstand.cpp
alexbevi/scummvm
gpl-2.0
2,248
77
codeparrot/github-code
3232a9f387736559151992383f98f99d8069e45439ddc4324d6a17c9ad9cebb7
/* Create /proc/self/fd-related names for subfiles of open directories. Copyright (C) 2006, 2009-2015 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; eithe...
C
patch/lib/openat-proc.c
Linkerist/lide
gpl-2.0
3,476
103
codeparrot/github-code
106135d98542a2ce3eec4ba5108091d83d777816909220759d37410858eb27ba
#ifndef BOOST_SERIALIZATION_ACCESS_HPP #define BOOST_SERIALIZATION_ACCESS_HPP // MS compatible compilers support #pragma once #if defined(_MSC_VER) # pragma once #endif /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8 // access.hpp: interface for serialization system. // (C) Copyright...
C++
thirdparty/boost_1_75_0/boost/serialization/access.hpp
zcobell/QADCModules
gpl-3.0
4,374
146
codeparrot/github-code
3dc78963546775e117532118a86619b53a2b3e6403f9e85b1df4fcff08f0df21
using System; namespace Be.Windows.Forms { internal sealed class MemoryDataBlock : DataBlock { byte[] _data; public MemoryDataBlock(byte data) { _data = new byte[] { data }; } public MemoryDataBlock(byte[] data) { if (data...
C#
TestProjectFileFunctions/HexBox/MemoryDataBlock.cs
dotnetprojects/DotNetSiemensPLCToolBoxLibrary
lgpl-2.1
2,330
88
codeparrot/github-code
d72363a5fed1bd600cb2ab41cd3ca3e50fee291055c13c86351153b53db35332
/* * #%L * BroadleafCommerce Framework Web * %% * 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/li...
Java
core/broadleaf-framework-web/src/main/java/org/broadleafcommerce/core/web/catalog/taglib/GetProductsByCategoryIdTag.java
jiman94/BroadleafCommerce-BroadleafCommerce2014
apache-2.0
2,574
85
codeparrot/github-code
156f54ef98351b81088d1835a59bca5a8963be26b1df8164c2447ad8efd0d83a
// 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 "jingle/notifier/communicator/single_login_attempt.h" #include <cstddef> #include "base/compiler_specific.h" #include "base/memory/scoped_p...
C++
jingle/notifier/communicator/single_login_attempt_unittest.cc
laperry1/android_external_chromium_org
bsd-3-clause
8,623
260
codeparrot/github-code
91aca8cf9be95484ec48f3a9a2eb9577b1f578c4e29ea74ad8e1d24de3ddaa69
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!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"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>db_en...
HTML
src/deps/db/docs/api_reference/C/db_env_set_func_fsync.html
mxrrow/zaicoin
mit
4,978
121
codeparrot/github-code
849b2b0931be8b9da12c6daed1b0b01d28c887ca5486e9f51e6e326a24e6a6c1
/* * Copyright (C) 2009-2014 The Project Lombok Authors. * * 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, ...
Java
src/core/lombok/eclipse/handlers/HandleCleanup.java
Arvoreen/lombok
mit
11,297
281
codeparrot/github-code
91f0d336cd5de956a24586ac7fb994b0f94b942065b242c6dd01460d7adfa852
/* * Regulator support for WM8400 * * Copyright 2008 Wolfson Microelectronics PLC. * * Author: Mark Brown <broonie@opensource.wolfsonmicro.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 Fou...
C
go12/linux-2.6.28.10/drivers/regulator/wm8400-regulator.c
kzlin129/tt-gpl
gpl-2.0
9,437
369
codeparrot/github-code
ca4eace0e8dd993a942e4afbfe6084ff9e8d9a085fe3997e09e517d6d70a6ad5
/* Common hooks for IA64. Copyright (C) 1999-2013 Free Software Foundation, Inc. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later v...
C
gcc/common/config/ia64/ia64-common.c
redbrain/gccpy
gpl-2.0
3,385
114
codeparrot/github-code
bb19d2300da905ee1ef0dd812304e6cd58398139624bae48252ba0e73aed9e1d
/* * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
C++
webrtc/common_audio/resampler/sinusoidal_linear_chirp_source.cc
liyouchang/webrtc-qt
gpl-3.0
1,890
58
codeparrot/github-code
2eb819655d9f4ef8daa2ef1807ffb4e50acd6e5132f05489ac498f2402df5a46
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- /// @file MAVLink_routing.h /// @brief handle routing of MAVLink packets by ID #ifndef __MAVLINK_ROUTING_H #define __MAVLINK_ROUTING_H #include <AP_HAL.h> #include <AP_Common.h> #include <GCS_MAVLink.h> // 20 routes should be enough for no...
C
libraries/GCS_MAVLink/MAVLink_routing.h
joseAveleira/ardupilot
gpl-3.0
1,876
66
codeparrot/github-code
2066ba14213f58c62f33dcb0b3324978c7cfa9bec07f3e977beb544bf1cc19a8
#include <AP_HAL.h> #if CONFIG_HAL_BOARD == HAL_BOARD_PX4 #include "RCInput.h" #include <drivers/drv_hrt.h> #include <uORB/uORB.h> using namespace PX4; extern const AP_HAL::HAL& hal; void PX4RCInput::init(void* unused) { _perf_rcin = perf_alloc(PC_ELAPSED, "APM_rcin"); _rc_sub = orb_subscribe(ORB_ID(input_rc)); ...
C++
libraries/AP_HAL_PX4/RCInput.cpp
Ju1ien/ArdupilotST-JD-outdated
gpl-3.0
2,012
100
codeparrot/github-code
257e28e363ed025a2d0ccd1a7f16d2e5f97a6e3b1a15f56d3a5b6408ec8fa175
/** * Copyright (c) 2003-2019 The Apereo 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://opensource.org/licenses/ecl2 * * Unless requ...
Java
polls/impl/src/java/org/sakaiproject/poll/logic/impl/PollOrderOptionBackFillJob.java
OpenCollabZA/sakai
apache-2.0
6,175
143
codeparrot/github-code
ff985a78d11437ef578ba76af0241c3f30ff36ca179ae3c0fb24b676324356c6
/* Copyright 2017 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agr...
Java
tensorflow/lite/java/demo/app/src/main/java/com/example/android/tflitecamerademo/ImageClassifierQuantizedMobileNet.java
hehongliang/tensorflow
apache-2.0
2,682
97
codeparrot/github-code
48eb6f919a2719473ed2255977a2be60760c816a56519850adcab3f72c2b8517
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="shortcut icon" type="image/x-icon" href="../../../../favicon.ico" /> <title> PersistModule | Guice </title> <link href="../../../../../javadoc/assets/andro...
HTML
latest-javadoc/javadoc/com/google/inject/persist/PersistModule.html
mmihic/google-guice
apache-2.0
39,703
1,467
codeparrot/github-code
dd8cf57a4daed2bfe00a4f4b1beddbf91828c993c312c2327b9031cc464269bf
<?php /** * @file * Contains \Drupal\menu_ui\Plugin\Menu\LocalAction\MenuLinkAdd. */ namespace Drupal\menu_ui\Plugin\Menu\LocalAction; use Drupal\Core\Menu\LocalActionDefault; use Drupal\Core\Routing\RedirectDestination; use Drupal\Core\Routing\RouteMatchInterface; use Drupal\Core\Routing\RouteProviderInterface; ...
PHP
src/core/modules/menu_ui/src/Plugin/Menu/LocalAction/MenuLinkAdd.php
casivaagustin/drupalcon-mentoring
mit
2,168
72
codeparrot/github-code
1b4138c92abffd45974c87ed24083c8a92957f4e4760bdc698596c626c5815c2
/* * Copyright (c) 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 Softwa...
Java
testing/openjdk2/langtools/test/tools/javap/DescriptorTest.java
rokn/Count_Words_2015
mit
3,185
92
codeparrot/github-code
ea3e002b07eb88ace6f61071b45417901f2be701f93abe8da6ac030155a8bdfc
module Kaminari module ActiveRecordRelationMethods def entry_name model_name.human.downcase end def reset #:nodoc: @total_count = nil super end def total_count(column_name = :all, options = {}) #:nodoc: # #count overrides the #select which could include generated columns ...
Ruby
lib/kaminari/models/active_record_relation_methods.rb
Teino1978-Corp/Teino1978-Corp-kaminari
mit
1,056
35
codeparrot/github-code
1fc341e37bf882386df9130ffae7aa5be36ad90e1011262ed72b3c32112d30ae
// Low-level functions for atomic operations: PA-RISC version -*- C++ -*- // Copyright (C) 2002-2013 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 pu...
C
libstdc++-v3/config/cpu/hppa/atomicity.h
george-hopkins/pkg-cross-gcc-4.8-xtensa-lx106
gpl-2.0
2,845
95
codeparrot/github-code
2fd6c0648b5da6d844e54e30ab76d2a8d792b1b4b2b46c99786927cb04662932
/****************************************************************************** Copyright (C) 2013 by Ruwen Hahn <palana@stunned.de> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, ei...
C
libobs/obs-cocoa.c
vokama/obsforvk
gpl-2.0
40,142
1,343
codeparrot/github-code
fe7f4d765bb32bedc9f7ab2ee85e1c93d902cddbfc5931d03644b456ff33ff23
/* * Copyright (c) 2011 Stefano Sabatini * * 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, or (at your option) any ...
C
open/_third/ffmpeg-0.10.3/libavdevice/lavfi.c
emabiz/e-works-codecpack
gpl-2.0
12,565
361
codeparrot/github-code
ed5b6ecb624a85c34992aee13b14baa68686f913b637347afc3ee5050004af9d
/** * Copyright (C) 2014 Open Whisper Systems * * 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 of the License, or * (at your option) any later version. * * This program...
Java
src/org/thoughtcrime/securesms/MediaPreviewActivity.java
d3k4r/TextSecure
gpl-3.0
6,723
206
codeparrot/github-code
0451b0ba54ac83a08a89268e7c379a5487713324308da8336478f56b5c3e4140
/* * 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-cloudsearch/src/main/java/com/amazonaws/services/cloudsearchv2/model/OptionState.java
mahaliachante/aws-sdk-java
apache-2.0
1,916
62
codeparrot/github-code
acd805abf02a514307a3516061889ba68cf880de6587e1288a2b787e3b67c8d4
package com.trilead.ssh2.packets; import java.io.IOException; /** * PacketUserauthRequestPassword. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketUserauthRequestPassword.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ */ public class PacketUserauthRequestPassword { byte[] ...
Java
src/com/trilead/ssh2/packets/PacketUserauthRequestPassword.java
Aethelflaed/connectbot
apache-2.0
1,736
68
codeparrot/github-code
4b011330175ae21388cd19dfcae489d5c7b22bece93a0767095581e0d7f35b5c
//===----------------------------------------------------------------------===// // // 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/containers/unord/unord.multiset/bucket_size.pass.cpp
mxOBS/deb-pkg_trusty_chromium-browser
bsd-3-clause
2,230
85
codeparrot/github-code
53d0e3938d938a4d08720e2c35cf01e3824961820d969dc8e3b3fb225997d9e0
<!DOCTYPE html> <head> <title>store.js test</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <style type="text/css"> body { margin: 50px; font-family: helvetica; color: #333; } div { color: green; } #errorOutput div { color: red; } </style> <script src="./json.js"></script> <scr...
HTML
test.html
evilemon/store.js
mit
1,337
49
codeparrot/github-code
2ce4ab2c00d2feb436eab556a607c90b09ccce1a26fbe556644174075d72659b
// 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.Text.Internal; using System.Text.Unicode; namespace System.Text.Enco...
C#
src/System.Text.Encodings.Web/src/System/Text/Encodings/Web/TextEncoderSettings.cs
ViktorHofer/corefx
mit
7,404
223
codeparrot/github-code
a5db371ee93650940ef5d664e82f5cf4929fb33675351d2c5978e0f501e314ca
// SPDX-License-Identifier: GPL-2.0 /* * PCIe host controller driver for UniPhier SoCs * Copyright 2018 Socionext Inc. * Author: Kunihiko Hayashi <hayashi.kunihiko@socionext.com> */ #include <linux/bitops.h> #include <linux/bitfield.h> #include <linux/clk.h> #include <linux/delay.h> #include <linux/init.h> #includ...
C
drivers/pci/controller/dwc/pcie-uniphier.c
rperier/linux
gpl-2.0
10,408
415
codeparrot/github-code
3e0705053921128fc547d03b24f99ca1477baf7ab3915312617fc87074543973
<?php /* Copyright (c) 2009-2014 F3::Factory/Bong Cosca, All rights reserved. This file is part of the Fat-Free Framework (http://fatfree.sf.net). THE SOFTWARE AND DOCUMENTATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF...
PHP
public_html/vendors/fatfree/lib/db/jig/mapper.php
ruslan2k/database-editor
gpl-2.0
11,069
460
codeparrot/github-code
4726183914e827b72729377124d35bdc1752f60e49f1be9d89cc5eae3a20fb8a
<?php /** * @package FrameworkOnFramework * @copyright Copyright (C) 2010 - 2012 Akeeba Ltd. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ // Protect from unauthorized access defined('_JEXEC') or die; /** * FrameworkOnFramework model behavior class * * ...
PHP
libraries/fof/model/field/date.php
smehrbrodt/joomla-cms
gpl-2.0
4,076
175
codeparrot/github-code
675a2cca86746d97292d91191a88b2e3358bf2c30dc3b72315f1dc3f20851b19
using System; using Server.Items; using Server.Mobiles; namespace Server.Engines.Quests.Ninja { public class EnshroudedFigure : BaseQuester { [Constructable] public EnshroudedFigure() { } public EnshroudedFigure(Serial serial) : base(serial) { ...
C#
Scripts/Quests/Emino's Undertaking/Mobiles/EnshroudedFigure.cs
Ultima-Lokai/ServUO-Test
gpl-2.0
1,296
60
codeparrot/github-code
5a6a9371fe29732245f7e7c45c69316d7fe1657fa37f346c2230effb1b8ed2ad
/* * VC3/DNxHD encoder structure definitions and prototypes * Copyright (c) 2007 Baptiste Coudurier <baptiste dot coudurier at smartjog dot com> * * VC-3 encoder funded by the British Broadcasting Corporation * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify ...
C
third_party/android/ffmpeg_2.0/jni/ffmpeg/libavcodec/dnxhdenc.h
ShawnKoo/avplayer-1
gpl-3.0
2,622
99
codeparrot/github-code
d573294584fb40a2ab8f555a20ca52bfd82cdf93b7c8bd785cf29450ba92c14c
/***************************************************************************** * * PROJECT: Multi Theft Auto v1.0 * LICENSE: See LICENSE in the top level directory * FILE: core/CCrashHandlerAPI.cpp * PURPOSE: Crash handler API methods * * "Debugging Applications" (Microsoft Press) * Cop...
C++
MTA10_Server/core/CCrashHandlerAPI.cpp
BozhkoAlexander/mtasa-blue
gpl-3.0
79,761
2,141
codeparrot/github-code
f5f7295be51d344d38bb81df00d40c3fc663d1d41d1358459edfa3a4591785a7
/*************************GO-LICENSE-START********************************* * Copyright 2014 ThoughtWorks, 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...
Java
common/src/com/thoughtworks/go/domain/materials/TestingMaterial.java
therako/gocd
apache-2.0
4,638
146
codeparrot/github-code
b229a6e68f415e34a7b1781545770df24053197b5b7b3874840c66287be4ba9d
/* * 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
presto-main/src/main/java/com/facebook/presto/execution/buffer/SerializedPageReference.java
Jimexist/presto
apache-2.0
2,504
79
codeparrot/github-code
a4536233c7563eb2762f359f9d36e9b7f8f13d407a291535485d9f261fb3dfd9
/** ****************************************************************************** * @file system_stm32f4xx.c * @author MCD Application Team * @version V2.5.0 * @date 22-April-2016 * @brief CMSIS Cortex-M4 Device Peripheral Access Layer System Source File. * * This file provides two functions...
C
targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F411xE/TARGET_ELMO_F411RE/system_stm32f4xx.c
RonEld/mbed
apache-2.0
36,063
953
codeparrot/github-code
814a5d3b9824fd2178694bd7f10eaef1ae8a8d7685f057b82f837d81489cb524
/* * Copyright 2002-2013 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 by applica...
Java
core/src/test/java/org/springframework/security/core/parameters/DefaultSecurityParameterNameDiscovererTests.java
cyratech/spring-security
apache-2.0
3,122
86
codeparrot/github-code
776bced4393528e93f6da9733941703a558072d275c5331d28bf740e05b9014f
/* * Copyright (c) 1997, 2008, 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
testing/openjdk/jdk/src/share/classes/javax/swing/DefaultFocusManager.java
rokn/Count_Words_2015
mit
6,287
173
codeparrot/github-code
0858ef8b76f871d9bef38351519e963bc4bac028a1f461c6f33e6b023c828c67
//////////////////////////////////////////////////////////////////////////// // // Copyright 2014 Realm 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/li...
C
skin/Pods/Realm/include/RLMRealm_Private.h
beckasaurus/skin-ios
mit
1,715
53
codeparrot/github-code
7a6db8813d58c85ed347a79fa303e80783d9affd3811b59a75b5b74dd342a937
/* $License: Copyright (C) 2011 InvenSense Corporation, All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be u...
C
drivers/misc/inv_mpu/accel/mma845x.c
NormandyCM11/android_kernel_nokia_normandy
gpl-2.0
18,833
713
codeparrot/github-code
b76097ffd08fd71a29ac328f1d2e2a8d80022fe9181cb63d8aab428083ad7494
/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. * Copyright (C) 2013 Sony Mobile Communications AB. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software...
C
sound/soc/msm/qdsp6v2/q6voice.h
NoelMacwan/android_Kernel_sony_msm8974
gpl-2.0
40,048
1,474
codeparrot/github-code
42c0c816544e40c79d973dcdbd457e6eaff48acf1d4a0389466ba0be236814c4
/* * intel_pt.c: Intel Processor Trace support * Copyright (c) 2013-2015, Intel Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. * * This program...
C
tools/perf/util/intel-pt.c
sfagmenos/ker
gpl-2.0
54,193
2,174
codeparrot/github-code
9ce510d4ea1f1d92b91d07c0f94de41c692889c9e6aef3302943fad4c8f626fe
// Netable differences vs. the default firmware for the ErgoDox EZ: // 1. The Cmd key is now on the right side, making Cmd+Space easier. // 2. The media keys work on OSX (But not on Windows). #include QMK_KEYBOARD_H #include "debug.h" #include "action_layer.h" #define BASE 0 // default layer #define SYMB 1 // symbols ...
C
layouts/community/ergodox/andrew_osx/keymap.c
dohmain/qmk_firmware
gpl-2.0
10,598
188
codeparrot/github-code
83cbf91eb36f7e359e460c64db5c131e5485473dec911bc16f258974a6cfa853
/* * Broadcom NetXtreme-E RoCE driver. * * Copyright (c) 2016 - 2017, Broadcom. All rights reserved. The term * Broadcom refers to Broadcom Limited and/or its subsidiaries. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU *...
C
drivers/infiniband/hw/bnxt_re/qplib_res.h
gazoo74/linux
gpl-2.0
7,550
263
codeparrot/github-code
9bb8ec8c84202db44f8c83634f4d110a6de98072c625ebbefef4fc2fd7c16b5c
/* * 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 ...
Scala
flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/plan/rules/logical/EnumerableToLogicalTableScan.scala
bowenli86/flink
apache-2.0
1,996
50
codeparrot/github-code
d4da14cccec609c50679f97d85565ce57044d2e7324872cbcab205cf0ca24ddc
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
Java
core/src/main/java/org/elasticsearch/rest/action/admin/cluster/RestClusterGetSettingsAction.java
fernandozhu/elasticsearch
apache-2.0
4,246
103
codeparrot/github-code
6a8bddfe991c022ca9d011bd4ab9a5d01a05d3519a2d00ee038ab9307db4ac37
/* * 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
server/src/main/java/org/elasticsearch/action/admin/indices/alias/TransportIndicesAliasesAction.java
qwerty4030/elasticsearch
apache-2.0
7,361
158
codeparrot/github-code
8ebb0300c1cf098a5b3f6ba889593a766556319e406e552fcd5d8968a864b015
/* * Copyright 2017 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
model/infinispan/src/main/java/org/keycloak/models/sessions/infinispan/entities/RootAuthenticationSessionEntity.java
thomasdarimont/keycloak
apache-2.0
4,724
134
codeparrot/github-code
8785acdf809e32ed716986f1f5fb29f690cd0f122112899838c97cf2e892a411
/* * 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, or (at your option) any later version. * * FFmpeg is distributed...
C
third_party/webrtc/include/chromium/src/third_party/ffmpeg/libavfilter/hermite.h
ssaroha/node-webrtc
bsd-2-clause
1,381
46
codeparrot/github-code
d59e8df7f2ef729cfd5c83bcd9b3b0d56e78bc8a50739934ff4f4897da631f28
// 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/extensions/api/declarative_webrequest/webrequest_condition.h" #include "base/bind.h" #include "base/logging.h" #include "bas...
C++
chromium/src/chrome/browser/extensions/api/declarative_webrequest/webrequest_condition.cc
espadrine/opera
bsd-3-clause
7,296
200
codeparrot/github-code
af5efc00190025a5a8d88cee8623d15f4e17e81e736ae467e0ac70c9f2229dba
//===-- LanaiAsmPrinter.cpp - Lanai LLVM assembly writer ------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
C++
third_party/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/LanaiAsmPrinter.cpp
endlessm/chromium-browser
bsd-3-clause
8,299
244
codeparrot/github-code
88b550cc5ddd3adf49067a625a931b7fd53ae1b897ebef38fdf95d675ef3c434
/* * The MIT License * * Copyright (c) 2015 Red Hat, Inc. * * 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...
Java
core/src/main/java/hudson/cli/DeleteNodeCommand.java
andresrc/jenkins
mit
2,830
91
codeparrot/github-code
22b5f8e34fe6dc7116a1e2fc5f057912516d17f3a225823407a9d9fbc0d7311c
/* ========================================================================= */ /* === CAMD_info =========================================================== */ /* ========================================================================= */ /* ------------------------------------------------------------------------- */...
C
external/fieldtrip-20160128/external/dmlt/external/gpstuff/SuiteSparse/CAMD/Source/camd_info.c
pchrapka/brain-modelling
mit
4,230
120
codeparrot/github-code
c00ddee635349beb5ebd8b8fe5464443852ed22e7c24857fdf772d09e7468361
/* Copyright (c) 2003, 2005 MySQL AB Use is subject to license terms 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 the hope ...
C++
storage/ndb/test/odbc/client/SQLGetDiagFieldTest.cpp
cvicentiu/mariadb-10.0
gpl-2.0
10,191
237
codeparrot/github-code
df77e53d8b5adc3e4531b0a771e01da73ec2f6441a9a00c3e55e2a55135076da
/*<html><pre> -<a href="../libqhull/qh-user.htm" >-------------------------------</a><a name="TOP">-</a> user_eg.c sample code for calling qhull() from an application call with: user_eg "cube/diamond options" "delaunay options" "halfspace options" for example: user_...
C
src/polycryst/qhull-2012.1/src/user_eg/user_eg.c
jecyrd/olcao
gpl-2.0
11,089
328
codeparrot/github-code
3311bb10fe42bbbedc6f145ab533dd1242c889f954482aa3be81e983914ba4a8
<?php /** * Build Network Administration Menu. * * @package WordPress * @subpackage Multisite * @since 3.1.0 */ /* translators: Network menu item */ $menu[2] = array( __( 'Dashboard' ), 'manage_network', 'index.php', '', 'menu-top menu-top-first menu-icon-dashboard', 'menu-dashboard', 'dashicons-dashboard' ); $...
PHP
wp-core/5.1.1/wp-admin/network/menu.php
drthomas21/WordPress_Tutorial
apache-2.0
4,430
75
codeparrot/github-code
b4f0a83224c7d24c345097d730c0cabcb8165b91ee679dc45a803d750e844b0d
package com.airbnb.aerosolve.core.util; import com.airbnb.aerosolve.core.FeatureVector; import lombok.Setter; import java.io.Serializable; import java.util.*; import java.util.AbstractMap.SimpleEntry; import java.util.Map.Entry; /** * A class that maintains a dictionary for dense features and returns * the respons...
Java
core/src/main/java/com/airbnb/aerosolve/core/util/MinKernelDenseFeatureDictionary.java
sagivo/aerosolve
apache-2.0
2,158
65
codeparrot/github-code
291c7110cadaefd9d748cc1b15d01e84419e21c78cc7368db786783c5e051fed
<?php final class ManiphestExportController extends ManiphestController { /** * @phutil-external-symbol class PHPExcel * @phutil-external-symbol class PHPExcel_IOFactory * @phutil-external-symbol class PHPExcel_Style_NumberFormat * @phutil-external-symbol class PHPExcel_Cell_DataType */ public func...
PHP
src/applications/maniphest/controller/ManiphestExportController.php
tanglu-org/tracker-phabricator
apache-2.0
4,106
134
codeparrot/github-code
58c8a693fc94022d23a22c4dd0522d60258274184b2db57ebe5106271350996d
// Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // ...
JavaScript
third_party/protobuf/js/binary/reader.js
npuichigo/ttsflow
apache-2.0
37,018
1,220
codeparrot/github-code
adec22b6e62783676134447c388d146815f5491e596582940d54c5627a11fcbc
/* * 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/built-in-server/src/org/jetbrains/io/SubServer.java
amith01994/intellij-community
apache-2.0
4,332
134
codeparrot/github-code
16ff2e8a9c0660d15cc91f06f6633e93e468d417833aefd44746043f7790987a
/*------------------------------------------------------------------------- * * like.c * like expression handling code. * * NOTES * A big hack of the regexp.c code!! Contributed by * Keith Parks <emkxp01@mtcc.demon.co.uk> (7/95). * * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group *...
C
src/backend/utils/adt/like.c
rubikloud/gpdb
apache-2.0
14,436
625
codeparrot/github-code
0a5c6919a5037bf020b3657f04d8659f828fc0c02a4920adb2c4cccdffe0e793
/*============================================================================ This C source file is part of the SoftFloat IEEE Floating-Point Arithmetic Package, Release 3e, by John R. Hauser. Copyright 2011, 2012, 2013, 2014, 2015, 2016 The Regents of the University of California. All rights reserved. Redistribu...
C
SoftFloat-3e/source/i64_to_f128.c
gmabey/qsoftfloat
bsd-3-clause
2,686
73
codeparrot/github-code
5b63442fa6a7d00f9118326c1796e8cc06bd1f510a412e46c0f6d76abcf70af0
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {ElementRef} from '@angular/core'; import {ChangeDetectorRef} from '@angular/core/src/change_detection/change...
TypeScript
modules/@angular/core/test/spies.ts
awerlang/angular
mit
883
31
codeparrot/github-code
9cff22d6e535914afd3d98e221ab5e61209de53735f9db77fd22b8acd689d71b
<?php /** * Class that encapsulates the deletion of posts based on days * * @package Bulk Delete * @author Sudar */ class Bulk_Delete_By_Days { var $days; var $op; public function __construct(){ add_action( 'parse_query', array( $this, 'parse_query' ) ); } public function parse_query(...
PHP
wp-content/plugins/bulk-delete/include/class-bulk-delete-by-days.php
c4cat/d2
gpl-2.0
971
36
codeparrot/github-code
095b9b76458ebd67d1d3bbe99ea386a2c2029d1f0e56c9dc55e80c171de74c2c
/* Copyright (C) 2003 MySQL AB 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 the hope that it will be useful, but WITHOUT AN...
C++
storage/ndb/include/kernel/signaldata/AlterIndx.hpp
sravangoud/mysql_query_plan
gpl-2.0
6,282
271
codeparrot/github-code
d94df0434a1bda85b3a0199efb011dbf63fccc4830db0fcf71cc6ad42280156d
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle ...
PHP
lib/db/access.php
RitaPestun/moodle
gpl-3.0
64,276
2,333
codeparrot/github-code
56433eb955c0d1f8cc89b136e82084d8e28599cf5fad695ac69f0a578439bf88
// Boost.Geometry Index // // R-tree R*-tree next node choosing algorithm implementation // // Copyright (c) 2011-2017 Adam Wulkiewicz, Lodz, Poland. // // Use, modification and distribution is subject to the Boost Software License, // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.o...
C++
thirdparty/boost_1_67_0/boost/geometry/index/detail/rtree/rstar/choose_next_node.hpp
zcobell/MetOceanViewer
gpl-3.0
10,135
235
codeparrot/github-code
42e4e2db6c7382678f31b5dc9750719e56339ae9da5b334f84e13c2fef8ee36a
var archive_analytics = { startTime: new Date(), img_src: "//analytics.archive.org/0.gif", values: { service: 'wb' }, onload_func: function() { var now = new Date(); var loadtime = now - archive_analytics.startTime; var v = archive_analytics.values; v.loadtime = loadtime; v.timediff = -(now.g...
JavaScript
version10/testimonials_files/analytics.js
ddeleeuw/The-Internet-on-CD
apache-2.0
1,569
50
codeparrot/github-code
d93963835c2f09343ce0312089075e86f7554a82011c5f330be1b3e834192bad
// ---------------------------------------------------------------------------------- // // Copyright Microsoft 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.apa...
C#
src/Common/Commands.Common.Authentication.Test/ConversionUtilitiesTests.cs
zhencui/azure-powershell
apache-2.0
4,462
125
codeparrot/github-code
f820416cb3dd0943680550969a0c9577ee88fb69d8274dde259211241e69f5d2
/** * Copyright (c) 2015 - 2018, Nordic Semiconductor ASA * * 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,...
C
targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_SDK_15_0/modules/nrfx/hal/nrf_twim.h
mbedmicro/mbed
apache-2.0
18,581
523
codeparrot/github-code
255b0aa0298b2e211eb62d4931a52456074a70a416f087c0683489a9b6a6de5b
/* * linux/fs/nfs/direct.c * * Copyright (C) 2003 by Chuck Lever <cel@netapp.com> * * High-performance uncached I/O for the Linux NFS client * * There are important applications whose performance or correctness * depends on uncached access to file data. Database clusters * (multiple copies of the same instanc...
C
fs/nfs/direct.c
bticino/linux-omap3-premium
gpl-2.0
27,867
1,030
codeparrot/github-code