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
4f17bdb79ca63089af5040e8531f45652ff82fd00413defb8f15a0b3d76e573c
package org.oast.easy; import org.testng.Assert; import org.testng.annotations.DataProvider; import org.testng.annotations.Test; import org.testng.internal.collections.Pair; import static org.testng.Assert.*; public class Solution100Test extends BaseTest { private Solution100 solution100 = new Solution100(); ...
Java
src/main/test/org/oast/easy/Solution100Test.java
al3xastakhov/competitivetasks
apache-2.0
1,610
48
codeparrot/github-code
566591ef8311d7648eb5fde4e94e81c319bb9ed5daaee956ce1640290852a99a
/* * iBankApp * * License : Apache License,Version 2.0, January 2004 * * See the LICENSE file in English or LICENSE.zh_CN in chinese * in the root directory or <http://www.apache.org/licenses/>. */ package org.ibankapp.base.observer.test; import java.util.HashSet; import java.util.Set; import org.ibankapp.base...
Java
base-observer/src/test/java/org/ibankapp/base/observer/test/TestConsumer.java
ibankapp/ibankapp-base
apache-2.0
1,007
52
codeparrot/github-code
2df88250db7372de376f51193cb2bfb0aee3418ac3e2381aa0b78f706a1f91ae
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
Java
presto-main/src/test/java/com/facebook/presto/execution/TestQueryStats.java
vishalsan/presto
apache-2.0
3,909
112
codeparrot/github-code
8bbc367a7f2275944a362485fba26a1f0a79f87e82b39fb46761bad06557af71
/* * 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/IPv4RangeIT.java
smflorentino/elasticsearch
apache-2.0
48,797
947
codeparrot/github-code
55b43f422c3f6d7b4f969ff1186704902674db1054d8d2bdaac70feca83d7733
import Ember from 'ember'; export default Ember.Route.extend({ shibbolethAuth: Ember.inject.service(), intl : Ember.inject.service(), queryParams: { shibbolethTest: { refreshModel:false }, errCode: { refreshModel:false } }, model: function(params, transition) { if...
JavaScript
app/login/shibboleth-auth/route.js
radishgz/ui-1.5.9
apache-2.0
1,526
59
codeparrot/github-code
9b77892f11df96ba498b0309a9f3d3d70e5ff50c8fd38e452fcb71b1f0cd1f98
package com.ctrip.xpipe.redis.console.resources; import com.ctrip.xpipe.api.email.EmailResponse; import com.ctrip.xpipe.api.server.Server; import com.ctrip.xpipe.redis.checker.CheckerConsoleService; import com.ctrip.xpipe.redis.checker.alert.AlertMessageEntity; import com.ctrip.xpipe.redis.checker.config.CheckerConfig...
Java
redis/redis-console/src/main/java/com/ctrip/xpipe/redis/console/resources/CheckerPersistenceCache.java
ctripcorp/x-pipe
apache-2.0
3,990
111
codeparrot/github-code
e9a3d57c109e55754b1d020166a6ad407cecf0e48af527d5790eee4de3da6739
# Copyright 2017 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 in writing, ...
Python
google/resumable_media/_helpers.py
googleapis/google-resumable-media-python
apache-2.0
12,563
387
codeparrot/github-code
02d0d829407c98c78e4072e10d11db4bdf7f8954e684013d6fabfcc804bbf33c
// Copyright 2020 The Nomulus 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 a...
Java
core/src/main/java/google/registry/persistence/converter/LocalDateConverter.java
google/nomulus
apache-2.0
1,322
37
codeparrot/github-code
8cf57982d9f1c933d728862e622f35c884da4f26629b2230647e634a2120c5d4
/* Copyright 2020 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
C++
tensorflow/c/eager/c_api_unified_experimental.cc
aldian/tensorflow
apache-2.0
8,309
224
codeparrot/github-code
ff032773fbba8c61d5a8fc9c4753f0bdb892dbcc8ee0f11c8a0cbbb2c77583f2
'use strict'; var mongoose = require('mongoose'); var database = function () { var conn = null, init = function (config) { console.log('Trying to connect to ' + config.host + '/' + config.database + ' MongoDB database'); var options = { server: {}, r...
JavaScript
mastering-docker/compose_advanced/lib/database.js
jscontreras/courses
apache-2.0
1,373
48
codeparrot/github-code
3162b47c0e64646d38f5192fc5b6030b4c8b1c4034ea5dd1edb3757578343a2c
package com.lntusl.core.message; import javax.validation.Valid; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElements; import javax.xml.bind.annotation.XmlRootElement; import com.lntusl.core.entity.User; /** * * * @param <T> * Restful消息输入格式: JSON: {data:[{...},{...}...
Java
src/main/java/com/lntusl/core/message/InputObject.java
lntusl/SLBaseServer
apache-2.0
696
33
codeparrot/github-code
ec44ad3f7641b50ac41d6ac1967def14a2dead4e12d389d7f24b74ad2e39ef6e
package org.cfr.matcha.direct.rs; import java.io.FileNotFoundException; import javax.ws.rs.core.UriInfo; import org.cfr.commons.util.log.Log4jConfigurer; import org.cfr.direct.testing.EasyMockTestCase; import org.junit.Test; public class DirectHandlerResourceTest extends EasyMockTestCase { static {...
Java
direct/src/test/java/org/cfr/matcha/direct/rs/DirectHandlerResourceTest.java
devacfr/matcha
apache-2.0
2,422
92
codeparrot/github-code
0557143fff33e820131bf6eb3656ffc72d7fd6a161d2e12349be214476e42282
/*- * Copyright (C) 2013-2014 The JBromo Authors. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, ...
Java
jbromo-webapp/jbromo-webapp-jsf/jbromo-webapp-jsf-sample/src/main/java/org/jbromo/webapp/jsf/sample/view/layer/table/util/AbstractInitDataTableController.java
qjafcunuas/jbromo
apache-2.0
3,270
93
codeparrot/github-code
61ec83fb664dd177e7ed21a4ae45f0e0637b908fc53b887a7f1430206d5d81eb
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content="Enrich your life today,. yesterday is history.tomorrow is mystery."> <title>R...
HTML
_site/2016/06/10/ReactiveCocoa3/index.html
CodingForMoney/CodingForMoney.github.io
apache-2.0
19,080
406
codeparrot/github-code
4b7bfaba5ec23952508bc1ff91343985f41ce1e6d25a12cab12c7ec0fb8abdba
package io.craigmiller160.stockmarket.gui; import static io.craigmiller160.stockmarket.controller.StockMarketController.PORTFOLIO_STATE_PROPERTY; import io.craigmiller160.mvp.listener.AbstractListenerView; import io.craigmiller160.stockmarket.util.Fonts; import io.craigmiller160.stockmarket.util.Language; import java...
Java
src/main/java/io/craigmiller160/stockmarket/gui/StockDisplayPanel.java
craigmiller160/StockMarket-2.0
apache-2.0
9,404
329
codeparrot/github-code
eeff68cb1f3b6eed8632f2e52086ff75bea88c54ddd3ac473e5e9410853be8f0
'use strict'; const { format: f } = require('util'); const { setupDatabase, withClient, assert: test } = require(`../shared`); const { expect } = require('chai'); describe('Find and Modify', function () { before(function () { return setupDatabase(this.configuration); }); context('promise tests', function (...
JavaScript
test/integration/crud/find_and_modify.test.js
mongodb/node-mongodb-native
apache-2.0
10,877
325
codeparrot/github-code
dc345522b804d18793ef98508b40707ccbbcd15cddaf3001323c7185cc36f149
package co.yiiu.pybbs.controller.admin; import co.yiiu.pybbs.model.Comment; import co.yiiu.pybbs.model.Topic; import co.yiiu.pybbs.service.ICommentService; import co.yiiu.pybbs.service.ITopicService; import co.yiiu.pybbs.util.MyPage; import co.yiiu.pybbs.util.Result; import org.apache.shiro.authz.annotation.RequiresPe...
Java
src/main/java/co/yiiu/pybbs/controller/admin/CommentAdminController.java
liygheart/jfinalbbs
apache-2.0
2,618
76
codeparrot/github-code
5a2e0fb3d7296715bc26dea2600f04292e69dec062777c01293309adacb690de
using System; using System.Diagnostics; using System.Xml; using System.Xml.XPath; namespace DotvvmAcademy.Validation.Dothtml { [DebuggerDisplay("{ToString()}")] public class XPathDothtmlNavigator : XPathNavigator { public XPathDothtmlNavigator(NameTable nameTable, XPathDothtmlNode current) ...
C#
src/DotvvmAcademy.Validation.Dothtml/XPathDothtmlNavigator.cs
riganti/dotvvm-samples-academy
apache-2.0
4,541
172
codeparrot/github-code
3a0d7061a1fef49e3632ab5bf62739a975302c459e55116e9984ad7f7bb34cad
package com.example.android.sunshine.app; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.support.v7.app.ActionBarActivity; import android.view.Menu; import android.view.MenuItem; import com.example.android.sunshine.app.sync.SunshineSyncAdapter; public class MainActivi...
Java
app/src/main/java/com/example/android/sunshine/app/MainActivity.java
francisrod01/udacity-android-sunshine-app
apache-2.0
4,330
117
codeparrot/github-code
ac13689d4d17c954910f9f36c61ed2881c24dc6378717b797c92cc96b2cbe40e
package com.acmeair.web; import br.com.six2six.fixturefactory.Fixture; import br.com.six2six.fixturefactory.loader.FixtureFactoryLoader; import com.acmeair.entities.Customer; import com.acmeair.morphia.entities.CustomerImpl; import com.acmeair.service.CustomerService; import com.acmeair.web.dto.CustomerInfo; import co...
Java
acmeair-customer-service/src/test/java/com/acmeair/web/CustomerRESTTest.java
seanyinx/acmeair
apache-2.0
6,077
154
codeparrot/github-code
b5159e29df303a382e1213714be8cd04421617e14d77df06c86aa7683c8b6065
=for advent_year 2009 =for advent_day 8 =for advent_title Prime Numbers =for advent_author Joe Jiang =encoding utf8 质数的计算是一个曾经非常有趣的话题,现在对我们来说也还是一个稍微有些难度的编程训练。下面我们就用这个话题来看看 Perl 和其他语言解决数学问题的能力。当然首先我们得有个基准程序: =begin pre % matho-primes 1 10 2 3 5 7 =end pre 如果你在运行类似 Debian 的系统,这个程序可以从 apt-get install mathomatic-p...
Perl
articles/2009/08/PrimeNumbers.pod
PerlChina/mojo-advent
apache-2.0
2,403
108
codeparrot/github-code
c1c8e92d285fda6ce76ca203907b300d84791333f52918cb4cb0a2eeca52c3b5
using System; using System.Collections.Generic; using System.IO; using EnvDTE; using NuGet.VisualStudio; namespace NuGet.VsEvents { /// <summary> /// This class contains the list of all package reference files used by a solution and all projects /// contained in the solution. /// </summary> intern...
C#
src/VsEvents/PackageReferenceFileList.cs
zskullz/nuget
apache-2.0
3,511
96
codeparrot/github-code
8e6a3dac7f54e4ffe269035c256edb5cbdb61adf85cc5edfad2080da6b4233e8
# Copyright 2015 UniMOOC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agr...
Python
modules/um_assessments/exceptions.py
UniMOOC/AAClassroom
apache-2.0
816
34
codeparrot/github-code
9f616ea988cb84d07b563b7a9af7809b179beb8b135025696d0f906f96f8387b
/* * Copyright 2013 Connectis ICT Services S.A. * * 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 ...
Java
web-ant-archetype/src/test/java/ar/com/connectis_ict/proyectoweb/service/FooServiceComponenteTest.java
fermarti/web-ant-archetype
apache-2.0
1,591
48
codeparrot/github-code
077498d912c0dd9402389b3a02749b1df44f46dbda9bc2e1e8d3f9104d545cd5
package examples.auction; import io.baratine.service.Api; import io.baratine.service.Result; import io.baratine.service.Service; import io.baratine.vault.Asset; @Service @Asset @Api public interface AuctionSettlement { void settle(Auction.Bid bid, Result<Status> result); void settleResume(Result<Status> result);...
Java
src/main/java/examples/auction/AuctionSettlement.java
baratine/auction
apache-2.0
659
37
codeparrot/github-code
56f5a714fa5d6ac01a62497189a1456bbd12d6c67aed3d3f9dc05e94871f7368
package com.jackie.media_preview.widget; import android.content.Context; import android.util.AttributeSet; import android.widget.RelativeLayout; /** * 动态正方形布局 * Created by wing on 15/3/21. */ public class SquareRelativeLayout extends RelativeLayout { public SquareRelativeLayout(Context context, AttributeSet a...
Java
app/src/main/java/com/jackie/media_preview/widget/SquareRelativeLayout.java
Jackie880823/MediaPreview
apache-2.0
1,458
41
codeparrot/github-code
82751bb6beeaa57e7ee77d75f16ea6ac95bc90278d4df636aff7bf6d283e8ef0
' 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 ag...
Visual Basic
examples/AdWords/Vb/v201506/Extensions/AddGoogleMyBusinessLocationExtensions.vb
stevemanderson/googleads-dotnet-lib
apache-2.0
10,043
228
codeparrot/github-code
f42714bc17a86a2b7955db1ad08e324ce633692ca95931cf74f560623cc672b6
import { DEBUGGER_PORT_FOUND_EVENT_NAME, ATTACH_REQUEST_EVENT_NAME, IOS_APP_CRASH_LOG_REG_EXP, } from "../common/constants"; import { cache } from "../common/decorators"; import { APPLICATION_RESPONSE_TIMEOUT_SECONDS } from "../constants"; import { IiOSNotification } from "../declarations"; import { IDictionary } fr...
TypeScript
lib/services/ios-debugger-port-service.ts
NativeScript/nativescript-cli
apache-2.0
4,500
152
codeparrot/github-code
50da13f7cb135fca5c8831b01005b81d40b4a9a0ef0554d3fd9663672f5f4d77
package com.example.administrator.weather; import android.content.Intent; import android.content.IntentFilter; import android.content.SharedPreferences; import android.graphics.Color; import android.os.Build; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.annotation.Nulla...
Java
app/src/main/java/com/example/administrator/weather/WeatherActivity.java
liumingyun/mnWeather
apache-2.0
9,450
250
codeparrot/github-code
7d485688b85dc1ad1c88eef585d9b8bd95c0f4b3f91642f4149f31a5f7477d55
/* * Copyright (c) 2012. Piraso Alvin R. de Leon. All Rights Reserved. * * See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The Piraso licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in ...
Java
context-logger/api/src/main/java/org/piraso/api/entry/RequestEntry.java
piraso/piraso
apache-2.0
1,748
70
codeparrot/github-code
c3c723887778bff850cf4375764aa3e0753faa7e36c150feaf3b46c72dbefa40
// tutorial_example6.cpp -*-C++-*- #include <ball_fixedsizerecordbuffer.h> #include <ball_log.h> #include <ball_loggermanager.h> #include <ball_loggermanagerconfiguration.h> #include <ball_severity.h> #include <ball_streamobserver.h> #include <bslma_allocato...
C++
groups/bal/ball/doc/tutorial_example6.cpp
bloomberg/bde
apache-2.0
4,184
129
codeparrot/github-code
38ef808e9804313e7690bf27c415275882481a2929aefaab2cb071eb73f1c64e
export interface RespositoryProperties { connectedServiceId: string; apiUrl: string; branchesUrl: string; cloneUrl: string; refsUrl: string; } export interface Repository { properties: RespositoryProperties; id: string; type: string; url: string; defaultBranch: string; clean...
TypeScript
AzureFunctions.AngularClient/src/app/site/deployment-center/Models/vso-build-models.ts
agruning/azure-functions-ux
apache-2.0
1,854
91
codeparrot/github-code
7572f2f4a45ce5b6b8f2c801cdee35c6b91e357cb41da49ed62044744ab98091
/* * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
Java
aws-java-sdk-kendra/src/main/java/com/amazonaws/services/kendra/model/UpdateIndexResult.java
aws/aws-sdk-java
apache-2.0
2,306
73
codeparrot/github-code
11bc3cf5a39137e96b1f0dc86dd4c93dfefd202a7050857b1caf5f721915f275
/* * Copyright (c) - PPM Sistemas de Informacao LTDA, Todos os direitos reservados * * Este arquivo e uma propriedade confidencial da PPM Sistemas de Informacao LTDA. * Nenhuma parte do mesmo pode ser copiada, reproduzida, impressa ou transmitida * por qualquer meio sem autorizacao expressa e por escrito de um rep...
Java
src/main/java/br/com/ppm/test/helper/FixtureTemplateLoader.java
pedrotoliveira/ppm-test-helper
apache-2.0
2,404
69
codeparrot/github-code
2ea36ba8e3cfea5dfdf7e7715ee0d5c858d181cdafdfc19b42c31884b293ce13
using System; using System.Collections.Generic; using System.Text; using AVF.MemberManagement.StandardLibrary.Tbo; namespace AVF.CourseParticipation.Extensions { public static class MemberExtensions { public static bool IsActive(this Mitglied m) { return (m.Austritt == null || m.Au...
C#
AVF.CourseParticipation/AVF.CourseParticipation/Extensions/MemberExtensions.cs
aikido-forchheim/membermanagement
apache-2.0
805
31
codeparrot/github-code
0bb4d021b8c0c09b845f17d5146b4d2b5d9cb754962a6f4503c401c40d7d8189
/******************************************************************************* * @file SessionLayout.h 2014\12\31 14:05:29 $ * @author ´ó·ð<dafo@mogujie.com> * @brief ******************************************************************************/ #ifndef SESSIONLAYOUT_6BC9730E_47F6_4BCB_936D_...
C
win-client/include/Modules/UI/SessionLayout.h
hgl888/TeamTalk
apache-2.0
5,019
146
codeparrot/github-code
1dcb1485e6a37db333f9404d5c08e59abb90f6207990531183f3b0281d428d63
/** * JsonSerializer.java * * Copyright 2016 Joshua Schnabel * * Created: 08.11.2016 21:34:19 * Part of: jsConfig * * For licence informations check the LICENCE file! */ package de.joshuaschnabel.l18n.json; import java.util.ArrayList; import java.util.List; import java.util.Locale; import com.eclipsesource...
Java
src/main/java/de/joshuaschnabel/l18n/json/JsonTranslationDeserializer.java
schnawel007/jsI18n
apache-2.0
1,748
77
codeparrot/github-code
a8a042d969742a0d0b95dc1d8e71161bf7e0cf5de804a95040da743c443c6946
package com.angkorteam.fintech.widget.product.recurring; import org.apache.wicket.Page; import org.apache.wicket.markup.html.WebMarkupContainer; import org.apache.wicket.model.IModel; import org.apache.wicket.model.Model; import com.angkorteam.framework.wicket.extensions.markup.html.tabs.ITab; public class InterestR...
Java
src/main/java/com/angkorteam/fintech/widget/product/recurring/InterestRateChart.java
PkayJava/fintech
apache-2.0
877
38
codeparrot/github-code
c8051f000b0112fc397466708e94c427ad63248125a75c5c38645da54d499741
/** * @license * Copyright Color-Coding Studio. All Rights Reserved. * * Use of this source code is governed by an Apache License, Version 2.0 * that can be found in the LICENSE file at http://www.apache.org/licenses/LICENSE-2.0 */ namespace initialfantasy { export namespace app { /** 列表应用-应用...
TypeScript
ibas.initialfantasy.service/src/main/webapp/bsapp/applicationconfig/ApplicationConfigListApp.ts
color-coding/ibas.initialfantasy
apache-2.0
25,747
500
codeparrot/github-code
93427aa6ce5b2c13b3fb4a225459009ba5417abfdb46f511af0eaa702ec2b379
/* * Copyright (c) 2007, 2015, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ /* * Copyright 2005 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in co...
Java
src/com/sun/org/apache/xerces/internal/jaxp/validation/SoftReferenceGrammarPool.java
itgeeker/jdk
apache-2.0
16,270
436
codeparrot/github-code
fd8d6177802e3350963edf64591c9bdee561585ba8d5dc09f0f20c5eda6dbb12
/* Copyright 2017 Esri * * 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,...
Java
java/find-route/src/main/java/com/esri/arcgisruntime/sample/findroute/MainActivity.java
Esri/arcgis-runtime-samples-android
apache-2.0
12,891
325
codeparrot/github-code
85e34eb5676e1363f41e0f47453b19f88ead10593f1c850529876f0e5e06529f
/* * #%L * %% * Copyright (C) 2011 - 2017 BMW Car IT GmbH * %% * 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 requir...
C++
cpp/libjoynr/basemodel/LibjoynrSettings.cpp
bmwcarit/joynr
apache-2.0
1,866
67
codeparrot/github-code
2318c5928279f70c99cee92e2ac5d47488b58a16cbbe152f44d617d7a382e869
using System; using System.CodeDom.Compiler; using System.Diagnostics; using System.Runtime.Serialization; namespace Alchemy4Tridion.Plugins.Clients.CoreService { [GeneratedCode("System.Runtime.Serialization", "4.0.0.0"), DebuggerStepThrough, DataContract(Name = "ConditionData", Namespace = "http://www.sdltrid...
C#
Client Proxies/CoreService/Tridion.ContentManager.CoreService.Client/ConditionData.cs
Alchemy4Tridion/Alchemy4Tridion
apache-2.0
992
41
codeparrot/github-code
179ef94a4af0db8f714fd3ed27ffccd16e68a957ca3dc9517c8bc41ad2ad8796
package com.topie.core.subscribe; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Properties; import javax.annotation.PostConstruct; import javax.annotation.PreDestroy; import javax.jms.ConnectionFactory; import org.slf4j.Logger; import org.slf4j.L...
Java
src/main/java/com/topie/core/subscribe/SubscribeProcessor.java
topie/topie-oa
apache-2.0
5,144
145
codeparrot/github-code
cea30fdbac3d69c8b9310f217da2ac6c430827f9f921b4e5e29a52f076fb688e
/******************************************************************************* * Copyright 2016 Jalian Systems Pvt. 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:...
Java
marathon-java/marathon-kbmap-tool/src/main/java/net/sourceforge/marathon/kbmap/BannerPanel.java
jalian-systems/marathonv5
apache-2.0
3,539
94
codeparrot/github-code
1feadcd7ac59e0df44e467e5535b100908f44b0c2bc413f3c6226d568c8a3d25
package com.polidea.rxandroidble2.internal.cache; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import com.polidea.rxandroidble2.ClientScope; import com.polidea.rxandroidble2.internal.DeviceComponent; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import...
Java
rxandroidble/src/main/java/com/polidea/rxandroidble2/internal/cache/DeviceComponentCache.java
Polidea/RxAndroidBle
apache-2.0
4,416
146
codeparrot/github-code
bbca76536305c5155a6d542aac22545827d8242451112d3c2239e2ac41a6f250
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Serenity Reports</title> <link rel="shortcut icon" href="favicon.ico"> <link rel="stylesheet" href="font-awe...
HTML
site/serenity/9de7c35f572d4cbce65c345eb87623a1e5397b00facc0b6bb3a5a7b0074ba399.html
EduCaMa/EduCaMa.github.io
apache-2.0
41,900
907
codeparrot/github-code
8fa43987a088c380e549fe4db62ffd84f38f31553cca47740274f52ac736dc10
// Copyright 2018 The kubecfg 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...
GO
cmd/completion.go
ksonnet/kubecfg
apache-2.0
1,771
76
codeparrot/github-code
75364e44c0d7ecee7db4d0901b1682dcd090ae2c1bbc8487c532e7b2995805c3
# This file is part of the CLBlast project. The project is licensed under Apache Version 2.0. This file follows the # PEP8 Python style guide and uses a max-width of 120 characters per line. # # Author(s): # Cedric Nugteren <www.cedricnugteren.nl> import re import json try: from urllib.request import urlopen ...
Python
scripts/database/database/io.py
dividiti/CLBlast
apache-2.0
2,295
67
codeparrot/github-code
06915db625e4e0484113a562e75aa974f578ef1f993ed4cc27d14f0e5c9030ae
<?php /** * Copyright (c) 2013 Thomas Tanghus (thomas@tanghus.net) * This file is licensed under the Affero General Public License version 3 or * later. * See the COPYING-README file. */ namespace OCA\Contacts; use OCP\AppFramework\App as MainApp, OCP\AppFramework\IAppContainer, OCA\Contacts\App, OCA\Contacts...
PHP
apps/owncloud/htdocs/apps/contacts/lib/dispatcher.php
ArcherCraftStore/ArcherVMPeridot
apache-2.0
2,657
77
codeparrot/github-code
46be14463d621f7209b5f3438e096e8db0e126d3304fb5cb7df6713c1d776156
/* * Copyright (c) 2015 Snowplow Analytics Ltd. All rights reserved. * * This program is licensed to you under the Apache License Version 2.0, * and you may not use this file except in compliance with the Apache License Version 2.0. * You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org...
Scala
src/test/scala/com/snowplowanalytics/kinesistee/config/KinesisTeeConfigSchemaSpec.scala
snowplow/kinesis-tee
apache-2.0
2,613
63
codeparrot/github-code
f0585546aeeb3ff2d503638e7829517a481ad1bad6267d98da691126a2dc7e7b
package com.ctrip.xpipe.redis.proxy.session.state; import com.ctrip.xpipe.redis.proxy.Session; import com.ctrip.xpipe.redis.proxy.session.SessionState; import com.ctrip.xpipe.utils.ObjectUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * @author chen.zhu * <p> * May 13, 2018 */ public abstract ...
Java
redis/redis-proxy/src/main/java/com/ctrip/xpipe/redis/proxy/session/state/AbstractSessionState.java
ctripcorp/x-pipe
apache-2.0
1,832
70
codeparrot/github-code
3e10acf33f49ec34df069969cdd92f504d84354a9c3e14b697f222b9556361ba
import { DataTypeFields, FieldType } from '@terascope/types'; import { isNumber, isBigInt, getTypeOf, isArrayLike, TSError } from '@terascope/utils'; import { ListVector } from './ListVector'; import { AnyVector, BigIntVector, BooleanVector, DateVector, FloatVector, GeoJSONVector, GeoPointVector, In...
TypeScript
packages/data-mate/src/vector/utils.ts
terascope/teraslice
apache-2.0
7,129
219
codeparrot/github-code
c72dd107d0fa43e0ddc67e1684762f19da04440f938778a86235af89b47a59c3
/** * Copyright 2011, Big Switch Networks, Inc. * Originally created by David Erickson, Stanford University * * 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://w...
Java
src/main/java/net/floodlightcontroller/core/web/CoreWebRoutable.java
dothub/floodlight
apache-2.0
3,067
66
codeparrot/github-code
193d4a59c67ec8559aae44e0ea0b5a9a412d94b694932c163b3ca01282386c3e
package com.scut.gof.coordinator.main.activity; import android.graphics.Color; import android.os.Bundle; import android.support.design.widget.FloatingActionButton; import android.support.v7.widget.Toolbar; import android.view.View; import com.scut.gof.coordinator.R; import com.scut.gof.coordinator.main.activity.base....
Java
app/src/main/java/com/scut/gof/coordinator/main/activity/ScheduleListActivity.java
newpasung/coordinator
apache-2.0
1,901
59
codeparrot/github-code
5cf05a2834104011210979535a84f95430b509b5e80033df0c70bdb80c94fded
/** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); ...
Java
hbase-server/src/test/java/org/apache/hadoop/hbase/zookeeper/TestZooKeeperMainServer.java
ibmsoe/hbase
apache-2.0
4,469
117
codeparrot/github-code
43f29a2fe938b9e153850ada4f289ac44fc3828d9bde1d481378d431ef8cdef3
/* * Copyright (C) 2015-2017 akha, a.k.a. Alexander Kharitonov * * 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
yakhont/src/main/java/akha/yakhont/technology/rx/Rx.java
akhasoft/Yakhont
apache-2.0
13,519
436
codeparrot/github-code
0c53e0c56ec7621cc621f66f4161afd08096f59f9327ade5ba74d00a6dd2bc59
package com.projects.benjisora.tubapp.data.database; import com.projects.benjisora.tubapp.data.model.Favorites; import com.projects.benjisora.tubapp.data.model.Favorites_Table; import com.projects.benjisora.tubapp.data.model.Path; import com.projects.benjisora.tubapp.data.model.Path_Table; import com.projects.benjisor...
Java
TubApp/app/src/main/java/com/projects/benjisora/tubapp/data/database/Utils.java
benjisora/Tub
apache-2.0
4,406
155
codeparrot/github-code
8a44ac57d277d1d63c2e3798a7c33effb95bc8b6ab869f72ee3c2e3e41cfe85b
<?php class z_mysql_xmlbuilder_altertable{ private $output,$input; public $useAPI_DB = false; function __construct(){ $return = Z_SystemUpdate_Install::getInstane(); if($return != false){ $this->useAPI_DB = & $return->useAPI_DB; } } function input($input){ $this->input = $input; } private function pr...
PHP
mysql/xml/builder/altertable.class.php
iceproductionz/zmod_db_mgr
apache-2.0
4,702
145
codeparrot/github-code
60630f49bdfd982fc26134e61b5b542fa51d1e5797ed22968a9aed193805e1d5
package com.eixox.xml; import java.util.ArrayList; import org.w3c.dom.Element; import org.w3c.dom.NodeList; import com.eixox.reflection.AspectMember; public class XmlAspectMemberCompositeList extends XmlAspectMember { private final XmlAspect childAspect; private final Class<?> childClass; public XmlAspectMembe...
Java
com.eixox.jetfuel/src/main/java/com/eixox/xml/XmlAspectMemberCompositeList.java
EixoX/Jetfuel-Java
apache-2.0
1,093
49
codeparrot/github-code
2269094aeacc8f2ab2e450145bf6a892223e2b7c42834cc34bb49098d6c9b416
/* * Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
Java
aws-java-sdk-acm/src/main/java/com/amazonaws/services/certificatemanager/model/CertificateType.java
dagnir/aws-sdk-java
apache-2.0
1,669
58
codeparrot/github-code
6e91aee3991a4d3ba284df70977685e78f4ee33cfa915730d6224954508aa4c3
/* * 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.test.internal.engine.groups.validation; import static java.lang.annot...
Java
engine/src/test/java/org/hibernate/validator/test/internal/engine/groups/validation/GroupValidationTest.java
shahramgdz/hibernate-validator
apache-2.0
2,938
95
codeparrot/github-code
0e0b2116795cbff42be1473c2876b0db769213e6f6f060cfd8e917bf9143aac5
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable enable using System.Linq; using System.Threading; using Microsoft.CodeAnalysis.Diagnostics; using Micros...
C#
src/Workspaces/Core/Portable/Execution/SerializerService_Asset.cs
reaction1989/roslyn
apache-2.0
6,784
163
codeparrot/github-code
9e84119895c52a79d701ccfe6610dc99afccdb29267e71c485e17747e1fa6a5a
package org.estatio.module.task.dom.task; import javax.inject.Inject; import org.apache.isis.applib.services.factory.FactoryService; import org.apache.isis.applib.services.message.MessageService; import org.apache.isis.applib.services.queryresultscache.QueryResultsCache; /** * Base class for mixins on {@link Task} ...
Java
estatioapp/app/src/main/java/org/estatio/module/task/dom/task/Task_mixinAbstract.java
estatio/estatio
apache-2.0
1,254
48
codeparrot/github-code
2ed03a082c9b5e527d13b557608a1ce075f84a1a33c56c6906bf3b606e136af1
/** * 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
backend/zieook-backend/zieook-mapred-commons/src/main/java/nl/gridline/zieook/mapreduce/HBasePUTFactory.java
beeldengeluid/zieook
apache-2.0
8,055
211
codeparrot/github-code
fdec479ae75c7a3e9d56415f23c6270056fc801a8aaba5c51efd7e254cec01ab
package alien4cloud.paas.wf; import lombok.extern.slf4j.Slf4j; import org.springframework.stereotype.Component; import org.alien4cloud.tosca.model.types.RelationshipType; import org.alien4cloud.tosca.model.templates.NodeTemplate; import org.alien4cloud.tosca.model.templates.RelationshipTemplate; import alien4cloud.p...
Java
alien4cloud-tosca/src/main/java/alien4cloud/paas/wf/UninstallWorkflowBuilder.java
broly-git/alien4cloud
apache-2.0
3,661
63
codeparrot/github-code
9d9b771eb0b5e45fd1c16895a692cc0b38d2a112f0913349bae7b780c1e7a3a1
package com.guoxiaoxing.cloud.music.api; /** * Created by wm on 2016/4/9. */ import android.content.Context; import android.content.SharedPreferences; import android.text.TextUtils; import android.util.Log; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; impor...
Java
cloud/src/main/java/com/guoxiaoxing/cloud/music/api/PersistentCookieStore.java
guoxiaoxing/material-design-music-player
apache-2.0
8,446
238
codeparrot/github-code
a77f5974db3747b021ee2b3a82b154ac028740a476a435b09b0f496f289a7d46
/* * Copyright 2016 Agapsys Tecnologia Ltda-ME. * * 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
src/test/java/com/agapsys/test/CsrfControllerTest.java
agapsys/web-security-framework
apache-2.0
8,070
211
codeparrot/github-code
428f4a6886e8e2307449b0c313badaf6105eae128231e4e23a2df68a108ff046
/** * Copyright (c) 2008-2010 Andrey Somov * * 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 applicab...
Java
src/test/java/org/yaml/snakeyaml/Chapter2_2Test.java
spariev/snakeyaml
apache-2.0
4,645
114
codeparrot/github-code
1d5b764b9e9af5e41561083764c66280db62be37fe1b1a6202b828271848f1f7
"""The HTTP api to control the cloud integration.""" import asyncio from functools import wraps import logging import aiohttp import async_timeout import attr from hass_nabucasa import Cloud, auth, thingtalk from hass_nabucasa.const import STATE_DISCONNECTED import voluptuous as vol from homeassistant.components impo...
Python
homeassistant/components/cloud/http_api.py
joopert/home-assistant
apache-2.0
19,172
609
codeparrot/github-code
5835ae503041c1db9a6036263611cd3ecf3d76d0177e5c7a7c4a8276c7f59a06
--- title: Tags layout: default description: stay hungry, stay foolish header-img: "img/tag-bg.jpg" --- <!-- Page Header --> <header class="intro-header" style="background-image: url('{{ site.baseurl }}/{% if page.header-img %}{{ page.header-img }}{% else %}{{ site.header-img }}{% endif %}')"> <div class="containe...
HTML
tags.html
freerambo/freerambo.github.io
apache-2.0
2,539
79
codeparrot/github-code
1462606ed8b7fa952fed3518a57e310d48a7d1d9745e68f0c0ac0cc1765dd674
package com.e_gineering.maven.gitflowhelper; import org.apache.maven.it.VerificationException; import org.apache.maven.it.Verifier; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.BlockJUnit4ClassRunner; import java.util.Arrays; @RunWith(BlockJUnit4ClassRunner.class) public class Mas...
Java
src/test/java/com/e_gineering/maven/gitflowhelper/MasterSupportBranchIT.java
egineering-llc/gitflow-helper-maven-plugin
apache-2.0
4,055
125
codeparrot/github-code
d393421ddb02c9f89dd4493245a01f059c5429b52c6f140eeca030968195bc46
using System; using System.Collections.Generic; using System.Text; using Xunit.Abstractions; using Xunit.Sdk; namespace Xunit.Categories { [TraitDiscoverer(SystemTestDiscoverer.DiscovererTypeName, DiscovererUtil.AssemblyName)] [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = ...
C#
src/Xunit.Categories/SystemTestAttribute.cs
brendanconnolly/Xunit.Categories
apache-2.0
708
32
codeparrot/github-code
4f400c1f2d3167e3b971b2f625f4ae06af4fa70be3ef1a94ad77d1d85470f396
/* * Copyright 2014-2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
src/main/java/org/docksidestage/dockside/dbflute/bsbhv/pmbean/BsOptionMemberPmb.java
dbflute-test/dbflute-test-active-dockside
apache-2.0
25,929
601
codeparrot/github-code
1350e04c45431b77e48f96c8a9e3812bfbc542a55875b64177ee02df5d13b024
/** * Copyright (C) 2012 KRM Associates, Inc. healtheme@krminc.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 r...
Java
src/main/java/com/krminc/phr/domain/HealthRecord.java
OSEHRA/HealtheMe
apache-2.0
10,285
327
codeparrot/github-code
c9e03108f965ba3ba295f8bd9cd215008d69a33fee7544833b19f6d7c0442817
/* * 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
gshell-core/src/main/java/org/apache/geronimo/gshell/commandline/ExecutingVisitor.java
apache/geronimo-gshell
apache-2.0
4,347
135
codeparrot/github-code
c50b8b689a0c63e7b1f4c9b9f104bfdad0319bd88eeb56b6663d56ca2fa2d662
package com.example.expandablelistview; import android.view.View; import android.widget.Button; import android.widget.ImageView; import android.widget.RelativeLayout; import android.widget.TextView; import android.widget.ToggleButton; public class ViewHolder { public ToggleButton ExpCol; public RelativeLayout toggl...
Java
src/com/example/expandablelistview/ViewHolder.java
jarlen/CustomExpandableListView
apache-2.0
1,293
39
codeparrot/github-code
e0d071b499910842831781efdcfd0ad8fe9f27dd2741d3eb1c50c3885b80693e
package org.grobid.core.utilities.crossref; import java.io.Closeable; import java.io.IOException; import java.net.URISyntaxException; import java.util.Map; import java.util.HashMap; import java.util.List; import java.util.ArrayList; import java.util.concurrent.CountDownLatch; import java.util.concurrent.ExecutorServic...
Java
grobid-core/src/main/java/org/grobid/core/utilities/crossref/CrossrefClient.java
alexduch/grobid
apache-2.0
6,487
179
codeparrot/github-code
7b43a30aac6805c4c363b0793d93ad7f0089cd3415c5b1b10ead277738494ce3
/*! * UI development toolkit for HTML5 (OpenUI5) * (c) Copyright 2009-2016 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ sap.ui.define([ 'jquery.sap.global', './library', 'sap/ui/core/Control','sap/m/Text' ], function(jQuery, library, Control, Text) { ...
JavaScript
Resources/public/sap/m/FeedContent-dbg.js
pro100den/openui5-bundle
apache-2.0
7,023
222
codeparrot/github-code
2e27963ffa037edb3dceceedf9491a9abd7ce544b02d029bf824e677b8a63713
<?php /** * @version CVS: 1.0.0 * @package Com_Akrecipes * @author Rutvik Doshi <rutvik@archanaskitchen.com> * @copyright Copyright (C) 2015. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ // No direct access defined('_JEXEC') or die; jimport('joo...
PHP
com_akrecipes-1.0.0/administrator/views/user/view.html.php
rutvikd/ak-recipes
apache-2.0
2,335
108
codeparrot/github-code
8d84215b37f3d37cb29e05bbd2e5da5c37dbbcd3f6920c0da5dfcc69208eb9ee
package com.marcouberti.iriswatchface; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.content.res.Resources; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.LinearGradien...
Java
wear/src/main/java/com/marcouberti/iriswatchface/IrisFace.java
ubelab/iris_watch_face
apache-2.0
26,863
666
codeparrot/github-code
913944951d4f6c003478499e52c844adbe0975b1c15ee622e71f449004445c7d
/* 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
resource-binary/src/main/java/com/nortal/fhir/binary/BinaryServerFactory.java
nortal/blaze
apache-2.0
1,253
36
codeparrot/github-code
6b1bdb3968c32c57708a135836cad6b646ca365a6942507cfa091140efc2f609
package pl.touk.nussknacker.engine.util.service.query import com.typesafe.config.ConfigFactory import org.scalatest.{FunSuite, Matchers} import pl.touk.nussknacker.engine.ModelData import pl.touk.nussknacker.engine.api._ import pl.touk.nussknacker.engine.api.process.{EmptyProcessConfigCreator, ProcessObjectDependencie...
Scala
engine/flink/executor/src/test/scala/pl/touk/nussknacker/engine/util/service/query/ServiceQueryOpenCloseSpec.scala
TouK/nussknacker
apache-2.0
3,603
103
codeparrot/github-code
af1110b1b606c17393b6020f703ace23465aa52eb24ffed10037037cd40ad6dc
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /* * This is a set Date Manips * Singleton * * Uses: Ext.Date * */ /* global Ext */ var CoreDateUtil = new Object(); CoreD...
JavaScript
server/openstorefront/openstorefront-web/src/main/webapp/client/scripts/util/dateUtil.js
Razaltan/openstorefront
apache-2.0
12,589
438
codeparrot/github-code
162f0238121f83550a5ca67906f3e2e5b5db1d13e49d2e89156f63d2e9f846b2
/////////////////////////////////////////////////////////////////////////////// // PreprocWikiDump.scala // // Copyright (C) 2012 Mike Speriosu, The University of Texas at Austin // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License....
Scala
src/main/scala/opennlp/fieldspring/preprocess/ExtractLinksFromWikiDump.scala
utcompling/fieldspring
apache-2.0
14,843
368
codeparrot/github-code
be90cb63957c0b29f47bc3c3f11ffa7ba65a61788ad334be916918b31fe7d079
# MIT License # # Copyright (c) 2018 chakki # # 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, publi...
Python
hanlp/metrics/chunking/sequence_labeling.py
hankcs/HanLP
apache-2.0
14,144
405
codeparrot/github-code
ae1696a30784c214f4fd61ccf07944e2eb3265b6ac4c4073dc0edfe00b488870
/* * Copyright 2014 Matti Tahvonen. * * 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 agree...
Java
src/main/java/org/vaadin/viritin/ListContainer.java
cbmeeks/viritin
apache-2.0
18,139
549
codeparrot/github-code
e1c2c10f0cd5592a4d0ed6469910f70d8a4549cd75c42f46f29bf6d20097f614
/** * Copyright © 2015 Mercateo AG (http://www.mercateo.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 by...
Java
src/main/java/com/mercateo/common/rest/schemagen/json/mapper/ArrayJsonPropertyMapper.java
Mercateo/rest-schemagen
apache-2.0
1,875
49
codeparrot/github-code
c1332ec32f908da6f2100f3e31d98fe4b8a832fe453a4a952fee56769ec77996
/** * Copyright 2015 Mozilla 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 applicable law or agreed...
TypeScript
src/avm1/lib/AVM1Rectangle.ts
mbebenita/shumway
apache-2.0
9,727
330
codeparrot/github-code
a55c7c78c603289422619ac846ea504ca2448c0fe35a8145648cf155a41badbb
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>15.6. getopt — C-style parser for command line opti...
HTML
Documentation/py2/library/getopt.html
leesavide/pythonista-docs
apache-2.0
24,234
309
codeparrot/github-code
28ee3dc7be314ece3b0f484ec0ac116bb4a97158fda31338ae8eaf0320565782
/* * Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. */ package com.intellij.openapi.roots.ui.configuration.projectRoot; import com.intellij.facet.Facet; import com.intellij.ide.CommonActionsManager; import com.intellij.ide.Tre...
Java
java/idea-ui/src/com/intellij/openapi/roots/ui/configuration/projectRoot/BaseStructureConfigurable.java
leafclick/intellij-community
apache-2.0
13,510
428
codeparrot/github-code
c7b1d33cac8c270a853afdaa39ae7578b5f051f05d52dc02caa30b334715229f
/* * Copyright (c) 2013 Mike Heath. 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 re...
Java
cli/src/main/java/cloudeventbus/cli/Server.java
cloudeventbus/cloudeventbus
apache-2.0
4,434
123
codeparrot/github-code
775d417f5b1d2a4c160902c6baf33b06086446ca5fc170f643da0bf301c8d3cb
// // Copyright 2013 Mike Friesen // // 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
src/main/java/ca/gobits/bnf/parser/BNFParserState.java
mfriesen/BNFParserJava
apache-2.0
7,505
320
codeparrot/github-code
f92e2c7fb8cd6d6cd73dad08a040fdf561a85adcbb5abd3638206c34f7c84bd1
<?php /* * Poggit * * Copyright (C) 2016-2018 Poggit * * 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...
PHP
src/poggit/ci/api/DynamicBuildHistoryAjax.php
poggit/poggit
apache-2.0
3,840
88
codeparrot/github-code
6e34c03fcdc2ac077f911e4c220307460daaf4108bc1ab9cc0eb30111f456a5b
/* * Copyright 2009 Kjetil Valstadsve * * 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
lang/piji/src/main/java/vanadis/lang/piji/Invoker.java
kjetilv/vanadis
apache-2.0
5,968
152
codeparrot/github-code
2becae6c753bfef1b5542b1fc3cecec3e1b4393e7f7c28fd0c6b451106d6714b
package br.com.musicas.opus05.havinaball; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.jfugue.Pattern; import br.com.musicas.main.Instrumento; import br.com.musicas.main.Opus; public class Opus05 extends Opus{ private List<Instrumento> instrumentos = new ArrayList<Ins...
Java
album2/workspace/Fascinating/src/br/com/musicas/opus05/havinaball/Opus05.java
christianpeixoto/linguanervosa
apache-2.0
1,114
60
codeparrot/github-code
838147cea8262c9a5fb7d38b8df3e1f7dc12fcbea25af3e5c6c8fa35a58cdd4d
/** * Created by Furkan Mumcu on 15.06.2016 * A Basic example to show how to use dmn tables with camunda's dmn classes. * */ /** Copyright [2016] [Furkan Mumcu] 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 co...
Java
src/main/java/com/example/BasicDmnApplication.java
furkanmumcu/DMN-Demo
apache-2.0
4,656
131
codeparrot/github-code
41a1c55d7e7b53e82db3812d3a3b07a31b5621f3f10c4e4bcdf186e46b28d11c
<?php /** * User: yongli * Date: 16/9/23 * Time: 下午3:41 * Email: 626375290@qq.com * Copyright: 川雪工作室 */ namespace Console\Queue; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; use RedisQueue\ResQueue; cla...
PHP
app/Console/Queue/ListFailedCommand.php
ly2513/YPPHP
apache-2.0
2,149
64
codeparrot/github-code
3bc1f7d9c49ebc3f0870c7d8d4170aa600198c8877dd0ebacb5355abdd6b979f
/* * Copyright (C) 2009 Andre Wehe * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is dis...
C
MulRFSupertree/tree.h
ruchiherself/MulRFRepo
apache-2.0
50,771
1,252
codeparrot/github-code
9a55a598687fe2d8cd9011d705d7ba39783d6ac63d54c56002f3cff1b216e7e8
package com.snail.model; public class PageBean { private int page; // 第几页 private int rows; // 每页记录数 @SuppressWarnings("unused") private int start; // 起始页 public PageBean(int page, int rows) { super(); this.page = page; this.rows = rows; } public int getPage() { return page; } public void setPag...
Java
src/com/snail/model/PageBean.java
Xianyu317/WXSnail
apache-2.0
509
32
codeparrot/github-code