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
97a8b8055bba570afa0fff81ad8c65242eda6b22e6251650868b9e25a15c08f7
/* GStreamer * Copyright (C) 2018, Collabora Ltd. * Copyright (C) 2018, SK Telecom, Co., Ltd. * Author: Jeongseok Kim <jeongseok.kim@sk.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Softwar...
C
third_party/gst-plugins-bad/ext/srt/gstsrtobject.c
google/aistreams
apache-2.0
45,054
1,518
codeparrot/github-code
cbaeb9979a7e97085acd1e72d423c491da183380ecb4a7bbd79097a665f89021
/* * Copyright 2009 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/test/java/org/apache/hadoop/hbase/regionserver/TestQueryMatcher.java
ryanobjc/hbase
apache-2.0
8,857
270
codeparrot/github-code
4c744db23e88232731dea899e888456d4e8b8692922dd079210d72f35bdaf1b3
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy ...
C#
orig-src/Brokerages/Backtesting/BacktestingBrokerage.cs
aricooperman/jLean
apache-2.0
13,720
333
codeparrot/github-code
e8c2e88c5313c8b7a3cde211c7fb3e702314097d3e15ca641e631ede5bafeb5b
<?php /** * Address Module * * @author Bálint Horváth <balint@snett.net> */ namespace Franklin\Data; class Address extends \Franklin\System\Object{ public $Id; public $Name; public $Status; public $Country; public $Territory; public $Zip; public $City; public $Street; pu...
PHP
Modules/Data/Address.php
snett/Franklin
apache-2.0
726
34
codeparrot/github-code
f1bd5589ace6b60deb0d8195ebbbb32fc4656f75e7c8371e92d00a7f62213b46
var timeLine = Titanium.UI.currentWindow; timeLine.backgroundImage='/images/fondo.png'; timeLine.navBarHidden= true; //timeLine.fullscreen= true; //timeLine.backgroundImage = 'images/splasColor.png' //////////////////////////////////////////////////////////////////////////////////////// var baner = Titanium.UI.createI...
JavaScript
Resources/ui/timeLine.js
addieljuarez/hackday2
apache-2.0
3,317
156
codeparrot/github-code
85a3c008e66d164312e2844f0e7666f092c470ec33b04a8ef850d21812d1325d
/* * 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 "lice...
Java
aws-java-sdk-cloudformation/src/main/java/com/amazonaws/services/cloudformation/model/transform/SignalResourceRequestMarshaller.java
trasa/aws-sdk-java
apache-2.0
2,637
75
codeparrot/github-code
23be7a4611fb34967e388076fdec82b2acd6d2e2e656d27ced365f3c6087a74e
/* * Created on Nov 12, 2005 * * Copyright 2005-2010 Ignis Software Tools Ltd. All rights reserved. */ package jsystem.extensions.report.html; /** * @author guy.arieli * */ public class SectionReport extends TestReport { /** * */ private static final long serialVersionUID = 1773729658626044580L; boole...
Java
jsystem-core-projects/jsystemCore/src/main/java/jsystem/extensions/report/html/SectionReport.java
Top-Q/jsystem
apache-2.0
828
37
codeparrot/github-code
d9f510995e12afbdc5d9063746c55c8ce2b6d14c996203fd5a35094dbe01bea9
#include "List.h" #include <QDebug> List::List() {} void List::clear() { qDebug() << "clear!"; Item * current = m_base; for (int i = 0; i < m_count; ++i) { Item * aux = current->next; delete current; current = aux; delete aux; } m_count = 0; } void List::insert(con...
C++
List.cpp
jessicamota/ECOM008_2014_2_13112511
apache-2.0
2,595
142
codeparrot/github-code
826c52827c49ca5655da052418b48064c6bc5b19bec5c9673292bdbc9ebdeec4
/* * Copyright (C) 2020 team-cachebox.de * * Licensed under the : GNU General Public License (GPL); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.gnu.org/licenses/gpl.html * * Unless required by applicable law or agreed to in wr...
Java
core/src/de/longri/cachebox3/events/location/PositionChangedEvent.java
Longri/cachebox3.0
apache-2.0
1,389
45
codeparrot/github-code
f0329babac8cd345ed14c21b3f826a0d67e1736326d4cd6fb82a961068c7d7ff
export default class Document { constructor(model, properties = {}, options = {}) { if (!model) { throw new Error('Model is undefined'); } this._model = model; this._data = new model.schema.DataClass(this, properties, model.name); this._options = options; this._isNew = true; ...
JavaScript
src/Document.js
seeden/livia
apache-2.0
7,566
340
codeparrot/github-code
674c621319111447250c01e8bc32af6c0200edaa115a190be0a050a167b5c1c1
/* * 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 u...
C
src/kernel/geom/geom_curve.h
pyrochlore/cycles
apache-2.0
30,273
1,030
codeparrot/github-code
776cf523bb8e7c6a6bbbf12dbd6698acd7c6a15cb5de18db439be8cc2c61ce34
/* Copyright 2006-2007 Graeme Rocher * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Java
src/web/org/codehaus/groovy/grails/web/converters/ConverterUtil.java
lpicanco/grails
apache-2.0
5,776
168
codeparrot/github-code
61e014a04f13f6abce4b9732497a35a1dc3562b73f3949d8304d0228be01dda1
/* * Copyright 2013 Lorenzo González. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
Java
ix3securityimpl/src/es/logongas/ix3/security/model/Permission.java
ix3/ix3
apache-2.0
4,101
149
codeparrot/github-code
00ebb3c403f0ee3b5b1d0d4dab552be7288029b8e37adeed3cf9d45868371c34
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/fsx/model/OpenZFSOriginSnapshotConfiguration.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namesp...
C++
aws-cpp-sdk-fsx/source/model/OpenZFSOriginSnapshotConfiguration.cpp
aws/aws-sdk-cpp
apache-2.0
1,698
76
codeparrot/github-code
58b6a59153533bfb0683712a1a32ccc0adb5ad02b6be4730c6813c65519c1464
/* * Licensed to 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 file except in compl...
Java
sql/src/test/java/io/crate/analyze/RepositoryParamValidatorTest.java
aslanbekirov/crate
apache-2.0
3,271
80
codeparrot/github-code
38658f6b1c5a803e79ec8e42bfc10dbfe6a647410b01611dd67c42e1c2ea3a8c
namespace org.apache.lucene.analysis.miscellaneous { /* * 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 ...
C#
src/Lucene.Net.Tests.Analysis.Common/Analysis/Miscellaneous/TestLengthFilterFactory.cs
mdissel/lucene.net
apache-2.0
3,656
85
codeparrot/github-code
769a8ec52f18277284d566a33799914d564563881d5d67c581e5f5675671939b
// Copyright 2010-2016, Google Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of condit...
C
base/scheduler.h
rchardzhu/gbase
apache-2.0
4,779
135
codeparrot/github-code
17ce39c02cd044519b142c57fe682583fcb04674463cb1bd02bfa69d478acd58
var log4js = require('log4js'), Q = require('q'); var logger = log4js.getLogger('api'); module.exports = { register: { head: registerHead, get: registerGet, put: registerPut, post: registerPost, patch: registerPatch, delete: registerDelete, guarded: { ...
JavaScript
code/api/api-helper.js
bigboards/bigboards-fabric
apache-2.0
3,252
104
codeparrot/github-code
bb1b1bf4c77ef13256c17192ea2a3b9d2ab884513d5cecced9cd32eb9fc1a9e1
/* * Copyright 2010-2014 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...
C#
sdk/src/Services/EC2/Generated/Model/ModifySubnetAttributeRequest.cs
rafd123/aws-sdk-net
apache-2.0
2,349
77
codeparrot/github-code
669cfe15d644b188d03280987e1eb3ed626b1337e51ab27d3e52789e29f15ee1
require 'aws-sdk' require 'logging-helper' module CfndslExt module CloudFormation class Stack include LoggingHelper::LogToTerminal def initialize(stack_name, region:, access_key_id:, secret_access_key:) @stack_name = stack_name @region = region @access_key_id = access_key_id ...
Ruby
ruby/cfndsl-ext/lib/cfndsl-ext/stack.rb
ecoarium/ecosystem
apache-2.0
4,338
163
codeparrot/github-code
9669930051755415e9973343c70a1a9a247c041eeae31916d36aa5c6b06adb5d
package com.wangshan.controllers; import com.wangshan.models.Token; import com.wangshan.models.User; import com.wangshan.models.UserToken; import com.wangshan.service.UserService; import com.wangshan.service.ValidateService; import com.wangshan.utils.gabriel.EncryptUtil; import org.joda.time.DateTime; import ...
Java
backend/src/main/java/com/wangshan/controllers/UserController.java
sanyiwangshan/my_space
apache-2.0
2,381
61
codeparrot/github-code
acc6f421fe5af322fae29b5e9c5aba7fbf18040595c9d114b2108b1204262faf
/* * Copyright 2020 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
Java
optaplanner-core/src/test/java/org/optaplanner/core/impl/testdata/domain/pinned/extended/TestdataExtendedPinnedEntity.java
tkobayas/optaplanner
apache-2.0
2,661
83
codeparrot/github-code
3871431767749d27a3e80c563d030f89576c45dfebbe8c1b26be706f61c85940
package net.avalara.avatax.rest.client import java.util import net.avalara.avatax.rest.client.enums._ import net.avalara.avatax.rest.client.models._ import org.scalatest.fixture import scala.collection.JavaConverters._ class AvaTaxClientSpec extends fixture.FreeSpec { case class AccountInfo(username: String, pass...
Scala
src/test/scala/net/avalara/avatax/rest/client/AvaTaxClientSpec.scala
avadev/AvaTax-REST-V2-JRE-SDK
apache-2.0
8,998
170
codeparrot/github-code
9edfd31d62b85a5f3f8659e9f9b04992decaaf9088e530b9d462babedb6cb492
/* * Copyright (C) 2005 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
C++
src/utils/VectorImpl.cpp
omxcodec/ALooper
apache-2.0
18,323
635
codeparrot/github-code
838b83bfb625734dd9ba50ea768fd69b1719476afa90c92b7d8e7032c9fe1007
from graphics import * class Board: def __init__(self,w,h): self.win = GraphWin('Scrabble',w,h) self.win.setCoords(-30,-30,180,180) self.markers = [] tws_j = [0,0,0,7,7,14,14,14] tws_i = [0,7,14,0,14,0,7,14] dls_j = [0,0,2,2,3,3,3,6,6,6,6,7,7,8,8,8,8,11,11,1...
Python
CSCI220/Week 13 - APR09-13/Board.py
itsallvoodoo/csci-school
apache-2.0
4,833
134
codeparrot/github-code
0235d8dadb58d6a5294eb6923e2dfc0c71968665e82df2b02d3b7d7422ec3fdd
// Copyright 2018 PingCAP, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to i...
GO
planner/optimize.go
qiuyesuifeng/tidb
apache-2.0
8,122
246
codeparrot/github-code
e02a330beee60d5568efb4367d5f6eb410ba998f6e1501a9fc819cbd27bfd870
<?php namespace app\admin\controller\example; use app\common\controller\Backend; /** * 表格模板示例 * * @icon fa fa-table * @remark 可以通过使用表格模板将表格中的行渲染成一样的展现方式,基于此功能可以任意定制自己想要的展示列表 */ class Tabletemplate extends Backend { protected $model = null; public function _initialize() { parent::_initializ...
PHP
application/admin/controller/example/Tabletemplate.php
yangqihua/holsem
apache-2.0
1,346
61
codeparrot/github-code
f26ff22cfc79463b5d4ba0d04358dc50f484ddd6424942198c3aefa47b6ff5d7
/* * Copyright (C) 2011 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
libs-src/support/android/support/v4/view/PagerTitleStrip.java
takuji31/android-app-base
apache-2.0
18,210
501
codeparrot/github-code
cada8b7b63fd68402eb628b863590fd1f68d12ad4d6767606c8e023e7c7e994e
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web; using System.Web.Mvc; using Integer.Api.Models; using Integer.Domain.Acesso; using Integer.Domain.Paroquia; using Integer.Api.Infra.AutoMapper; using Integer.Domain.Acesso.Exceptions; using Int...
C#
src/Integer.Api/Controllers/UsuarioController.cs
danielsilva/--Integer--
apache-2.0
3,229
101
codeparrot/github-code
52cdd2a80278232e6322b8387230476cdea82ff9df3e9cf226e601965383cf38
// Copyright (C) 2017 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
GO
gapis/api/vulkan/buffer_command.go
dsrbecky/gapid
apache-2.0
1,110
38
codeparrot/github-code
3566a5a743f2d9857544a68ee2a004a9df5504cdc051a07ded379ce1b6976461
package ru.vryazanov.tasks; import java.util.HashMap; import java.util.LinkedList; import java.util.List; /** * Class UserList. * <p> * Converts users. * * @author vryazanov * @version 1.0 * @since 22.03.2017 */ public class UserConvert { /** * Converts List of users to HashMap. * * @param...
Java
chapter_005lite/Tasks/src/main/java/ru/vryazanov/tasks/UserConvert.java
miracleman1984/vryazanov
apache-2.0
662
33
codeparrot/github-code
528d2ddb632251ba1e4365c8eb0268fca64ba9ad043b2a96019de64fd3289e93
/* * Copyright 2019 The GraphicsFuzz Project 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
Java
generator/src/test/java/com/graphicsfuzz/generator/semanticspreserving/AddSwitchMutationFinderTest.java
google/graphicsfuzz
apache-2.0
5,678
153
codeparrot/github-code
1596677ea13cec552112e3c3e344c4a2c54b990f0590b46453b0ce4bc837ed0e
/* * Copyright 2014 by Cloudsoft Corporation Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
Java
docker/src/main/java/brooklyn/entity/container/docker/DockerHost.java
neykov/clocker
apache-2.0
8,952
199
codeparrot/github-code
940d655e41f15fcf8fd9015fe2527e4d8c2a7671e6c2d10b9ac1707036e535b3
// Copyright 2005-2010 Gallio Project - http://www.gallio.org/ // Portions Copyright 2000-2004 Jonathan de Halleux // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.a...
C#
src/Gallio/Gallio/Runtime/ConsoleSupport/CommandLineOutput.cs
citizenmatt/gallio
apache-2.0
7,685
220
codeparrot/github-code
8679f2a54deb2e709cbf10c53e6e8a5b9af436577392b62c19f3daac35774634
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="author" content=""> <title>Joshua Design - Design on a Bud...
HTML
404.html
BuckStick/JoshuaDesign
apache-2.0
7,172
196
codeparrot/github-code
6cd5fb3c62ea06363878bc84590261301dd44377c4b4e5c959ffa8073d59f1f9
/* * Copyright 2013 Krisztian Lachata * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
Java
market-data-processor/src/test/java/org/kaloz/datafeed/processor/infrastructure/acl/ProcessorConverterTest.java
lachatak/market-data-feed
apache-2.0
5,784
152
codeparrot/github-code
44a5b1576fbe3834278c22d1054fb0e081f8579385a674d52057245ef0e9423e
package org.neo4art.importer.wikipedia.parser.settlement; import java.util.Map; import org.neo4art.domain.Coordinate; import org.neo4art.domain.Settlement; import org.neo4art.importer.wikipedia.parser.util.InfoboxMap; import org.neo4art.importer.wikipedia.parser.util.InfoboxParserUtil; import org.neo4art.importer.wik...
Java
neo4art-wikipedia-importer/src/main/java/org/neo4art/importer/wikipedia/parser/settlement/WikipediaSettlementSwissTownInfoboxParser.java
MZaratin-Larus/neo4art
apache-2.0
7,310
209
codeparrot/github-code
1b234dc360be73a36e0b0bba59e65181fe53df51b7930f5d25484b9bf5010389
<?php class Member extends Common { public function __construct() { parent::__construct(); } /** * 前台登陆检查 */ protected function isLogin($return=0) { if ($this->memberinfo) { if (empty($this->memberedit) && $this->controller != 'info') $this->memberMsg(lang('m-com-0'), url('member/info/edit/...
PHP
controllers/member/Common.php
dongnanyanhai/fnx103
apache-2.0
4,165
113
codeparrot/github-code
52d6a2570164986bb9c62ca3f95f700770aad3de5137c16950e52e90eaafd59d
package system import ( "bytes" "io/ioutil" "os" "os/exec" "sync" "github.com/aelsabbahy/GOnetstat" // This needs a better name util2 "github.com/aelsabbahy/goss/util" "github.com/mitchellh/go-ps" "github.com/urfave/cli" ) type Resource interface { Exists() (bool, error) } type System struct { NewPackag...
GO
system/system.go
tdi/goss
apache-2.0
5,239
189
codeparrot/github-code
081181158ed0683c13b8789f2bc7b8d1ee4a27ea61274fce79db674ab2a20b32
// Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.vcs.log.ui.frame; import com.intellij.openapi.project.Project; import com.intellij.openapi.util.text.StringUtil; import com.intellij.openapi.vcs.ui.FontUtil;...
Java
platform/vcs-log/impl/src/com/intellij/vcs/log/ui/frame/CommitPresentationUtil.java
mglukhikh/intellij-community
apache-2.0
12,632
354
codeparrot/github-code
b7df136a0bd279dc04d102cc0c42fa2d8612375b49a35d18cb92895429f8b94f
package gr.sperfect.djuqbox.webapp.client.ui; import com.bramosystems.oss.player.core.client.AbstractMediaPlayer; import com.bramosystems.oss.player.core.client.PlayException; import com.bramosystems.oss.player.core.client.PlayerUtil; import com.bramosystems.oss.player.core.client.PluginNotFoundException; import...
Java
DJuQBox/src/gr/sperfect/djuqbox/webapp/client/ui/PlayerWidget.java
sperfect/djuqbox
apache-2.0
5,720
181
codeparrot/github-code
0d0b1c3f25761d069247f08d1840ec113d7eda3bf39b43d396c73387a974c218
/** * */ package com.frank.haomei.db; import java.util.ArrayList; import java.util.List; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.text.TextUtils; import com.frank.haomei.bean.Ci...
Java
src/com/frank/haomei/db/HaomeiDB.java
xflag/haomei
apache-2.0
7,756
254
codeparrot/github-code
2713d6073b6383bba87a747057f3ecdb8416954cfd544d19c9c19c7c68c2f192
/********************************************************************** // @@@ START COPYRIGHT @@@ // // 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. ...
C++
core/sql/executor/ExComTdb.cpp
robertamarton/incubator-trafodion
apache-2.0
20,956
855
codeparrot/github-code
614de6ad91ae62c6d82c4dced33348ad12d7316d9210b47fa4bc78e6a054dfbb
package de.mg.stock.server.logic; import de.mg.stock.dto.StocksEnum; import de.mg.stock.server.dao.StockDAO; import de.mg.stock.server.model.DayPrice; import de.mg.stock.server.model.InstantPrice; import de.mg.stock.server.model.Stock; import de.mg.stock.server.util.DateTimeProvider; import org.junit.Before; import o...
Java
stock-server/src/test/java/de/mg/stock/server/logic/AlertCalculatorTest.java
micgn/stock-charts
apache-2.0
2,550
75
codeparrot/github-code
7c3cb22fb2972acbb0ce4a842f332979c7f1c2f4912155c0db9872f470e80310
package com.example.smartbj.newscenter; import android.view.View; import com.example.smartbj.ui.MainActivity; /** * @author mjm * @创建时间:2016-6-19 下午9:35:24 * @描述信息:TODO * */ public abstract class BaseNewsCenter { protected MainActivity context; protected View root; public BaseNewsCenter(MainActivity context...
Java
src/com/example/smartbj/newscenter/BaseNewsCenter.java
mjmandroid/SmartBJ
apache-2.0
539
34
codeparrot/github-code
61c59eb96f0ca9a8cc2b25bfd165b725ba1e9bdc78804b65ec3a40dcb97332a2
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Entity tag interface. This file implements the interfaces that will be used to access and store tags of an entity. """ import hszinc try: import collections.abc as col except ImportError: import collections as col import weakref from ...util.asyncexc import ...
Python
pyhaystack/client/entity/tags.py
ChristianTremblay/pyhaystack
apache-2.0
4,785
194
codeparrot/github-code
a8c33908cf642ec2d790f0a7c0a4a82b682343d86164bedc44dcde6e35670dca
package datatypes type Time int64 type StreamName string type Event struct { Time Time; Payload EvPayload } type EvPayload struct { IsSet bool; Val interface{} } type MaybeTime struct { IsSet bool; Val Time } func SomeTime(val Time) MaybeTime { return MaybeTime{true, val} } var Nothin...
GO
striver-go/datatypes/dsl.go
fgorostiaga/elastest-monitoring-service
apache-2.0
862
59
codeparrot/github-code
31c92b353c01890a19d69e4bcad861d83e155aad27019e2b6ac95eb7e7a6f66f
# -*- coding: utf-8 -*- from logger.log_repository import LogRepository from mdstudio.api.api_result import APIResult from mdstudio.api.comparison import Comparison from mdstudio.api.endpoint import endpoint, cursor_endpoint from mdstudio.api.exception import CallException from mdstudio.component.impl.core import CoreC...
Python
core/logger/logger/application.py
MD-Studio/MDStudio
apache-2.0
4,843
127
codeparrot/github-code
0255f0a5a76d0fe16bf5efa10a8eff30e2105e1b047f1df360c8364b56c05306
/* * * * Copyright 2014 Orient Technologies LTD (info(at)orientechnologies.com) * * * * Licensed under the Apache License, Version 2.0 (the "License"); * * you may not use this file except in compliance with the License. * * You may obtain a copy of the License at * *...
Java
server/src/main/java/com/orientechnologies/orient/server/distributed/task/OCreateRecordTask.java
DiceHoldingsInc/orientdb
apache-2.0
5,887
157
codeparrot/github-code
71c05d47276009e3baa09ec62483d1ab642b0a734b781e89d8f6f1120b24d4a4
/* * 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
storage/sis-storage/src/main/java/org/apache/sis/internal/storage/xml/Store.java
Geomatys/sis
apache-2.0
8,959
230
codeparrot/github-code
1636840e3004061587f15078222b1a6aa8308a61aff5d0fceafa2f91c43d73c6
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * ...
Java
dcm4jboss-all/tags/DCM4CHEE_2_13_1/dcm4jboss-hl7/src/java/org/dcm4chex/archive/hl7/MDMService.java
medicayun/medicayundicom
apache-2.0
4,553
119
codeparrot/github-code
c32b84cf5f085beb9cb69ec0ef01a194e5295c3f10d060090fb7010f204f194a
package ma.sdop.imagelist.mvvm.model.source; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import java.util.List; import io.reactivex.Flowable; import ma.sdop.imagelist.mvvm.model.ImageModel; import ma.sdop.imagelist.mvvm.model.source.concrete.ImagesInstagramDataSource; impor...
Java
app/src/main/java/ma/sdop/imagelist/mvvm/model/source/ImagesRepository.java
JoosungPark/MaImageList
apache-2.0
1,621
58
codeparrot/github-code
ee8e057079f2372636246c6c705b7a469364981def11eef14bb6f62d8ed98600
/* * Copyright (c) 2013 by Farsight Security, 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...
C
libmy/crc32c-sse42.c
hstern/wdns
apache-2.0
5,019
161
codeparrot/github-code
0980b8948ac0de6645df89a2d0f53bc8c0dea1430aeaf2e25cf94586e07e98ad
/* * Licensed to Mandrel under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Mandrel licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this file except in...
Java
mandrel-core/src/main/java/io/mandrel/transport/Targeted.java
Treydone/mandrel
apache-2.0
2,055
64
codeparrot/github-code
17b7189fab9d3046aa709c7d4a72f7c477076d10d88105ca66fe4755d94ae871
/* * 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-ec2/src/main/java/com/amazonaws/services/ec2/model/ModifyVpcEndpointConnectionNotificationResult.java
aws/aws-sdk-java
apache-2.0
4,501
139
codeparrot/github-code
63a801b2d06bcdc5852e5d0d5e2892e8d134ada73819b5969876d795a6be8690
/* * Copyright (c) 2008-2021, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
Java
hazelcast/src/main/java/com/hazelcast/internal/metrics/jmx/MetricsMBean.java
emre-aydin/hazelcast
apache-2.0
4,615
137
codeparrot/github-code
d50a2cd4475bce9870750ab563e57f7b5adebf9198613b83bda2804d482d6afc
package org.common.jfunk.test.enumerables; import static junit.framework.Assert.assertEquals; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.List; import org.common.jfunk.Enumerables; import org.common.jfunk.Function; import org.junit.Test; public class ConcatTest...
Java
src/test/java/org/common/jfunk/test/enumerables/ConcatTest.java
antivanov/jfunk
apache-2.0
1,106
36
codeparrot/github-code
9602870e3a0587a91e909a3110a2bacd41ba1c21de3d82be6d8373650353dbc9
/* * Copyright 2008-2009 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 agre...
Java
test/unit/voldemort/store/logging/LoggingStoreTest.java
netbear/CloudAnts
apache-2.0
1,268
46
codeparrot/github-code
45deffcf9905f3a8eb8ec93a50e5e3b5827460c3999dd14cb32ab5b59639479a
/* * 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-workspaces/src/main/java/com/amazonaws/services/workspaces/model/DescribeTagsResult.java
jentfoo/aws-sdk-java
apache-2.0
4,592
160
codeparrot/github-code
e832ea3a8a8e1357f7b46631515530f486450dda1f01a82d3348690b2daa5834
/* * DDR Compare * https://github.com/samaxes/ddr-compare * * Copyright 2012 samaxes.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICE...
Java
src/test/java/com/samaxes/ddr/wurfl/WURFLServiceTest.java
samaxes/ddr-compare
apache-2.0
1,731
65
codeparrot/github-code
40af440182057270a5a9bbf103b0d550ae5e691330c878e1939885949d071c10
package org.faudroids.tripweather.weather; import android.test.AndroidTestCase; import android.util.Pair; import org.faudroids.tripweather.geo.WayPoint; import java.util.Arrays; import java.util.List; import rx.functions.Action1; public final class WeatherUtilsTest extends AndroidTestCase { private WeatherUtils...
Java
app/src/androidTest/java/org/faudroids/tripweather/weather/WeatherUtilsTest.java
FauDroids/TripWeather
apache-2.0
1,252
45
codeparrot/github-code
9a386c14f20fc6e633c80a5b65a2df4f711bccd1c068b344762016b6fc03ac1c
/** * Copyright 2012-2013 Mairie de Paris * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to i...
Java
Android app/src/com/utils/SqliteRequestChallenges.java
mairie-de-paris/take-my-data-paris
apache-2.0
2,698
90
codeparrot/github-code
63451c7193167ace5df7ed5edd290ed1a34500123cb34b0a28d4c0ed37e70d16
package jp.scriptkidie.datacopy.sql.model.educationdb; import java.util.ArrayList; import java.util.List; public class CompleteCommisionsExample { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; public CompleteCommisionsExample() { oredCrit...
Java
src/jp/scriptkidie/datacopy/sql/model/educationdb/CompleteCommisionsExample.java
ueno-t/datacopy
apache-2.0
13,911
450
codeparrot/github-code
fa51a8ffb1abfc12098535c6bd58f00be20c6122584321263571acf7d410a870
/* * 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-apigatewayv2/src/main/java/com/amazonaws/services/apigatewayv2/model/GetApisRequest.java
aws/aws-sdk-java
apache-2.0
5,397
173
codeparrot/github-code
6d080768ec30d84aea82afcab21381e22c9ec6c0a0d9011235d5cfed640e2b50
package com.chat; import java.io.IOException; import java.security.PublicKey; import javax.crypto.Cipher; import com.esotericsoftware.kryonet.Client; import com.esotericsoftware.kryonet.Connection; import com.esotericsoftware.kryonet.FrameworkMessage; import com.esotericsoftware.kryonet.Listener; public...
Java
src/com/chat/ChatClient.java
JamesJCasey/Chat-Server
apache-2.0
1,791
80
codeparrot/github-code
95973b752d622383248ed499153f12a37fb017f90623aea5ede3269d827dc137
/* * Copyright 2009-2010 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 ...
Java
java-network/src/main/java/com/linkedin/norbert/network/javaapi/ConsistentHashPartitionedLoadBalancerFactory.java
rhavyn/norbert
apache-2.0
1,976
53
codeparrot/github-code
6f82c032549efdd877c8c5c7b7d67e4ada1b7a709ead7619bdfe422d5d05ab4a
/*- * Copyright (c) 2003, 2005 Lev Walkin <vlm@lionet.info>. All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ #include <asn_internal.h> #include <asn_codecs_prim.h> #include <NULL.h> #include <BOOLEAN.h> /* Implemented in terms of BOOLEAN type */ /* * NULL basic type...
C
ieee_1609dot2_api/NULL.c
hmusavi/asn1_codec
apache-2.0
3,820
167
codeparrot/github-code
3f8cb099aad8b7d2cc340747e966e43cdd6149c386bc36647829f948e60bcab5
/* * Copyright (C) 2016 Singular Studios (a.k.a Atom Tecnologia) - www.opensingular.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
Java
lib/singular-support/src/main/java/org/opensingular/lib/support/spring/security/DefaultRestUserDetailsService.java
opensingular/singular-core
apache-2.0
1,959
50
codeparrot/github-code
18673e303a75f683cf75e9feb292b5adc65338e44cfc32eb41e09e6f9b26f520
# Copyright 2012 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # All Rights Reserved. # # Copyright 2012 OpenStack Foundation # Copyright 2012 Nebula, Inc. # Copyright (c) 2012 X.commerce, a business unit of eBay Inc. # # Licensed under the Apach...
Python
openstack_dashboard/api/cinder.py
394954369/horizon
apache-2.0
13,116
402
codeparrot/github-code
4f1c367a3b01c631d2ecd9c56fd3e71e2a74d26d2697cc3145502ca2f26a2f3a
/* Copyright 2015 The Kubernetes 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 in writing, ...
GO
test/e2e/scheduling/predicates.go
hyperhq/kubernetes
apache-2.0
33,057
854
codeparrot/github-code
7d1999fb986022516faaaaaa00532a20d610260eb38c435d051238cc13e9a946
package com.tmac.zhdaily.api; import com.tmac.zhdaily.model.ArticleDetail; import com.tmac.zhdaily.model.BeforeArticle; import com.tmac.zhdaily.model.LatestArticle; import com.tmac.zhdaily.model.MenuListEntity; import com.tmac.zhdaily.model.SplashImage; import com.tmac.zhdaily.model.TopicEntity; import retrofit2.http...
Java
app/src/main/java/com/tmac/zhdaily/api/DailyApiService.java
tmac010sjh/ZHDaily
apache-2.0
953
35
codeparrot/github-code
77f545c396c677e951b49639c0a6ab1c0826e20270de9b0d6fe635145a1a5c84
/* * Copyright 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 applica...
Java
attic/spring-social-popup/src/main/java/org/springframework/social/popup/signup/SignupController.java
tanvirshuvo/spring-social-samples
apache-2.0
3,390
87
codeparrot/github-code
e7a7c1838a014d181fcb1b5fd40cf7600e60f3f8f46ea09db92d40b643d1d114
package net.mybluemix.parteg.receita; import org.junit.*; import static org.junit.Assert.*; // JUnit 4.3 public class TestCases_Decision_Converage{ public static junit.framework.Test suite(){ return new junit.framework.JUnit4TestAdapter(TestCases_Decision_Converage.class); } @Test public void t...
Java
src/test/java/net/mybluemix/parteg/receita/TestCases_Decision_Converage.java
plucena/lojamvn
apache-2.0
12,761
261
codeparrot/github-code
457d9b4cae40e8248199655d475b4ee5de1b4c5282dc0188050e703b92155f20
/** * 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 agreed to...
JavaScript
test/utils/pattern-filter.test.js
GoogleChromeLabs/AutoWebPerf
apache-2.0
1,756
67
codeparrot/github-code
82525533b6bf6a651ac5f8898a618a6509913b20eb0069c3794e27954a026aae
package net.earthcomputer.vimapi.nbt; public class NBTDouble extends NBTPrimitive { private double data; public NBTDouble(double val) { this.data = val; } @Override public byte getType() { return TYPE_DOUBLE; } @Override public byte getByte() { return (byte) data; } @Override public short getShor...
Java
vimapi/src/main/java/net/earthcomputer/vimapi/nbt/NBTDouble.java
Earthcomputer/VersionIndependentMods
apache-2.0
672
52
codeparrot/github-code
826f9b22d27d7eb01b9f57622be2634a87a0aff6dcf4d7a794e340da9f5cab53
/** * Copyright 2011-2015 Quickstep Technologies LLC. * Copyright 2015 Pivotal Software, 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...
C++
query_optimizer/strategy/Aggregate.cpp
pivotalsoftware/quickstep
apache-2.0
3,521
94
codeparrot/github-code
9a66aa52fd7b1296dc25b8e8ef8f30773c943f85e393d951c96ff44e156d486a
=head1 TITLE Improved Module Versioning And Searching =head1 VERSION Maintainer: Steve Simmons <scs@ans.net> Date: 8 Aug 2000 Mailing List: perl6-language@perl.org Number: 78 Version: 1 Status: Developing =head1 ABSTRACT Modern production systems may have many versions of different modules in use simul...
Perl
docs/dev/perl6/rfc/78.pod
autarch/perlweb
apache-2.0
24,416
789
codeparrot/github-code
84875507f17ae2eca361a4f96a4648a7737b352114749d2d8218a59ec6209bab
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
C
aws-cpp-sdk-codedeploy/include/aws/codedeploy/model/Tag.h
cedral/aws-sdk-cpp
apache-2.0
3,555
143
codeparrot/github-code
438b72e8b449d9c59f8acda261868c4b9f22cf6025d04061697050209ba5511b
/* * 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-codepipeline/src/main/java/com/amazonaws/services/codepipeline/model/transform/ListPipelinesRequestMarshaller.java
aws/aws-sdk-java
apache-2.0
2,330
59
codeparrot/github-code
4a8e5bacf4232f34b02639c409993ae87053f970c9aabd349ddcdc151404ff2b
/** * */ package cn.shawn.iem; import java.util.ArrayList; import org.jgrapht.graph.DefaultDirectedWeightedGraph; import org.jgrapht.graph.DefaultWeightedEdge; /** * @author zhuxiang * */ public class ScalabilityTest { /** * @param args */ public static void main(String[] args) { String fileName = ...
Java
src/cn/shawn/iem/ScalabilityTest.java
zhuxiang/InfluenceEfficiencyMaximization
apache-2.0
1,695
54
codeparrot/github-code
230164d7b383b678100bdf16ab09ee50fe53e2b08a2b0100e74619868bbb171f
import { Component, OnInit } from '@angular/core'; import { SignUpModel } from 'app/models/sign-up-model'; import { SignUpValidationModel } from 'app/models/sign-up-validation-model'; import { DialogService } from 'app/services/dialog.service'; import { AccountService } from 'app/services/account.service'; import { Rou...
TypeScript
src/WeText/client/src/app/components/sign-up/sign-up.component.ts
daxnet/apworks-examples
apache-2.0
4,475
132
codeparrot/github-code
4568d2aa1520216a4d6045435e96f336c5b2e5855b58c6b4fb1405a8011b7172
/* * 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/test/java/org/jbehavesupport/engine/story/FailInGivenStories.java
jbehavesupport/jbehave-junit-support
apache-2.0
1,328
41
codeparrot/github-code
4119bbc1326d0f8a650cab1bb7ec80234d87991e37e79b24f4752ce27950d520
using NJsonSchema; using NJsonSchema.Annotations; using System; using System.Collections.Generic; using System.Text; namespace Threax.AspNetCore.Models { /// <summary> /// Specify the name of the model when it is plural. This allows you to handle words that do not just /// append s to be plural. /// <...
C#
src/Threax.AspNetCore.Models/GeneratorAttributes/PluralNameAttribute.cs
threax/Threax.AspNetCore.Convention
apache-2.0
1,383
43
codeparrot/github-code
0eb57a821868f4bbacbf9cf9796e2eceadb812b257680f5507eb6d4ca60ed5eb
#region License // Copyright (c) Amos Voron. All rights reserved. // Licensed under the Apache 2.0 License. See LICENSE in the project root for license information. #endregion using System; using QueryTalk.Wall; namespace QueryTalk { /// <summary> /// Encapsulates the public static members of the QueryTalk's...
C#
designer/SysFn/Fn_Conversions.cs
querytalk/library
apache-2.0
3,438
95
codeparrot/github-code
36bd31174db3b8bf7908a0a4e19a3eaf2683fd92a4809ab2efe29e5d12764367
/* * 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-servicequotas/src/main/java/com/amazonaws/services/servicequotas/model/transform/GetRequestedServiceQuotaChangeResultJsonUnmarshaller.java
jentfoo/aws-sdk-java
apache-2.0
3,064
75
codeparrot/github-code
08c269036bce590f7fb574f199dd337dfe1f8e6cfca669f9ea6a315ddc0275af
package me.devphp.CrystalBansql; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.sql.Timestamp; import java.util.Calendar; import java.util.Date; import me.devphp.CrystalBansql.Commands.CommandBan; import me.dev...
Java
src/me/devphp/CrystalBansql/Core.java
crystal-web/CrystalBansql
apache-2.0
8,531
265
codeparrot/github-code
12dc3b642cd1a9fbd6fd75f4320f2a7e7d665ece039b59b5c24e353405350727
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en-GB" xml:lang="en-GB" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <title>Statistics of Person[psor] in U...
HTML
treebanks/hu_szeged/hu_szeged-feat-Person-psor.html
UniversalDependencies/universaldependencies.github.io
apache-2.0
14,643
224
codeparrot/github-code
cff702ff3641885e54dcb9ee6f93fbb79c9ca630f92f8a29a813293ef265b692
/* * Copyright 2018 Coinbase, 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 ...
Java
coinbase-java/src/test/java/com/coinbase/resources/withdrawals/WithdrawalsResourceTests.java
coinbase/coinbase-java
apache-2.0
4,401
117
codeparrot/github-code
5fd4f432c9c406d85905f21db2da63d22bfc1a18770c91ab666f3cdaba2b7630
import { module } from 'angular'; import { TASK_EXECUTOR, TaskExecutor, IJob } from 'core/task/taskExecutor'; import { SERVER_GROUP_READER, ServerGroupReader } from 'core/serverGroup/serverGroupReader.service'; import { Application } from 'core/application/application.model'; import { PROVIDER_SERVICE_DELEGATE, Provid...
TypeScript
app/scripts/modules/core/src/instance/instance.write.service.ts
kenzanlabs/deck
apache-2.0
10,754
267
codeparrot/github-code
4730de89005285df714aff1484baa79d007cf36a83bb09e7080ad12da8231e90
using System; using System.Globalization; using System.Linq; using System.Reflection; using System.Web.Http.Controllers; using System.Web.Http.Description; using System.Xml.XPath; using Property4U.Areas.HelpPage.ModelDescriptions; namespace Property4U.Areas.HelpPage { /// <summary> /// A custom <see cref="IDoc...
C#
Samples/.Net/.Netproperty4u/Property4U/Areas/HelpPage/XmlDocumentationProvider.cs
ReinID/ReinID
apache-2.0
7,024
162
codeparrot/github-code
1f694935d247cc32d3ed9b2d6c539b8faa448ac378e95d92641280714831b1c7
package com.detorresrc.main; import java.applet.Applet; import java.security.AccessController; import java.security.PrivilegedActionException; import java.security.PrivilegedExceptionAction; import java.util.List; import javax.smartcardio.CardException; import javax.smartcardio.CardTerminal; import javax.smartcardio....
Java
MifareApplet/src/com/detorresrc/main/MifareApplet.java
detorresrc/MifareApplet
apache-2.0
6,339
265
codeparrot/github-code
80eda5e8905b1dadeea3ca85406e96e81120c53135a70bc959d1d5a9f13b8741
/* * Copyright 2010-2013 Ning, Inc. * Copyright 2015 Groupon, Inc * Copyright 2015 The Billing Project, LLC * * The Billing Project 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 L...
Java
src/main/java/org/killbill/billing/catalog/api/rules/CaseChange.java
maguero/killbill-api
apache-2.0
1,456
47
codeparrot/github-code
b0dfea57f46d39385ce1f3950c46f5641ad29dbba29b2e6a43b94d7e03c8fd60
/* * Copyright 2014 Fraunhofer IGD * * 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
explorer/src/main/java/de/fhg/igd/iva/explorer/main/DecomposedPanel.java
igd-iva/colormap-explorer
apache-2.0
12,702
448
codeparrot/github-code
f9eb5918ee812bbb5056c55cf9acb22ca183b858db55914b89b04bdcb55c32f0
/* * * * Copyright 2015 Skymind,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 * * * * U...
Java
nd4j-api/src/main/java/org/nd4j/linalg/api/ops/impl/accum/Norm1.java
GeorgeMe/nd4j
apache-2.0
3,892
144
codeparrot/github-code
90cbeb3edc598562042ce456f1936b9a66a69947bb6d6d97ac3b980cbf46e23d
package com.excilys.computerdatabase.validators; import javax.validation.ConstraintValidator; import javax.validation.ConstraintValidatorContext; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.excilys.computerdatabase.models.Page; public class PageValidator implements ConstraintValidator<Verifi...
Java
computerDatabase-core/src/main/java/com/excilys/computerdatabase/validators/PageValidator.java
mathieuaime/computer-database
apache-2.0
2,882
88
codeparrot/github-code
7ca485532378509e628ad8fc4931fe334cf7d05cd85fee2bca5b16ec33a8273f
package ru.tuin; /** * @author Viktor Tulin * @version 1 * @since 30.10.2016 */ public class EngineerInteractCalculator extends InteractCalculator { private EngineerCalculator engCalc; //engineering calculator private ConsoleInput input = super.getInput(); private CalcAction[] actions = super.getActio...
Java
Module4/OCP/src/main/java/ru/tuin/EngineerInteractCalculator.java
golfstream83/JavaCourse
apache-2.0
2,495
94
codeparrot/github-code
e6ec3d062814adb4f93c156049a06a62c0d98ddcd8f875fdd23cc0e1983e0896
/* * Created on 2004-7-25 * Author: Xuefeng, Copyright (C) 2004, Xuefeng. */ package com.crackj2ee.jexi.ui; import com.crackj2ee.jexi.core.Document; /** * Decorator for scroll view. * * @author Xuefeng */ public abstract class ScrollableViewDecorator extends ViewDecorator { /** * Constructor. ...
Java
workspace/fits/jexi-1.0b-all/src/com/crackj2ee/jexi/ui/ScrollableViewDecorator.java
CChengz/dot.r
apache-2.0
1,501
74
codeparrot/github-code
d2456f499cd175df2ef11b47be2cd73773d986a91596ad72e9c8180690bc022e
/* * Orika - simpler, better and faster Java bean mapping * * Copyright (C) 2011-2013 Orika 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/lic...
Java
core/src/test/java/ma/glasnost/orika/test/community/issue25/modelA/ManufacturingFacility.java
orika-mapper/orika
apache-2.0
2,231
77
codeparrot/github-code
4a83ce49d5b565a8ae0431e4e3694f14334f226b95d24cd6099e0432bd737183
/* * Copyright 2011 Google Inc. * Copyright 2014 Andreas Schildbach * * 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 requ...
Java
app/src/main/java/org/bitcoinj/core/Transaction.java
btcontract/lnwallet
apache-2.0
84,916
1,940
codeparrot/github-code
c825491949d036d1ba8e07d291d6df4e0e9f1e98c42ad3ddf9367bdf4a243bee
package org.codelibs.elasticsearch.taste.rest.handler; import static org.codelibs.elasticsearch.taste.util.ListenerUtils.on; import java.security.InvalidParameterException; import java.util.Date; import java.util.List; import java.util.Map; import org.codelibs.elasticsearch.taste.TasteConstants; import org.codelibs....
Java
src/main/java/org/codelibs/elasticsearch/taste/rest/handler/ItemRequestHandler.java
codelibs/elasticsearch-taste
apache-2.0
15,957
357
codeparrot/github-code