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
7e0b05f789ab45b6abfaaf7a04f1aa12119c440444ecbfe12e79354547da6c1c
package de.javapro.netcms.frontend.wicket; import org.apache.wicket.markup.html.DynamicWebResource; import org.apache.wicket.util.string.StringValueConversionException; import org.apache.wicket.util.value.ValueMap; import com.datazuul.commons.cms.backend.NetCMSRepository; import com.datazuul.commons.cms.domain.Domain...
Java
src/main/java/de/javapro/netcms/frontend/wicket/ImageResource.java
datazuul/com.datazuul.webapps--netcms
apache-2.0
1,153
38
codeparrot/github-code
479aa973a6eec6f4f8949df88f47a16c982e84112588f1b37c78e3bef0545c82
/* * 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
gobblin-runtime/src/main/java/gobblin/runtime/mapreduce/MRTask.java
lbendig/gobblin
apache-2.0
4,672
129
codeparrot/github-code
cfcfe6041ab0074d0a792409ac7e359054022b2ddeda3113bfef8a45ac68c7d1
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
C
Respect/ResourceReference.h
wader/respect
apache-2.0
1,951
40
codeparrot/github-code
14f48e47de8107a614eab57a4689708a7bbe9ec0d178adad9a88a5809b8317d9
using System; using System.ComponentModel; namespace FastQuant.Indicators { [Serializable] public class R : Indicator { protected int length; [Category("Parameters"), Description("")] public int Length { get { return th...
C#
src/FastQuant/Indicators/R.cs
fastquant/fastquant.dll
apache-2.0
1,592
58
codeparrot/github-code
1cba33ef5e91d3f18a17d4f077286aca70478882410c374292d0095423ad7c28
package AST; import java.util.HashSet; import java.util.LinkedHashSet; import java.io.File; import java.util.*; import beaver.*; import java.util.ArrayList; import java.util.zip.*; import java.io.*; import java.util.Stack; import java.util.regex.Pattern; import java.io.FileOutputStream; import java.io.IOException; im...
Java
GOP/GranuleJIDE/src/AST/VariableArityParameterDeclaration.java
xjtu3c/GranuleJ
apache-2.0
7,777
289
codeparrot/github-code
5b1796b33262827ff9d0672ae1134945fba523893112953a19c8974380a4d888
// Copyright 2020 Huawei Technologies Co.,Ltd. // // 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 Apach...
GO
cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/core/config/http_config.go
kubernetes/autoscaler
apache-2.0
3,257
133
codeparrot/github-code
0c51950b051f8ce02daf7df07aa6b6a8259d4a83271525b39fd4512b7f2b20bc
/* * Copyright (C) 2013 salesforce.com, 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 ...
JavaScript
aura-components/src/main/components/ui/inputDate/inputDateTest.js
badlogicmanpreet/aura
apache-2.0
7,062
174
codeparrot/github-code
8041d104210e30ebd1b72fc74a3e4c167334c49793c7389dab4994abe8013444
/********************************************************************** Copyright (c) 2016 Andy Jefferson and others. 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://...
Java
jakarta/rdbms/src/java/org/datanucleus/samples/annotations/embedded/collection/EmbeddedCollElement.java
datanucleus/tests
apache-2.0
2,303
88
codeparrot/github-code
b85e48fc6dc91d08a79e9cee856934e22f146a9dd982100458cb60c3166838ec
package models; import java.util.*; import javax.persistence.*; //import play.db.ebean.*; import play.data.validation.*; import com.avaje.ebean.*; /** * Company entity managed by Ebean */ @Entity public class Company extends Model { private static final long serialVersionUID = 1L; @Id public Long id...
Java
play24/java/computer-database/app/models/Company.java
play2-maven-plugin/play2-maven-test-projects
apache-2.0
948
43
codeparrot/github-code
58def97856f7eeaee9a0ce4f97becae78819de1cbde779b5ebaab6750a463103
/* * 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/main/java/org/elasticsearch/search/facet/terms/strings/HashedAggregator.java
lmenezes/elasticsearch
apache-2.0
9,993
280
codeparrot/github-code
9306a7c13ed23350d903aa29e3a4575744afe6bdaf4bed64e89de4fe77c53a72
package de.androidbytes.recipr.data.provider.category; import android.net.Uri; import android.provider.BaseColumns; import de.androidbytes.recipr.data.provider.ReciprProvider; import de.androidbytes.recipr.data.provider.user.UserColumns; /** * A category is used to group various favoriteRecipes. */ public class Ca...
Java
data/src/main/java/de/androidbytes/recipr/data/provider/category/CategoryColumns.java
chris115379/Recipr
apache-2.0
1,444
50
codeparrot/github-code
7455ba37bc8f0839dba2ebfc526e8dcdcb6706e8e59333630a7b262b693474f8
package com.ctrip.xpipe.redis.console.spring; import com.ctrip.xpipe.api.foundation.FoundationService; import com.ctrip.xpipe.redis.checker.*; import com.ctrip.xpipe.redis.checker.alert.AlertManager; import com.ctrip.xpipe.redis.checker.cluster.AllCheckerLeaderElector; import com.ctrip.xpipe.redis.checker.cluster.Grou...
Java
redis/redis-console/src/main/java/com/ctrip/xpipe/redis/console/spring/CheckerContextConfig.java
ctripcorp/x-pipe
apache-2.0
9,426
211
codeparrot/github-code
a3c8fccc71100d1263f240140b766d6b604554d9836e4848fe85dc7a29421ce1
/* * 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
platform/lang-impl/src/com/intellij/codeInsight/navigation/BackgroundUpdaterTask.java
youdonghai/intellij-community
apache-2.0
5,089
172
codeparrot/github-code
cc2d4385c10f8376e13a36204ad8bb6461ab896ed2d3d80820a7ba9ef15c3fe6
/* * Copyright 2016 Netbrasoft * * 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 writi...
Java
src/main/java/br/com/netbrasoft/gnuob/generic/AbstractType.java
bendraaisma/gnuob-soap
apache-2.0
3,491
123
codeparrot/github-code
d094bd16bcaa55557ccd2e5e623783c778a10f87eff98c4d8b7c8d59729a9365
/** * TODO: Rename. Refactor with VerticalLabelNames. */ Ext.define('HorizontalLabelNames', { alias: "widget.HorizontalLabelNames", extend: 'Ext.panel.Panel', layout: 'absolute', items: [ { xtype: 'component', autoEl: 'canvas', itemId: 'canvas', ...
JavaScript
aspiredb/src/main/webapp/scripts/lib/matrix2viz/js/HorizontalLabelNames.js
ppavlidis/aspiredb
apache-2.0
2,001
76
codeparrot/github-code
afa185279f4afdb1f84e0c801712c2ea1b483f55b553461b318ca01afa011f71
/*-------------------------------------------------------------------------+ | | | Copyright 2005-2011 The ConQAT Project | | | | Licensed u...
Java
org.conqat.engine.graph/src/org/conqat/engine/graph/concentrate/GraphConcentrator.java
vimaier/conqat
apache-2.0
7,454
199
codeparrot/github-code
0d80094b6c0346dc00d0e9769b9c247cf28b1c798be309bf85e7884313838da3
using Newtonsoft.Json; using Stripe.Infrastructure; using System; using System.Collections.Generic; namespace Stripe { public class StripeApplicationFeeRefund { [JsonProperty("amount")] public int Amount { get; set; } [JsonProperty("created")] [JsonConverter(typeof(StripeDateT...
C#
src/Stripe/Entities/StripeApplicationFeeRefund.cs
weizensnake/stripe.net
apache-2.0
1,112
41
codeparrot/github-code
92f04710192ab54b1c81b680b7cc6448ef533b955eceedcb6e43484748bd41da
/* * Copyright 2016-present Open Networking Laboratory * * 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
incubator/net/src/test/java/org/onosproject/incubator/net/virtual/impl/VirtualNetworkTopologyManagerTest.java
LorenzReinhart/ONOSnew
apache-2.0
28,674
642
codeparrot/github-code
d167ab10ab6393f8089b66d4fe6f7f37a3105bb408fd99f90c2ae2a52cf9a43c
var ns4 = (document.layers)? true : false; var ie4 = (document.all)? true : false; // var ie4 = (document.all && !document.getElementById)? true : false; // var ie5 = (document.getElementById && document.all)? true : false; var ns6 = (document.getElementById && !document.all)? true: false; var w3c = (document.getElem...
JavaScript
web/zeprs/js/apgar.js
chrisekelley/zeprs
apache-2.0
10,823
392
codeparrot/github-code
e98fc8850777a1b8f36035a471af4c95e77f98f814dd3ef98b3a9e794a8af3a5
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content="Ionic makes it incredibly easy to build beautiful and interactive mobile apps using HTML5 and AngularJS."> <meta name="keywords" content="html5,ja...
HTML
_site/docs/1.0.0-rc.0/api/directive/ionSideMenuContent/index.html
qintengfei/ionic-site
apache-2.0
30,373
1,216
codeparrot/github-code
9b208278f37f6d0fa5daa3bb55d3d7da4e9f9cfea0c2cf66055d60a602c8bb62
/* * 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
gobblin-data-management/src/test/java/org/apache/gobblin/data/management/conversion/hive/converter/HiveAvroToOrcConverterTest.java
jenniferzheng/gobblin
apache-2.0
13,128
240
codeparrot/github-code
7709fdb6fd65d584e0a3ec705507a07272e13f0488d6559a5ed3e9570debdba2
/*************************************************************************** Copyright (c) 2016, EPAM SYSTEMS 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...
Java
services/dlab-model/src/main/java/com/epam/dlab/dto/keyload/KeyLoadStatus.java
epam/DLab
apache-2.0
1,894
60
codeparrot/github-code
74faa63f9583d6414eb1e3f265286906761d4cb62909ab5c42df7ac548eaacdd
"""Compose ACLs on ports.""" # Copyright (C) 2013 Nippon Telegraph and Telephone Corporation. # Copyright (C) 2015 Brad Cowie, Christopher Lorier and Joe Stringer. # Copyright (C) 2015 Research and Education Advanced Network New Zealand Ltd. # Copyright (C) 2015--2018 The Contributors # # Licensed under the Apache Lic...
Python
faucet/valve_acl.py
wackerly/faucet
apache-2.0
6,809
175
codeparrot/github-code
81351da267392e2ea5aabeb754a06d60dcf52f0ed6e09909a1e44a16f384fbf7
package main // Test of promotion of methods of an interface embedded within a // struct. In particular, this test exercises that the correct // method is called. type I interface { one() int two() string } type S struct { I } type impl struct{} func (impl) one() int { return 1 } func (i...
GO
src/code.google.com/p/go.tools/ssa/interp/testdata/ifaceprom.go
dolotech/bullfight
apache-2.0
912
59
codeparrot/github-code
138766fefddc01e4a214f55ec7deec7b78d490e6816b1016fe2454d0a7866199
/* Copyright 2017 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
C++
tensorflow/compiler/aot/codegen.cc
xzturn/tensorflow
apache-2.0
32,315
817
codeparrot/github-code
803933abbfa8ebcceb581a4721ca5b1599bebb99d6912bb7085caeebdc57cd55
<!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <meta name="renderer" content="webkit|ie-comp|ie-stand"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,gprs-scalable=no" /> <meta http-equiv="Cache...
HTML
Application/Jy_admin/View/CdkGoodsConfigure/add.html
YeGithubAdmin/JYHD
apache-2.0
9,265
243
codeparrot/github-code
fb90efc41e249315cac61490078a23c109cd36868399f820bbc737c7b5e273f7
/* Copyright 2017 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
C
tensorflow/python/eager/pywrap_tfe.h
dyoung418/tensorflow
apache-2.0
5,814
121
codeparrot/github-code
68a84a2ff8467381fb19821ad69a5933625ed7a29aa1f0c86739bda1b34bc59a
package com.bytegriffin.get4j.download; import java.util.List; import java.util.Map; import com.bytegriffin.get4j.net.http.OkHttpClientEngine; import com.google.common.collect.Lists; import com.google.common.collect.Maps; public class DownloadFile { private String fileName; private byte[] content; private long c...
Java
get4j-core/src/main/java/com/bytegriffin/get4j/download/DownloadFile.java
bytegriffin/Get4J
apache-2.0
2,390
111
codeparrot/github-code
2dde0eafbfb1a2edfbf989c4eb56eb62269ddd5d520eca7335672eb98bbe7ba1
import React, { PropTypes } from 'react'; import c from '../../pages/common.css'; import cx from 'classnames'; class ApplicationPanel extends React.Component { static propTypes = { handleChange: React.PropTypes.func, value: React.PropTypes.string }; render() { const {handleChange, value} = this.pro...
JavaScript
components/Canvas/ApplicationPanel.js
priley86/labs-console
apache-2.0
788
30
codeparrot/github-code
627e7d419171a2e8483f2c310abccb1670bc17771a3f988b45ea1948e3583459
<?php namespace UMRA\Bundle\MemberBundle\Services; use FOS\UserBundle\Model\UserManagerInterface; /** * Executes some manipulations on the users * * @author Max Fierke <max@maxfierke.com> * @author Christophe Coevoet <stof@notk.org> * @author Luis Cordova <cordoval@gmail.com> */ class UserManipulator extends \...
PHP
src/UMRA/Bundle/MemberBundle/Services/UserManipulator.php
umnretirees/membership-platform
apache-2.0
4,739
179
codeparrot/github-code
ed13952fec60dccbe926b94895c29643e15881e3d313aaed4b747a1102776d55
/** * Copyright (c) 2011 Martin M Reed * * 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 ...
Java
signingserver-bb/src/main/java/net/hardisonbrewing/signingserver/service/icon/SVGService.java
MartinMReed/signingserver-bb
apache-2.0
3,052
82
codeparrot/github-code
efe0f0d565b2bdf14530d337af2f8969f5febe8957ce290517cde3fd328cbfe3
package org.abins.platform.core.service.impl; import java.util.List; import java.util.Map; import org.abins.platform.core.dao.IAPermissionDao; import org.abins.platform.core.dao.cache.IRedisDao; import org.abins.platform.core.entity.APermission; import org.abins.platform.core.exception.APermissionException; ...
Java
abins/src/main/java/org/abins/platform/core/service/impl/APermissionServiceImpl.java
tzou24/abins
apache-2.0
3,565
113
codeparrot/github-code
21bc7ec68fed46e9cf16e723dbace5ddaef820b46e092b845faf3c9843f01942
package run.var.teamcity.cloud.docker.util; import org.junit.Test; import run.var.teamcity.cloud.docker.TestResourceBundle; import java.util.MissingResourceException; import java.util.ResourceBundle; import static org.assertj.core.api.Assertions.*; public class ResourcesTest { @Test public void invalidCons...
Java
server/src/test/java/run/var/teamcity/cloud/docker/util/ResourcesTest.java
JeanRev/TeamcityDockerCloudPlugin
apache-2.0
5,116
147
codeparrot/github-code
b1eab0ec7bda4bfada6978d8cfe66a4ae100db62a02bd3fa8f85cea9bdf12bc7
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
C++
src/linux/systemd.cpp
asamerh4/mesos
apache-2.0
9,587
336
codeparrot/github-code
aeaad338588a187f8c655f8ac37ad7b33560fd345541b3629bdb072f2af06d48
/** * @license * Copyright 2021 Google LLC. 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ...
TypeScript
shared/calculators/segmentation_smoothing.ts
tensorflow/tfjs-models
apache-2.0
4,985
147
codeparrot/github-code
360e6a9ae75e207f7cdfcc362a8b43ef752d2f9eae9fd23a5101b04e0f0278f6
/* * Copyright 2013 Amadeus s.a.s. * 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...
JavaScript
test/aria/templates/section/sectionAttributes/SectionAttributesTestCase.js
vcarle/ariatemplates
apache-2.0
3,140
80
codeparrot/github-code
dba40de540256056c0af8c6cc65160449f0592d10194d5b52c70479ffd028d46
package com.suscipio_solutions.consecro_mud.Abilities.Prayers; import java.util.List; import java.util.Vector; import com.suscipio_solutions.consecro_mud.Abilities.interfaces.Ability; import com.suscipio_solutions.consecro_mud.Abilities.interfaces.MendingSkill; import com.suscipio_solutions.consecro_mud.Common.interfa...
Java
com/suscipio_solutions/consecro_mud/Abilities/Prayers/Prayer_MassFreedom.java
ConsecroMUD/ConsecroMUD
apache-2.0
4,610
128
codeparrot/github-code
655b26476066ebcf23f191b7ce2f23fadd8a2e6df1cf44798b15bcdbcd416712
/* * Copyright 2021 VMware, 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
Java
micrometer-binders/src/test/java/io/micrometer/binder/cache/CaffeineStatsCounterTest.java
micrometer-metrics/micrometer
apache-2.0
3,644
105
codeparrot/github-code
24c3ac3178484bbfc1fbb3faa04aa984acba596c1d2ab98a9556345f080e3c0d
/* * 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
beeline/src/test/org/apache/hive/beeline/TestBeelineArgParsing.java
b-slim/hive
apache-2.0
13,992
385
codeparrot/github-code
6d18a007b6c3c84b0fa5358aa8cdcb5732a674c5cb808a360c178a17440c752e
/** * Copyright 2012-2014 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 applic...
Java
src/test/java/pl/hycom/pip/messanger/handler/processor/FindKeywordToAskProcessorTest.java
maciejole/fBot
apache-2.0
8,464
185
codeparrot/github-code
488a6b8105aa379a2440d17d2965f8b7bfbec1403cdf4ab40ce2ab39eb5b4834
import net.itarray.automotion.tools.driver.DriverHelper; import net.itarray.automotion.tools.driver.WebDriverFactory; import net.itarray.automotion.tools.helpers.EnvironmentHelper; import net.itarray.automotion.validation.ResponsiveUIValidator; import net.itarray.automotion.validation.properties.Padding; import org.ass...
Java
src/test/java/ResponsiveValidatorCompatibleTest.java
dzaiats/java.automation.library
apache-2.0
6,307
152
codeparrot/github-code
8ec9ce020372ee2278463e0d57824ca156400a7e4f624a77cdf02ae0147cb75b
<?php include './conexion.php'; @session_start(); if (!empty($_SESSION['user'])) { include './securityPermisionHandle.php'; if (!checkUserPermissions(array('matr'), $_SESSION['userid'])) { /////// Accion de salida $respuesta['estado'] = "0"; $respuesta['mensajelog'] = 'Error en la ...
PHP
php/estudiantesGetLiveSearch.php
tavog96/BioRhythm
apache-2.0
2,525
78
codeparrot/github-code
593c5fa54d29bc3591aecde5c8c39861c88c4d190935a0702799aedda063375a
<html> <head> <script> var PREBID_TIMEOUT = 700 var googletag = googletag || {}; googletag.cmd = googletag.cmd || []; /* pbjs.initAdserver will be called either when all bids are back, or when the timeout is reached. */ function initAdserver() { if (pbjs.initAdserverSet) retur...
HTML
integrationExamples/gpt/gpt_aliasingBidder.html
yellowhammer/Prebid.js
apache-2.0
5,750
185
codeparrot/github-code
b5b7c98f6194711ef6994179f3c568fa4f3a407a77ccada9dff99db66baafb04
/* * Licensed to IAESTE A.s.b.l. (IAESTE) under one or more contributor * license agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. The Authors * (See the AUTHORS file distributed with this work) licenses this file to * You under the Apache Lice...
Java
iws-api/src/main/java/net/iaeste/iws/api/responses/exchange/FetchGroupsForSharingResponse.java
IWSDevelopers/iws
apache-2.0
3,167
89
codeparrot/github-code
565806d9f613d6431f747336d7cb8ebb2f17f520cd8ad88d464569b48cf1c66d
(function () { 'use strict'; angular.module('xos.dashboardManager') .directive('dashboardForm', function(){ return { restrict: 'E', scope: {}, bindToController: true, controllerAs: 'vm', templateUrl: 'templates/dashboard-form.tpl.html', controller: function($stateParams, $...
JavaScript
views/ngXosViews/dashboardManager/src/js/dashboard-form.directive.js
zdw/xos
apache-2.0
4,386
155
codeparrot/github-code
1899c408e384edff1b78ffc1b02c01dbcd94216087bc80cea3238d88605bfcec
/* * 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/api/MLContext.java
Wenpei/incubator-systemml
apache-2.0
58,727
1,457
codeparrot/github-code
233ae5ccc2d871e46ff9011d4b88cf8fd7d0c985b36f9816c0763ddbb465a2ad
/* * Copyright 2012 LinkedIn, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
Java
src/com/linkedin/parseq/CallableTask.java
jodzga/parseq
apache-2.0
1,848
66
codeparrot/github-code
733d210bce7c140c2bdebf882734b464d2a6f18a860498ae06c2bca1ec5e8a0f
/* * Copyright 2000-2009 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Java
java/idea-ui/src/com/intellij/openapi/roots/ui/configuration/DefaultModuleConfigurationEditorFactoryImpl.java
jexp/idea2
apache-2.0
2,085
51
codeparrot/github-code
6f0142e28bc61a498630edc1a8bba4b9f7974f33d72760f6fef95063592702d0
package rancher import ( "github.com/Sirupsen/logrus" "github.com/docker/libcompose/logger" "github.com/docker/libcompose/lookup" "github.com/docker/libcompose/project" ) func NewProject(context *Context) (*project.Project, error) { context.ConfigLookup = &lookup.FileConfigLookup{} context.EnvironmentLookup = ...
GO
rancher/project.go
wlan0/rancher-compose
apache-2.0
757
35
codeparrot/github-code
d1c1088afe21bf254f2497eccb00d6a91e7300bdc81ed6dab30f66ca757b6e85
/* * Copyright 2011-2018 B2i Healthcare Pte Ltd, http://b2i.sg * * 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
snomed/com.b2international.snowowl.snomed.datastore/src/com/b2international/snowowl/snomed/core/store/SnomedAttributeValueReferenceSetMemberBuilder.java
b2ihealthcare/snow-owl
apache-2.0
1,449
41
codeparrot/github-code
afdae31455010c8ef643da0721d9a090a7c226cc6ccde8039272c6dc4477e6d3
/* * 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
linq4j/src/test/java/org/apache/calcite/linq4j/MemoryEnumerableTest.java
xhoong/incubator-calcite
apache-2.0
2,628
71
codeparrot/github-code
288466ee07b52bbc34ec5741ea072a3c2c00488409983a76900dbb7aa8159a3d
/** * 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
common/src/main/java/org/apache/sqoop/schema/type/Bit.java
vybs/sqoop-on-spark
apache-2.0
1,473
54
codeparrot/github-code
f44f930ca21e79bbcc25b845012560a7e025ea2911bc59e4a074f874e7c79d13
/* Copyright 2016 Richard Robinson @ NHS Digital <rrobinson@nhs.net> 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
MediPiPatient/MediPi/src/main/java/org/medipi/PollDownloads.java
rprobinson/MediPi
apache-2.0
8,911
170
codeparrot/github-code
2b8c620b1e11e695a49459e6e52068548ea0b88599a4796348230f4f7b4ee859
from __future__ import print_function ################################################################### # Copyright 2013-2017 All Rights Reserved # Authors: The Paradrop Team ################################################################### import sys from paradrop.base import settings from paradrop.lib.utils.pd_...
Python
paradrop/daemon/paradrop/core/chute/chute_storage.py
ParadropLabs/Paradrop
apache-2.0
3,342
110
codeparrot/github-code
d2cc8140afba0ddf9ffb6a4e2bee49aab38439ea5b80e3df42479e3ffc90cf5c
package reversi.server; import java.io.IOException; import java.io.PrintWriter; import base.models.IOModel; import reversi.models.game.ReversiInput; /** * Class that wraps up the server responses. * @author dereekb * */ public class ReversiServerResponse { public enum ServerResponseType { ServerResponseTyp...
Java
Reversi/src/reversi/server/ReversiServerResponse.java
travisolbrich/315-P2-Reversi
apache-2.0
2,394
96
codeparrot/github-code
13273ecb6f2d82d5ccd7faa67a2e083fd0d6438735b1209d53c64b1ef4f78a31
/* * Copyright 2014-2019 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-cognitoidp/src/main/java/com/amazonaws/services/cognitoidp/model/AdminDisableUserResult.java
jentfoo/aws-sdk-java
apache-2.0
2,458
76
codeparrot/github-code
de898aa9242ba4429e4ed8eacde034a24d0c38b5bf6e0d10504fa629f455a7c6
package Algorithms.Strings.Gemstones; import static org.junit.Assert.assertEquals; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.PrintStream; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import org.junit.After; import org.junit.Befo...
Java
src/Algorithms/Strings/Gemstones/SolutionTest.java
drz0910/hackerrank
apache-2.0
1,691
55
codeparrot/github-code
4d9d11c5bebbfa86b1dd2cb7522e9746a1f501ae6675c4fbaa230314f0edb173
package com.lockerfish.sunshine; import android.content.Intent; import android.database.Cursor; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.LoaderManager.LoaderCallbacks; import android.support.v4.content.CursorLoader; import android.support.v4.content.Loader; import...
Java
app/src/main/java/com/lockerfish/sunshine/DetailFragment.java
lockerfish/mysunshine
apache-2.0
10,553
252
codeparrot/github-code
cec308d22dd5bae5de15e9b7231fd96a8769ad19a5c2c248cd645985e1a3a11b
// Copyright 2016 Never Lee. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package goyar import ( "bytes" "encoding/binary" "encoding/json" "fmt" "io" "io/ioutil" "net/http" "sync" ) // YHClient yar http client type YHClient struc...
GO
httpclient.go
neverlee/goyar
apache-2.0
3,022
137
codeparrot/github-code
b723f6913d67159553861222bfa014bc5205b61bfb2ab5992723f8f68eb0f15b
// Copyright 2017 Istio Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to i...
GO
test/util/kubernetes.go
kyessenov/pilot
apache-2.0
3,260
125
codeparrot/github-code
fbb7d62236c60bceae416fb676f8b2b015c7cddd9df74e5b6e01b26eb0c3d796
package com.yanglin.test; import org.junit.Before; import org.junit.Test; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; import com.yanglin.service.UserServiceI; /** * @desc 类功能描述: * @author devuser * @createTime 2016年8月15日 上午11:32...
Java
src/test/java/com/yanglin/test/ExportTaiheJson.java
ThomasYangLin/DbToJson
apache-2.0
903
38
codeparrot/github-code
6cbd261d0dc0978b8d7c4cfde69ca446a47ae2706dcde33da261ad09b5432955
package ru.stqa.pft.github.mantis.appmanager; import org.apache.commons.net.ftp.FTPClient; import java.io.File; import java.io.FileInputStream; import java.io.IOException; /** * Created by uttabondarenko on 16.02.17. */ public class FtpHelper { private final ApplicationManager app; private FTPClient ftp; p...
Java
mantis-test/src/test/java/ru/stqa/pft/github/mantis/appmanager/FtpHelper.java
yutta13/java_36
apache-2.0
1,077
39
codeparrot/github-code
93466d34ee6805eba8e5912099410ae0abfc0aeec3636d226b54958b54cc2f64
/******************************************************************************* * Copyright 2015-2021 Sergey Karpushin * * 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
summerb-easycrud/src/main/java/org/summerb/easycrud/impl/dataset/DataSetUpdaterOnEntityChangedEventImpl.java
skarpushin/summerb
apache-2.0
2,755
73
codeparrot/github-code
279415d905495474d97f7f078c47f44665b77db0608ce5a785f749498ad1b0f7
// [[[[INFO> // Copyright 2015 Epicycle (http://epicycle.org, https://github.com/open-epicycle) // // 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...
C#
projects/Epicycle.Commons_cs-Test/Collections/ReadOnlyListWrapperTest.cs
open-epicycle/Epicycle.Commons-cs
apache-2.0
3,693
117
codeparrot/github-code
49388d56090ec139caa46d51a863485b46fdd0007bb09b89525cec52a4c9bcf4
/* * 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-hive-metastore/src/test/java/com/facebook/presto/hive/metastore/TestRecordingHiveMetastore.java
twitter-forks/presto
apache-2.0
12,796
306
codeparrot/github-code
893bc53d68d9550613694ecab443accdf038c71c32173dd4b705970d9cdac37d
<?xml version="1.0" encoding="utf-8"?> <!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" xml:lang="en" lang="en"> <head> <title>File: exam_group.rb</title> <meta http-equiv="Content...
HTML
doc/app/files/app/models/exam_group_rb.html
Fedena/XueDu
apache-2.0
2,102
101
codeparrot/github-code
68313fd8f19896d9617f6d4525f86865b5b2bfc53b6a4f98cf3783672dd5842e
/* * Copyright (c) 2016 Intel Corporation * * SPDX-License-Identifier: Apache-2.0 */ /** * @file Sample app to demonstrate PWM. * * This app uses PWM[0]. */ #include <zephyr.h> #include <misc/printk.h> #include <device.h> #include <pwm.h> #if defined(CONFIG_SOC_STM32F401XE) || defined(CONFIG_SOC_STM32F412ZG)...
C
samples/basic/blink_led/src/main.c
punitvara/zephyr
apache-2.0
2,116
92
codeparrot/github-code
8a56893b23bce3cc29f4f736a68064ce29c210e3c7cf1d050cba0337f2ef6d46
package com.hazelcast.simulator.worker.testcontainer; import com.hazelcast.core.HazelcastInstance; import com.hazelcast.simulator.common.TestCase; import com.hazelcast.simulator.common.TestPhase; import com.hazelcast.simulator.protocol.connector.WorkerConnector; import com.hazelcast.simulator.test.BaseThreadState; imp...
Java
simulator/src/test/java/com/hazelcast/simulator/worker/testcontainer/TimeStepRunStrategyIntegrationTest.java
Donnerbart/hazelcast-simulator
apache-2.0
5,183
152
codeparrot/github-code
4acb706653a35f609dde10109ef1caff237e9d2b0c64926c0fa44d260fc4fb5c
<?php $cssAnsScriptFiles = array( //X-editable '/plugins/x-editable/css/bootstrap-editable.css', '/plugins/x-editable/js/bootstrap-editable.js', //wysihtml '/plugins/wysihtml5/bootstrap-wysihtml5-0.0.2/bootstrap-wysihtml5-0.0.2.css', '/plugins/wysihtml5/bootstrap-wysihtml5-0.0.2/wysiwyg-color.css', '/plugins/...
PHP
views/job/jobSV.php
pixelhumain/communecter
apache-2.0
14,158
368
codeparrot/github-code
cc75afdbc7815a3c5a50d2a24a783958f028c8b59fe51da0131e2c35e4d5350b
// Limit this example to only compatible platforms. #[cfg(any( target_os = "windows", target_os = "macos", target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "netbsd", target_os = "openbsd" ))] fn main() { use std::{thread::sleep, time::Duration}; use s...
Rust
examples/window_run_return.rs
tomaka/winit
apache-2.0
1,758
64
codeparrot/github-code
93b5622a507789d617d45db27d93629b10e828e66a23d2655d94849261b41bcb
/***************************************************************************** Simple TCP (stream; HTTP) client This code is public domain (no copyright). You can do whatever you want with it. *****************************************************************************/ #include <string.h> /* memset(), memcpy() */ #i...
C
system/httpc.c
easion/os_sdk
apache-2.0
2,938
121
codeparrot/github-code
c9f174465e5428b7c65c96d24bf8cdc11b2893ddf2c0c7c1e01a762eace635e8
/* * Copyright (C) Tema * * 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 writ...
Java
src/com/screenshot/gui/ScreenshotApp.java
Tema/screenshot
apache-2.0
3,635
115
codeparrot/github-code
e85e325c77cefd87cd22cf690a99e638b9e528c1052ba360bd782bd2f5f996df
using Lucene.Net.Store; using Lucene.Net.Support; using System; using System.Diagnostics; namespace Lucene.Net.Util.Packed { /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for addit...
C#
Lucene.Net/Util/Packed/MonotonicBlockPackedReader.cs
NikolayXHD/Lucene.Net.Contrib
apache-2.0
4,774
113
codeparrot/github-code
8e2ccea684222001201bbfe88d3d25719b8163552bcdbcc135bec92eaab0da57
/* * Copyright 2000-2009 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Java
plugins/svn4idea/src/org/jetbrains/idea/svn/update/UpdateEventHandler.java
joewalnes/idea-community
apache-2.0
9,296
219
codeparrot/github-code
2e6f9b0fe77c4f57d391e8a17fc11d81fa713238263c04aeeb5fc9be07b65855
/* * Copyright 2017 Datamountaineer. * * 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...
Scala
kafka-connect-redis/src/main/scala/com/datamountaineer/streamreactor/connect/redis/sink/writer/RedisMultipleSortedSets.scala
CodeSmell/stream-reactor
apache-2.0
4,704
104
codeparrot/github-code
fcfbb53a7a3a8ce854b60d57fdd76503011ef203111e19d6575e589251971f30
// Get dependencies const express = require('express'); const path = require('path'); const http = require('http'); const bodyParser = require('body-parser'); // Get our API routes const api = require('./server/routes/api'); const app = express(); // Parsers for POST data app.use(bodyParser.json()); app.use(bodyPars...
JavaScript
server.js
rdicharry/evolute
apache-2.0
966
41
codeparrot/github-code
d2d7cdf574b86d8ffbf6698c6a3e833e0b2486103c274aa47e9b0a0887b259ac
const assert = require('assert'); const adminHelper = require('../common/admin-helper')(); const Config = require('../../lib/config/config'); const os = require('os'); const fs = require('fs'); const path = require('path'); const idGen = require('uuid62'); const yaml = require('js-yaml'); describe('REST: policies', ()...
JavaScript
test/rest-api/policies.test.js
ExpressGateway/express-gateway
apache-2.0
2,441
79
codeparrot/github-code
eea6ac01d66d079988cde5d4a047900b318960e950f4d0af27b8150f76f04989
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="ru"> <head> <title>Decryptor (POI API Documentation)</title> <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> </head> <body> <script type="text/ja...
HTML
poi-3.10-FINAL/docs/apidocs/org/apache/poi/poifs/crypt/Decryptor.html
pedro93/ifarmaStudents
apache-2.0
22,424
528
codeparrot/github-code
0f5697277122f11f1ed47e83f64023d6a8c40715a5954f4156ea6663cb7bff9b
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="google-site-verification" content="FPWHdyBDD6jevLuW5oFDPqoeCkmXxYTpLezJ_qISKeE" /> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="descri...
HTML
_site/offline.html
tjw0051/tjw0051.github.io
apache-2.0
12,738
350
codeparrot/github-code
2739927a73889126f66d77f73d66f192834ada318ba50acf26714ca2cc5ff1f5
from django.conf import settings from Bio.Seq import Seq from Bio.SeqRecord import SeqRecord from Bio.PDB import * from Bio.PDB.PDBIO import Select from common.definitions import * from protein.models import Protein, ProteinSegment from residue.models import Residue from structure.functions import BlastSearch...
Python
structure/assign_generic_numbers_gpcr.py
cmunk/protwis
apache-2.0
11,967
266
codeparrot/github-code
1d9817bb0094312ac8291c12665214e653cf60f4a19662474b8627230670e98d
package ca.intelliware.ihtsdo.mlds.config; import java.util.Set; import java.util.SortedSet; import javax.annotation.PreDestroy; import javax.inject.Inject; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import javax.persistence.metamodel.EntityType; import org.slf4j.Logger; imp...
Java
src/main/java/ca/intelliware/ihtsdo/mlds/config/CacheConfiguration.java
IHTSDO/MLDS
apache-2.0
3,416
89
codeparrot/github-code
090e0cdd2a856ac773141f6f699941185d72f3b785f719ff7883a7135920914a
--- layout: page description: "凌霄的梧桐树" --- {% for post in paginator.posts %} <div class="post-preview"> <a href="{{ post.url | prepend: site.baseurl }}"> <h2 class="post-title"> {{ post.title }} </h2> {% if post.subtitle %} <h3 class="post-subtitle"> {{ post....
HTML
index.html
wttree/wttree.github.io
apache-2.0
1,181
43
codeparrot/github-code
5db1984f07214cf089581d02f07a5d6297d624681152f8018aded84edecb4e75
package org.cnio.scombio.jmfernandez.GOPHER; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStreamReader; import java.util.HashMap; import java.util.HashSet; import java.util.logging.Logger; import java.util.Map; import java.util.zip....
Java
GOPHERPrepare/src/org/cnio/scombio/jmfernandez/GOPHER/CIFDict.java
inab/GOPHER
apache-2.0
7,461
259
codeparrot/github-code
5ca44897c8f029ff8334486ef7b52314128987d35ce61925c6a1aeef16a58a53
/* * 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
jobson/src/main/java/com/github/jobson/api/v1/APIRestLink.java
adamkewley/jobson
apache-2.0
1,340
50
codeparrot/github-code
e84c210670f239f79f04ce75947ddf2567c83227c147c52e566a2297e04a7617
/* * Licensed to Crate.io GmbH ("Crate") under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. Crate licenses * this file to you under the Apache License, Version 2.0 (the "License"); * you may not use this f...
Java
libs/sql-parser/src/main/java/io/crate/sql/tree/NotNullColumnConstraint.java
crate/crate
apache-2.0
1,927
61
codeparrot/github-code
3c2819ffe50fe07c8d73d660eff9f20492b39464762a7dc509b69a5aaaa86af9
<!DOCTYPE html> <html> <head> <title>MathJax Dynamic Math Test Page</title> <!-- Copyright (c) 2010-2011 Design Science, Inc. --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> <script type="text/x-mathjax-config"> MathJax....
HTML
slidewiki/libraries/frontend/MathJax/test/sample-dynamic.html
AKSW/SlideWiki
apache-2.0
2,399
88
codeparrot/github-code
5eddefdea213d665431c419facec53b2db2f820ac9de4d733cb20ba72c626320
# 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 u...
Python
proton-j/proton-api/src/main/resources/proton.py
bbcarchdev/qpid-proton
apache-2.0
48,151
1,886
codeparrot/github-code
d2098e874a9dc34820ff7559f79148791676a44b802fa8b5d9483637f4e4cf88
/* ============================================================================== This file is part of the JUCE library. Copyright (c) 2015 - ROLI Ltd. Permission is granted to use this software under the terms of either: a) the GPL v2 (or any later version) b) the Affero GPL v3 Details of these ...
C
dep/include/yse/JuceLibraryCode/extras/Introjucer/Source/Wizards/jucer_NewProjectWizardComponent.h
Reyfin/MyEngine
apache-2.0
14,760
453
codeparrot/github-code
8f22a996e58504c6744138705b05324ee86c43900314e21b5311410640f0a0af
package com.alibaba.easyexcel.test.core.style; import java.io.File; import java.util.ArrayList; import java.util.List; import com.alibaba.easyexcel.test.core.StyleTestUtils; import com.alibaba.easyexcel.test.util.TestFileUtil; import com.alibaba.excel.EasyExcel; import com.alibaba.excel.annotation.write.style.HeadFon...
Java
src/test/java/com/alibaba/easyexcel/test/core/style/StyleDataTest.java
alibaba/easyexcel
apache-2.0
12,674
262
codeparrot/github-code
cd58d0dd0a61ea49155281103d372e8bd8b2b50e8b8b3d51ec152a9fa1427b7a
<!DOCTYPE html> <html lang="en"> <head> <title>Adron's Thrashing Code</title> <meta name="description" content=""> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="alternate" href="/feed...
HTML
articles/thrashing-code-metal-monday-10-30-2017/index.html
Adron/adron.github.io
apache-2.0
17,731
255
codeparrot/github-code
ad7aa587e4181f2bccd73b4bf6fd347863deed4b1dc9e3370d347ce7e68c72b0
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ExtensionHelpers.cs" company="Solidsoft Reply Ltd."> // Copyright (c) 2015 Solidsoft Reply Limited. All rights reserved. // // Licensed under the Apache License, Version 2.0 ...
C#
Uddi/ExtensionHelpers.cs
Solidsoft-Reply/ESB-Libraries
apache-2.0
27,151
649
codeparrot/github-code
2a8c9e615aafdfbeb31ceb74a90bbe95666bab9e322201cb2cd34d394b21fb0a
package com.vmware.vim25; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for VirtualMachineRuntimeInfoDasProtectionState complex type. * * <p>The following schema fragment specifies the ex...
Java
java/JAXWS/samples/com/vmware/vim25/VirtualMachineRuntimeInfoDasProtectionState.java
jdgwartney/vsphere-ws
apache-2.0
1,378
55
codeparrot/github-code
5a3c3e5947a9b14a14768a48541904e5f9a2d7bc9bdeb8cf7834fbb7fd491a14
/** * Generate time : 2009-06-15 18:12:38 * Version : 1.0.1.V20070717 */ package com.baosight.sts.st.cw.domain; //import com.baosight.bfms.as.as.common.bill.IBillHead; import com.baosight.bfms.as.as.common.bill.IBillHead; import com.baosight.iplat4j.util.NumberUtils; import java.math.BigDecimal; ...
Java
source/src/com/baosight/sts/st/cw/domain/STCW0201.java
stserp/erp1
apache-2.0
25,566
822
codeparrot/github-code
83397689ed7aada8cc837e1f6298ad330d356ef4ae57a3753e53900884c110c7
package cmd import ( "fmt" "io" "github.com/brainicorn/skelp/generator" "github.com/brainicorn/skelp/skelputil" "github.com/mgutz/ansi" "github.com/spf13/cobra" ) // Flags that are to be added to commands. var ( quietFlag bool noColorFlag bool homedirFlag string skelpdirFlag string ) func NewSkelpCom...
GO
cmd/skelp.go
brainicorn/skelp
apache-2.0
2,550
107
codeparrot/github-code
86dbcff57fbe5b5342f9fdbd58e240ed67764b7815fec38bfbb3c2a6117d8342
package com.wisobi.leanbean.restlet.resource; import com.wisobi.leanbean.Hashids; import com.wisobi.leanbean.LeanBeanDao; import com.wisobi.leanbean.LeanBeanUtil; import com.wisobi.leanbean.dto.DAO2DTOMapper; import com.wisobi.leanbean.dto.DTO2DAOMapper; import com.wisobi.leanbean.dto.MeetingTO; import com.wisobi.lean...
Java
leanbean-api/src/main/java/com/wisobi/leanbean/restlet/resource/MeetingResource.java
wisobi/leanbean
apache-2.0
2,584
82
codeparrot/github-code
92d787865c70e671db328f05b3698fbcbe97fbe405e536d2a375198937543707
/** * Copyright 2008 The Apache Software Foundation * * 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...
Java
src/java/org/apache/hadoop/hbase/rest/TableModel.java
adragomir/hbaseindex
apache-2.0
8,310
283
codeparrot/github-code
9e4360493a1c44dfe1b3c93d29fe086c856010537e62e9a9e480b803a407b452
#ifndef BOOST_METAPARSE_V1_CPP98_IMPL_PUSH_BACK_C_HPP #define BOOST_METAPARSE_V1_CPP98_IMPL_PUSH_BACK_C_HPP // Copyright Abel Sinkovics (abel@sinkovics.hu) 2013. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org...
C++
include/ginseng/3rd-party/boost/metaparse/v1/cpp98/impl/push_back_c.hpp
Owldream/Ginseng
apache-2.0
865
35
codeparrot/github-code
14bd2cf1cba17489470996fa88b8aaf72dcc4e26807f6acc8f25767d9645f975
# Copyright 2015 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/python/keras/losses.py
jhseu/tensorflow
apache-2.0
45,944
1,328
codeparrot/github-code
5515d86dc2b9bfb52f976ceb812ac7d848c9c8e13eb1631cb6b677c50752855f
using SE.DSP.Foundation.Infrastructure.Utils; using SE.DSP.Foundation.Infrastructure.Utils.Exceptions; using System.ServiceModel.Channels; using System.ServiceModel.Description; using System.ServiceModel.Dispatcher; namespace SE.DSP.Foundation.Web { /// <summary> /// App service api client endpoint...
C#
src/Foundation/Foundation.Web/Service/CustomHeaderEndpointBehavior.cs
YangEricLiu/Pop
apache-2.0
2,392
60
codeparrot/github-code
d8097ad2632913db3f0eddc64bc2ec62d2e3a9ec88ca4f6724fbc217075acb11
/* * 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
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/metric/promethues/counter/ID.java
wu-sheng/sky-walking
apache-2.0
1,179
35
codeparrot/github-code