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
0ba58ae8f3839269b7d00bff08c47d3e4e5099895667d93d9cd7895b4da01e42
/* Copyright (C) 2015-2016 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the ...
C
oss/glibc/glibc-2.24/nss/valid_field.c
geminy/aidear
gpl-3.0
1,201
33
codeparrot/github-code
0599f1b5fc5b5bb81a2d157bbf8a5a47bdf1c6ebbdbf307bfe5a1a4b45cead47
/* Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd See the file copying.txt for copying permission. */ #include <stdio.h> #include <stdlib.h> #include <stddef.h> #include <string.h> #include "xmlrpc_config.h" #include "xmlparse.h" #include "codepage.h" #include "xmlfile.h" #include "xmltchar.h" #if MSV...
C
xmlrpc-c_1-39-07/lib/expat/xmlwf/xmlwf.c
JMSDOnline/QuickBox
gpl-3.0
17,924
768
codeparrot/github-code
fcace830affde526de7a36b109985f0fa2fba64cf48008be93ea56d8e229f3f3
#ifndef __LV2_STORAGE_H__ #define __LV2_STORAGE_H__ #include <stdint.h> #include <lv2/lv2.h> #include <lv1/lv1.h> /* Devices */ #define ATA_HDD 0x101000000000007 #define BDVD_DRIVE 0x101000000000006 #define PATA0_HDD_DRIVE 0x101000000000008 #define PATA0_BDVD_DRIVE BDVD_DRIVE #define PATA1_HDD_DRIVE ATA_HDD #def...
C
ps3manager_api_mamba/lv2/include/lv2/storage.h
Encapsulate/PS3Manager_API
gpl-3.0
4,853
121
codeparrot/github-code
5615e978714953d7047fced4b2eaaf908da8f34f3ae818e194b4c5a7e736f68c
using System.IO; using System.Collections.Generic; using System.Xml; using PDollarGestureRecognizer; namespace PDollarDemo { public class GestureIO { /// <summary> /// Reads a multistroke gesture from an string representation of xml /// </summary> /// <param name="xml"></param> /// <returns></returns...
C#
NaviTouch/Assets/NaviSDK/PDollarGestureRecognizer/GestureIO.cs
vmohan7/NaviTouch
gpl-3.0
4,722
133
codeparrot/github-code
0ed3707246843fb3c292d2120b10e7cbd694586a00f099d7d45c9faa7f78119c
<?php /* ---------------------------------------------------------------------- * themes/default/views/ca_objects_browse_html.php : * ---------------------------------------------------------------------- * CollectiveAccess * Open-source collections management software * ------------------------------------------...
PHP
themes/white/views/Browse/browse_controls_html.php
collectiveaccess/pawtucket
gpl-3.0
5,886
142
codeparrot/github-code
6f7c22bf5bcf682447949b9dab5b7cabb37675afc20ba7244e603b9cba913562
#ifndef MACTYPES_H #define MACTYPES_H #include <stdint.h> #include <CoreFoundation/CFBase.h> class _StringHandle; #if 0 // declared in CFBase.h typedef int8_t SInt8; typedef uint8_t UInt8; typedef int16_t SInt16; typedef uint16_t UInt16; typedef int32_t SInt32; typedef uint32_t UInt32; typedef int64_t SInt64; typedef ...
C
src/CoreServices/MacTypes.h
iBeacons/darling
gpl-3.0
1,276
55
codeparrot/github-code
11a172f8f35c5ad3eae83461efd833bd8486088426836ca1a8e1ebdd4115fee0
#region netDxf library, Copyright (C) 2009-2018 Daniel Carvajal (haplokuon@gmail.com) // netDxf library // Copyright (C) 2009-2018 Daniel Carvajal (haplokuon@gmail.com) // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Pu...
C#
ExtLibs/netDxf/Objects/UnderlayDefinition.cs
virtualrobotix/MissionPlanner
gpl-3.0
2,896
89
codeparrot/github-code
8a2efeeafbf98f1aca1492f7ee14260b88d019094657af4dd935ac2ebf4a14ee
/* * Copyright (C) 2010 Google 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: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
C++
oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/third_party/WebKit/Source/core/html/forms/URLInputType.cpp
geminy/aidear
gpl-3.0
2,803
75
codeparrot/github-code
b332d25fcec57d827be3f6f3033178fa0db9abf7abdd89a426cc246e2a4f916b
/* * Copyright (c) 2011 Matthew Francis * * 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, modify, merge, pu...
Java
src/org/itadaki/bzip2/HuffmanAllocator.java
routeKIT/routeKIT
gpl-3.0
6,761
219
codeparrot/github-code
fd98c7157c838af8c6245ae1435d4cd1401322ca5833d4624890838881c89171
/* * #%~ * org.overture.ide.core * %% * Copyright (C) 2008 - 2014 Overture * %% * 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) an...
Java
ide/core/src/main/java/org/overture/ide/core/resources/ModelBuildPath.java
jmcPereira/overture
gpl-3.0
6,618
272
codeparrot/github-code
d4d8b5d7aaa5015f195712239af188c81869ed1414edcbebf7ee3aad1bf7689a
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <TITLE> Uses of Class org.apache.poi.hssf.record.CellRecord (POI API Documentation) </TITLE> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style"...
HTML
lib/poi-3.17/docs/apidocs/org/apache/poi/hssf/record/class-use/CellRecord.html
TonyClark/ESL
gpl-3.0
10,534
230
codeparrot/github-code
c306ae11e96be5849c0abdcd64692d09d32bda1cec6afed60de994dc5a6291ec
/* -*- c++ -*- */ /* * Copyright 2013-2014 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++
gr-fec/lib/encoder_impl.cc
surligas/cs436-gnuradio
gpl-3.0
3,746
114
codeparrot/github-code
979dda8fe49ecaec3a04e199ae2c5c2de1f2f1490b0856b65fb4d06682a40eba
/* Unix SMB/CIFS implementation. Filename utility functions. Copyright (C) Tim Prouty 2009 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...
C
source3/lib/filename_util.c
sathieu/samba
gpl-3.0
8,836
342
codeparrot/github-code
deb07a663b67e48171fbf11b48d314fdc2c69ad878cbe5853266214e87f8b4a3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using u8 = System.Byte; using u16 = System.UInt16; using s32 = System.Int32; using u32 = System.UInt32; using gps_time_t = System.UInt64; namespace MissionPlanner.Utilities { public class rtcm3 : ICorrections { con...
C#
Utilities/rtcm3.cs
uwafsl/MissionPlanner
gpl-3.0
10,194
254
codeparrot/github-code
2acaa645aa814dd2d6a48880d109b911c41fc31eafb6b7cac1e0dff0c842fa9d
/** * This Source Code Form is subject to the terms of the Mozilla Public License, * v. 2.0. If a copy of the MPL was not distributed with this file, You can * obtain one at http://mozilla.org/MPL/2.0/. OpenMRS is also distributed under * the terms of the Healthcare Disclaimer located at http://openmrs.org/license....
Java
api/src/main/java/org/openmrs/annotation/OpenmrsProfile.java
jembi/openmrs-core
mpl-2.0
1,065
33
codeparrot/github-code
0e21d296fcb96e61c79fa79aacde7504ad7fb34e4708505b686104cec289943b
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ use std::any::Any; use std::boxed::FnBox; use std::cell::RefCell; use std::panic::{PanicInfo, take_hook, set_hook}...
Rust
components/util/panicking.rs
achals/servo
mpl-2.0
1,877
53
codeparrot/github-code
41de70582d1a2c6c5111ce35bab5df33557b31cfe195f6c90e615f671e6c3579
import os.path import time from django.core.management.base import BaseCommand from django.conf import settings import mitxmako.middleware as middleware from django.core.mail import send_mass_mail import sys import datetime middleware.MakoMiddleware() def chunks(l, n): """ Yield successive n-sized chunks fro...
Python
common/djangoapps/student/management/commands/massemailtxt.py
kalebhartje/schoolboost
agpl-3.0
1,862
63
codeparrot/github-code
b77b236995f8d96d3fdf0af535905abdee44729a6fc6922194384d71a68e3d3e
/* * /MathJax/localization/br/br.js * * Copyright (c) 2009-2015 The MathJax Consortium * * 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/LI...
JavaScript
Library/MathJax/2.5.0/localization/br/br.js
hannesk001/SPHERE-Framework
agpl-3.0
2,278
63
codeparrot/github-code
1f5717f9a2c70bc4e6983926478c68e7e7445952d744f30e21dd0b7c79602841
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the Lic...
JavaScript
webapp/features/support/firefox-36/components/nsPlacesTransactionsService.js
csinitiative/trisano
agpl-3.0
42,772
1,181
codeparrot/github-code
94cd27b95a5b144047c29a29a953c00a3b0153fe03f6a77a465e1261061802fd
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2009 Gael Guennebaud <gael.guennebaud@inria.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 ob...
C
src/libs/eigen/Eigen/src/Core/StableNorm.h
josephlewis42/UDenverQGC
agpl-3.0
6,794
204
codeparrot/github-code
21b2dd0475956ba9f819895238b66588510d2469eea82a37cd1fb178e5048bd8
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). # Copyright (C) 2010-2014 OpenERP s.a. (<http://openerp.com>). # # This program is free software: you ca...
Python
openerp/addons/base/res/res_users.py
danielharbor/openerp
agpl-3.0
44,634
985
codeparrot/github-code
18c0ff3dc841fce92ddc7beee280660826eddcf02421e320af5e8c6cfb3ef252
<?php if (!defined('sugarEntry') || !sugarEntry) { die('Not A Valid Entry Point'); } /** * * SugarCRM Community Edition is a customer relationship management program developed by * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc. * * SuiteCRM is an extension to SugarCRM Community Edition developed by Sales...
PHP
modules/Campaigns/PopupCampaignRoi.php
gcoop-libre/SuiteCRM
agpl-3.0
9,312
203
codeparrot/github-code
de81ec4207ac17dfbf4dfa382f1cad2b871a6462dfbea4fc4c21e4d002310163
-- -- Tigase Jabber/XMPP Server -- Copyright (C) 2004-2012 "Artur Hefczyc" <artur.hefczyc@tigase.org> -- -- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU Affero General Public License as published by -- the Free Software Foundation, either version 3 of the Li...
SQL
database/postgresql-schema-4-sp.sql
zooldk/tigase-server
agpl-3.0
13,541
471
codeparrot/github-code
00c1195097fef02b0c06d1c92cd33166ffea6cd590eb422fa98f22f8e75761c2
package org.cbioportal.service.impl; import java.math.BigDecimal; import java.util.*; import org.cbioportal.model.*; import org.cbioportal.model.meta.GenericAssayMeta; import org.cbioportal.persistence.MolecularDataRepository; import org.cbioportal.service.GeneService; import org.cbioportal.service.GenericAssayService...
Java
service/src/test/java/org/cbioportal/service/impl/ExpressionEnrichmentServiceImplTest.java
onursumer/cbioportal
agpl-3.0
18,869
341
codeparrot/github-code
a37b9f4720dfb84ca05dc8f2eef24f1f1030e5da93e3faddfb0aacad369614ed
/* Cubesat Space Protocol - A small network-layer protocol designed for Cubesats Copyright (C) 2012 Gomspace ApS (http://www.gomspace.com) Copyright (C) 2012 AAUSAT3 Project (http://aausat3.space.aau.dk) This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General ...
C
src/arch/macosx/pthread_queue.c
marshall/libcsp
lgpl-2.1
4,452
180
codeparrot/github-code
8577891c56dd33f5212d74b3b3b31bbf440e25e1a6374612d24f819288a8811c
// @(#)root/cont:$Id$ // Author: Rene Brun 28/09/2001 /************************************************************************* * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * * All rights reserved. * * ...
C
core/base/inc/TProcessID.h
gbitzes/root
lgpl-2.1
4,235
120
codeparrot/github-code
d0eedb3b03d66d5b2f433b795e68c723df32cb00d2258e69fda632e7589cc854
package org.jboss.hal.testsuite.test.configuration.undertow; import org.apache.commons.lang.RandomStringUtils; import org.jboss.arquillian.graphene.page.Page; import org.jboss.arquillian.junit.Arquillian; import org.jboss.hal.testsuite.category.Shared; import org.jboss.hal.testsuite.page.config.UndertowServletPage; im...
Java
basic/src/test/java/org/jboss/hal/testsuite/test/configuration/undertow/ServletContainerTestCase.java
hpehl/testsuite
lgpl-2.1
5,479
146
codeparrot/github-code
07003a1169523e37288d2a3d7266d705f4993cef5174008dedac1d7126bf570c
/********************************************************************** * * GEOS - Geometry Engine Open Source * http://geos.osgeo.org * * Copyright (C) 2011 Sandro Santilli <strk@keybit.net> * Copyright (C) 2005-2006 Refractions Research Inc. * Copyright (C) 2001-2002 Vivid Solutions Inc. * * This is free sof...
C++
src/geom/LineString.cpp
manisandro/libgeos
lgpl-2.1
8,533
425
codeparrot/github-code
1e6db414831d1d049c477d0bba2462b2dc52075905c15844de1f3ea258f9ec98
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * class PyIlmbase(AutotoolsPackage): """The PyIlmBase libraries provides python bindings for the I...
Python
var/spack/repos/builtin/packages/py-ilmbase/package.py
LLNL/spack
lgpl-2.1
1,026
32
codeparrot/github-code
c52bf6bd04bfa34c1160c0bc986a6eee4d53b1722b06cf075ae6fa036aaa4b61
//* This file is part of the MOOSE framework //* https://www.mooseframework.org //* //* All rights reserved, see COPYRIGHT for full restrictions //* https://github.com/idaholab/moose/blob/master/COPYRIGHT //* //* Licensed under LGPL 2.1, please see LICENSE for details //* https://www.gnu.org/licenses/lgpl-2.1.html #in...
C++
framework/src/actions/AdaptivityAction.C
nuclear-wizard/moose
lgpl-2.1
8,214
209
codeparrot/github-code
d8fa8c343d854ddfa78806956949078eaa23d6f3676cf6dfa96a6ccd6858f09b
//* This file is part of the MOOSE framework //* https://www.mooseframework.org //* //* All rights reserved, see COPYRIGHT for full restrictions //* https://github.com/idaholab/moose/blob/master/COPYRIGHT //* //* Licensed under LGPL 2.1, please see LICENSE for details //* https://www.gnu.org/licenses/lgpl-2.1.html #in...
C++
framework/src/multiapps/FullSolveMultiApp.C
nuclear-wizard/moose
lgpl-2.1
2,866
117
codeparrot/github-code
d271393170700c2e2e6282c943f288fccb985ba292f2f4f19b10b76a29f641a3
/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the Qt Assistant of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees ...
C++
src/assistant/assistant/bookmarkfiltermodel.cpp
mer-qt/qttools
lgpl-2.1
10,492
322
codeparrot/github-code
f688203e63f70d705e8ca3b1b452c1142f7116591b4b7d6d76555b683caf6df1
// // chat_client.cpp // ~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2010 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #include <cstdlib> #include <deque> #...
C++
test/boost/asio/chat/chat_client.cpp
airsim/tvlsim
lgpl-2.1
4,699
188
codeparrot/github-code
45093f698bd90c1b79500691f921eac57523a4172a55c20b1dcac49979b45ddd
# # This file is part of Dragonfly. # (c) Copyright 2007, 2008 by Christo Butcher # Licensed under the LGPL. # # Dragonfly 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 ...
Python
dragonfly/language/other/number_arabic.py
summermk/dragonfly
lgpl-3.0
5,059
114
codeparrot/github-code
47672f1918d49f11212a709ca372f446defe6332b3da7a0a1300068e3038bd66
import urllib import urlparse def get_path(url): scheme, host, path, query, fragment = urlparse.urlsplit(url) return path def get_host(url): scheme, host, path, query, fragment = urlparse.urlsplit(url) return host def add_path(url, new_path): """Given a url and path, return a new url that combine...
Python
src/facegraph/url_operations.py
c-oreills/pyFaceGraph
unlicense
2,148
70
codeparrot/github-code
dc338972d12032be65802f0998f6e1f03b7426fdbe48082ff26b203e6b301a91
# coding: utf-8 from __future__ import unicode_literals, division, absolute_import, print_function from getpass import getuser import ctypes from ctypes.util import find_library from ctypes import c_void_p, c_uint32, POINTER, c_bool, byref from .core_foundation import CoreFoundation, unicode_to_cfstring, cfstring_to_...
Python
sublime-text-3/Packages/shellenv/all/shellenv/_osx/open_directory.py
EnTeQuAk/dotfiles
unlicense
4,675
156
codeparrot/github-code
527483ec47e9d6d4d014a3b2ec30e4361be8155f5281c3ff6149fe82c0363df3
/** * JBoss, Home of Professional Open Source. * Copyright 2014 Red Hat, Inc., and individual 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 Lice...
Java
common/src/test/java/org/jboss/pnc/common/util/StreamCollectorsTest.java
ruhan1/pnc
apache-2.0
1,999
64
codeparrot/github-code
485ae20bfec0d24b8dd07bad279522466df336abd7db89f649d381ac68cee02b
/* * Copyright (c) 2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/l...
Java
components/identity-mgt/org.wso2.carbon.identity.mgt/src/main/java/org/wso2/carbon/identity/mgt/util/Utils.java
wso2/carbon-identity-framework
apache-2.0
16,553
416
codeparrot/github-code
88595359db1905f0b2d6ad54225458de27b6d2dab9b010dc8004afb91b401c83
# Copyright (c) 2015 FUJITSU LIMITED # Copyright (c) 2012 EMC Corporation. # Copyright (c) 2012 OpenStack Foundation # 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 Licen...
Python
cinder/volume/drivers/fujitsu/eternus_dx_fc.py
Hybrid-Cloud/cinder
apache-2.0
8,064
221
codeparrot/github-code
9e258fdf69968daea4437d32ff7d1a35aa6553cd1bf6e4a39ae5113662c7c6e2
#include "vocabulary.h" namespace extractor { Vocabulary::~Vocabulary() {} int Vocabulary::GetTerminalIndex(const string& word) { int word_id = -1; #pragma omp critical (vocabulary) { auto it = dictionary.find(word); if (it != dictionary.end()) { word_id = it->second; } else { word_id =...
C++
extractor/vocabulary.cc
veer66/cdec
apache-2.0
868
43
codeparrot/github-code
442d11bd5005afd0636006adb9e4e56a4f768fdf1e4d2faaf8c411e14b132951
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
Java
components/camel-twitter/src/main/java/org/apache/camel/component/twitter/search/TwitterSearchEndpoint.java
yuruki/camel
apache-2.0
2,347
57
codeparrot/github-code
2fe9db098cb39b5068b1a6b8e1e85c8ea83b119f99d2b443c97510acd30a9d74
"""Provides device automations for ZHA devices that emit events.""" import voluptuous as vol import homeassistant.components.automation.event as event from homeassistant.components.device_automation import TRIGGER_BASE_SCHEMA from homeassistant.components.device_automation.exceptions import ( InvalidDeviceAutomati...
Python
homeassistant/components/zha/device_trigger.py
pschmitt/home-assistant
apache-2.0
2,852
92
codeparrot/github-code
19f067b92468c87b99c1035c812720716278d943c918811198cee69b3a3ff910
/* * Copyright 2018 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
kie-wb-common-stunner/kie-wb-common-stunner-sets/kie-wb-common-stunner-bpmn/kie-wb-common-stunner-bpmn-api/src/main/java/org/kie/workbench/common/stunner/bpmn/definition/EndCompensationEvent.java
jomarko/kie-wb-common
apache-2.0
4,567
108
codeparrot/github-code
5380512d70b602012eb65218888dc5139d1ca4377e50abbf74e4ed8d4623478b
/* * 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
zeppelin-server/src/testpjava/org/apache/zeppelin/rest/ZeppelinSparkClusterTest.java
issaclee/silkroad
apache-2.0
7,524
228
codeparrot/github-code
bc552b74c11781f806a81b0b3cad91c6c66eb1a0544d1309c11c74c51e37033c
# Copyright 1999-2010 University of Chicago # # 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...
Perl
common/source/scripts/Config.pm
gridcf/gct
apache-2.0
1,744
78
codeparrot/github-code
54ac663639b1c9b0d14599d60727eb184c770654c94216af58c2a1c0ff22e473
# (c) Copyright 2013 Hewlett-Packard Development Company, L.P. # 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...
Python
neutronclient/neutron/v2_0/vpn/utils.py
varunarya10/python-neutronclient
apache-2.0
4,400
115
codeparrot/github-code
c10b4f2c69b34aa173a017b14d9f4aa8dd04d7fe94114e4c1c86284b1eb159e8
<?php class attachment { var $contentid; var $module; var $catid; var $attachments; var $field; var $imageexts = array('gif', 'jpg', 'jpeg', 'png', 'bmp'); var $uploadedfiles = array(); var $downloadedfiles = array(); var $error; var $upload_root; var $siteid; var $site = array(); function __construct($...
PHP
phpcms/libs/classes/attachment.class.php
shopscor/interface
apache-2.0
12,666
408
codeparrot/github-code
b1cf7355d06815b15b9942d44d289f2bd9d052295424138374255ddb3abc4e34
/* $Xorg: XrmI.h,v 1.4 2001/02/09 02:03:39 xorgcvs Exp $ */ /* Copyright 1990, 1998 The Open Group Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that ...
C
xlibs/X11/XrmI.h
easion/os_sdk
apache-2.0
1,795
48
codeparrot/github-code
d2f39d9cc943bc29ef613a853578168b1a43419acba2c277bf42b8c45bd315fc
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ package org.elasticsearch.xpack.watcher.notification.email; import org.elasti...
Java
x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/notification/email/EmailService.java
gfyoung/elasticsearch
apache-2.0
10,810
187
codeparrot/github-code
c8ed390e15dec07713fa1f96fb27c6b42a0e87076a5d4ac6ec0b4b898b75e436
/* * Copyright 2000-2009 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
java/java-analysis-impl/src/com/intellij/codeInspection/dataFlow/instructions/MethodCallInstruction.java
idea4bsd/idea4bsd
apache-2.0
7,013
221
codeparrot/github-code
05f5a0853cc57fbb48f7f97fc51bba497adbc224553a74dcd68036f534b845f6
// Copyright 2014 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license // <LICENSE-MIT or ...
Rust
src/libstd/sync/mpsc/sync.rs
zaeleus/rust
apache-2.0
17,232
487
codeparrot/github-code
33ff536df8b311a5518fc1fcb216fd58e80f49cd2d82de2d449e6a6ab4ce9bf1
import {removeElement} from '#core/dom'; import {Layout_Enum, applyFillContent} from '#core/dom/layout'; import {Services} from '#service'; import {userAssert} from '#utils/log'; import {TAG as KEY_TAG} from './amp-embedly-key'; import {getIframe} from '../../../src/3p-frame'; import {listenFor} from '../../../src/...
JavaScript
extensions/amp-embedly-card/0.1/amp-embedly-card-impl.js
media-net/amphtml
apache-2.0
2,517
115
codeparrot/github-code
14b68217592abccfc7264194a94d236986106eb62f7c47a2618394d3b5a1539c
/* * Copyright 2017 The Closure Compiler 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...
Java
third_party/closure-compiler/src/test/com/google/javascript/jscomp/PartialCompilationTest.java
GoogleChromeLabs/chromeos_smart_card_connector
apache-2.0
8,229
225
codeparrot/github-code
f63bc47162b06a04fde3a26a00db9e3cf459bc255277b03cc9d17e15f449606c
/* * Copyright (c) 2013-2021, Pelion and affiliates. * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICEN...
C
connectivity/nanostack/sal-stack-nanostack/source/libDHCPv6/dhcp_service_api.c
adfernandes/mbed
apache-2.0
36,946
1,110
codeparrot/github-code
fdb7ddd7b3be872ec71dd3d7ee9107ad79c3acd9b2e0c27ee9b0c9bb7fbf2320
#!/usr/bin/env jruby require 'jrubyfx' ## # Example showing a tree_view and also how complicated you can tailor # behavior of a tree_view. In this example we allow you to drag and drop # tree_items around. There are three things you can see in d&d here: # 1. drag onto other tree item will put it as a child in that ...
Ruby
samples/javafx/tree_view.rb
monkstone/jrubyfx
apache-2.0
4,812
201
codeparrot/github-code
5e74c5f5dc240ef9c4029df5e17bf9dbc879ac32381cc42f680b97e87512830f
/* * 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
core/src/main/java/org/apache/carbondata/core/datastore/page/encoding/dimension/legacy/HighCardDictDimensionIndexCodec.java
ravipesala/incubator-carbondata
apache-2.0
3,503
89
codeparrot/github-code
5d526c2276c06195443f946db4b92a23eb257c85de756f7fb1aed3369256832b
/* * * ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * * ...
Java
closure-compiler/src/com/google/javascript/rhino/SimpleErrorReporter.java
ehsan/js-symbolic-executor
apache-2.0
3,775
119
codeparrot/github-code
2d4429de852ef26a71534c45949685e786d946731306cb940d6a001572c3684a
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
Java
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestEditLog.java
dennishuo/hadoop
apache-2.0
59,670
1,710
codeparrot/github-code
431002bd253bd4b750556bfee9f5f64268645d187f14ed1d16ae65ef51e5dab5
// ---------------------------------------------------------------------------------- // // 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/ResourceManager/Sql/Commands.Sql/Replication/Cmdlet/NewAzureSqlDatabaseCopy.cs
AzureAutomationTeam/azure-powershell
apache-2.0
10,816
241
codeparrot/github-code
3743c2cd291ca695988f6b869180e364e3454d2d0c48e4c1d83d0580adf2aeae
package cvc3; import java.util.*; import java.io.*; /** Wrapper for a c++ object as a java Object. see README for details on garbage collection, i.e. interplay of delete, finalize, and EmbeddedManager to destruct the embedded c++ object. */ public abstract class Embedded { // load jni c++ library ...
Java
cvc3/java/src/cvc3/Embedded.java
ehsan/js-symbolic-executor
apache-2.0
2,909
113
codeparrot/github-code
274045ce1477e600f6ceee220067f35883da70ce2d4a33307e4460e59795de6f
/* * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.java.swing.plaf.windows; import java.awt.*; import java.awt.event.*; import java.awt.i...
Java
src_en/com/sun/java/swing/plaf/windows/WindowsScrollBarUI.java
shun634501730/java_source_cn
apache-2.0
18,587
503
codeparrot/github-code
75f3a0fe0b26ef3d90d726076e9f3eeb32f7a619f1350fbf26addf12450ae1e0
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
Java
hbase-server/src/test/java/org/apache/hadoop/hbase/master/assignment/TestDeadServerMetricRegionChore.java
apurtell/hbase
apache-2.0
2,127
66
codeparrot/github-code
251e0d953040fdd66266534285b0ee35c93391db9552c94674f41b5730bd841a
/* * 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-thrift-api/src/main/java/com/facebook/presto/thrift/api/udf/UdfExecutionFailureInfo.java
facebook/presto
apache-2.0
2,491
87
codeparrot/github-code
c5afff965154a6f40f2a7cd7f1801b3e398f24e17f792c226bd08d82afa694d2
/** * 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
rdma-based-storm/examples/storm-mongodb-examples/src/main/java/org/apache/storm/mongodb/topology/WordSpout.java
dke-knu/i2am
apache-2.0
2,496
89
codeparrot/github-code
b57fdfbcc0a215d061314bc5656c19a8b0668fcd9cd974b9179570c165974986
// // MessagePack for Java // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or a...
Java
msgpack-core/src/main/java/org/msgpack/core/MessageIntegerOverflowException.java
jackyglony/msgpack-java
apache-2.0
1,614
58
codeparrot/github-code
771b3138648a2f06ad6de34b7da0a7977a8d0a9957ae01cdf59684b75256ab2c
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
Java
hbase-server/src/test/java/org/apache/hadoop/hbase/master/balancer/TestDefaultLoadBalancer.java
daidong/DominoHBase
apache-2.0
4,805
131
codeparrot/github-code
994bf0ed6c119583539af569484d6ed057fdc1c168202431ea8a19f8451ccae2
# Copyright 2012 NEC Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
Python
openstack_dashboard/dashboards/project/networks/tables.py
coreycb/horizon
apache-2.0
7,635
198
codeparrot/github-code
e56a9a328bd05ad5c6fbe1ee4d77308a2b335db684cbc56f815db10814596e0a
// Copyright 2014 CoreOS, 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...
C
stage1/rootfs/diagexec/elf.h
robszumski/rocket
apache-2.0
2,859
112
codeparrot/github-code
2599143a5ab085d142cbda40d3fe1a806855b0a39440656d4f5f2fb2479e4413
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
Java
flink-table/flink-table-common/src/main/java/org/apache/flink/table/descriptors/FunctionDescriptorValidator.java
rmetzger/flink
apache-2.0
1,990
52
codeparrot/github-code
8977c8750cc0d04b1b7898739a25a6ff290f1312f1c89b621976279f1467160a
/* * Copyright (c) 2005, 2006, 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/J2s/java/openjdk-6-src-b27/jdk/src/share/classes/sun/security/smartcardio/SunPCSC.java
andreagenso/java2scala
apache-2.0
2,515
72
codeparrot/github-code
738631c96814320f7cd65799703e86d0507b3748aad22a067be69900140ef72b
// 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 // distributed und...
C++
3rdparty/stout/include/stout/os/windows/mkdir.hpp
shakamunyi/mesos
apache-2.0
2,179
72
codeparrot/github-code
b58e9248b69e7c7e77d637c0c2000e72f43ca3588bdbc7bf4a7f7afc04893630
/* * Copyright 2017 - 2018 Anton Tananaev (anton@traccar.org) * * 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
src/main/java/org/traccar/protocol/TmgProtocol.java
tananaev/traccar
apache-2.0
1,371
39
codeparrot/github-code
12a68632423612db4aaf3109de324887d3929193215c784b5ecc29b6a0453a5c
/* * Copyright 2011 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
C
net/instaweb/http/public/cache_url_async_fetcher.h
jalonsoa/mod_pagespeed
apache-2.0
7,697
222
codeparrot/github-code
db6a1770f7a0441677b35f61107f41cd58aa73834c9d8b69f37e18fb0efe48fc
/* Copyright 2005-2006 Tim Fennell * * 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
stripes/src/net/sourceforge/stripes/util/HtmlUtil.java
scarcher2/stripes
apache-2.0
4,132
105
codeparrot/github-code
ffd45e8556ccb6569b6619c924f4aa40d1ae150000ab14d5a4eb4a311a587229
/* * Copyright 2017 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.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
Java
agent-common/src/test/java/com/thoughtworks/go/agent/common/AgentCLITest.java
varshavaradarajan/gocd
apache-2.0
4,889
132
codeparrot/github-code
b702724c01081c329962d4537465bdd87c43e993a5d2cf8bb30fd2ee2ef69cd3
package com.fincatto.documentofiscal.nfe400.utils.qrcode20; import java.math.BigInteger; import java.nio.charset.Charset; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import org.apache.commons.lang3.StringUtils; import com.fincatto.documentofiscal.DFAmbiente; import com.fincatto...
Java
src/main/java/com/fincatto/documentofiscal/nfe400/utils/qrcode20/NFGeraQRCode20.java
fincatto/nfe
apache-2.0
3,019
75
codeparrot/github-code
fdede3de9d7074b836188856148e6d5e7b30c280c872dc269b5316335cd7462b
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Guidelines for Boost Authors</title> <link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> <link rel="home" href="../index.html" tit...
HTML
venv/bin/libs/config/doc/html/boost_config/guidelines_for_boost_authors.html
NixaSoftware/CVis
apache-2.0
24,988
378
codeparrot/github-code
2e343ed13866ec3faf5c1dc8432d8182774098e8589753a3a276b11e37effda5
/** * Sitespeed.io - How speedy is your site? (https://www.sitespeed.io) * Copyright (c) 2014, Peter Hedenskog, Tobias Lidskog * and other contributors * Released under the Apache 2.0 License */ 'use strict'; var util = require('../util/util'), RequestTiming = require('../requestTiming'), Stats = require('fast...
JavaScript
lib/collectors/domains.js
yesman82/sitespeed.io
apache-2.0
5,405
156
codeparrot/github-code
3d5949f0b7f0cd3c540eb7f923a8aee01fc146ec80cc4320130b460123d78583
/* * 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 ...
C
wsf_c/axis2c/util/src/dll_desc.c
techhead/wsf_php_dist
apache-2.0
7,773
307
codeparrot/github-code
2ce811e5fa82faa411c62ceae3e7d8d58c78023fdca6ae08d13075f4db4b9e71
/* * Copyright 2016 SimplifyOps, Inc. (http://simplifyops.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
Java
rundeckapp/src/java/com/dtolabs/rundeck/server/plugins/services/StreamingLogReaderPluginProviderService.java
damageboy/rundeck
apache-2.0
1,978
52
codeparrot/github-code
b5cd0d21fb3d3dfcc0d7fcfb776518d7fc828e1cf8adfaa1ef52b33bfb859a52
/* * 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
examples/camel-example-cxf/src/main/java/org/apache/camel/example/cxf/jaxrs/Client.java
objectiser/camel
apache-2.0
2,440
63
codeparrot/github-code
70f2edeff4dc466c4d5a6584455af6f0cac9b7bb16af85c5b8f6dc075d02e795
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
Java
core/src/test/java/org/elasticsearch/search/aggregations/bucket/significant/SignificanceHeuristicTests.java
PhaedrusTheGreek/elasticsearch
apache-2.0
20,764
393
codeparrot/github-code
8f3f6498c6c9e506716a941af1424387a3444bb1f9adc7cfa67ac390c308dd17
/* * Copyright 2000-2012 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
java/java-indexing-impl/src/com/intellij/psi/impl/CompositeShortNamesCache.java
jk1/intellij-community
apache-2.0
10,218
296
codeparrot/github-code
9062d5c24ad1ac4c44e342a727e1ee1447b5773b9ca5a68f7e728ff9247c6292
/*************************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
domain/src/main/java/com/thoughtworks/go/domain/materials/git/GitModificationParser.java
varshavaradarajan/gocd
apache-2.0
3,128
74
codeparrot/github-code
efdcb034fc0ab85b61f4926e8e4ba1d88a4027299ccd33ecf447951fde94ebab
/* * $Id$ * * 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 * "Lice...
Java
src/apps/showcase/src/main/java/org/apache/struts2/showcase/chat/User.java
Ile2/struts2-showcase-demo
apache-2.0
1,350
50
codeparrot/github-code
0cece3a90fc364ea7eba31c49863eee7d6cd6a7ead63eb9dd2a158071f03127a
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package org.jetbrains.idea.svn; import com.intellij.openapi.vcs.VcsConfiguration; import com.intellij.openapi.vcs.changes.Change; import com.intellij.openapi.vf...
Java
plugins/svn4idea/testSource/org/jetbrains/idea/svn/SvnTreeConflictDataTest.java
smmribeiro/intellij-community
apache-2.0
20,363
482
codeparrot/github-code
827e634a8d914496fa79cc69a4a036ed0353081356112317c5cce7fcdfe48ac1
/* * Copyright (C) 2015 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
retrofit2-github-app/src/main/java/com/github/retrofit2/app/Item.java
yongjhih/NotRetrofit
apache-2.0
1,268
43
codeparrot/github-code
25861fd99ffa470942a70e4ee1e60b4ed4687ba3c0b5506bab477ff53735cb1e
package org.jboss.resteasy.api.validation; import java.io.Serializable; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlRootElement; /** * * @author <a href="ron.sigal@jboss.com">Ron Sigal</a> * @version $Revision: 1.1 $ * * Copyri...
Java
resteasy-jaxrs/src/main/java/org/jboss/resteasy/api/validation/ResteasyConstraintViolation.java
psakar/Resteasy
apache-2.0
1,810
86
codeparrot/github-code
7174f39401c48a62a7327abb37c202655e866429b80a913ca707948cfe931a3a
/* * Copyright 2004-2009 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 ap...
Java
src/main/src/org/compass/core/lucene/engine/optimizer/AbstractIndexInfoOptimizer.java
baboune/compass
apache-2.0
2,416
68
codeparrot/github-code
69cfc3e55ac7cfa04894cd46563b4d8042d17dc3561307fab189fbcf5e1265ed
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package org.jetbrains.kotlin.idea.stubindex; import com.intellij.openapi.project.Project; import com.intellij.psi.search.GlobalSearchScope; import com.intellij...
Java
plugins/kotlin/analysis/src/org/jetbrains/kotlin/idea/stubindex/KotlinTopLevelFunctionFqnNameIndex.java
smmribeiro/intellij-community
apache-2.0
1,887
49
codeparrot/github-code
381c78c98e4eee3f2270619cae1fbd4d0cc4dfbf799cda4aeaa8ada5a6ec742a
/* * 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 * distribute...
Java
core/src/main/java/gov/nasa/jpl/mudrod/ssearch/ranking/TrainingImporter.java
quintinali/mudrod
apache-2.0
3,467
92
codeparrot/github-code
a47a12dfac3bced0c4bcb1a402978cd25432bde6a06b42d0cb0d749d15ad8761
/* * 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
pdfbox/src/main/java/org/apache/pdfbox/text/PDFTextStreamEngine.java
ZhenyaM/veraPDF-pdfbox
apache-2.0
10,595
247
codeparrot/github-code
88496b485b05d9106d3806a5afe5d9bbb847d962392b2d12539e1d8ebc176b7e
// //Copyright (C) 2002-2005 3Dlabs Inc. Ltd. //Copyright (C) 2016 LunarG, 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: // // Redistributions of source code must retain the above co...
C
third_party/khronos/glslang/glslang/MachineIndependent/localintermediate.h
eternity74/gapid
apache-2.0
17,502
411
codeparrot/github-code
5dfe5053b590fb1cf546eab8930b27865f905b2bb26f7e28e2de43dfe9ec24e8
/* * 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
android/sdk/src/main/java/com/taobao/weex/dom/WXEvent.java
erha19/incubator-weex
apache-2.0
4,905
189
codeparrot/github-code
6f8c101bc11f90a90de2e1aecc0a5989a59de6ba9d3036e147c7eeaf91398547
<!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>template test</title> <script src="js/jquery-1.7.2.min.js"></script> <script src="js/highcharts.js"></script> <script src="../dist/template-native.js"></script> <script src="js/tmpl.js"></script> <script src="js/d...
HTML
tp5/public/assets/libs/art-template/test/test-speed.html
WTXGBG/loltpc
apache-2.0
10,527
446
codeparrot/github-code
1c56ad59030ca060c4b6c1fbac59f1cabb762297281f0c689625f4fa0318223b
/* * 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 not ...
Java
geode-core/src/main/java/org/apache/geode/redis/internal/executor/transactions/ExecExecutor.java
charliemblack/geode
apache-2.0
2,868
88
codeparrot/github-code
d447f22e461a636e7fdbd3bb395b4af32d12136b32ae7076e4031e8ac8742d99
/** * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
Java
test/org/waveprotocol/wave/model/waveref/WaveRefTest.java
gburd/wave
apache-2.0
3,152
90
codeparrot/github-code
bbd5ebdd34d45b9d145f94e51d063d35d19ee07801d2f15780d08167c178b355
// // Licensed to Green Energy Corp (www.greenenergycorp.com) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. Green Enery Corp licenses this file // to you under the Apache License, Version 2.0 (the // "...
C
src/opendnp3/APL/Types.h
gec/dnp3
apache-2.0
1,866
77
codeparrot/github-code
3ca7a5f6813ed8d5d6d4594e7808d808a35f05c5ecfbcbc3148c74309ef2f875
import type { Config } from '../src/core/config' import type VNode from '../src/core/vdom/vnode' import type Watcher from '../src/core/observer/watcher' declare interface Component { // constructor information static cid: number; static options: Object; // extend static extend: (options: Object) => Function;...
JavaScript
static/bower_components/vue/flow/component.js
search5/nanumlectures
apache-2.0
4,160
114
codeparrot/github-code
26c4755bef6157573488676530182872e5a23787514c3862b99f8ab5c061d31c
/* * Copyright 2013 zhongl * * 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 w...
Scala
src/main/scala/com/github/zhongl/housemd/command/Trace.scala
chosen0ne/HouseMD
apache-2.0
7,974
207
codeparrot/github-code