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
818b2ef6cd6675a9e42bfa6ffb83e51cfc1e15d401839ab7aa82e09f232c56a8
/* * JBoss, Home of Professional Open Source. * See the COPYRIGHT.txt file distributed with this work for information * regarding copyright ownership. Some portions may be licensed * to Red Hat, Inc. under one or more contributor license agreements. * * This library is free software; you can redistribute it and...
Java
client/src/main/java/org/teiid/net/socket/ObjectChannel.java
jagazee/teiid-8.7
lgpl-2.1
1,403
45
codeparrot/github-code
292373149131f9dec2635040487c2310c9e34227ff838107f4702520b6d55e58
/* * AntigenicDriftPrior.java * * Copyright (c) 2002-2015 Alexei Drummond, Andrew Rambaut and Marc Suchard * * This file is part of BEAST. * See the NOTICE file distributed with this work for additional * information regarding copyright ownership and licensing. * * BEAST is free software; you can redistribute ...
Java
src/dr/evomodel/antigenic/AntigenicDriftPrior.java
adamallo/beast-mcmc
lgpl-2.1
7,732
237
codeparrot/github-code
48f7f99280a5a0e16a22145f38479737ce9351b5192a40b345e17cd57a5d40b7
<?php /** * Collect and show information about contacts user wants to merge, * along with the form to select marter contact for all other to merge into. * * Information is collected from all applications using 'links' event. */ class contactsContactsMergeSelectMasterAction extends waViewAction { public functi...
PHP
wa-apps/contacts/lib/actions/contacts/contactsContactsMergeSelectMaster.action.php
aborz/webasyst
lgpl-3.0
4,568
128
codeparrot/github-code
a5d9378ca9135fb59eca619be7585679f767020088559f0c8970a7bf0c8df3d9
package lab.s2jh.auth.web.action; import java.util.Collection; import java.util.List; import java.util.Map; import lab.s2jh.auth.entity.Privilege; import lab.s2jh.auth.entity.Role; import lab.s2jh.auth.entity.RoleR2Privilege; import lab.s2jh.auth.service.PrivilegeService; import lab.s2jh.auth.service.RoleSe...
Java
common-service/src/main/java/lab/s2jh/auth/web/action/RoleController.java
xautlx/s2jh
lgpl-3.0
6,417
176
codeparrot/github-code
9ff38a92e8b77bd9f83890d83173aff19f1f6928e4aca84efdb7b30a1ea2bc10
/* * #%L * Alfresco File Transfer Receiver * %% * Copyright (C) 2005 - 2016 Alfresco Software Limited * %% * This file is part of the Alfresco software. * If the software was purchased under a paid Alfresco license, the terms of * the paid license agreement will prevail. Otherwise, the software is * provid...
Java
projects/file-transfer-receiver/source/java/org/alfresco/repo/transfer/fsr/SchemaBootstrap.java
deas/alfresco-community-edition
lgpl-3.0
7,150
236
codeparrot/github-code
045a4c1baa02bfda976f4774da89df4bb3459c5d7eb2cb1de0d54b181f3c7138
// // Authors: // Atsushi Enomoto // // Copyright 2007 Novell (http://www.novell.com) // // 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 limitat...
C#
class/System.Xml.Linq/System.Xml.Linq/XIterators.cs
edwinspire/VSharp
lgpl-3.0
3,197
140
codeparrot/github-code
65684d4cdc00284240fe9f65812edfffd0ae4120a0114a6b671ec7f7bdbea516
/** */ package domainmetamodel.provider; import domainmetamodel.BusinessEntity; import domainmetamodel.DomainmetamodelFactory; import domainmetamodel.DomainmetamodelPackage; import java.util.Collection; import java.util.List; import org.eclipse.emf.common.notify.AdapterFactory; import org.eclipse.emf.common.notify...
Java
ToolSupport/co.edu.icesi.shift.domainmodel.edit/src/domainmetamodel/provider/BusinessEntityItemProvider.java
unicesi/QD-SPL
lgpl-3.0
9,381
288
codeparrot/github-code
5645b561c8528ed2c07d3cbec72202fbf49a9bd5e59c3c47ec374ca0649542cc
angular.module("shackhand").directive('skhFinder', function($user){ return { restrict: 'E', template: '<div class="col-md-12">' +'<div class="window.alert window.alert-info">' +'<h3>'+($user.p.slogen || '')+'</h3>' +'<form class="form-inline" ng-...
JavaScript
versions/shackhand-directive-1.0.1.js
bestian/shackhand
unlicense
7,987
173
codeparrot/github-code
b5be673f311bd4bb1524e9e59e6e016a2b52c084951066634aef47cc3186489a
/* * Jitsi, the OpenSource Java VoIP and Instant Messaging client. * * Distributable under LGPL license. * See terms of license at gnu.org. */ package org.jitsi.util; /** * Utility fields for OS detection. * * @author Sebastien Vincent * @author Lubomir Marinov */ public class OSUtils { /** <tt>true</tt...
Java
plugins/meet/src/main/java/org/jitsi/util/OSUtils.java
guusdk/Spark
apache-2.0
5,136
189
codeparrot/github-code
099625d4509a8e1c94da3bfdeb5f0585f8ab4929fc82370714e5eb3f3126d79e
namespace Sitecore.Feature.Maps.Controllers { using System; using System.Linq; using System.Web.Mvc; using Data; using Models; using Repositories; using Mvc.Controllers; public class MapsController : SitecoreController { private readonly IMapPointRepository mapPointRepository; public MapsCo...
C#
src/Feature/Maps/code/Controllers/MapsController.cs
GoranHalvarsson/Habitat
apache-2.0
732
33
codeparrot/github-code
09db419d0b75f75a03216627b9070dae3dddad4b7f416781dd9d2211bb6da255
/* * Copyright 2000-2016 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-psi-impl/src/com/intellij/psi/impl/source/tree/java/PsiReferenceExpressionImpl.java
michaelgallacher/intellij-community
apache-2.0
31,242
763
codeparrot/github-code
6410dc36546c120dd4117f70cde26af0d2bb01ae3aa1cc52608ff90641b6d47c
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
Java
src/java/org/apache/cassandra/db/context/CounterContext.java
c3bd/cassandraxml
apache-2.0
31,118
838
codeparrot/github-code
0bc19202d3c70415ff904c7614cef517ecba2538990f7ca629c6393a876f9776
/**! * * Copyright (c) 2015-2016 Cisco Systems, Inc. See LICENSE file. */ 'use strict'; var shouldToAssert = require('./should-to-assert'); /** * @param {Object} chai * @returns {undefined} */ module.exports = function primitives(chai) { var Assertion = chai.Assertion; var assert = chai.assert; /* eslin...
JavaScript
packages/test-helper-chai/src/assertions/primitives.js
udaysrinath/spark-js-sdk
apache-2.0
1,854
73
codeparrot/github-code
ef942a24ba7a6f27b81fc60acb86a3ee0f4a73f04e2d883fac6cb56a0a865b73
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may n...
Java
artemis-core-client/src/main/java/org/apache/activemq/artemis/core/message/impl/MessageInternalImpl.java
gaohoward/activemq-artemis
apache-2.0
18,136
704
codeparrot/github-code
52997c60cf61232b7b504089a558a4b2079ac5229f924811125afb07abc9440c
import os import sys def usage(): print('%s all -- build all bsp' % os.path.basename(sys.argv[0])) print('%s clean -- clean all bsp' % os.path.basename(sys.argv[0])) print('%s project -- update all prject files' % os.path.basename(sys.argv[0])) BSP_ROOT = os.path.join("..", "bsp") if len(sys.argv) ...
Python
tools/buildbot.py
armink/rt-thread
apache-2.0
1,963
63
codeparrot/github-code
1fe7fc91e930c8361966cd6cc0a229072fc33cfa6d7097a5448cc38b13d842a5
/* * Copyright 2016-present Open Networking Foundation * * 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 appli...
Java
drivers/fujitsu/src/main/java/org/onosproject/drivers/fujitsu/cli/VoltOndemandFwdlCommand.java
opennetworkinglab/onos
apache-2.0
2,395
63
codeparrot/github-code
410e07d64fb9831f567ac3802ecba03996eab582d913667a0fa451e027d85868
/* Copyright 2015 OpenMarket Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software ...
JavaScript
src/linkify-matrix.js
neko259/vector-web
apache-2.0
3,385
117
codeparrot/github-code
bb6a764dfa577046a9314f95c609cbd7339ce2f584b93bb10eff8af1e002a28c
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
Java
exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/scan/v3/file/ImplicitColumnMarker.java
johnnywale/drill
apache-2.0
3,260
100
codeparrot/github-code
de24c65f43ebe800dd7e34294234d328f4a4756f7307bbacd029d5431125b14e
/* * Copyright 2015-present Open Networking Foundation * * 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 appli...
Java
core/api/src/main/java/org/onosproject/net/flow/instructions/UnresolvedExtensionTreatment.java
gkatsikas/onos
apache-2.0
2,344
82
codeparrot/github-code
fe280cf31a34fa24775b06cdfc6199b28c5bb3496ef6569e4202d4a2cd144f8b
package alien4cloud.rest.deployment; import java.security.Principal; import java.util.Date; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.annotation.Resource; import lombok.extern.slf4j.Slf4j; import org.elasticsearch.mapping.MappingBuilder; import org.springframework.beans.factory.In...
Java
alien4cloud-rest-api/src/main/java/alien4cloud/rest/deployment/DeploymentEventHandler.java
alien4cloud/alien4cloud
apache-2.0
6,745
155
codeparrot/github-code
7f01ab6073347aa1873de6ac554a3a63db4719019e10d90d7966ce87d3b69e1d
# Copyright 2017 Google Inc. 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 la...
PowerShell
auto_updater/auto_updater.ps1
GoogleCloudPlatform/compute-image-windows
apache-2.0
2,038
70
codeparrot/github-code
692ca6a254005477909c9c17d4a3412c98794d53f54dec85c138f232f4991d23
/* * Licensed to Metamarkets Group Inc. (Metamarkets) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Metamarkets licenses this file * to you under the Apache License, Version 2.0 (the * "License"); yo...
Java
extensions-core/kafka-indexing-service/src/test/java/io/druid/indexing/kafka/supervisor/KafkaSupervisorTuningConfigTest.java
praveev/druid
apache-2.0
4,999
121
codeparrot/github-code
5c6a1d0b3ac2475b6ed872325965c2835513ef1c3157004e809c3ac577313b54
/* * Copyright (c) 2008-2021, Hazelcast, Inc. 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 ...
Java
hazelcast/src/test/java/com/hazelcast/collection/impl/queue/QueueTestsFrom2X.java
jerrinot/hazelcast
apache-2.0
22,654
569
codeparrot/github-code
543b02974a9dfb5769694650a539b6a749de018e23d7b2a0dfc484caf1941e24
/** * 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
camel-core/src/main/java/org/apache/camel/impl/osgi/Activator.java
kevinearls/camel
apache-2.0
26,847
635
codeparrot/github-code
47c3886d36928aae5fe0bf1ecf638bb299a5cd5c955bb17e5537a832ded57b5d
/* * Copyright (c) 2002, 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
test/J2s/java/openjdk-6-src-b27/jdk/test/java/nio/channels/SocketChannel/Connect.java
andreagenso/java2scala
apache-2.0
4,465
117
codeparrot/github-code
981ca1aaa12759884aa806ffc6cc72715923cac5ed5927e1ae81c3e92844f107
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may n...
Java
vxquery-rest/src/main/java/org/apache/vxquery/rest/response/Error.java
erandiganepola/vxquery
apache-2.0
2,337
102
codeparrot/github-code
1fb37dfe443102939287b997c29c952671f8436f14ef49e81d22e231b8230cd0
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Java
modules/core/src/main/java/org/apache/ignite/internal/util/nio/GridSelectorNioSessionImpl.java
shroman/ignite
apache-2.0
12,810
467
codeparrot/github-code
71b1159a8a8ce7a4a81c9c33a7f53e51dc3ba0f4ea25b2297f443bea1b357b18
package org.hope6537.date; import org.hope6537.context.ApplicationConstant; import org.joda.time.DateTime; import org.junit.Test; import java.text.SimpleDateFormat; import java.time.LocalDateTime; import java.time.ZoneOffset; import java.time.format.DateTimeFormatter; import java.time.temporal.TemporalUnit; import ja...
Java
hope-playground/hope-web-utils/src/main/java/org/hope6537/date/DateFormatCalculate.java
Hope6537/hope-tactical-equipment
apache-2.0
9,751
291
codeparrot/github-code
c91158efcf3841afbb3882c7f6de0afb090ee7fe0d32ad2c289fa842b69d9d93
/* * Copyright 2017 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
spring-cloud-stream/src/main/java/org/springframework/cloud/stream/binding/StreamListenerMessageHandler.java
dsyer/spring-cloud-stream
apache-2.0
1,859
61
codeparrot/github-code
9a425b17e3851a069bfc6a6d1fa461aa76b61973e113c60592fd22783a1665ae
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * 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 r...
C#
ke/images/robust/image/opensim80/OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs
justasabc/kubernetes-ubuntu
apache-2.0
15,145
392
codeparrot/github-code
4dc0f507f2fded6c51b4c15071368d2d07b2d171c48f627fb364e3a2222b875e
package org.apereo.cas.authentication.principal; import com.fasterxml.jackson.databind.ObjectMapper; import org.apache.commons.io.FileUtils; import org.apereo.cas.CasProtocolConstants; import org.junit.Test; import org.springframework.mock.web.MockHttpServletRequest; import java.io.File; import java.io.IOException; ...
Java
core/cas-server-core-services/src/test/java/org/apereo/cas/authentication/principal/SimpleWebApplicationServiceImplTests.java
mrluo735/cas-5.1.0
apache-2.0
4,556
97
codeparrot/github-code
19a006846336564cb72435e384576f62ab6fbf53a18f94a42b12706345b851d4
;(function ($, window, document, undefined) { 'use strict'; var settings = { callback: $.noop, deep_linking: false, init: false }, methods = { init : function (options) { settings = $.extend({}, settings, options); return this.each(function () { ...
JavaScript
admin/broadleaf-open-admin-platform/src/main/resources/open_admin_style/js/admin/lib/plugins/jquery.foundation.tabs.js
caosg/BroadleafCommerce
apache-2.0
2,371
75
codeparrot/github-code
14024f91a9e872d9bd58bf459f253559d69c8bd81049b6034a0595b2f83a4275
<!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="html/html; charset=utf-8" /> <title>BITFeedbackListViewController Class Reference</title> <meta id="xcode-display" name="xcode-display" content="render"/> <link rel="stylesheet" type="text/css" href="../css/styles.css" media="all" /> <lin...
HTML
src/ios/HockeySDK-iOS/de.bitstadium.HockeySDK-iOS-3.5.4.docset/Contents/Resources/Documents/Classes/BITFeedbackListViewController.html
Parlio/cordova-plugin-hockeyapp
apache-2.0
7,202
250
codeparrot/github-code
1d984ebd6f0d2c6932933f2a921800e4a054c10599b8a6d215c9d767b7a6c636
import {SakaiElement} from "./sakai-element.js"; import {html} from "./assets/lit-element/lit-element.js"; class SakaiEditor extends SakaiElement { static get properties() { return { editorId: { attribute: "editor-id", type: String }, text: String, mode: String }...
JavaScript
webcomponents/tool/src/main/frontend/js/sakai-editor.js
OpenCollabZA/sakai
apache-2.0
1,851
65
codeparrot/github-code
26bdd80f5e08cf2ce47d6e61cc67757aca2750c60b00cf329c7ae0da903b3529
/* Copyright 2008-2013 CNR-ISTI, http://isti.cnr.it Institute of Information Science and Technologies of the Italian National Research Council See the NOTICE file distributed with this work for additional information regarding copyright ownership Licensed under the Apache License, Version 2.0 (t...
Java
zigbee-api/src/test/java/org/bubblecloud/zigbee/util/ByteUtilsTest.java
cdealti/zigbee4java
apache-2.0
3,466
114
codeparrot/github-code
350c162d1f66c6668ceae3b8e4f96916561b8e1f0ddd31683050eab42d06d7a5
/* * Hibernate Validator, declare and validate application constraints * * License: Apache License, Version 2.0 * See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>. */ package org.hibernate.validator.constraints.br; import java.lang.annotation.Documented; import java.l...
Java
engine/src/main/java/org/hibernate/validator/constraints/br/CPF.java
DavideD/hibernate-validator
apache-2.0
2,260
56
codeparrot/github-code
99187b1046495bfcbb851f6b4757f5c1dba57c096f435b2ad4e5513c5c8a0dc7
/** loop_monitor.cc -*- C++ -*- Rémi Attab, 06 May 2013 Copyright (c) 2013 Datacratic. All rights reserved. Implementation details of the message loop monitor. */ #include "loop_monitor.h" #include "jml/arch/cmp_xchg.h" #include <mutex> #include <functional> using names...
C++
soa/service/loop_monitor.cc
bidracer/bidracer-rtbkit
apache-2.0
4,405
165
codeparrot/github-code
cbcaa483a9e1899f0d228c9ff97480efd2a0d672408919db05088be325b48ee6
/* * Druid - a distributed column store. * Copyright 2012 - 2015 Metamarkets Group 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...
Java
server/src/main/java/io/druid/metadata/SQLMetadataRuleManager.java
Kleagleguo/druid
apache-2.0
13,707
403
codeparrot/github-code
f2598be50a9c4700de3a7603137ef969a51b1e9c3ff121f3419bb111bd2ca35f
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
Java
modules/rank-eval/src/test/java/org/elasticsearch/index/rankeval/RankEvalRequestIT.java
qwerty4030/elasticsearch
apache-2.0
13,203
267
codeparrot/github-code
a31bb1ac2afd5436fced689bfd3454fcb6a1c1eaa48f308abfb2bd0e31f08464
/* * 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
teavm-classlib/src/main/java/org/teavm/classlib/java/util/regex/TJointSet.java
mpoindexter/teavm
apache-2.0
4,134
145
codeparrot/github-code
c9118afa6d3f698239d9b6c1bfec8dc71ae1e1f787d1bbd9d44214aa88bb0b1c
/* * 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
src/org/apache/xerces/dom/PSVIAttrNSImpl.java
RackerWilliams/xercesj
apache-2.0
9,313
286
codeparrot/github-code
e913f9ad9e9c365062d588772b50928289f21448b0cd1aefdea42ecb30300006
#ifndef U_AUI_BUTTON_H #define U_AUI_BUTTON_H #include "ubutton.h" #include "adt/uautoptr.h" #include "colors.h" namespace AUI { class UTransRadioButton : public URadioButton { public: UTransRadioButton(HWND hParent, UINT nResource, HINSTANCE hInst) : URadioButton(hParent, nResource, hInst) { } ...
C
inc/aui/aui_button.h
dbremner/ulib-win
apache-2.0
2,232
100
codeparrot/github-code
e8ced03aa2d2b0dc14399dda7e131326b8d6df8fd44f559e3096102e74a3d8ab
package demo.cart; import demo.data.BaseEntity; import javax.persistence.*; @Table(name = "cart_event", indexes = { @Index(name = "IDX_CART_EVENT_USER", columnList = "id,userId") }) @Entity public class CartEvent extends BaseEntity { private Long id; @Enumerated(EnumType.STRING) private CartEventType ca...
Java
shopping-cart-service/src/main/java/demo/cart/CartEvent.java
hosnimed/spring-cloud-Test
apache-2.0
1,676
75
codeparrot/github-code
f8024f9c2773bc2e7e576bed4a766e6e3c815af0719e5474b45598b9d369779f
#!/bin/bash # Copyright (c) 2016 Baidu, Inc. 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 appl...
Shell
demo/seqToseq/data/wmt14_data.sh
alvations/Paddle
apache-2.0
1,389
54
codeparrot/github-code
c0c29757c21972c8e05b2e4610e3686835475ba524d78bcd5858304bdcf32569
// Copyright (c) 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. /** * This extension is a platform app that provides file handlers for .xul * ('xulActio') and .tiff ('tiffAction') files. It waits until the app is...
JavaScript
src/chrome/test/data/extensions/api_test/file_browser/app_file_handler/background.js
plxaye/chromium
apache-2.0
3,506
115
codeparrot/github-code
98c3fd92310def397c8dfd591d6e10dba7d3a5f410ba2ead7e538a2314ce3c9d
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may n...
Java
artemis-server/src/main/java/org/apache/activemq/artemis/core/server/cluster/qourum/SharedNothingBackupQuorum.java
gaohoward/activemq-artemis
apache-2.0
11,603
327
codeparrot/github-code
31194aee44763c16c03073be0c506c6728c6bf7b8df17e51607be407afd438f7
# 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 under th...
Python
openstack_dashboard/dashboards/project/stacks/forms.py
CiscoSystems/avos
apache-2.0
15,580
415
codeparrot/github-code
5b567aa0188df69605132d5746950b8c529c737915bcce3e91417a260206955a
/* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. Camunda licenses this file to you under the Apache License, * Version 2.0; y...
Java
engine-rest/engine-rest/src/main/java/org/camunda/bpm/engine/rest/dto/repository/DeploymentWithDefinitionsDto.java
falko/camunda-bpm-platform
apache-2.0
4,487
102
codeparrot/github-code
614f1e6e69635d6a8d739e8de252311ba294092954877ee5be80f27a4b5a5169
package org.simpleframework.xml.core; import java.io.StringWriter; import junit.framework.TestCase; import org.simpleframework.xml.Path; import org.simpleframework.xml.Root; import org.simpleframework.xml.Text; import org.simpleframework.xml.stream.CamelCaseStyle; import org.simpleframework.xml.stream.Form...
Java
test/src/org/simpleframework/xml/core/PathTextTest.java
unisx/simplexml
apache-2.0
1,375
46
codeparrot/github-code
57ac78d3aee937fe9382bc4d6f09293d6580ec0e46d4883a7c6e141c09cdddc0
/* * 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
metadata/src/main/java/org/apache/oodt/cas/metadata/preconditions/ProductNameCheckComparator.java
lewismc/oodt
apache-2.0
2,516
77
codeparrot/github-code
294a5c876a34ea644655ea8e72e657174a0f49bc19e0d7035917832e4a64b750
/** * Licensed to the Rhiot under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in co...
Java
gateway/components/camel-kura/src/main/java/io/rhiot/component/kura/gpio/KuraGPIOProducer.java
lasombra/rhiot
apache-2.0
5,602
179
codeparrot/github-code
ca7a7232b8ac85a616e3332d5cba02b1a6656c19ee5ad47b833b49fde9ff813d
/* * Copyright Terracotta, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
Java
impl/src/test/java/org/ehcache/impl/internal/events/TestStoreEventDispatcher.java
rishabhmonga/ehcache3
apache-2.0
4,422
145
codeparrot/github-code
862c8b25ac6fdb13762205489dae270f49c4019cdfa3b21dc66690f27f9233e4
/* 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 ...
Java
engine/src/main/java/org/camunda/bpm/engine/repository/ResourceDefinition.java
subhrajyotim/camunda-bpm-platform
apache-2.0
1,724
57
codeparrot/github-code
f57dda3adac827ac4724dcee29a268fddb6c7f646dfd4e525938397f67e31663
/* * Copyright (c) 2010-2012 Grid Dynamics Consulting Services, Inc, All Rights Reserved * http://www.griddynamics.com * * This library is free software; you can redistribute it and/or modify it under the terms of * the Apache License; either * version 2.0 of the License, or any later version. * * THIS SOFTWARE...
Java
dbapi/src/main/java/com/griddynamics/jagger/dbapi/entity/SessionMetaDataEntity.java
Nmishin/jagger
apache-2.0
2,067
67
codeparrot/github-code
164e2bfefc6f52a3ff6cb0c5e8666636197f49105caf302ed45eed6a19f3eec8
/* * 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
contrib/extensions/distribution/core/src/main/java/org/apache/sling/distribution/util/impl/DistributionUtils.java
tteofili/sling
apache-2.0
2,150
59
codeparrot/github-code
276169ff7121e29d30d95e7886941607fd2dc305e203a05cc768e87bcb4857e3
/* * Copyright 2014-2016 CyberVision, 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 o...
Java
server/common/dto/src/main/java/org/kaaproject/kaa/common/dto/EndpointProfilesBodyDto.java
Oleh-Kravchenko/kaa
apache-2.0
2,430
80
codeparrot/github-code
edb5c11c57fa91ecd1f7ac1931c130e8c1bbeb9253bf72f6667ff47630c70515
/* * Licensed to The Apereo Foundation under one or more contributor license * agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * The Apereo Foundation licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may...
Java
JavaSource/org/unitime/timetable/onlinesectioning/solver/SectioningRequest.java
nikeshmhr/unitime
apache-2.0
20,221
443
codeparrot/github-code
f549c754ab5f09e4c835d8523e8e3865309564343458a7d8f3b7909268c35d4e
/* ***************************************************************** * * Copyright 2017 Microsoft * * * 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/lic...
C
resource/IPCA/src/inc/common.h
iotivity/iotivity
apache-2.0
3,213
93
codeparrot/github-code
8df82c8732426de4b99556494c21115a64fb16b446e9ddfcc943da90b07db148
/* * Copyright (C) 2017 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
samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/VideoActivityWithDetailedCard.java
AndroidX/androidx
apache-2.0
2,685
72
codeparrot/github-code
73036e32e03c856d8efeffc92c17576ed18de446012d116ff85b442673b9a5c6
/* * 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.ml.dataframe.extractor; import org.apache.log...
Java
x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/dataframe/extractor/DataFrameDataExtractor.java
HonzaKral/elasticsearch
apache-2.0
12,953
337
codeparrot/github-code
70919e1de665a045e313c7061a5c0d46e7f7b2b7a827c98da85e90336d970e93
/* * 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/platform-impl/src/com/intellij/ide/actions/AboutPopup.java
MichaelNedzelsky/intellij-community
apache-2.0
14,826
436
codeparrot/github-code
de43ea4802d9235bfa55bb863cb89f4959a3fe33d3495a4781dc82927bba1df0
/****************************************************************************** * Copyright (c) 2006, 2010 VMware Inc. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Apache License v2.0 which accompanies this distr...
Java
core/src/test/java/org/eclipse/gemini/blueprint/internal/service/collection/DynamicSetTest.java
eclipse/gemini.blueprint
apache-2.0
2,772
97
codeparrot/github-code
f4444fd83fd33e43e18b2b0c09313ae0879e62ef285acafb2704b2c6a4637c87
/* * Copyright 2015-present Open Networking Foundation * * 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 appli...
Java
providers/lldp/src/test/java/org/onosproject/provider/lldp/impl/LldpLinkProviderTest.java
gkatsikas/onos
apache-2.0
32,961
873
codeparrot/github-code
aa7254e81e80344021e977e00bd36d9d9054b1a081d72bed99de87587559fa11
// Copyright 2005-2010 Gallio Project - http://www.gallio.org/ // Portions Copyright 2000-2004 Jonathan de Halleux // // 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:...
C#
src/Gallio/Gallio/Framework/Data/Generation/RandomRegexLiteStringGenerator.cs
xJom/mbunit-v3
apache-2.0
2,700
84
codeparrot/github-code
39b7aabccc351e673750245f8972059bd85131c0fe77306afca3da67c893d882
/* * @(#)Main.java 1.28 07/03/21 * * Copyright (c) 2007 Sun Microsystems, Inc. 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 ...
Java
Javac2007/src/com/sun/tools/javac/Main.java
firstblade/Open-Source-Research
apache-2.0
5,595
153
codeparrot/github-code
6697c0248dc32f5f825234bc1bcd79e7bb27aadd9dc5863f8871b13dc897b4d3
/* * Licensed to ElasticSearch and Shay Banon 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...
Java
src/test/java/org/elasticsearch/document/AliasedIndexDocumentActionsTests.java
andrewvc/elasticsearch
apache-2.0
1,641
46
codeparrot/github-code
b9276f12d12492a873be5d079412b4b2c44214986cff81d179e5aa70c4e9dbc8
"""Support for BMW car locks with BMW ConnectedDrive.""" import logging from typing import Any from bimmer_connected.vehicle import ConnectedDriveVehicle from bimmer_connected.vehicle_status import LockState from homeassistant.components.lock import LockEntity from homeassistant.config_entries import ConfigEntry from...
Python
homeassistant/components/bmw_connected_drive/lock.py
jawilson/home-assistant
apache-2.0
3,416
98
codeparrot/github-code
8b045c877a293d6e076688ad955d30e4edcb4dce221cbd90377d712427cd659c
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
Java
src/main/java/org/elasticsearch/search/aggregations/support/numeric/ScriptDoubleValues.java
alexksikes/elasticsearch
apache-2.0
3,075
100
codeparrot/github-code
1a2335a35096486ec1267b425d07c2ff31fbb9e5eea899d194b287652f4d5cdc
module OneDBFsck def check_vm vms_fix = @fixes_vm = {} @fixes_vm_history = {} @data_vm = {} cluster_vnc = @data_vm[:vnc] = {} # DATA: Aggregate information of the RUNNING vms @db.fetch("SELECT oid,body FROM vm_pool WHERE state<>6") do |row| vm_doc = nok...
Ruby
src/onedb/fsck/vm.rb
unistra/one
apache-2.0
8,680
209
codeparrot/github-code
022f775472c84c34301a52ad8831e6396d85270e2325349e8f5d6770c307c9c3
/* * Copyright (C) 2011 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...
C
runtime/class_linker-inl.h
treadstoneproject/artinst
apache-2.0
10,372
215
codeparrot/github-code
cd9e3680b2d075d8a686f3129cdd2a8e2a2421228b48b53af4bf777af6e6c6d7
/*! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2002-2019 by Hitachi Vantara : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version...
Java
core/src/main/java/org/pentaho/di/core/xml/XMLHandler.java
ccaspanello/pentaho-kettle
apache-2.0
37,476
1,200
codeparrot/github-code
6ed0fdb0b73a3b529386a54d2cbcb1dc24c5a9b16e4be39983827e6387dfced3
/* Copyright (c) 2016 PaddlePaddle 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...
C++
paddle/parameter/ParameterOptimizer.cpp
Canpio/Paddle
apache-2.0
2,088
64
codeparrot/github-code
cddd587391225767d6c02c14b2d7405958874eac529356dcf18d67019143de1e
//===- AArch64LoadStoreOptimizer.cpp - AArch64 load/store opt. pass -------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
C++
llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
google/llvm-propeller
apache-2.0
78,892
2,155
codeparrot/github-code
91f42c41debac9bdb465d3b9bd90ff2a0135d053e4f297cf8dc9493e8817aaea
/* * Copyright 2006 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 require...
Java
test-support/src/test/java/org/springframework/osgi/test/provisioning/internal/MavenArtifactFinderTest.java
kurtharriger/spring-osgi
apache-2.0
3,225
84
codeparrot/github-code
1ce2cdd3019603f24c451c549dcc76b8b40eccd8ed7e86a5d4e6f739d1b410ce
/* * Copyright 2018 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
config/config-api/src/main/java/com/thoughtworks/go/config/PipelineConfigTreeValidator.java
varshavaradarajan/gocd
apache-2.0
8,240
160
codeparrot/github-code
7c5c312b87b5c9e5a85836a1c326faf4fa290801c995219a0648be4ce9d2c426
/* * 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 ...
JavaScript
runtime/bridge/CallbackManager.js
acton393/incubator-weex
apache-2.0
3,194
95
codeparrot/github-code
0e50a78f6ed5439c0e7d1d5198a8a73f46d34c882d08d16b87c63b3fe2fa1124
// 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: // // ...
C++
third_party/proto/src/google/protobuf/compiler/objectivec/objectivec_message.cc
gameduell/kythe
apache-2.0
25,780
655
codeparrot/github-code
c7aadee4febb2665200edd10d19b910b3eb6d7b9cc33dd657c074c8514df437c
/* * 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
domain/src/main/java/com/thoughtworks/go/domain/JobInstance.java
varshavaradarajan/gocd
apache-2.0
16,197
562
codeparrot/github-code
081fcc258c164fd2411ce68cc5490797054338040a744f18cd3d06b844e99afc
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
Java
src/main/java/org/apache/sysml/runtime/functionobjects/Power2.java
asurve/arvind-sysml
apache-2.0
2,090
77
codeparrot/github-code
76240a44acd0df21b37d005fdb26b8beb8f52b425920da1e1c8d56471f6b5e30
/* 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
sources/org/apache/batik/dom/xbl/GenericXBLManager.java
Squeegee/batik
apache-2.0
4,836
180
codeparrot/github-code
a0dcf1531e25bed4bd4522b408cf2c692b69b6ea9d16d840660892a7410feb23
# Copyright 2018 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 applica...
Python
tensorflow/contrib/gan/python/features/python/spectral_normalization_impl.py
hfp/tensorflow-xsmm
apache-2.0
12,318
316
codeparrot/github-code
88f886ea8bb9fb14289ffe6f51969e56e8d77a08503607c5ace1adc6c2d09522
// Copyright (c) 2013, Facebook, Inc. All rights reserved. /** * 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...
Java
hive-dwrf/src/main/java/com/facebook/hive/orc/lazy/OrcLazyTimestampObjectInspector.java
facebookarchive/hive-dwrf
apache-2.0
2,110
54
codeparrot/github-code
6d0e3f40c94c9be62343aeea4c0d5b7c770883927927104f47f6444680128c99
package me.angeldevil.pairscrollview.examples; import android.app.Activity; import android.content.ComponentName; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.AdapterView; import android.widget.AdapterView.OnItemClickListener; import android.widget.ArrayAdap...
Java
src/me/angeldevil/pairscrollview/examples/MainActivity.java
janstk/PairScrollView
apache-2.0
1,683
47
codeparrot/github-code
ab9abd0c3fec3d012680a0f33d3da43508b5297547b155f61a50fc291f9ec677
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
Java
modules/lang-painless/src/test/java/org/elasticsearch/painless/ScriptTestCase.java
gingerwizard/elasticsearch
apache-2.0
8,206
182
codeparrot/github-code
a624635395f9f314468dbb18da09fce3c9cee52afa310b372c29b6b4c764dab8
/* * * 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"); y...
C#
src/Lucene.Net.Core/Support/GeneralKeyedCollection.cs
mdissel/lucene.net
apache-2.0
4,358
114
codeparrot/github-code
4bc59d94d4e9c1cd00749a611679f28ce561f34fd025f28a6428f676877d2130
/** * Copyright 2015 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
Java
src/test/java/rx/internal/operators/SingleDoAfterTerminateTest.java
tilal6991/RxJava
apache-2.0
3,147
100
codeparrot/github-code
caf551e6b8e2bc8bd1f890ac6a01082dec98ce963677b4048546b93f46e5a79d
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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...
C#
Engine/DataFeeds/SubscriptionDataSourceReader.cs
redmeros/Lean
apache-2.0
3,238
72
codeparrot/github-code
44f89182d45d65ca87533fc8e66f4fb14bda9a049c8147c084154afc1a783bb6
/* * 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/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeHARegionNameOnDifferentServerVersions.java
smgoller/geode
apache-2.0
3,698
85
codeparrot/github-code
212a04b50820a90a1641353ddb67c75d244b22c5f84f073d830e15bdacdc1b9a
package cgeo.geocaching.models; import cgeo.geocaching.settings.Settings.CoordInputFormatEnum; import cgeo.geocaching.ui.CalculateButton; import cgeo.geocaching.ui.CalculatorVariable; import cgeo.geocaching.ui.JSONAble; import cgeo.geocaching.ui.JSONAbleFactory; import cgeo.geocaching.utils.Log; import java.io.Serial...
Java
main/src/cgeo/geocaching/models/CalcState.java
Bananeweizen/cgeo
apache-2.0
5,011
128
codeparrot/github-code
e36c72620fbdd53189f642633639ac3883654cb73bf37405912cdabba17780f6
/* * Artificial Intelligence for Humans * Volume 3: Deep Learning and Neural Networks * Java Version * http://www.aifh.org * http://www.jeffheaton.com * * Code repository: * https://github.com/jeffheaton/aifh * * Copyright 2014-2015 by Jeff Heaton * * Licensed under the Apache License, Version 2.0 (the "Lic...
Java
vol3/vol3-java-examples/src/main/java/com/heatonresearch/aifh/learning/RBFNetwork.java
PeterLauris/aifh
apache-2.0
6,427
200
codeparrot/github-code
ae2e290018d19a3fca01c32f3b60fa6194055099921dac97459b24de06c0a6d3
/** * 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
bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/framework/samplers/GaussianSampler.java
rnowling/bigtop
apache-2.0
1,311
40
codeparrot/github-code
77a1ec4d22fb48207ead38b95b3b94492585839450172b3f5fdb660fcb80196f
/* * Licensed to Metamarkets Group Inc. (Metamarkets) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Metamarkets licenses this file * to you under the Apache License, Version 2.0 (the * "License"); yo...
Java
processing/src/test/java/io/druid/query/metadata/SegmentMetadataQueryQueryToolChestTest.java
pdeva/druid
apache-2.0
8,191
262
codeparrot/github-code
685f45cbfeffd17aeeeecef352642699de64edca22cb42e25cb42437aaf83158
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0 and the Server Side Public License, v 1; you may not use this file except * in compliance with, at your election, the Elastic License 2.0 or the Server...
Java
modules/lang-painless/src/main/java/org/elasticsearch/painless/antlr/Walker.java
ern/elasticsearch
apache-2.0
43,136
1,117
codeparrot/github-code
a7525a018dd53663e2fdd14cd603f163e1e32b81c92cbdfe21b6bed1e471167b
# Copyright 2015 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
Python
research/neural_gpu/wmt_utils.py
tombstone/models
apache-2.0
16,455
438
codeparrot/github-code
300dd93fbf9dd6978235ec4ef7a820040d7addcf30276ca119787d5b069d1208
#!/usr/bin/env python ########################################################################## # run/ec2-setup/spot.py # # Part of Project Thrill - http://project-thrill.org # # Copyright (C) 2015 Matthias Stumpp <mstumpp@gmail.com> # # All rights reserved. Published under the BSD-2 license in the LICENSE file. #####...
Python
run/ec2-setup/spot.py
manpen/thrill
bsd-2-clause
3,829
105
codeparrot/github-code
2e4768147adbc158cceb615fa405fbabd4f1d98c8d31b421e3493ddff4dafc57
/********************************************************************* ** Program Filename: utilities.cpp ** Author: Jason Goldfine-Middleton ** Date: 10/10/15 ** Description: This file provides implementations for each function ** in the utilities namespace declared in utilities.hpp. ** ** ...
C++
lab09/utilities.cpp
jrgoldfinemiddleton/cs162
bsd-2-clause
6,719
205
codeparrot/github-code
d933f2a6386c110a62baebab56794b07575fcda85b6cc2c169b375597589662d
//$$CDS-header$$ #ifndef CDSLIB_GC_DETAILS_HP_H #define CDSLIB_GC_DETAILS_HP_H #include <cds/algo/atomic.h> #include <cds/os/thread.h> #include <cds/details/bounded_array.h> #include <cds/user_setup/cache_line.h> #include <cds/gc/details/hp_type.h> #include <cds/gc/details/hp_alloc.h> #if CDS_COMPILER == CDS_COMPIL...
C
cds/gc/details/hp.h
elventear/libcds
bsd-2-clause
29,764
734
codeparrot/github-code
26efef709545b5f2dcacbee654e7968b5d5f6f79eb66ca9c6669a18263104a6a
// RUN: %clang_cc1 -fsyntax-only -std=c++98 -verify %s namespace A { struct C { static int cx; static int cx2; static int Ag1(); static int Ag2(); }; int ax; void Af(); } A:: ; // expected-error {{expected unqualified-id}} // FIXME: there is a member 'ax'; it's just not a class. ::A::ax::und...
C++
clang/test/SemaCXX/nested-name-spec.cpp
ajavadia/ScaffCC
bsd-2-clause
7,502
289
codeparrot/github-code
63303cfe886a6149ec5bba11676e670d013e8c92ca156a48183c275a801dae26
""" ============================= XDAWN Decoding From EEG data ============================= ERP decoding with Xdawn. For each event type, a set of spatial Xdawn filters are trained and applied on the signal. Channels are concatenated and rescaled to create features vectors that will be fed into a Logistic Regression...
Python
examples/decoding/plot_decoding_xdawn_eeg.py
wronk/mne-python
bsd-3-clause
3,406
102
codeparrot/github-code
8b91d9cc1e0070412a7436c959340f990e9073bbd3b0d854790e0fdc1010e4ce
/*********************************************************************************************************************** ** ** Copyright (c) 2011, 2015 ETH Zurich ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without modification, are permitted provided that the ** follo...
C
CppExport/src/visitors/DeclarationVisitor.h
Vaishal-shah/Envision
bsd-3-clause
3,753
99
codeparrot/github-code