code
stringlengths
3
1.01M
repo_name
stringlengths
5
116
path
stringlengths
3
311
language
stringclasses
30 values
license
stringclasses
15 values
size
int64
3
1.01M
/* Copyright 2017 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
apark263/tensorflow
tensorflow/lite/tools/verifier_test.cc
C++
apache-2.0
14,601
package com.squarespace.template.expr; import java.util.Arrays; /** * Token representing a variable name. Could hold a reference or * a definition. */ public class VarToken extends Token { public final Object[] name; public VarToken(Object[] name) { super(ExprTokenType.VARIABLE); this.name = name; ...
Squarespace/template-compiler
core/src/main/java/com/squarespace/template/expr/VarToken.java
Java
apache-2.0
594
/******************************************************************************* * * Pentaho Data Integration * * Copyright (C) 2002-2012 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (the ...
jjeb/kettle-trunk
engine/src/org/pentaho/di/trans/steps/jsonoutput/JsonOutput.java
Java
apache-2.0
14,853
package filodb.query.exec.rangefn import scala.util.Random import monix.execution.Scheduler.Implicits.global import monix.reactive.Observable import org.scalatest.concurrent.ScalaFutures import filodb.core.{MetricsTestData, MachineMetricsData => MMD} import filodb.core.query._ import filodb.memory.format.{ZeroCopyUT...
filodb/FiloDB
query/src/test/scala/filodb/query/exec/rangefn/InstantFunctionSpec.scala
Scala
apache-2.0
18,584
-- create-db-security.sql: Security Master -- design has one document -- security and associated identity key -- bitemporal versioning exists at the document level -- each time a document is changed, a new row is written -- with only the end instant being changed on the old row CREATE TABLE sec_schema_version ( ...
McLeodMoores/starling
projects/master-db/src/main/resources/db/create/hsqldb/sec/V_51__create_sec.sql
SQL
apache-2.0
34,381
define(["Log","FS"],function (Log,FS) {//MODJSL return function showErrorPos(elem, err) { var mesg, src, pos; if (!err) { close(); return; } var row,col; if (err.isTError) { mesg=err.mesg; src=err.src; pos=err.pos; row=err.row+1; col=err.col+1;...
hoge1e3/tonyuedit
war/js/ide/ErrorPos.js
JavaScript
apache-2.0
1,670
package io.indexr.query.expr.arith; import com.google.common.collect.Lists; import java.util.List; import io.indexr.query.expr.BinaryExpression; import io.indexr.query.expr.Expression; import io.indexr.query.types.DataType; public abstract class BinaryArithmetic extends Expression implements BinaryExpression { ...
shunfei/indexr
indexr-query-opt/src/main/java/io/indexr/query/expr/arith/BinaryArithmetic.java
Java
apache-2.0
1,684
package org.ovirt.engine.ui.common.widget.table.column; import org.ovirt.engine.core.common.businessentities.Disk; import com.google.gwt.user.cellview.client.Column; public class DiskStatusColumn extends Column<Disk, Disk> { public DiskStatusColumn() { super(new DiskStatusCell()); } @Override ...
derekhiggins/ovirt-engine
frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/table/column/DiskStatusColumn.java
Java
apache-2.0
391
EXP_SOURCES = exp_agent.c SOURCES += $(EXP_SOURCES:%.c=math/exp/%.c)
levenkov/olver
src/agent/math/exp/Makefile
Makefile
apache-2.0
72
# Palindrome Number ## Problem: Determine whether an integer is a palindrome. Do this without extra space. ## Solution I can think of two ways 1. Convert to string and check string is palindrome. 2. Reverse the number and then check if reverse number is equal to the number. Please check the implementation
tapos/leetcode
src/p9/README.md
Markdown
apache-2.0
311
package com.twitter.finagle.kestrel.unit import com.twitter.concurrent.{Broker, Offer} import com.twitter.conversions.time._ import com.twitter.finagle.kestrel._ import com.twitter.finagle.kestrel.net.lag.kestrel.thriftscala.Item import com.twitter.finagle.kestrel.protocol.{Command, _} import com.twitter.finagle.memca...
yancl/finagle-6.22.0
finagle-kestrel/src/test/scala/com/twitter/finagle/kestrel/unit/ClientTest.scala
Scala
apache-2.0
5,946
misc ==== Small stuff
oboroc/misc
README.md
Markdown
apache-2.0
23
/* * Copyright (C) 2016 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...
KiminRyu/ExoPlayer
library/core/src/androidTest/java/com/google/android/exoplayer2/text/tx3g/Tx3gDecoderTest.java
Java
apache-2.0
12,407
# .lagoon.yml The `.lagoon.yml` file is the central file to set up your project. It contains configuration in order to do the following: * [Define routes for accessing your sites](#routes). * [Define pre-rollout tasks](#pre-rollout-tasks-pre_rolloutirun). * [Define post-rollout tasks](#post-rollout-tasks-post_rollout...
amazeeio/lagoon
docs/using_lagoon/lagoon_yml.md
Markdown
apache-2.0
19,840
<?php namespace Spann\Utils; use Slim\App; use Slim\Http\Environment; use Slim\Http\Headers; use Slim\Http\Request; use Slim\Http\RequestBody; use Slim\Http\Response; use Slim\Http\Uri; class WebTestClient { /** @var \Slim\App */ public $app; /** @var \Slim\Http\Request */ public $request; /*...
spann/slim-test-utils
src/Spann/Utils/WebTestClient.php
PHP
apache-2.0
3,257
"""Support for monitoring OctoPrint sensors.""" from __future__ import annotations from datetime import datetime, timedelta import logging from pyoctoprintapi import OctoprintJobInfo, OctoprintPrinterInfo from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorStateClass, ) f...
home-assistant/home-assistant
homeassistant/components/octoprint/sensor.py
Python
apache-2.0
7,576
/* * Copyright 1999-2017 YaoTrue. * * 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...
yaotrue/learn-parent
learn-lang/src/main/java/com/yaotrue/web/command/BaseCommand.java
Java
apache-2.0
950
import jps import json import time class MessageHolder(object): def __init__(self): self._saved_msg = [] def __call__(self, msg): self._saved_msg.append(msg) def get_msg(self): return self._saved_msg def test_multi_pubsub_once(): holder1 = MessageHolder() holder2 = Mes...
OTL/jps
test/test_utils.py
Python
apache-2.0
2,258
const uint16 kRuleIdTable[] = { 42, // Functional "^(助詞|助動詞|動詞,非自立|名詞,非自立|形容詞,非自立|動詞,接尾|名詞,接尾|形容詞,接尾)" 1934, // Unknown "名詞,サ変接続" 2009, // FirstName "名詞,固有名詞,人名,名" 2010, // LastName "名詞,固有名詞,人名,姓" 2047, // Number "名詞,数,アラビア数字" 2049, // KanjiNumber "名詞,数,漢数字" 2, // WeakCompoundPrefix "^(接頭詞,名詞接...
kishikawakatsumi/Mozc-for-iOS
src/out_ios/DerivedSources/Release/data_manager/testing/pos_matcher_data.h
C
apache-2.0
10,994
/** * <pre> * Project: cargo-itest Created on: 26 nov. 2014 File: fCommonDBConfiguration.java * Package: nl.tranquilizedquality.itest.configuration * * Copyright (c) 2014 Tranquilized Quality www.tr-quality.com All rights * reserved. * * This software is the confidential and proprietary information of D...
snkpetrus/cargo-itest
src/main/java/nl/tranquilizedquality/itest/configuration/CommonDBConfiguration.java
Java
apache-2.0
1,293
/* * 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 ...
jior/glaf
workspace/glaf-core/src/main/java/com/glaf/j2cache/CacheException.java
Java
apache-2.0
1,115
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
FlxRobin/presto
presto-main/src/test/java/com/facebook/presto/tpch/TpchIndex.java
Java
apache-2.0
2,063
/* * Copyright 2018-present Open Networking Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
kuujo/onos
core/net/src/test/java/org/onosproject/net/pi/impl/PiMulticastGroupTranslatorImplTest.java
Java
apache-2.0
5,443
package models; /** * This class is for boxing the response sent back to slack by the bot. * @author sabinapokhrel */ public class ResponseToClient { public String status; // Status of the response sent back to slack. It can be either success or fail. public String message; // The message sent back to the slac...
agiledigital/poet-slack-bot
server/app/models/ResponseToClient.java
Java
apache-2.0
455
#region Apache License Version 2.0 /*---------------------------------------------------------------- Copyright 2021 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain ...
mc7246/WeiXinMPSDK
src/Senparc.Weixin.MP/Senparc.Weixin.MP/Entities/Request/Event/GiftCard/RequestMessageEvent_GiftCard_Pay_Done.cs
C#
apache-2.0
1,889
--- layout: v2_fluid/docs_base category: platform id: Network title: Network | Ionic Native Plugins header_title: Network header_sub_title: Access network information --- <h1 class="title">Network</h1> <a class="improve-docs" href='https://github.com/driftyco/ionic-site/edit/ionic2/docs/v2/platform/network/index.md'...
philmerrell/ionic-site
docs/v2/platform/network/index.md
Markdown
apache-2.0
784
package com.sequenceiq.redbeams.converter.stack; import static org.assertj.core.api.Assertions.assertThat; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers...
hortonworks/cloudbreak
redbeams/src/test/java/com/sequenceiq/redbeams/converter/stack/AllocateDatabaseServerV4RequestToDBStackConverterTest.java
Java
apache-2.0
37,660
// snippet-sourcedescription:[ ] // snippet-service:[dynamodb] // snippet-keyword:[dotNET] // snippet-keyword:[Amazon DynamoDB] // snippet-keyword:[Code Sample] // snippet-keyword:[ ] // snippet-sourcetype:[full-example] // snippet-sourcedate:[ ] // snippet-sourceauthor:[AWS] // snippet-start:[dynamodb.dotNET.CodeExamp...
awsdocs/aws-doc-sdk-examples
.dotnet/example_code/DynamoDB/GettingStarted/old/UpdateItem_B/Program.cs
C#
apache-2.0
4,866
package padroesprojeto.criacional.abstractfactorymethod.outroexemplo.model; /** * Created by felansu on 03/06/2015. */ public interface Roupa { void vestir(); }
felansu/calmanddev
src/main/padroesprojeto/criacional/abstractfactorymethod/outroexemplo/model/Roupa.java
Java
apache-2.0
168
/*********************************************************************** * Copyright (c) 2013-2016 Commonwealth Computer Research, Inc. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Apache License, Version 2.0 * which accompanies this distribution and is ...
spandanagrawal/geomesa
geomesa-accumulo/geomesa-accumulo-datastore/src/main/scala/org/locationtech/geomesa/accumulo/index/AccumuloQueryPlanner.scala
Scala
apache-2.0
3,350
/* * 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 ...
ivakegg/accumulo
core/src/main/java/org/apache/accumulo/core/conf/AccumuloConfiguration.java
Java
apache-2.0
20,603
/** * Copyright (c) 2011 Jonathan Leibiusky * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated * documentation files (the "Software"), to deal in the Software without restriction, including without limitation the * rights to use, copy, modify, merge, pu...
cl9200/nbase-arc
api/java/src/main/java/com/navercorp/redis/cluster/RedisCluster.java
Java
apache-2.0
23,864
/* * 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...
aws/aws-sdk-java
aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/transform/GetMediaCapturePipelineRequestProtocolMarshaller.java
Java
apache-2.0
2,781
/** * @file stomp_planner_manager.cpp * @brief This defines the stomp planning manager for MoveIt * * @author Jorge Nicho * @date April 5, 2016 * @version TODO * @bug No known bugs * * @copyright Copyright (c) 2016, Southwest Research Institute * * @par License * Software License Agreement (Apache License) ...
bmagyar/industrial_moveit
stomp_moveit/src/stomp_planner_manager.cpp
C++
apache-2.0
4,704
/** * Copyright (c) 2013, Redsolution LTD. All rights reserved. * * This file is part of Xabber project; you can redistribute it and/or * modify it under the terms of the GNU General Public License, Version 3. * * Xabber is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even ...
bigbugbb/iTracker
app/src/main/java/com/itracker/android/data/roster/RosterContact.java
Java
apache-2.0
3,496
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or...
baidu/Paddle
paddle/fluid/operators/transpose_op.cc
C++
apache-2.0
11,179
#region License Header /* * QUANTLER.COM - Quant Fund Development Platform * Quantler Core Trading Engine. Copyright 2018 Quantler B.V. * * 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:...
Quantler/Core
Quantler/Scheduler/DateFunc.cs
C#
apache-2.0
10,177
/* * Copyright 2011-2015 The Trustees of the University of Pennsylvania * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * Unless requir...
upenn-libraries/xmlaminar
parallel/src/main/java/edu/upenn/library/xmlaminar/parallel/SplittingXMLFilter.java
Java
apache-2.0
19,266
--- title: True Contentment subblog: yhwh tags: the good life --- Contentment is fairly universally agreed to be a virtue. We aspire to the ideal that regardless of our circumstances we are happy, and we understand that without a measure of this virtue there is no set of circumstances that will satisfy us. But what d...
ohbadiah/nickmcavoy-dotcom
content/posts/2015-07-11-true-contentment.markdown
Markdown
apache-2.0
4,119
// <copyright file="BatchModeBuffer.cs" company="ClrCoder project"> // Copyright (c) ClrCoder project. All rights reserved. // Licensed under the Apache 2.0 license. See LICENSE file in the project root for full license information. // </copyright> #if !NETSTANDARD1_0 && !NETSTANDARD1_1 namespace ClrCoder.Threading.C...
dmitriyse/ClrCoder
src/ClrCoder/Threading/Channels/BatchModeBuffer/BatchModeBuffer.cs
C#
apache-2.0
5,205
package bamboo.crawl; import java.util.Date; import java.util.concurrent.TimeUnit; public class RecordStats { private static final Date MAX_TIME = new Date(System.currentTimeMillis() + TimeUnit.DAYS.toMillis(900)); private static final Date MIN_TIME = new Date(631152000000L); private long records; pr...
nla/bamboo
ui/src/bamboo/crawl/RecordStats.java
Java
apache-2.0
1,362
--- layout: page title: Think in java interview subtitle: <span class="mega-octicon octicon-clippy"></span>&nbsp;&nbsp; Take notes about everything new menu: interview css: ['blog-page.css'] --- {% include interview.html %}
zhanghaichang/dwring.github.io
interview.md
Markdown
apache-2.0
224
package com.example.nm_gql_go_link_example; import io.flutter.embedding.android.FlutterActivity; public class MainActivity extends FlutterActivity { }
google/note-maps
flutter/nm_gql_go_link/example/android/app/src/main/java/com/example/nm_gql_go_link_example/MainActivity.java
Java
apache-2.0
153
/* * JBoss, Home of Professional Open Source. * Copyright 2014-2020 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * 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 ...
matedo1/pnc
ui/app/common/restclient/restclient.module.js
JavaScript
apache-2.0
1,179
/* * 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 ...
apache/incubator-asterixdb
hyracks-fullstack/hyracks/hyracks-storage-am-lsm-invertedindex/src/main/java/org/apache/hyracks/storage/am/lsm/invertedindex/util/InvertedIndexUtils.java
Java
apache-2.0
19,511
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_45) on Tue Apr 22 01:43:54 UTC 2014 --> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <TITLE> Uses of Class org.apache.hadoop.h...
axfcampos/hbase-0.94.19
docs/apidocs/org/apache/hadoop/hbase/avro/generated/class-use/AColumnValue.html
HTML
apache-2.0
8,625
div[class="panel-body"] > div[class="input-group"] { margin-bottom: 3px; } div[class="list-group-item"] > a[class="flowRight"] { padding-top: 13px; padding-right: 6px; color: #ff416d; } h3[class="panel-title"] > span { padding-right: 6px; } .versionLink, .versionLink:active, .versionLink:hover { ...
zycgit/hasor-website
website-web/src/main/webapp/static/website/css/my_projects.htm.css
CSS
apache-2.0
502
@charset "utf-8"; /* ---------- Reset ---------- */ body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, form, fieldset, legend, input, textarea, select, button, th, td, p, hr, blockquote, pre, code { padding: 0px; margin: 0px; } html { _width: 100%; _height: 100%; color: #666666; -webkit-text...
362409960/work
src/main/webapp/static/css/common.css
CSS
apache-2.0
2,477
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_112) on Fri Jun 16 09:55:07 MST 2017 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>InMemoryAuthenticationConsu...
wildfly-swarm/wildfly-swarm-javadocs
2017.6.1/apidocs/org/wildfly/swarm/management/InMemoryAuthenticationConsumer.html
HTML
apache-2.0
8,980
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <t...
datapythonista/datapythonista.github.io
docs/new-pandas-doc/generated/pandas.DataFrame.quantile.html
HTML
apache-2.0
25,510
/****************************************************************************** * Copyright 2018 The Apollo Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at ...
ApolloAuto/apollo
modules/planning/open_space/trajectory_smoother/dual_variable_warm_start_slack_osqp_interface.cc
C++
apache-2.0
17,011
# Andrew Plesniak This is my personal website ## Credits Credit to **David Miller** for providing the original website theme that I started with. * https://twitter.com/davidmillerskt * https://github.com/davidtmiller
andrewplesniak/andrewplesniak.github.io
README.md
Markdown
apache-2.0
220
{template "content","header"} {php $video_cache = getcache('video', 'video');} <link href="{CSS_PATH}vms/vms.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="{JS_PATH}cookie.js"></script> <div class="clr ct show_pg"> <div class="crumbs"><a href="{APP_PATH}">首页</a> <span id="play_titl...
johnshen/phpcms
phpcms/templates/default/content/show_videolist.html
HTML
apache-2.0
7,041
package info.bati11.wearprofile; import android.app.ActionBar; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.view.MenuItem; public class AboutActivity extends Activity { public static Intent createIntent(Context context) { ...
bati11/wear-profile
mobile/src/main/java/info/bati11/wearprofile/AboutActivity.java
Java
apache-2.0
964
/* * 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...
mwilliamson-firefly/aws-sdk-net
sdk/src/Services/EC2/Generated/Model/Internal/MarshallTransformations/CreateRouteRequestMarshaller.cs
C#
apache-2.0
3,470
/** * Copyright 2020 The AMP HTML Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
adup-tech/amphtml
extensions/amp-story/1.0/amp-story-interactive-poll.css
CSS
apache-2.0
5,593
# -*- coding:utf-8 -*- """ Verion: 1.0 Author: zhangjian Site: http://iliangqunru.com File: __init__.py.py Time: 2017/7/22 2:19 """
Xarrow/pySimulatedDNS
dnsCat/__init__.py
Python
apache-2.0
139
import codecs import mock import os import tempfile import unittest from time import strftime import six from kinto import config from kinto import __version__ class ConfigTest(unittest.TestCase): def test_transpose_parameters_into_template(self): self.maxDiff = None template = "kinto.tpl" ...
monikagrabowska/osf.io
kinto/tests/test_config.py
Python
apache-2.0
6,371
# frozen_string_literal: true module Hyrax # Module that will contain Renderer classes # @since 0.14.0 # Renderers are used to display Ruby objects to users and take arguments from the Hyrax::Presenter # supplied by the controller. # They are typically used to respond to read requests from the controller, and...
samvera/hyrax
app/renderers/hyrax/renderers.rb
Ruby
apache-2.0
449
package com.coekie.gentyref.factory; @SuppressWarnings("rawtypes") public class RawOuter extends GenericOuter {}
coekie/gentyref
src/test/java/com/coekie/gentyref/factory/RawOuter.java
Java
apache-2.0
114
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using RandomSchool.Extenders; using RandomSchool.Repositories; namespace RandomSchool.Maintain.vPupil { public partial class Details : System.Web.UI.Page { private Pupil...
jbwilliamson/MaximiseWFScaffolding
RandomSchool/RandomSchool/Maintain/vPupil/Details.aspx.cs
C#
apache-2.0
711
/* The MIT License Copyright (c) 2009 - 2014 Liam Devine Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, ...
CollapsedTeam/CollapsedEngine
include/oolua/char_arrays.h
C
apache-2.0
2,025
HB.RadioButtonComponent = Ember.Component.extend({ tagName: 'input', type: 'radio', attributeBindings: ['type', 'htmlChecked:checked', 'value', 'name'], htmlChecked: function(){ return this.get('value') === this.get('checked'); }.property('value', 'checked'), change: function(){ this.set('checked'...
fractalemagic/hummingbird
app/assets/javascripts/components/radio-button.js
JavaScript
apache-2.0
350
/* * Copyright 2002-2004 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...
cbeams-archive/spring-framework-2.5.x
sandbox/src/org/springframework/beans/factory/support/DependencyInjectionAspectSupport.java
Java
apache-2.0
10,662
# Prosartema stellaris Gagnep. SPECIES #### Status SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
mdoering/backbone
life/Plantae/Magnoliophyta/Magnoliopsida/Malpighiales/Euphorbiaceae/Trigonostemon/Trigonostemon stellaris/ Syn. Prosartema stellaris/README.md
Markdown
apache-2.0
185
# Ophrys argentea Vell. SPECIES #### Status SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
mdoering/backbone
life/Plantae/Magnoliophyta/Liliopsida/Asparagales/Orchidaceae/Aspidogyne/Aspidogyne argentea/ Syn. Ophrys argentea/README.md
Markdown
apache-2.0
178
# Schizogyne obtusifolia Cass. SPECIES #### Status ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
mdoering/backbone
life/Plantae/Magnoliophyta/Magnoliopsida/Asterales/Asteraceae/Schizogyne obtusifolia/README.md
Markdown
apache-2.0
178
# Taxus pendula Hort. ex Carrière SPECIES #### Status ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
mdoering/backbone
life/Plantae/Pinophyta/Pinopsida/Pinales/Taxaceae/Taxus/Taxus pendula/README.md
Markdown
apache-2.0
182
# Rosa scandens Moench SPECIES #### Status SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
mdoering/backbone
life/Plantae/Magnoliophyta/Magnoliopsida/Rosales/Rosaceae/Rosa/Rosa arvensis/ Syn. Rosa scandens/README.md
Markdown
apache-2.0
177
# Croton paulinianus Müll.Arg. SPECIES #### Status SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
mdoering/backbone
life/Plantae/Magnoliophyta/Magnoliopsida/Malpighiales/Euphorbiaceae/Croton/Croton urucurana/ Syn. Croton paulinianus/README.md
Markdown
apache-2.0
186
# Dalbergia macrothyrsa sensu Cufod. SPECIES #### Status SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
mdoering/backbone
life/Plantae/Magnoliophyta/Magnoliopsida/Fabales/Fabaceae/Dalbergia/Dalbergia lactea/ Syn. Dalbergia macrothyrsa/README.md
Markdown
apache-2.0
191
# Calostephane marlothiana O.Hoffm. SPECIES #### Status ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
mdoering/backbone
life/Plantae/Magnoliophyta/Magnoliopsida/Asterales/Asteraceae/Calostephane marlothiana/README.md
Markdown
apache-2.0
183
/* * Copyright Anatoly Starostin (c) 2017. */ package treeton.prosody.corpus; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.Node; import treeton.core.config.BasicConfiguration; import treeton.core.util.xml.XMLParser; import javax.xml.parsers.ParserConfigurationException; import java.i...
TreetonOrg/Treeton
dev/prosody/src/treeton/prosody/corpus/CorpusFolder.java
Java
apache-2.0
5,453
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_75) on Wed Jun 10 23:20:35 IST 2015 --> <meta http-equiv="Content-Type" content="text/html" charset="utf-8"> <title>Uses of Class...
priyankajayaswal1/Solr-5.2-1-searching-and-indexing-
docs/solr-core/org/apache/solr/handler/component/class-use/ResponseBuilder.GlobalCollectionStat.html
HTML
apache-2.0
8,028
class Solution(object): def containsNearbyAlmostDuplicate(self, nums, k, t): """ :type nums: List[int] :type k: int :type t: int :rtype: bool """ if k < 1 or t < 0: return False dic = {} t += 1 for i in range(len(nums)): ...
rx2130/Leetcode
python/220 Contains Duplicate III.py
Python
apache-2.0
777
/* * Copyright Red Hat Inc. and/or its affiliates and other contributors * as indicated by the authors tag. All rights reserved. * * This copyrighted material is made available to anyone wishing to use, * modify, copy, or redistribute it subject to the terms and conditions * of the GNU General Public License vers...
ceylon/ceylon
compiler-java/src/org/eclipse/ceylon/compiler/java/codegen/recovery/Generate.java
Java
apache-2.0
1,204
<!DOCTYPE html> <html lang="en"> {% include head.html %} <body id="page-top"> {% include nav.html %} {% include header.html %} {% include features.html %} {% include contact.html %} {% include scripts.html %} </body> </html>
clingonline/clingonline.github.io
_layouts/front.html
HTML
apache-2.0
238
package com.danielasfregola.twitter4s.http.clients.rest.lists.parameters import com.danielasfregola.twitter4s.http.marshalling.Parameters private[twitter4s] final case class RemoveMemberParameters(list_id: Option[Long] = None, slug: Option[String] = None, ...
DanielaSfregola/twitter4s
src/main/scala/com/danielasfregola/twitter4s/http/clients/rest/lists/parameters/RemoveMemberParameters.scala
Scala
apache-2.0
715
package com.github.ruediste.c3java.invocationRecording; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import java.lang.annotation.ElementType; import org.junit.Before; import org.junit.Test; import com.google.common.reflect.TypeTo...
ruediste/c3java
src/test/java/com/github/ruediste/c3java/invocationRecording/MethodInvocationRecorderTest.java
Java
apache-2.0
2,917
/* * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under t...
googleapis/google-api-java-client-services
clients/google-api-services-homegraph/v1/1.30.1/com/google/api/services/homegraph/v1/HomeGraphService.java
Java
apache-2.0
33,723
package org.jfl2.fx.controller.menu; import javafx.application.Platform; import javafx.event.Event; import javafx.scene.Node; import javafx.scene.control.RadioButton; import javafx.scene.input.KeyEvent; import javafx.scene.input.MouseEvent; import lombok.extern.slf4j.Slf4j; import org.jfl2.core.util.Jfl2NumberUtils; i...
lei0229/jfl2
src/main/java/org/jfl2/fx/controller/menu/MenuWindowManager.java
Java
apache-2.0
6,781
package sunning.democollection.learn._0331.component; import dagger.Component; import sunning.democollection.learn._0331.UserActivity; import sunning.democollection.learn._0331.module.ShoppingCartModule; /** * Created by sunning on 16/3/31. */ @Component(dependencies = ActivityComponent.class, modules = ShoppingCar...
syg5201314/demoCollection
app/src/main/java/sunning/democollection/learn/_0331/component/ShoppingCartComponent.java
Java
apache-2.0
422
/** * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
kristianolsson/tools4j
config/config-tck/src/main/java/org/deephacks/tools4j/config/test/XmlStorageHelper.java
Java
apache-2.0
2,047
package gui.sub_controllers; import gui.GraphDrawer; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.collections.transformation.FilteredList; import javafx.collections.transformation.SortedList; import javafx.fxml.FXML; import javafx.scene.control.TableColumn; import ja...
ProgrammingLife2017/DynamiteAndButterflies
src/main/java/gui/sub_controllers/AnnotationTableController.java
Java
apache-2.0
8,434
package liquibase.change.core; import liquibase.change.AbstractSQLChange; import liquibase.change.DatabaseChange; import liquibase.change.ChangeMetaData; /** * Allows execution of arbitrary SQL. This change can be used when existing changes are either don't exist, * are not flexible enough, or buggy. */ ...
ArloL/liquibase
liquibase-core/src/main/java/liquibase/change/core/RawSQLChange.java
Java
apache-2.0
2,252
package com.deleidos.dp.export; import com.deleidos.dp.beans.Schema; import com.deleidos.dp.exceptions.H2DataAccessException; import com.deleidos.dp.exceptions.SchemaNotFoundException; public interface Exporter { public abstract String generateExport(Schema schema); public abstract String generateExport(Schema s...
deleidos/de-schema-wizard
data-profiler/src/main/java/com/deleidos/dp/export/Exporter.java
Java
apache-2.0
356
import boto3 import pytest import sure # noqa # pylint: disable=unused-import from botocore.exceptions import ClientError from moto import mock_dynamodb2 @mock_dynamodb2 def test_error_on_wrong_value_for_consumed_capacity(): resource = boto3.resource("dynamodb", region_name="ap-northeast-3") client = boto3....
spulec/moto
tests/test_dynamodb2/test_dynamodb_consumedcapacity.py
Python
apache-2.0
5,333
// Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed...
micro/micro
service/network/resolver/resolver.go
GO
apache-2.0
1,147
package org.jtrim2.swing.component; import java.util.Collections; import org.jtrim2.image.transform.ZoomToFitOption; import org.junit.Test; public class TransformationAdapterTest { /** * Not much to test but that the methods does not throw exceptions. */ @Test public void testMethods() { ...
kelemen/JTrim
subprojects/jtrim-swing-component/src/test/java/org/jtrim2/swing/component/TransformationAdapterTest.java
Java
apache-2.0
731
/* * Copyright (C) 2013 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...
oli107/material-range-bar
RangeBarSample/src/main/java/com/appyvet/rangebarsample/colorpicker/ColorPickerDialog.java
Java
apache-2.0
6,997
package com.lling.qiqu.commons; import java.io.Serializable; /** * @ClassName: ResponseInfo * @Description: http接口返回数据封装类 * @author lling * @date 2015-5-30 */ public class ResponseInfo implements Serializable{ private static final long serialVersionUID = 1L; private String code; private String desc; privat...
liuling07/QiQuYing
app/src/main/java/com/lling/qiqu/commons/ResponseInfo.java
Java
apache-2.0
673
/* * EVE Swagger Interface * An OpenAPI for EVE Online * * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ package net.troja.eve.esi.model; import com.google.gson.TypeAdapter; import com.goog...
burberius/eve-esi
src/test/java/net/troja/eve/esi/model/CharacterPlanetResponseTest.java
Java
apache-2.0
1,583
/** * Copyright 2017 dialog LLC <info@dlg.im> */ :root { --text-overflow-ellipsis: { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }; --clearfix: { &::after { display: table; clear: both; content: ''; } }; --no-select: { cursor: default; use...
nolawi/champs-dialog-sg
src/styles/helpers.css
CSS
apache-2.0
402
/* * Copyright 2006-2010 Virtual Laboratory for e-Science (www.vl-e.nl) * Copyright 2012-2013 Netherlands eScience Center. * * 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 the following...
NLeSC/vbrowser
source/nl.esciencecenter.vlet.vfs.lfc/src/nl/esciencecenter/vlet/vfs/lfc/SEInfo.java
Java
apache-2.0
1,641
using Esri.ArcGISRuntime.Geometry; using Esri.ArcGISRuntime.Layers; using Esri.ArcGISRuntime.Symbology; using System; using System.Collections.Generic; using System.Windows; using System.Windows.Controls; using System.Windows.Media; namespace ArcGISRuntimeSDKDotNet_DesktopSamples.Samples { /// <summary> /// T...
Tyshark9/arcgis-runtime-samples-dotnet
src/Desktop/ArcGISRuntimeSDKDotNet_DesktopSamples/Samples/GraphicsLayers/GraphicsSourceSample.xaml.cs
C#
apache-2.0
3,725
/* Generated by Cython 0.25.1 */ /* BEGIN: Cython Metadata { "distutils": { "depends": [ "infimnist.h", "py_infimnist.h" ] }, "module_name": "_infimnist" } END: Cython Metadata */ #define PY_SSIZE_T_CLEAN #include "Python.h" #ifndef Py_PYTHON_H #error Python h...
imkgerC/rnn_mnist
mnist_w_infimnist/_infimnist.c
C
apache-2.0
821,263
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_45) on Thu Mar 26 16:48:34 UTC 2015 --> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <TITLE> com.hazelcast.cluster.client (Haz...
akiskip/KoDeMat-Collaboration-Platform-Application
KoDeMat_TouchScreen/lib/hazelcast-3.4.2/hazelcast-3.4.2/docs/javadoc/com/hazelcast/cluster/client/package-frame.html
HTML
apache-2.0
1,427
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Bagcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "walletdb.h" #include ...
bagcoin/bagcoin
src/walletdb.cpp
C++
apache-2.0
31,407
define([ './user-settings' ], function (userSettings) { var context; var exposed = { init: function(thisContext){ context = thisContext; context.sandbox.on('settings.close', userSettings.close); context.sandbox.on('settings.open', userSettings.open); ...
ozone-development/meridian
app/components/controls/user-settings/user-settings-mediator.js
JavaScript
apache-2.0
1,165
<!-- Footer --> <footer> <div class="container"> <div class="row"> <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1"> <ul class="list-inline text-center"> {% if site.RSS %} <li> <a href="{{ "/feed.xml" ...
XinzhuLee/XinzhuLee.github.io
_includes/footer.html
HTML
apache-2.0
8,970