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
# TCXZpot [![Build Status](https://travis-ci.org/SweetzpotAS/TCXZpot-Swift.svg?branch=master)](https://travis-ci.org/SweetzpotAS/TCXZpot-Swift) A fluent Swift library to create TCX files. Please, note this is a Work In Process library that does not include all features supported in TCX yet. They will be added in futur...
SweetzpotAS/TCXZpot-Swift
README.md
Markdown
apache-2.0
4,473
/** * Copyright 2010-2016 Boxfuse GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
FulcrumTechnologies/flyway
flyway-core/src/main/java/org/flywaydb/core/Flyway.java
Java
apache-2.0
63,134
/* * Copyright (C) 2015 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...
android-art-intel/marshmallow
art-extension/compiler/linker/arm64/relative_patcher_arm64.cc
C++
apache-2.0
14,229
/*** * ASM: a very small and fast Java bytecode manipulation framework * Copyright (c) 2000-2011 INRIA, France Telecom * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistribution...
ikisis/spec4j
spec4j-agent/src/main/java/spec4j/asm/util/TraceClassVisitor.java
Java
apache-2.0
7,813
// Code generated by go-swagger; DO NOT EDIT. package storage // This file was generated by the swagger tool. // Editing this file might prove futile when you re-run the swagger generate command import ( "context" "net/http" "time" "github.com/go-openapi/errors" "github.com/go-openapi/runtime" cr "github.com/...
NetApp/trident
storage_drivers/ontap/api/rest/client/storage/disk_get_parameters.go
GO
apache-2.0
5,120
/* * Copyright (c) 2015. Zuercher Hochschule fuer Angewandte Wissenschaften * 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...
icclab/cyclops-rc
src/main/java/ch/icclab/cyclops/usecases/tnova/resource/ChargeReportResource.java
Java
apache-2.0
5,500
#ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> #include <aboutdialog.h> #include <robot.h> #include <QTimer> #include "scenario.h" #include "bayesmap.h" #include "himmmap.h" namespace Ui { class MainWindow; } class MainWindow : public QMainWindow { Q_OBJECT public: explicit MainWindow(...
Lhdsouza/Robotics101
R.Movel/AriaDemo-master/mainwindow.h
C
apache-2.0
812
=head1 NAME History =head1 Description Since mod_perl's inception in 1996, many things have changed, and it's interesting to look at mod_perl's evolution and related events during the time from then to now. Based on the mod_perl I<Changes> file and talks with mod_perl developer's, we have here reconstructed the imp...
Distrotech/mod_perl
docs/src/about/history.pod
Perl
apache-2.0
12,251
package com.tvd12.ezyfox.reflect; import java.lang.reflect.Method; import java.lang.reflect.Type; public class EzyGetterMethod extends EzyByFieldMethod { public EzyGetterMethod(Method method) { this(new EzyMethod(method)); } public EzyGetterMethod(EzyMethod method) { super(method.getMethod()); } @Suppres...
youngmonkeys/ezyfox
ezyfox-util/src/main/java/com/tvd12/ezyfox/reflect/EzyGetterMethod.java
Java
apache-2.0
589
/* * Copyright (c) 2017, Inversoft Inc., All Rights Reserved */ package com.inversoft.passport.domain.api.user; import com.inversoft.json.JacksonConstructor; /** * @author Daniel DeGroff */ public class VerifyEmailResponse { public String verificationId; @JacksonConstructor public VerifyEmailResponse() { ...
inversoft/passport-java-client
src/main/java/com/inversoft/passport/domain/api/user/VerifyEmailResponse.java
Java
apache-2.0
427
/* * © Copyright 2015 - SourceClear Inc */ package com.sourceclear.gramtest; import com.google.common.io.Files; import java.io.File; import java.io.IOException; import java.nio.charset.Charset; import java.util.List; import java.util.logging.Level; import java.util.logging.Logger; import org.antlr.v4.runtime.ANTLR...
codelion/gramtest
src/main/java/com/sourceclear/gramtest/Main.java
Java
apache-2.0
6,798
/* Copyright 2019 The Tekton 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, softw...
tektoncd/pipeline
pkg/pod/creds_init_test.go
GO
apache-2.0
11,261
package com.zeef.client; /* * #%L * ZEEF API Client * ---------------------------------------- * Copyright (C) 2015 ZEEF * ---------------------------------------- * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obta...
ZEEFcom/zeef-api-client
src/main/java/com/zeef/client/ResponseType.java
Java
apache-2.0
2,362
/* * Copyright 2019, EnMasse authors. * License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html). */ package io.enmasse.iot.registry.infinispan.device.impl; import static io.enmasse.iot.infinispan.device.DeviceKey.deviceKey; import static java.net.HttpURLConnection.HTTP_NOT...
jenmalloy/enmasse
iot/iot-device-registry-infinispan/src/main/java/io/enmasse/iot/registry/infinispan/device/impl/RegistrationServiceImpl.java
Java
apache-2.0
2,388
package com.schoolbus.client.api; import java.io.IOException; import java.util.Arrays; import java.util.HashSet; import java.util.Map; import java.util.Set; import java.util.jar.Manifest; import javax.inject.Inject; import javax.ws.rs.ApplicationPath; import javax.ws.rs.core.Application; import io.fabric8.utils.Manif...
GeorgeWalker/schoolbus
API-Proxy/src/main/java/com/schoolbus/client/api/RegionsApiApplication.java
Java
apache-2.0
2,094
/* * 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...
juhi16792/CS5540-Android-Development
S03.01-Exercise-RecyclerView/app/src/main/java/com/example/android/sunshine/MainActivity.java
Java
apache-2.0
11,432
// // NBSendStatusParam.h // weibo // // Created by yoga on 15/8/31. // Copyright (c) 2015年 ioslearning. All rights reserved. // #import "NBBaseParam.h" @interface NBSendStatusParam : NBBaseParam /** true string 要发布的微博文本内容,必须做URLencode,内容不超过140个汉字。*/ @property (nonatomic, copy) NSString *status; @end
YogaChen/weibo
weibo/weibo/Classes/Main(主要)/Model/SendStatus/NBSendStatusParam.h
C
apache-2.0
360
package com.gymnast.view.personal.activity; import android.app.Activity; import android.app.AlertDialog; import android.app.Dialog; import android.app.ProgressDialog; import android.content.ContentResolver; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import an...
928902646/Gymnast
app/src/main/java/com/gymnast/view/personal/activity/PersonalEditDataActivity.java
Java
apache-2.0
24,598
/** * A function to be invoked after completing an asynchronous task. * * @typedef {Function} Callback */ /** * A callback whose first argument is either an `Error` or `null`. * * @typedef {Callback} Errback */
stdlib-js/stdlib
tools/docs/jsdoc/typedefs/functions.js
JavaScript
apache-2.0
212
/** * Copyright (C) 2014 Xillio (support@xillio.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
XillioQA/xill-platform-3.4
xill-processor/src/main/java/nl/xillio/xill/plugins/testing/constructs/IsTrueConstruct.java
Java
apache-2.0
1,851
/** * Created by liyadan01_bj on 2016/4/26. */ function addLoadEvent(func){ var oldonload=window.onload; if(typeof window.onload != 'function'){ window.onload=func; }else{ window.onload=function(){ oldonload(); func(); } } }
KMJB/IFE
lyd/learning_01/scripts/addLoadEvent.js
JavaScript
apache-2.0
290
<md-card-header> <md-card-avatar> <md-icon>build</md-icon> </md-card-avatar> <md-card-header-text layout="row" layout-align="space-between center"> <div layout="column"> <span class="md-title">Index configuration</span> </div> <md-button class="md-fab md-mini md-hue-1" aria-label="Add new fi...
FlexSearch/FlexSearch
srcjs/src/apps/adminui/indexConfigTemplate.html
HTML
apache-2.0
7,471
/* Copyright (c) 2015 Magnet Systems, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
magnetsystems/message-common
src/main/java/com/magnet/mmx/protocol/DevReg.java
Java
apache-2.0
1,407
<div ng-controller="createClusterModalController as createClusterModalCntrl"> <div class="tendrl-create-cluster-modal-container"> <custom-modal-header title="createClusterModalCntrl.modalHeader.title" close="createClusterModalCntrl.modalHeader.close"></custom-modal-header> <div class="modal-body"> <p>Multiple...
cloudbehl/tendrl_frontend
src/modules/cluster/create-cluster/create-cluster-modal/create-cluster-modal.html
HTML
apache-2.0
881
google-python-exercises ======================= Following Google's Python Class at: https://developers.google.com/edu/python
amir-toly/google-python-exercises
README.md
Markdown
apache-2.0
125
// ---------------------------------------------------------------------------- // Copyright 2007-2017, GeoTelematic Solutions, Inc. // All rights reserved // ---------------------------------------------------------------------------- // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not...
Kiosani/OpenGTS
src/org/opengts/war/track/page/DeviceInfo.java
Java
apache-2.0
231,509
/*** * ASM: a very small and fast Java bytecode manipulation framework * Copyright (c) 2000-2011 INRIA, France Telecom * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistribution...
FFY00/deobfuscator
src/main/java/com/javadeobfuscator/deobfuscator/org/objectweb/asm/tree/analysis/Interpreter.java
Java
apache-2.0
9,894
package com.wincom.mstar; public class Alarm { private int signalId; private String station; private String deviceName; private String signalName; private String alarmBegin; private String alarmEnd; private String alarmLevel; private int level; private int serial; private int parent_id; privat...
xtwxy/cassandra-tests
mstar-server/src/main/java/com/wincom/mstar/Alarm.java
Java
apache-2.0
1,909
<?php /* * This file is part of the FilemanagerBundle package. * * (c) Trimech Mahdi <http://www.trimech-mahdi.fr/> * @author: Trimech Mehdi <trimechmehdi11@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace C...
medooch/filemanager
Manager/FolderManager.php
PHP
apache-2.0
4,307
# Copyright (C) 2017,2019 Rodrigo Jose Hernandez Cordoba # # 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...
AeonGames/AeonEngine
tools/blender/addons/io_skeleton_skl/__init__.py
Python
apache-2.0
1,334
/* * Copyright DataStax, 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...
datastax/java-driver
core/src/main/java/com/datastax/oss/driver/internal/core/type/codec/TupleCodec.java
Java
apache-2.0
8,204
/* * Copyright (c) 1999 * Silicon Graphics Computer Systems, Inc. * * Copyright (c) 1999 * Boris Fomitchev * * This material is provided "as is", with absolutely no warranty expressed * or implied. Any use is at your own risk. * * Permission to use or copy this software for any purpose is hereby gr...
aestesis/elektronika
src/STLport/src/codecvt.cpp
C++
apache-2.0
5,769
<div class="serviceaddressPage"> <form> <div class="right-inner-addon"> <input id="address" type="text" class="form-control searchplace" [(ngModel)]="userAddress" name="user Address" placeholder="Search for your service needed location on Map and drag marker to your place." /> </div> ...
chaithu563/myserviceneed
app/core/userview/postservice/address/address.html
HTML
apache-2.0
1,106
/* * Copyright 2016-2018 Axioma srl. * * 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...
holon-platform/holon-jaxrs
swagger-v3/src/main/java/com/holonplatform/jaxrs/swagger/v3/internal/endpoints/PathParamOpenApiEndpoint.java
Java
apache-2.0
1,662
<!DOCTYPE html> <html> <head> <link type="text/css" rel="stylesheet" href="style.css" /> <title>Duel - Alexaviers Games</title> </head> <body> <div id="page"> <div id="game"> <canvas width="600" height="600"></canvas> </div> <div id="menu-info"> Move with arrows, shoot with space. Select with ...
stickycode/dragonfly
jaws.html
HTML
apache-2.0
4,667
<?php namespace Home\Model; use Think\Model; class IndexModel extends Model{ /** * index页面的图片显示 * 1.根据design表中划分字段design_devide字段查找到所有的第一部分的图片,只找出最热门的4张 * 2.同理找出第二部分的4张 * 3.拼装成一个大数组,对大数组中的所有的图片路径进行处理 * 4.最后将处理好的数组返回给index控制器中的index方法 * @return [type] [description]/ */ function getItems(){ $design = M...
suoyuesmile/zxyClothPat
Apps/Home/Model/IndexModel.class.php
PHP
apache-2.0
2,266
/* Copyright 2015 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
DeepThoughtTeam/tensorflow
tensorflow/core/util/tensor_slice_reader_test.cc
C++
apache-2.0
12,348
<!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_55) on Wed Sep 24 06:08:09 EDT 2014 --> <meta http-equiv="Content-Type" content="text/html" charset="utf-8"> <title>Uses of Class org.a...
pulipulichen/ir-practice-solr
docs/solr-test-framework/org/apache/solr/cloud/class-use/ZkTestServer.html
HTML
apache-2.0
10,597
package org.openbel.framework.test; import static java.util.Arrays.asList; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.not; import static org.hamcrest.CoreMatchers.nullValue; import static org.hamcrest.Matchers.containsString; import static org.junit.Assert.assertThat; import st...
OpenBEL/openbel-framework
tests/functional/src/test/java/org/openbel/framework/test/TestEndPointKamHandleValidation.java
Java
apache-2.0
11,969
// Copyright (C) 2014 Open Data ("Open Data" refers to // one or more of the following companies: Open Data Partners LLC, // Open Data Research LLC, or Open Data Capital LLC.) // // This file is part of Hadrian. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in ...
opendatagroup/hadrian
hadrian/src/test/scala/shared.scala
Scala
apache-2.0
4,842
/* Copyright 2009-2021 EPFL, Lausanne */ package stainless package verification import org.scalatest._ trait DottyVerificationSuite extends VerificationComponentTestSuite { override def configurations = super.configurations.map { seq => optFailInvalid(true) +: seq } override protected def optionsString(o...
epfl-lara/stainless
frontends/dotty/src/it/scala/stainless/verification/DottyVerificationSuite.scala
Scala
apache-2.0
1,184
Public Class ConfigForm Private Sub ConfigForm_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim Reg As Microsoft.Win32.RegistryKey, s As String Reg = My.Computer.Registry.CurrentUser.OpenSubKey("Software\Microsoft\Windows\CurrentVersion\Run", False) s...
tavultesoft/keymanweb
windows/src/developer/samples/Products/LaoUnicode/LaoUnicode/Config.vb
Visual Basic
apache-2.0
1,185
/* * Copyright (C) 2015 Twitter, 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 agr...
twitter/twitter-kit-android
twitter-mopub/src/main/java/com/twitter/sdk/android/mopub/TwitterStaticNativeAdRenderer.java
Java
apache-2.0
2,781
// Copyright 2018 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 in ...
google/supl-client
src/main/java/com/google/location/suplclient/asn1/base/Asn1ParameterObject.java
Java
apache-2.0
2,092
# =============================================================================== # Copyright 2013 Jake Ross # # 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...
UManPychron/pychron
pychron/spectrometer/tasks/spectrometer_task.py
Python
apache-2.0
11,184
/* * Copyright 2020 The 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 agree...
google/knative-gcp
pkg/apis/intevents/v1/topic_lifecycle.go
GO
apache-2.0
5,205
#!/usr/bin/perl -w ## Raquel Norel (rnorel@us.ibm.com) 01/2015 #validate format of predictions for DREAM9.5 Olfactory Prediciton Challenge (sub challenge 1) #not using gold standard here, hardcode or build needed info use strict; use Cwd qw(abs_path cwd); ## command line arguments if (@ARGV != 3) { print "\nUSA...
Sage-Bionetworks/OlfactionDREAMChallenge
src/main/resources/DREAM_Olfactory_S1_validation.pl
Perl
apache-2.0
7,965
--- layout: model title: Translate Brazilian Sign Language to Swedish Pipeline author: John Snow Labs name: translate_bzs_sv date: 2021-06-04 tags: [open_source, pipeline, seq2seq, translation, bzs, sv, xx, multilingual] task: Translation language: xx edition: Spark NLP 3.1.0 spark_version: 3.0 supported: true article_...
JohnSnowLabs/spark-nlp
docs/_posts/maziyarpanahi/2021-06-04-translate_bzs_sv_xx.md
Markdown
apache-2.0
2,646
<?php namespace Google\AdsApi\AdManager\v202202; /** * This file was generated from WSDL. DO NOT EDIT. */ class CreativeSetError extends \Google\AdsApi\AdManager\v202202\ApiError { /** * @var string $reason */ protected $reason = null; /** * @param string $fieldPath * @param \Goog...
googleads/googleads-php-lib
src/Google/AdsApi/AdManager/v202202/CreativeSetError.php
PHP
apache-2.0
1,078
# Miltonia binoti Cogn. SPECIES #### Status ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
mdoering/backbone
life/Plantae/Magnoliophyta/Liliopsida/Asparagales/Orchidaceae/Miltonia/Miltonia binoti/README.md
Markdown
apache-2.0
171
/* * Copyright 2021 ThoughtWorks, 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 agr...
GaneshSPatil/gocd
server/src/test-fast/java/com/thoughtworks/go/config/update/CreatePackageConfigCommandTest.java
Java
apache-2.0
11,054
/* * 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...
vovagrechka/fucking-everything
phizdets/phizdets-idea/src/vgrechka/phizdetsidea/phizdets/psi/impl/ResolveResultList.java
Java
apache-2.0
1,778
namespace ChatSystem.Server.Models.Account { public class LoginStatus { public bool Success { get; set; } public string Message { get; set; } public string TargetURL { get; set; } } }
deyantodorov/Zeus-WebServicesCould-TeamWork
Source/ChatSystem/Server/ChatSystem.Server/Models/Account/LoginStatus.cs
C#
apache-2.0
224
package cz.cuni.mff.d3s.deeco.demo.parkinglotbooking; import java.io.Serializable; public class Position implements Serializable { private static final long serialVersionUID = -1251527172175834548L; public int latitude; public int longitude; public Position(int latitude, int longitude) { this...
d3scomp/JDEECo-old
src/cz/cuni/mff/d3s/deeco/demo/parkinglotbooking/Position.java
Java
apache-2.0
883
package au.com.dius.pact.provider.junitsupport.filter; import au.com.dius.pact.core.model.Interaction; import au.com.dius.pact.core.model.RequestResponseInteraction; import java.util.Arrays; import java.util.function.Predicate; public interface InteractionFilter<I extends Interaction> { Predicate<I> buildPredic...
DiUS/pact-jvm
provider/src/main/java/au/com/dius/pact/provider/junitsupport/filter/InteractionFilter.java
Java
apache-2.0
1,617
/* * Copyright (c) 2008-2018 Haulmont. * * 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...
dimone-kun/cuba
modules/web-widgets/src/com/haulmont/cuba/web/widgets/CubaTimeField.java
Java
apache-2.0
7,434
/* * Copyright 2014-2018 JKOOL, 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...
Nastel/tnt4j-streams
tnt4j-streams-core/src/main/java/com/jkoolcloud/tnt4j/streams/configure/jaxb/JavaObject.java
Java
apache-2.0
5,842
public class JumpGame { public boolean canJump(int[] A) { int maxIndex = 0; for(int i=0;i<A.length;i++) { if(i>maxIndex) return false; maxIndex = Math.max(maxIndex, i+A[i]); if(maxIndex>=A.length-1) break; } return false; } public int jump(int[] A) { if(A==null || A.length==...
EricDong4/LeetCode
src/JumpGame.java
Java
apache-2.0
1,584
<a href="../juguetes-toxicos" class="text-primary"> <div class="articulo thumbnail-link animated pulse col-xs-6 col-sm-6 col-md-4"> <img src="../juguetes-toxicos/toxicos_md.jpg" alt="Juguetes toxicos"> <div class="thumbnail-parrafo"> <h4 class="service-heading">¿Cómo saber si los ju...
mayaibuki/explora
juguetes-toxicos/thumb.php
PHP
apache-2.0
777
angular.module('Angular').config([ '$routeProvider', function ($routeProvider) { $routeProvider.when('/exampleRoute', { templateUrl: 'app/exampleRoute/exampleRoute.html', controller: 'exampleRoute', controllerAs: 'exampleRoute' }); }]);
MartinKilonzo/Sandbox
src/app/exampleRoute/index.js
JavaScript
apache-2.0
259
/* * Copyright 2014-present Facebook, 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...
tgummerer/buck
src/com/facebook/buck/cxx/CxxLinkableEnhancer.java
Java
apache-2.0
11,888
import slayer from "./s_layer"; let params; export function jsApiCall(callback) { WeixinJSBridge.invoke( 'getBrandWCPayRequest', params, function (res) { if (res.err_msg == "get_brand_wcpay_request:ok") { slayer.alert('支付成功'); if (callback) { callback(); } }...
seed-builder/umbrella-wx
src/assets/js/wechat_pay.js
JavaScript
apache-2.0
969
/* * 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...
wyukawa/presto
presto-main/src/test/java/io/prestosql/sql/planner/iterative/rule/TestEliminateCrossJoins.java
Java
apache-2.0
11,033
// // SignInViewController.h // ContentBox // // Created by Igor Sapyanik on 22.01.14. /** * Copyright (c) 2014 Kinvey 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...
jenkinsairwdemo/finalnearme
QuoteApp/Classes/View Controllers/SignInViewController.h
C
apache-2.0
994
<!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.6.0_27) on Mon Dec 16 23:53:28 EST 2013 --> <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> <title>Uses of Class org.a...
arrowli/RsyncHadoop
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/target/org/apache/hadoop/mapreduce/lib/input/class-use/SequenceFileInputFilter.PercentFilter.html
HTML
apache-2.0
4,938
import basepage class NavigationBars(basepage.BasePage): def expand_project_panel(self): elm = self.driver.find_element_by_css_selector( 'a[data-target="#sidebar-accordion-project"]') state = elm.get_attribute('class') if 'collapsed' in state: elm.click() e...
rcbops-qe/horizon-selenium
pages/navigation_bars.py
Python
apache-2.0
9,234
/** * cms 新增js */ $(document).ready(function(){ // 数据回显 if(bzptCmsId){ intaddBzptCms(bzptCmsId); } //保存 $("#btn_save").on("click",function(){ addBzptCms.saveData(); }); // //确认 // $("#btn_affirm").on("click",function(){ // addArchives.affirmData(); // }); //返回 $("#btn_back").on("click",function(...
1461862234/kzf
BZGZPT/bzgzpt-web/src/main/webapp/static/scripts/archives/bzptCms/addBzptCms.js
JavaScript
apache-2.0
2,580
/** * Created by kev on 15-08-14. */ define(['underscore', 'base_sketch', 'snow_2/noiseBuffer'], function (_, BaseSketch, NoiseBuffer) { Number.prototype.mod = function (n) { return ((this % n) + n) % n; }; var HALF_PI = Math.PI / 2; ...
k-may/sketches
app/scripts/ts/sketches/Clima/snow_2/snow_sketch_2.js
JavaScript
apache-2.0
5,894
# Copyright 2015 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
tgracchus/spinnaker
pylib/spinnaker/transform_old_config.py
Python
apache-2.0
4,498
<!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_24) on Mon Oct 13 16:43:26 CST 2014 --> <TITLE> PagerSlidingTabStrip.IconTabProvider (MyMusic 1.0 API Reference) </TITLE> <META NAME="date" CO...
zhanglei920802/MyMusic
target/javadoc/com/tcl/lzhang1/mymusic/ui/widget/PagerSlidingTabStrip.IconTabProvider.html
HTML
apache-2.0
8,214
package bpool import "testing" func TestBytePool(t *testing.T) { var size int = 4 var width int = 10 bufPool := NewBytePool(size, width) // Check the width if bufPool.Width() != width { t.Fatalf("bytepool width invalid: got %v want %v", bufPool.Width(), width) } // Check that retrieved buffer are of the e...
oxtoacart/bpool
bytepool_test.go
GO
apache-2.0
1,295
/* Drop old Tables */ DROP TABLE IF EXISTS RGMS_DB.Sessions; DROP TABLE IF EXISTS RGMS_DB.Notifications; DROP TABLE IF EXISTS RGMS_DB.AccessRecords; DROP TABLE IF EXISTS RGMS_DB.DiscussionPosts; DROP TABLE IF EXISTS RGMS_DB.Documents; DROP TABLE IF EXISTS RGMS_DB.DiscussionThreads; DROP TABLE IF EXISTS RGMS_DB.Discuss...
TylerHaigh/seng2050-assignment3
SqlScripts/CreateDatabase.sql
SQL
apache-2.0
3,882
<!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_252) on Fri Aug 20 17:47:56 BST 2021 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Uses of Interface psidev.ps...
MICommunity/psi-jami
docs/psidev/psi/mi/jami/datasource/class-use/ModelledBinaryInteractionSource.html
HTML
apache-2.0
7,410
package main func main() { messages := make(chan bool) go func() { messages <- true }() println(<-messages && true) } // Output: // true
containous/yaegi
_test/chan8.go
GO
apache-2.0
144
<!doctype html> <html> <head> <meta charset=utf-8> <meta name=description content="Keine Werbung! Schnell und einfach myspass.de benutzen!"> <meta name=viewport content="width=device-width, initial-scale=1, minimal-ui"> <title>Werbefrei myspass.de</title> <meta name=mobile-web-app-capable content=yes> <link rel=apple-t...
patrickjaja/awhitepage.com
app/index.html
HTML
apache-2.0
3,201
# 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 # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing...
google-research/mint
mint/ctl/single_task_evaluator_test.py
Python
apache-2.0
2,149
// 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 System.Collections.Generic; using System.Threading.Tasks; using IdentityModel; using IdentityServer4.Endpoints.Results; using IdentitySe...
IdentityServer/IdentityServer4
src/IdentityServer4/src/Endpoints/DeviceAuthorizationEndpoint.cs
C#
apache-2.0
5,657
/* * 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...
ol-loginov/intellij-community
platform/platform-impl/src/com/intellij/openapi/vfs/newvfs/impl/VirtualFileSystemEntry.java
Java
apache-2.0
13,465
/** * Copyright (C) 2009 GIP RECIA http://www.recia.fr * @Author (C) 2009 GIP RECIA <contact@recia.fr> * @Contributor (C) 2009 SOPRA http://www.sopragroup.com/ * @Contributor (C) 2011 Pierre Legay <pierre.legay@recia.fr> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this f...
GIP-RECIA/esco-grouper-ui
ext/esup-commons/src/main/java/org/esupportail/commons/services/application/VersionningUtils.java
Java
apache-2.0
5,336
package org.jetbrains.plugins.scala package lang package psi package impl package base import com.intellij.lang.ASTNode import org.jetbrains.plugins.scala.lang.parser.ScalaElementTypes import org.jetbrains.plugins.scala.lang.psi.api.base._ import org.jetbrains.plugins.scala.lang.psi.api.base.patterns._ import org.jetb...
triggerNZ/intellij-scala
src/org/jetbrains/plugins/scala/lang/psi/impl/base/ScPatternListImpl.scala
Scala
apache-2.0
1,238
# Nemophila menziesii subsp. integrifolia (Parish) Munz SUBSPECIES #### 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/Boraginales/Boraginaceae/Nemophila/Nemophila menziesii/ Syn. Nemophila menziesii integrifolia/README.md
Markdown
apache-2.0
213
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2022 DBeaver Corp and others * Copyright (C) 2010-2017 Eugene Fradkin (eugene.fradkin@gmail.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...
dbeaver/dbeaver
plugins/org.jkiss.dbeaver.ext.oracle/src/org/jkiss/dbeaver/ext/oracle/model/OracleQueue.java
Java
apache-2.0
4,024
package com.zm.paipai.pinglunactivity; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.EditText; import android...
wsd325888/paike1
app/src/main/java/com/zm/paipai/pinglunactivity/listActivity.java
Java
apache-2.0
5,270
/* Copyright 2020 The Knative 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, soft...
knative-sandbox/eventing-autoscaler-keda
third_party/pkg/client/injection/informers/keda/v1alpha1/clustertriggerauthentication/filtered/clustertriggerauthentication.go
GO
apache-2.0
4,685
# Euphorbia orygis Dinter SPECIES #### Status ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
mdoering/backbone
life/Plantae/Magnoliophyta/Magnoliopsida/Malpighiales/Euphorbiaceae/Euphorbia/Euphorbia orygis/README.md
Markdown
apache-2.0
173
# Herpesvirales ORDER #### Status ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
mdoering/backbone
life/Viruses/Herpesvirales/README.md
Markdown
apache-2.0
169
# Ciminalis aquatica (L.) Zuev SPECIES #### Status ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name Gentiana aquatica auct. non L. ### Remarks null
mdoering/backbone
life/Plantae/Magnoliophyta/Magnoliopsida/Gentianales/Gentianaceae/Ciminalis/Ciminalis aquatica/README.md
Markdown
apache-2.0
204
# Primula knuthiana Pax SPECIES #### Status ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
mdoering/backbone
life/Plantae/Magnoliophyta/Magnoliopsida/Ericales/Primulaceae/Primula/Primula knuthiana/README.md
Markdown
apache-2.0
171
# Candollea amoena (R.Br.) F.Muell. SPECIES #### Status ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name Stylidium amoenum R.Br. ### Remarks null
mdoering/backbone
life/Plantae/Magnoliophyta/Magnoliopsida/Asterales/Stylidiaceae/Stylidium/Candollea amoena/README.md
Markdown
apache-2.0
202
# Isoetes rimbachiana H.P.Fuchs SPECIES #### Status ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
mdoering/backbone
life/Plantae/Lycopodiophyta/Lycopodiopsida/Isoetales/Isoetaceae/Isoetes/Isoetes rimbachiana/README.md
Markdown
apache-2.0
179
# Chassalia lurida (Blume) Miq. 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/Gentianales/Rubiaceae/Chassalia/Chassalia curviflora/ Syn. Chassalia lurida/README.md
Markdown
apache-2.0
186
# Geopyxis marasmioides Speg. SPECIES #### Status ACCEPTED #### According to Index Fungorum #### Published in Syll. fung. (Abellini) 8: 66 (1889) #### Original name Geopyxis marasmioides Speg. ### Remarks null
mdoering/backbone
life/Fungi/Ascomycota/Pezizomycetes/Pezizales/Pyronemataceae/Geopyxis/Geopyxis marasmioides/README.md
Markdown
apache-2.0
214
# Nocardia Trevis. GENUS #### Status ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name Nocardia Trevis. ### Remarks null
mdoering/backbone
life/Bacteria/Actinobacteria/Actinobacteria/Actinomycetales/Nocardiaceae/Nocardia/README.md
Markdown
apache-2.0
184
# Eryngium biebersteinianum Nevski ex Bobrov 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/Apiales/Apiaceae/Eryngium/Eryngium caeruleum/ Syn. Eryngium biebersteinianum/README.md
Markdown
apache-2.0
199
# Otidea reisneri Velen. SPECIES #### Status ACCEPTED #### According to Index Fungorum #### Published in Ceské Houby 4-5: 872 (1922) #### Original name Otidea reisneri Velen. ### Remarks null
mdoering/backbone
life/Fungi/Ascomycota/Pezizomycetes/Pezizales/Pyronemataceae/Otidea/Otidea reisneri/README.md
Markdown
apache-2.0
197
package com.yy.cloud.core.assess.data.repositories; /** * Function: TODO ADD FUNCTION. <br/> * Reason: TODO ADD REASON. <br/> * Date: 5/8/18 9:07 PM<br/> * * @author chenxj * @see * @since JDK 1.8 */ public interface PerAssessAnswerCount { Integer getCompletedCount(); }
YY-ORG/yycloud
yy-core/yy-assess/src/main/java/com/yy/cloud/core/assess/data/repositories/PerAssessAnswerCount.java
Java
apache-2.0
289
class User(object): def __init__(self, username=None, password=None, email=None): self.username = username self.password = password self.email = email @classmethod def admin(cls): return cls(username="admin", password="admin") #random values for username and password ...
ArtemVavilov88/php4dvd_tests
php4dvd/model/user.py
Python
apache-2.0
512
package com.baofeng.fengmi.remoter; import android.media.AudioManager; import android.media.SoundPool; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.v...
battleground/joker
tv-remoter/src/main/java/com/baofeng/fengmi/remoter/RemoteControlFragment.java
Java
apache-2.0
8,424
<div> <span>This is a comma separated list of Ant-style GLOB paths (relative to workspace root) of source or binary files.</span> <span>Ex: src/main/java/**/*.java or bin/**/*.class.</span> <span>Any files matching the supplied paths will be included in the zip sent to Code Dx.</span> <span>For some information about t...
jenkinsci/codedx-plugin
src/main/webapp/help-sourceAndBinaryFiles.html
HTML
apache-2.0
422
/** * Copyright [2013] [runrightfast.co] * * 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...
runrightfast-archived/runrightfast-object-schema-registry-hapi-plugin
lib/object-schema-routes.js
JavaScript
apache-2.0
19,523