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
44b1d9b4c1ea913adea087502661d8d37a93d3bcfc03374b6157c80ad08f05ac
<html> <head> <title>com.domiclipse.xots.update</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <style>@import url("web/site.css");</style> <script type="text/javascript"> var returnval = 0; var stylesheet, xmlFile, cache, doc; function init(){ // NSCP 7.1+ / Mozilla 1.4.1+ / S...
HTML
com.domiclipse.xots.update/index.html
KeithSmillie/Xots
apache-2.0
2,078
61
codeparrot/github-code
01535b3ded14b6b9c31e2e9fb120382569e0c88df64279703998008e96f7bad9
package com.kzmen.sczxjf.ui.activity.personal; import android.content.Intent; import android.os.Bundle; import android.support.percent.PercentRelativeLayout; import android.text.TextUtils; import android.view.KeyEvent; import android.view.View; import android.widget.AdapterView; import android.widget.Button; import an...
Java
app/src/main/java/com/kzmen/sczxjf/ui/activity/personal/MsgCenterActivity.java
18380460383/eshare
apache-2.0
10,529
334
codeparrot/github-code
b816c150d2df822b4c079433faa20aad232f1753a50f642aae1ee6317f9970e0
package ru.elazarev.model.dao; import ru.elazarev.model.Comment; import ru.elazarev.model.File; import ru.elazarev.model.RequestStatus; import ru.elazarev.model.UserRequest; import ru.elazarev.model.database.ConnectionManager; import ru.elazarev.model.database.JDBCUtils; import ru.elazarev.model.exceptions.NoSuchEleme...
Java
chapter_006/db_tracker/src/main/java/ru/elazarev/model/dao/UserRequestDao.java
helycopternicht/elazarev
apache-2.0
11,256
338
codeparrot/github-code
da122b3695fb3de3cfce57d632418cd0b30c398ad3efd3aeeac31440280fc208
package cz.zcu.kiv.mobile.logger.devices.weight_scale; import java.math.BigDecimal; import java.util.EnumSet; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widget.TextView; import com....
Java
src/cz/zcu/kiv/mobile/logger/devices/weight_scale/WeightScaleActivity.java
NEUROINFORMATICS-GROUP-FAV-KIV-ZCU/elfyz-data-mobile-logger
apache-2.0
17,026
379
codeparrot/github-code
c4816ceb07f24f78d278fb9a45118f053f1abf9abc6a4c7880430a44a7a6d833
package gocbcore import ( "encoding/json" "fmt" "net" "strings" ) // RestPool represents a single pool returned from the pools REST API. type cfgRestPool struct { Name string `json:"name"` StreamingURI string `json:"streamingUri"` URI string `json:"uri"` } // A Node is a computer in a cluster...
GO
config.go
brett19/gocbcore
apache-2.0
12,960
465
codeparrot/github-code
c83323d170de4f8944cd4607b510293999264e47435975e0a1fdd4537b76ecf9
<!--******************************************************************** * Copyright© 2000 - 2022 SuperMap Software Co.Ltd. All rights reserved. *********************************************************************--> <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title data-i18n="resources.title_d3Hexbi...
HTML
examples/leaflet/d3HexbinLayer.html
SuperMap/iClient9
apache-2.0
4,049
92
codeparrot/github-code
8133d8c94aa5f6bfa4a05b575e3520de608384fe31ec3d34cf2741d9a59337bd
package com.github.codechapin.postcss; /** * */ public class Raws { private String value; private String important; private String afterName; private String params; private String right; private String left; private boolean semicolon; private String after; private String before; ...
Java
postcss/src/main/java/com/github/codechapin/postcss/Raws.java
codechapin/postcss-java
apache-2.0
1,863
100
codeparrot/github-code
788284fefc6f4cda93a105e10ce8d778acc98af9bc27192a5bf771a02a38b3b3
#pragma once // xrServer.h: interface for the xrServer class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_XRSERVER_H__65728A25_16FC_4A7B_8CCE_D798CA5EC64E__INCLUDED_) #define AFX_XRSERVER_H__65728A25_16FC_4A7B_8CCE_D798CA5EC64E__INCLUDED_ #pragma once #include "../../xrN...
C
XRay/xr_3da/xrGame/xrServer.h
OLR-xray/XRay-NEW
apache-2.0
5,695
182
codeparrot/github-code
76b551f2b55e405176d8105dc2b1bde7008f899456782c3c7ecb26b23b5f35c2
package com.king.applib.base; import android.graphics.Bitmap; import android.graphics.drawable.Drawable; import androidx.annotation.ColorInt; import androidx.annotation.ColorRes; import androidx.annotation.DrawableRes; import androidx.annotation.IdRes; import androidx.core.content.ContextCompat; import android.util.Sp...
Java
applib/src/main/java/com/king/applib/base/ViewHolder.java
hubme/WorkHelperApp
apache-2.0
4,533
155
codeparrot/github-code
aecf674f4e096a4080798efcb774494d7afbeed106131a2b7a8bb36269add634
/* * 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/BaseAggregationTestCase.java
mapr/elasticsearch
apache-2.0
16,578
334
codeparrot/github-code
48080fef47df67d2c1ce87a621f547ff881bca90009c08458e1ad25e3b50fdaa
/* * Copyright 2000-2014 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Java
java/java-psi-api/src/com/intellij/psi/util/InheritanceUtil.java
goodwinnk/intellij-community
apache-2.0
7,881
192
codeparrot/github-code
58e7984e84846372b3240a34b86c65d44a5b028fcf818a009d2ee9256fca4e55
/* * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights * Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
Java
aws-java-sdk-kinesis/src/main/java/com/amazonaws/services/kinesis/model/transform/PutRecordsResultJsonUnmarshaller.java
dump247/aws-sdk-java
apache-2.0
3,250
89
codeparrot/github-code
c81964969d6e88513b03bae4ab6cc1de3fe0df85304aa6d150f71e2165ac7f16
/* * Copyright 2021 Google LLC * * 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...
Java
google-ads-stubs-v8/src/test/java/com/google/ads/googleads/v8/services/CampaignExperimentServiceClientTest.java
googleads/google-ads-java
apache-2.0
20,987
504
codeparrot/github-code
1f69212549a968dd397fda398b468b90a544df66ed18819352dfd46f8cd02e7c
/* * 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
providers/provider-springmvc/src/main/java/org/apache/servicecomb/provider/springmvc/reference/async/CseAsyncRestTemplate.java
acsukesh/java-chassis
apache-2.0
1,867
45
codeparrot/github-code
e0058a9bd9e6e5c38601838c12887739b0afde1646ef0aa2a857fbf22b3c31f2
import { createAction } from "redux-actions"; import keyMirror from "keymirror"; import { createUrl, metaGenerator } from "utils"; const actions = keyMirror({ REQUEST_FIXTURE: null, RECEIVE_FIXTURE: null }); export default actions; export const requestFixture = fixtureType => (dispatch, getState) => { dispatch(...
JavaScript
client/src/actions/fixtures.js
prattl/teamfinder
apache-2.0
1,395
48
codeparrot/github-code
beebfd09fcea4652afb602cb01eb9f00dbfd92da0c87b7a4c631d9b604356f5b
//---------------------------------------------------------- -*- Mode: C++ -*- // $Id: KfsOps.h 385 2010-05-27 15:58:30Z sriramsrao $ // // Created 2006/05/24 // // Copyright 2008 Quantcast Corp. // Copyright 2006-2008 Kosmix Corp. // // This file is part of Kosmos File System (KFS). // // Licensed under the ...
C
src/cc/libkfsClient/KfsOps.h
ballbillow/kosmosfs
apache-2.0
31,369
1,072
codeparrot/github-code
a389f1513d2e1e3e7ce09585fa581ae66705f639ee7659961212f9cb73acac01
#region License /* Microsoft Public License (Ms-PL) MonoGame - Copyright © 2009 The MonoGame Team All rights reserved. This license governs use of the accompanying software. If you use the software, you accept this license. If you do not accept the license, do not use the software. 1. Definitions The terms "reproduc...
C#
MonoGame/MonoGame.Framework/Content/ContentReaders/ReflectiveReader.cs
jonathanpeppers/MonoGameOrientation
apache-2.0
10,235
279
codeparrot/github-code
e522e1b2f5c5774f0eb36fd3fd008c5b4891af6a93ca3f217d54a97fcdbf684e
/* * Copyright (c) 2002-2018 "Neo Technology," * Network Engine for Objects in Lund AB [http://neotechnology.com] * * This file is part of Neo4j. * * Neo4j 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 Foundatio...
Java
community/server/src/main/java/org/neo4j/server/web/XForwardUtil.java
HuangLS/neo4j
apache-2.0
4,162
147
codeparrot/github-code
e628a233a05d07e446bc26fdb5c878c35b8b25caf563e9c8c32ad8ea83e9bc6e
package ecommerce.Model.Bean; import java.util.Date; /* @author sibele */ public class Cliente { // Dados pessoais private Integer cod_cliente; private String nome; private String cpf; private Date data_nascimento; private String sexo; //Dados complementares private String c...
Java
src/main/resources/ecommerce/Model/Bean/Cliente.java
Erikomoreira/ecommerce
apache-2.0
2,985
153
codeparrot/github-code
4e7b5c5a65fa0f9201ccf2d72cc41e5cac4495a5ad63ef28c1810a11cec12734
/* * Copyright 2002-2008,2010-2011,2015-2016 BitMover, 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 a...
C
src/crypto.c
bitkeeper-scm/bitkeeper
apache-2.0
6,117
288
codeparrot/github-code
df83cc96886073723d059e9c6bd9de7dd30b19751000095e4ed44fef9d802d02
package com.smart.shop.base.exception; import java.io.Serializable; /** * 乐观锁异常,并发更新数据库记录,出现脏数据时抛出 * User: hexizheng@163.com * Date: 14-7-23 * Time: 下午10:13 */ @SuppressWarnings("serial") public class OptimisticLockException extends RuntimeException implements Serializable { /** * 获取基本异常信息 * ...
Java
shop-base/src/main/java/com/smart/shop/base/exception/OptimisticLockException.java
binrui/smart-dream-shop
apache-2.0
1,688
88
codeparrot/github-code
779fe67c5fee9ec90e28137218238239707601237df2464526a6587fff19b7d9
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ma...
C++
lib/cpp/test/ZlibTest.cpp
steven-sheffey-tungsten/thrift
apache-2.0
14,857
456
codeparrot/github-code
12d245a33519daa5d766ad4ab2b298065c4cc333c437c7905cd9305a33ac040d
package com.xmlcalabash.runtime; import com.xmlcalabash.core.XProcConstants; import com.xmlcalabash.core.XProcData; import com.xmlcalabash.core.XProcException; import com.xmlcalabash.core.XProcRuntime; import com.xmlcalabash.io.WritablePipe; import com.xmlcalabash.io.ReadablePipe; import com.xmlcalabash.model.DeclareS...
Java
libs/com.xmlcalabash/src/main/java/com/xmlcalabash/runtime/XPipeline.java
daisy/pipeline-issues
apache-2.0
9,272
267
codeparrot/github-code
539c21c9461b3316acbb7919449415dd214920bc022f7a9e4ac72e7dc5e642de
/** * Generate JSON summaries of symbols from Stellar SDKs for use when syntax * highlighting code samples in documentation. * * TODO: other SDKs besides JS * TODO: does this belong as a CLI script in each SDK repo instead? * TODO: is there a JS API for JSDoc we can/should use instead? */ import child_process f...
JavaScript
gulp/code-symbol-tags.js
stellar/developers
apache-2.0
3,631
128
codeparrot/github-code
efc6ce3fdc277ef7e6e80433daaa3c694b0b13a48935bd8920ccde71ac0d665d
<?php namespace Google\Service; /* * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
PHP
src/Google/Service/Shopping.php
xevious99/google-api-php-client
apache-2.0
10,036
301
codeparrot/github-code
e70e67795e2dbc67f3ff4abfd10e437fc8615b46e9975087b877548e7614444b
/* * Copyright (c) 2010-2017 Evolveum * * 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
infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ResourceAttributeContainerDefinitionImpl.java
Pardus-Engerek/engerek
apache-2.0
14,799
402
codeparrot/github-code
010585c38cfd8025b4a3fac1e3bb6333c6e52541a65bf038f29aa4639a6ef565
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>Properties</title> <link rel="stylesheet" type="text/css" href="propert...
HTML
properties.html
jmakeig/icing
apache-2.0
2,413
81
codeparrot/github-code
680fa891f1dac1dd24cde806bcdcf22ab9d683e97e770b8f058140551030813f
package org.batfish.representation.palo_alto; import com.google.common.collect.ImmutableSet; import com.google.common.collect.ImmutableSortedSet; import java.io.Serializable; import java.util.HashSet; import java.util.Set; import java.util.SortedSet; import java.util.TreeSet; import javax.annotation.Nonnull; import ja...
Java
projects/batfish/src/main/java/org/batfish/representation/palo_alto/SecurityRule.java
batfish/batfish
apache-2.0
4,982
217
codeparrot/github-code
7d121a776824a037579e729796b8a173d2e13e8ee580d5c0bfa44afab28f546b
<!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,javas...
HTML
_site/docs/cli/install.html
philmerrell/ionic-site
apache-2.0
15,585
426
codeparrot/github-code
383eac9aceea95fcb45eba8ea2142526d736ec2f13ee24defed8fa78978d13d3
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
Java
core/camel-core/src/main/java/org/apache/camel/processor/DelayProcessorSupport.java
punkhorn/camel-upstream
apache-2.0
10,403
280
codeparrot/github-code
8e01d9a8a2920df6175c556650d10aa2ee8f110e2f4f861a6ae79b6574e7e75a
/*========================================================================= * * Copyright Insight Software Consortium * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * h...
C
Modules/Registration/Metricsv4/include/itkManifoldParzenWindowsPointSetFunction.h
GEHC-Surgery/ITK
apache-2.0
7,801
209
codeparrot/github-code
cf5e5a7cfdcfa988bf71b520143f3095665156901ed5dfde53f2822d5e365736
<?php /** * Copyright 2020 Google LLC. * * 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...
PHP
src/CloudEventFunctionWrapper.php
GoogleCloudPlatform/functions-framework-php
apache-2.0
5,343
154
codeparrot/github-code
c55154e7354df3f3acc00156402014fe44b350df88ab2aeecd9d33232eb31842
/* * 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...
Scala
integration/spark-common-cluster-test/src/test/scala/org/apache/carbondata/cluster/sdv/generated/BadRecordTestCase.scala
nehabhardwaj01/incubator-carbondata
apache-2.0
16,307
203
codeparrot/github-code
dcede88c5708915e1ea95fbe179987d5c5433ae6d3e963cb3dca41be23490048
/* * Copyright (C) 2015-2018 SoftIndex LLC. * * 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...
Java
core-csp/src/main/java/io/datakernel/csp/AbstractCommunicatingProcess.java
softindex/datakernel
apache-2.0
6,283
225
codeparrot/github-code
818eb61d873bd6f5c270d5bd224533d22f00d6378fde06078e1192eee3ba0b47
#! /usr/bin/env node "use strict"; // this is expected to run in nodejs /* global require, module */ /* jshint esnext:true */ const { _Source: Parent } = require('./_Source') , { ManifestServer } = require('../util/ManifestServer') , { getSetup } = require('../util/getSetup') , { parseMetadata } = require(...
JavaScript
containers/base/javascript/node/manifestSources/Git.js
googlefonts/fontbakery-dashboard
apache-2.0
39,930
1,087
codeparrot/github-code
a904b563839c254ea9821f9fe8c37a138d27e4c2bfee836271ebc06853cded34
package org.opentosca.toscana.core.transformation.properties; import java.util.Optional; import lombok.Data; @Data public class PlatformInput implements InputProperty { private final String key; private final PropertyType type; private final String description; private final boolean required; pr...
Java
server/src/main/java/org/opentosca/toscana/core/transformation/properties/PlatformInput.java
StuPro-TOSCAna/TOSCAna
apache-2.0
2,419
91
codeparrot/github-code
8800f57420ad178477e430ec25e4df94f5de4d80d9a834467745d68142fc3dbe
#!/bin/env python import os import logging import json from common.utils import Util class Worker(object): def __init__(self,db_name,hdfs_app_path,kafka_consumer,conf_type,processes): self._initialize_members(db_name,hdfs_app_path,kafka_consumer,conf_type,processes) def _initialize_members(self,db...
Python
spot-ingest/pipelines/proxy/worker.py
kpeiruza/incubator-spot
apache-2.0
2,534
66
codeparrot/github-code
bcf77d38ffefcd04dd0e19f5a506cece6b03ea3535e44b29ff1fd71dc4725d33
<!DOCTYPE html> <html devsite=""> <head> <meta name="project_path" value="/ruby/_project.yaml"> <meta name="book_path" value="/ruby/_book.yaml"> </head> <body> {% verbatim %} <div> <article data-uid="Google::Rpc::Status"> <h1 class="page-title">Class Google::Rpc::Status </h1> ...
HTML
testdata/goldens/ruby/Google-Rpc-Status.html
googleapis/doc-templates
apache-2.0
6,090
158
codeparrot/github-code
c331865e8d2af522080d9e73b03361b3a5b3ca236dad1bf3cb2c020991b9c62e
/* * Autopsy Forensic Browser * * Copyright 2012 Basis Technology Corp. * Contact: carrier <at> sleuthkit <dot> org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://ww...
Java
Core/src/org/sleuthkit/autopsy/casemodule/AddImageWizardAddingProgressVisual.java
sidheshenator/autopsy
apache-2.0
13,530
277
codeparrot/github-code
86f05d31d8ad064fa57fef78df3cab8784090b8b8d25b7cf9d184243b3cd992d
var UserProfileDetailsWidget = new Class({ Extends: C_FormWidget, widgetGroup: "user/profile", tagAutocompleter: null, placeholders: null, tagTextboxList: null, cleanup: function() { if (this.tagAutocompleter) { this.tagAutocompleter.destroy(); } ...
JavaScript
communote/webapp/src/main/webapp/javascript/user/profile/UserProfileDetails.js
Communote/communote-server
apache-2.0
7,418
199
codeparrot/github-code
cc4dd4f3e3e76428875f36bacabadf4475cd0e18b8b0b356e46a73191a1b5862
// Copyright 2014 Daniel Akiva // 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, ...
GO
rbac.go
dakiva/nogo
apache-2.0
3,298
68
codeparrot/github-code
79b5b2711ba85f0f11d14e0ee6a195f784095698880ca1224a44d8a151609516
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <title>Uses of Class org.deidentifier.arx.common.Groupify.Group (ARX API Documentation)</title> <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" titl...
HTML
doc/api/org/deidentifier/arx/common/class-use/Groupify.Group.html
kbabioch/arx
apache-2.0
7,665
170
codeparrot/github-code
7218ad43ea8e21c353d9bbbd7fb3e2915b8dbe9ee738e1fc9ce6269b84489e63
package com.commafeed.backend.dao; import java.util.List; import javax.inject.Inject; import javax.inject.Singleton; import org.hibernate.SessionFactory; import com.commafeed.backend.model.FeedEntryContent; import com.commafeed.backend.model.QFeedEntry; import com.commafeed.backend.model.QFeedEntryConten...
Java
src/main/java/com/commafeed/backend/dao/FeedEntryContentDAO.java
Athou/commafeed
apache-2.0
1,300
41
codeparrot/github-code
2793585a80f5457121b0e4094e17bc98c2b5348d5ec063a8d9fa0109a34384b9
/* * File: IAS-LangLib/src/lang/printer/expr/MultiplyNodeHandler.cpp * * Copyright (C) 2015, Albert Krzymowski * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apach...
C++
IAS-LangLib/src/lang/printer/expr/MultiplyNodeHandler.cpp
InvenireAude/IAS-Base-OSS
apache-2.0
1,712
53
codeparrot/github-code
44411030db2fd5d4ae30069f820ab664fe7fe87c7ea803e6690062e3f6ed7ee5
/** * * 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
tooling/features-maven-plugin/src/main/java/org/apache/karaf/tooling/features/AddFeaturesToRepoMojo.java
tonit/karafonexam2
apache-2.0
14,739
390
codeparrot/github-code
54bb108fa595805e3cc127b2e48cd96954156de108320939940833771707a7a5
exports.share = function(sharer, dataToShare, moduleName) { if (OS_IOS) { if (moduleName === 'tiSocial') { var Social = require('dk.napp.social'); if (sharer === 'Facebook') { if (Social.isFacebookSupported()) { Ti.API.info(JSON.stringify(dataToShare)); Social.facebook(dataToShare); } else { ...
JavaScript
app/lib/socialSharing.js
nournachabe/MasterYourLife
apache-2.0
4,852
165
codeparrot/github-code
2bb5a830c6b5d3347b90305f5b8be2f0fa05fbe7e48f2ff706f2fa7b3d2770e7
/***************************************************************************** * * * OpenNI 1.x Alpha * * Copyright (C) 2012 PrimeSense Ltd. * * ...
Java
Wrappers/OpenNI.java/src/org/openni/NodeType.java
Wessi/OpenNI
apache-2.0
4,775
157
codeparrot/github-code
b32c3c4ab58ecabe8a6e30f9087f1666ebe96cdd4c7dc42d9f11a1f1bec32725
#!/bin/bash if [ ! $# == 1 ];then echo "Please usage : ./rc_create.sh XXX.cfg" exit 1 fi configfile=$1 echo "Done" echo "${configfile}" so...
Shell
enterprise/instances/lixiuli/rc_create.sh
linzhaolover/myansible
apache-2.0
2,388
90
codeparrot/github-code
7359b6115fc97c7cc5e91435b7241f5ed9fef1f28b260fd3dbce0b71b48aadf7
/* * * * Copyright 2005-2015 Red Hat, Inc. * * Red Hat licenses this file to you under the Apache License, version * * 2.0 (the "License"); you may not use this file except in compliance * * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unl...
Java
apps/fabric8mq/src/main/java/io/fabric8/mq/MessageDistribution.java
hekonsek/quickstarts
apache-2.0
1,957
55
codeparrot/github-code
6d651c73d54b966ffbffeb141e441b717e22150240755b6c7caafd66e53902d9
package br.com.secoti.util; import java.io.File; import java.util.ArrayList; import java.util.List; /** * * @author Yuri Fialho * @since 01/03/2014 * */ public class ReportFileUtil { /* -- ATRIBUTOS -- */ private static List<ReportFileUtil> relatorios = new ArrayList<ReportFileUtil>(); private String cle...
Java
src/br/com/secoti/util/ReportFileUtil.java
yurifialho/sJasperServer
apache-2.0
2,401
118
codeparrot/github-code
7e8452b846e0dc4dbe9ef4c13b0f7ea499089bf689a85f9ba39a2de3094d7821
package com.etisalat.esdp.admin.controller.motcy.csmigReconsileSubs20141111; import ae.etisalat.motcy.model.CsmigReconsileSubs20141111; import eg.java.net.web.jspx.engine.annotation.JspxBean; import eg.java.net.web.jspx.engine.util.StringUtility; import eg.java.net.web.jspx.ui.controls.WebControl; import eg.java.net....
Java
output/src/com/etisalat/esdp/admin/controller/motcy/csmigReconsileSubs20141111/CsmigReconsileSubs20141111EditController.java
eigonic/cogen
apache-2.0
916
37
codeparrot/github-code
ffa9ef74023319fa7368294a58aa16a317f113f0f29d5ae011ae71a8db7de9bf
/** * P6Spy * * Copyright (C) 2002 P6Spy * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
Java
src/test/java/com/p6spy/engine/spy/JdbcEventListenerFactoryLoaderTest.java
p6spy/p6spy
apache-2.0
1,629
49
codeparrot/github-code
dcd6a291e0df09e843446230b6e3fe19898de7e4f0fc59796ef91fc03f9cf8db
<?php declare(strict_types=1); namespace bizley\migration\controllers; use bizley\migration\Arranger; use bizley\migration\ArrangerInterface; use bizley\migration\Comparator; use bizley\migration\ComparatorInterface; use bizley\migration\Extractor; use bizley\migration\ExtractorInterface; use bizley\migration\Genera...
PHP
src/controllers/BaseMigrationController.php
bizley/yii2-migration
apache-2.0
15,630
429
codeparrot/github-code
a7632edf9e5c77a1c18ee2a9495b632a1a879363850cefc8dd19309c373b8323
package com.tw.tradeaway.dto; import lombok.Data; import java.util.ArrayList; import java.util.List; @Data public class OrderItemDto { private int buyerId; private int sellerId; private int productId; private String productname; private int qty; private String deliveryAddress; private Li...
Java
src/main/java/com/tw/tradeaway/dto/OrderItemDto.java
santhp/trade-away
apache-2.0
1,337
52
codeparrot/github-code
7e0eea1b05b6b2c9afecd12f9cb84a03d8fe110651ec9ae17f36e9db6572576b
# coding = utf-8 import os os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2' import tensorflow as tf import numpy as np from tensorflow.examples.tutorials.mnist import input_data mnist = input_data.read_data_sets("MNIST_data/", one_hot=True) tf.set_random_seed(1) np.random.seed(1) # Hyper Parameters BATCH_SIZE = 128 TIME_...
Python
rnn02.py
paineliu/tflearn
apache-2.0
2,697
70
codeparrot/github-code
2004111361221948489817d971c3d33734bcb2c4e106c9156be41afa6bae4c56
namespace Viewfinder.Providers { using System; using System.Web.Mvc; public static class ControllerContextExt { public static bool IsiOSRequest(this ControllerContext context) { var isiOS = IsUserAgent(context, "iPhone"); if (!isiOS) { isiOS = Is...
C#
src/Viewfinder/Providers/ControllerContextExt.cs
lozanotek/Viewfinder
apache-2.0
1,217
39
codeparrot/github-code
75ba6c294097d127e500e07d8fb976fbe4518bb7a85fcbbdd91a290bd17b8763
package io.leopard.biz.lucky; import io.leopard.redis.Redis; import java.util.Random; import java.util.Set; /** * 所有的元素列表. * * @author 阿海 * */ public class LuckyFullDb { protected Redis redis; protected String name; public LuckyFullDb(Redis redis, String name) { this.redis = redis; this.name = name; ...
Java
leopard-biz/src/main/java/io/leopard/biz/lucky/LuckyFullDb.java
tanhaichao/leopard
apache-2.0
1,592
86
codeparrot/github-code
5c86b5e444b89ff1d3ed872995d8400e738d9fa7ece742324a3920d554dd6c44
/* // Licensed to Henry Olson under one or more contributor license // agreements. See the NOTICE file distributed with this work for // additional information regarding copyright ownership. // // Henry Olson licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file e...
Java
src/test/java/net/hydromatic/optiq/impl/web/AllTests.java
HenryOlson/optiq-web
apache-2.0
1,728
58
codeparrot/github-code
0049c95f22a1a25286a8b4358b181a07c7ea367e6969ef6c25dc2d59fc0470b5
// Copyright 2015-present, Cyrill @ Schumacher.fm and the CoreStore contributors // // 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 // //...
GO
config/service_pubsub.go
corestoreio/csfw
apache-2.0
7,472
222
codeparrot/github-code
a0a0e157e4f23b005fadc878262d403dbca98fb8fe02a17197f10db4daa0df81
/* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed...
Java
modules/flowable-cmmn-rest/src/test/java/org/flowable/cmmn/rest/DispatcherServletConfiguration.java
paulstapleton/flowable-engine
apache-2.0
3,771
89
codeparrot/github-code
2b31ca61a380b58a3eef2050435e8e3d3edf86944febcb6f0abfb014085a757b
package desmoj.extensions.visualization2d.animation.processStation; import java.awt.Color; import java.awt.Dimension; import java.awt.Point; import desmoj.core.simulator.Model; import desmoj.core.simulator.ModelComponent; import desmoj.core.simulator.TimeInstant; import desmoj.extensions.visualization2d.animation.Cmd...
Java
src/desmoj/extensions/visualization2d/animation/processStation/ProcessStationAnimation.java
muhd7rosli/desmoj
apache-2.0
11,938
304
codeparrot/github-code
8e821c3db76f32e9db33d345c9b1ba9b49d6b4d0020e6277b654f51cab26468b
/* * Copyright 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 applica...
Java
stream-common/src/main/java/com/heliosapm/streams/metrics/ValueType.java
nickman/HeliosStreams
apache-2.0
5,613
131
codeparrot/github-code
a70000e80602ab16258d1ee5ba889d169c3579976058e5a6afabd2a2f3945967
/* * 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-proton/src/main/java/com/amazonaws/services/proton/model/transform/ListEnvironmentsRequestProtocolMarshaller.java
aws/aws-sdk-java
apache-2.0
2,705
64
codeparrot/github-code
b5c3dd9532db7a3751cc8eaeed3d9adce30ffe95ce2fdfbc2fef784ff9fbcf5b
var d3gentree = d3gentree || {}; d3gentree.encode_as_img_and_link = function() { // Add some critical information svg = $("svg").attr({ version: '1.1', xmlns: "http://www.w3.org/2000/svg", "xmlns:xlink": "http://www.w3.org/1999/xlink" }); xmlHeader = '<?xml version="1.0" encoding="Latin1"?>'; currentHTML...
JavaScript
js/main.js
thouit/d3gentree
apache-2.0
37,371
771
codeparrot/github-code
a1e9de26742c3eb1aeebe07f7b26d77f2efb1c4d53a2d886bcd470d0d90e6321
/** * Copyright 2017 Cray 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 wri...
JavaScript
ironic_ui/static/dashboard/admin/ironic/form-field.service.spec.js
openstack/ironic-ui
apache-2.0
2,719
91
codeparrot/github-code
51e211940aa9c7e99cb02463577d415930a76bc97dab378bf3351096cef8ec8d
<?php declare(strict_types=1); namespace Paraunit\Printer; use Paraunit\Bin\Paraunit; use Paraunit\Lifecycle\BeforeEngineStart; use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\EventDispatcher\EventSubscriberInterface; class SharkPrinter extends AbstractPrinter implements EventSubscriberI...
PHP
src/Printer/SharkPrinter.php
facile-it/paraunit
apache-2.0
2,469
58
codeparrot/github-code
0198bdd3b5d5f2f6e041064d9f2492200b8c8983a01356a20174a9241cac1cb3
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Java
src/main/java/org/sejda/sambox/pdmodel/font/FontInfo.java
torakiki/sambox
apache-2.0
3,709
125
codeparrot/github-code
88636ff5a99c94cf613eda14fb4a3b6a41fef8d969041a62128c7786ab64cdef
package mobilesoft.test.browandarrow.screen.transitions; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.GL10; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d.SpriteBatch; import com.badlogic.gdx.math.Interpolation; /** * Created by BruSD on 30.03.2014. */ public class S...
Java
core/src/main/java/mobilesoft/test/browandarrow/screen/transitions/ScreenTransitionFade.java
BruSD/BowAndArrow
apache-2.0
1,519
45
codeparrot/github-code
0d83ef0a2bf70b4cc0ac9db0e995d176e9e2067a0c5074f6b4a51159ac3fa5f1
package net.kernal.spiderman.worker.download.impl; import org.apache.http.HttpStatus; import com.gargoylesoftware.htmlunit.BrowserVersion; import com.gargoylesoftware.htmlunit.WebClient; import com.gargoylesoftware.htmlunit.WebResponse; import com.gargoylesoftware.htmlunit.html.HtmlPage; import net.kernal.spiderman....
Java
src/main/java/net/kernal/spiderman/worker/download/impl/HtmlUnitDownloader.java
zmdevelop/spider
apache-2.0
2,866
92
codeparrot/github-code
3106f82732aa3181d059d928df23e77454271a16a21515769cf3ce0183b45f8b
/* * Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/li...
JavaScript
features/apimgt/org.wso2.carbon.apimgt.publisher.feature/src/main/resources/publisher/source/src/app/data/Utils.js
jaadds/carbon-apimgt
apache-2.0
13,000
369
codeparrot/github-code
bb4e44333f29cd08f76a29ecc1f5f2cd7fe662637a1c2c1a0492034bd92877d3
<!-- Copyright 2015 Urbiworx 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, softw...
HTML
rsheasy.html
urbiworx/node-red-contrib-rsh
apache-2.0
6,216
195
codeparrot/github-code
a12f4c7752f808b5a5111062a1d8932ce68270c89a0924047836a997eebecc25
using System.Collections.Generic; using System.Linq; using Newtonsoft.Json; namespace Swtor.Dps.DamageModel { public class Profile { public bool HasUnsavedChanges { get; set; } protected class ProfileInternal { public Configuration Configuration { get; set; } public List<Session> Sessions { get; set; }...
C#
src/Swtor.Dps.DamageModel/Profile.cs
Vhaerlein/swtor.playground
apache-2.0
1,476
58
codeparrot/github-code
5d57c30c1a90dfb2b1964f7233ddccf6b7af1ca3481eef66d3a47c270ddae4d6
package org.apereo.cas.authentication; import org.apereo.cas.authentication.config.CasMongoAuthenticationConfiguration; import org.apereo.cas.config.CasCoreAuthenticationConfiguration; import org.apereo.cas.config.CasCoreServicesConfiguration; import org.apereo.cas.config.CasCoreUtilConfiguration; import org.apereo.ca...
Java
support/cas-server-support-mongo/src/test/java/org/apereo/cas/authentication/MongoAuthenticationHandlerTests.java
vydra/cas
apache-2.0
2,404
58
codeparrot/github-code
9d84bfd71108c8b0af838ab54211f65ef0428cbdc50695f751874a0491e4f8b5
/* * Copyright (c) 2015 Quadbits SLU * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
Java
gdxhelper/src/test/java/com/quadbits/gdxhelper/utils/TimePeriodManagerTest.java
quadbits/GDXHelper
apache-2.0
3,350
91
codeparrot/github-code
5faf33946183b79c076ba9fb432be2efafd703e063e75d4971f55dc8482d054a
/* * Copyright 2012 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 applicable l...
Java
url-shortener-web/src/main/java/com/repaskys/actions/UrlShortenerAction.java
d-rep/URL-Shortener
apache-2.0
2,767
88
codeparrot/github-code
f1312acac222cff0196e5a135428d339ec99df2b5435b741e5f2485c90783c6a
package com.buddycloud.log; import android.util.Log; /** * This class used for logging the output on the console with configuration * * @author Adnan Urooj (Deminem) * */ public class Logger { private static final boolean _DEBUG = false; public static void debug(String TAG, String msg) { if (_DEBUG) { ...
Java
src/com/buddycloud/log/Logger.java
buddycloud/buddycloud-android
apache-2.0
830
47
codeparrot/github-code
80186daefd9297516751d86e36429b66b31fcd42e2b480bb7db2d29d7f65a6e9
using System.IO; using System.Web.Mvc; namespace SusuCMS.Web.Front.Html { public class FaviconBuilder { private FrontContext _frontContext; private HtmlHelper _htmlHelper; public FaviconBuilder(FrontContext frontContext, HtmlHelper htmlHelper) { _frontContext = fro...
C#
SusuCMS/Web/Front/Html/FaviconBuilder.cs
wenbinke/susucms
apache-2.0
982
33
codeparrot/github-code
9b94744671e8857a96374e182c95bcdc8ac7a642582d1fcbddfc752d78796cc7
/* * Licensed to the Apache Software Foundation (ASF) under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional information regarding * copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the * "License"); you may not ...
Java
geode-core/src/main/java/org/apache/geode/admin/jmx/internal/GemFireHealthJmxImpl.java
deepakddixit/incubator-geode
apache-2.0
5,759
170
codeparrot/github-code
7866ebe7af885bffed7531291d8436667e1ab84cfc888c2a3ef62079e2d81050
/******************************************************************************* * Copyright 2013-2014 RTR-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.apach...
Java
RMBTStatisticServer/src/at/alladin/rmbt/statisticServer/export/ImageExport.java
SPECURE/ratel-nettest
apache-2.0
14,456
351
codeparrot/github-code
222fac4d63d91e7e76dfe40d24a42d603b093b0badd1f25fbf0aea99586d93d1
jQuery(document).ready(function($) { if ($("meta[name=toTop]").attr("content") == "true") { var b = "<div id='toTop' title='回到页首'><img src='" + themeBaseUrl + "/images/scrolltop.png'/></div>"; $(b).appendTo('body'); $("#toTop").css({ width: '32px', height: '32px', ...
JavaScript
blog.io/scroll-top.js
Sum41forever/study-notes
apache-2.0
941
31
codeparrot/github-code
66cb7dcd22d7c4011e5ae0598b9660f426a853a680ca9fbc0d2eec9138b8cccf
package com.greencatsoft.angularjs.extensions import com.greencatsoft.angularjs.core.{ Promise, Scope } import com.greencatsoft.angularjs.{ AngularElement, ServiceDefinition, injectable } import scala.scalajs.js import scala.scalajs.js.| /** * Wrapper for the modal service provided by Angular directives for Bootstr...
Scala
src/main/scala/com/greencatsoft/angularjs/extensions/Modal.scala
greencatsoft/scalajs-angular
apache-2.0
2,191
105
codeparrot/github-code
11f4d1236d7598232c42e28f7cb7091872f79fecb68f213e13e95b24a361667f
/* * 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-iam/src/main/java/com/amazonaws/services/identitymanagement/model/transform/GenerateServiceLastAccessedDetailsRequestMarshaller.java
jentfoo/aws-sdk-java
apache-2.0
2,252
53
codeparrot/github-code
923775528ca4afdcd74152ecfcd11cf8428af85ce557cf9784614f7d31773ebc
/* * Copyright 2014 Red Hat, Inc. * * Red Hat licenses this file to you under the Apache License, version 2.0 * (the "License"); you may not use this file except in compliance with the * License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
src/main/java/io/vertx/lang/groovy/GroovyDocGenerator.java
InfoSec812/vertx-lang-groovy
apache-2.0
2,712
88
codeparrot/github-code
1578dc6740c693d864656cb055af74505087a000307e2fe55086c6a095018e7f
# -*- coding: utf-8 -*- # 226. Invert Binary Tree # # Invert a binary tree. # # 4 # / \ # 2 7 # / \ / \ # 1 3 6 9 # # to # # 4 # / \ # 7 2 # / \ / \ # 9 6 3 1 # # Trivia: # This problem was inspired by this original tweet by Max Howell: # # Google: 90% of our engineers u...
Python
226_invert_binary_tree.py
gengwg/leetcode
apache-2.0
1,579
72
codeparrot/github-code
fa8b0452c10a14f25a136f1dbc59ad15cfdcc66f6adf2a94c4738993d04f79be
/* * Living Documentation * * Copyright (C) 2020 Focus IT * * 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 *...
Java
livingdoc-maven-plugin/src/main/java/ch/ifocusit/livingdoc/plugin/domain/Color.java
jboz/living-documentation
apache-2.0
1,641
59
codeparrot/github-code
338884971bf033ee9debdbc13853e00a81a1ca71a8ab2d6da7b90f0f8956f4e3
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespa...
C#
src/IdentityServer4/Services/DefaultCorsPolicyService.cs
siyo-wang/IdentityServer4
apache-2.0
2,478
77
codeparrot/github-code
65f994fa9cb891a0ef0f042531ff680b21199efb02e407de2a4fd83bf570709e
package com.deliveredtechnologies.rulebook.model; import com.deliveredtechnologies.rulebook.NameValueReferableMap; import com.deliveredtechnologies.rulebook.Result; import java.util.Optional; import java.util.function.Supplier; /** * Decorates RuleBook with auditing functionality. */ public class RuleBookAuditor<T...
Java
rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/model/RuleBookAuditor.java
rulebook-rules/rulebook
apache-2.0
1,622
65
codeparrot/github-code
f37cb67be059e8bc3ba48fded9069884d21698fb0e6cf18ebe73fcfdecee0729
package org.gradle.test.performance.mediummonolithicjavaproject.p88; public class Production1774 { private String property0; public String getProperty0() { return property0; } public void setProperty0(String value) { property0 = value; } private String property1; ...
Java
my-app/src/main/java/org/gradle/test/performance/mediummonolithicjavaproject/p88/Production1774.java
oehme/analysing-gradle-performance
apache-2.0
1,890
105
codeparrot/github-code
d1e0fdccff8918e0b75122f8140c1d45a3bc084de784d64c7e6c145cb48d13e4
/* * 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
twill-zookeeper/src/main/java/org/apache/twill/internal/zookeeper/InMemoryZKServer.java
chtyim/incubator-twill
apache-2.0
5,439
199
codeparrot/github-code
87281b782c22ba04e99d3b26cc4e1f35ae5d867e040f57064bb8b6211f132075
/* * * Copyright 2018. AppDynamics LLC and its affiliates. * All Rights Reserved. * This is unpublished proprietary source code of AppDynamics LLC and its affiliates. * The copyright notice above does not evidence any actual or intended publication of such source code. * */ package com.appdynamics.exten...
Java
src/main/java/com/appdynamics/extensions/apache/ApacheMonitor.java
Appdynamics/apache-monitoring-extension
apache-2.0
2,380
70
codeparrot/github-code
6d4b73bd5c0411b7b17d5727513859e6fce66a5c0b8603c02be1ab12936060f5
<?php namespace Crm\AppBundle\Controller; use Crm\AppBundle\Entity\Contact; use Crm\AppBundle\Form\Type\ContactType; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\HttpFoundation\Request; class ContactsController extends Controller { /** * @var integer Page size. */ ...
PHP
src/Crm/AppBundle/Controller/ContactsController.php
manelpm10/symfonycrm
apache-2.0
2,116
76
codeparrot/github-code
47a82ff3574c55fc4239bc03c35daa91d3bb445f6da3a51cb07397055990f444
/** * 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 m...
Java
src/main/java/org/apache/xml/security/utils/resolver/ResourceResolverContext.java
Legostaev/xmlsec-gost
apache-2.0
1,337
40
codeparrot/github-code
f94b2efb32f4070f16c65fabe6753b58f0f6675be5efe79bf2a2801eec8cceed
package org.cirdles.topsoil.app.control; import javafx.collections.ListChangeListener; import javafx.fxml.FXML; import javafx.geometry.Pos; import javafx.scene.control.*; import javafx.scene.layout.AnchorPane; import javafx.scene.layout.VBox; import org.cirdles.topsoil.app.control.data.FXDataTableViewer; import org.ci...
Java
topsoilApp/src/main/java/org/cirdles/topsoil/app/control/ProjectView.java
CIRDLES/Topsoil
apache-2.0
5,911
172
codeparrot/github-code
ee40543968bd19d94599510826c6a76c8c1d3dda36dcea8ad350cf3d9ce5f7c9
package org.jgroups.protocols; import org.jgroups.Address; import org.jgroups.Global; import org.jgroups.Message; import org.jgroups.util.RingBuffer; import org.jgroups.util.Runner; import org.jgroups.util.Util; import java.util.Objects; import java.util.concurrent.locks.LockSupport; import java.util.function.BiCons...
Java
src/org/jgroups/protocols/RingBufferBundler.java
danberindei/JGroups
apache-2.0
8,840
209
codeparrot/github-code
fc234c8e19634cfe299e1e7884243491a0e09dbf52493b9962a891bee89824f6
package pl.solaris.materialcolors.utils; import android.graphics.Color; /** * Created by solaris on 2014-10-27. */ public class ColorUtils { public static final int MIN_ALPHA_SEARCH_MAX_ITERATIONS = 10; public static final int MIN_ALPHA_SEARCH_PRECISION = 10; public static final float MIN_CONTRAST_TIT...
Java
app/src/main/java/pl/solaris/materialcolors/utils/ColorUtils.java
pbednarz/MaterialColors
apache-2.0
8,290
240
codeparrot/github-code
973f5bcc6665de3c0dd595efcda518d612f38825e5945f70478e2ff84df211ad
package com.java110.dto.purchaseApply; import com.java110.dto.PageDto; import com.java110.vo.api.purchaseApply.PurchaseApplyDetailVo; import java.io.Serializable; import java.util.Date; import java.util.List; /** * @ClassName FloorDto * @Description 采购申请数据层封装 * @Author wuxw * @Date 2019/4/24 8:52 * @Version 1.0...
Java
java110-bean/src/main/java/com/java110/dto/purchaseApply/PurchaseApplyDto.java
java110/MicroCommunity
apache-2.0
5,488
251
codeparrot/github-code
822d6e6da677a2b8d6d34e634c7445faa07331dd43a9f36934cc298ecbce439c
/* * Copyright (c) Facebook, Inc. and its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
Java
src/com/facebook/buck/apple/AppleToolchainDescription.java
facebook/buck
apache-2.0
12,904
309
codeparrot/github-code
3c4bda98fd66cdab265adf5ead7a77cc432b1534393d46b2d8ccebe39eaa8bba
using System; using System.Collections.Generic; using TwainDotNet.TwainNative; using System.Runtime.InteropServices; using TwainDotNet.Win32; using System.Reflection; using System.Drawing; using log4net; namespace TwainDotNet { public class DataSourceManager : IDisposable { /// <summary> /// T...
C#
examples/TwainDotNet/DataSourceManager.cs
ballamuth/Chrome4Net
apache-2.0
11,740
367
codeparrot/github-code
21b45678b0d14e6ceba641b5ece379b5cf445e64dc308854a6b8cd235470e94b
package com.logginghub.logging.repository; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.is; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.util.List; import org.junit.Test; import com.logginghub.logging.Defaul...
Java
logginghub-server/src/test/java/com/logginghub/logging/repository/TestSofBlockStreamWriter.java
logginghub/core
apache-2.0
3,164
78
codeparrot/github-code
a8dd78acb34b0a3a488af785e2a43da424ea17ba7c5b59863d04a30302e93923
package org.literacyapp.content.number; import android.content.Intent; import android.content.res.Resources; import android.graphics.Color; import android.media.MediaPlayer; import android.net.Uri; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.GridLayout; i...
Java
app/src/main/java/org/literacyapp/content/number/NumbersActivity.java
literacyapp-org/literacyapp-android
apache-2.0
6,256
151
codeparrot/github-code