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 |
|---|---|---|---|---|---|
package acc.common.cmdline;
/**
* Defines a data validator.
*/
public interface IValidator {
/**
* Validates the specified value and returns an error message if the data is not valid.
* If the data is valid, method should return null.
* @param value Value to validate
* @return Null value if d... | Guidewire/java-cmd-parser | src/acc/common/cmdline/IValidator.java | Java | apache-2.0 | 408 |
using System.Threading.Tasks;
using JetBrains.Annotations;
using Xunit;
using YouTrackSharp.Management;
using YouTrackSharp.Tests.Infrastructure;
namespace YouTrackSharp.Tests.Integration.Management.TimeTracking
{
[UsedImplicitly]
public partial class TimeTrackingServiceTests
{
public class TimeTra... | JetBrains/YouTrackSharp | tests/YouTrackSharp.Tests/Integration/Management/TimeTracking/UpdateTimeTrackingSettingsForProject.cs | C# | apache-2.0 | 960 |
/*
* Copyright 2015 agwlvssainokuni
*
* 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 ... | agwlvssainokuni/springapp | foundation/src/test/java/cherry/foundation/testtool/stub/StubTest.java | Java | apache-2.0 | 9,800 |
if ( SERVER ) then
AddCSLuaFile( "shared.lua" )
end
if ( CLIENT ) then
SWEP.PrintName = "DC-15A TIGER"
SWEP.Author = "TFA"
SWEP.ViewModelFOV = 50
SWEP.Slot = 2
SWEP.SlotPos = 3
SWEP.WepSelectIcon = surface.GetTextureID("HUD/killicons/DC15A")
killicon.Add( "weapon_752_dc15a", "HUD/killi... | Servius/tfa-sw-weapons-repository | Live Addons/servius_uploader_legacy/tfa_swrp_expanded_weapons_pack/lua/weapons/tfa_swch_dc15a_tiger_fray/shared.lua | Lua | apache-2.0 | 2,809 |
/*!
* UI development toolkit for HTML5 (OpenUI5)
* (c) Copyright 2009-2020 SAP SE or an SAP affiliate company.
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
*/
sap.ui.define(['jquery.sap.global', './ListItemBaseRenderer', 'sap/ui/core/Renderer'],
function(jQuery, ListItemBaseRenderer, Render... | openui5/packaged-sap.m | resources/sap/m/MenuListItemRenderer.js | JavaScript | apache-2.0 | 3,122 |
# Copyright 2016 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 to in writing,... | robertswiecki/oss-fuzz | projects/augeas/Dockerfile | Dockerfile | apache-2.0 | 1,011 |
<div class='row'>
<div class='col-sm-12 col-md-12 col-lg-12 center-block'>
<video id="videojs-overlay-player" class="video-js vjs-default-skin" controls width="auto" height="auto">
<source src="<?= $video->src; ?>" type='<?= $video->type ?>'>
</video>
</div>
</div>
<div id='tabs'>
<ul>
<li><a href... | karlmoser/Video-Annotation | web/public/application/views/parts/singleVideo.php | PHP | apache-2.0 | 9,652 |
package ecs
//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... | tgraf/cilium | vendor/github.com/aliyun/alibaba-cloud-sdk-go/services/ecs/describe_invocations.go | GO | apache-2.0 | 4,910 |
using System.Web.Mvc;
namespace TestSecurity
{
public class FilterConfig
{
public static void RegisterGlobalFilters(GlobalFilterCollection filters)
{
filters.Add(new HandleErrorAttribute());
}
}
}
| Searching/securityframework | TestSecurity/App_Start/FilterConfig.cs | C# | apache-2.0 | 249 |
/*
* Copyright 2007 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... | lukas-krecan/smock | samples/springws-server-test/src/main/java/net/javacrumbs/airline/server/AirlineWebServiceConstants.java | Java | apache-2.0 | 1,122 |
/**
* Appcelerator Titanium Mobile
* Copyright (c) 2013 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Apache Public License
* Please see the LICENSE included with this distribution for details.
*/
#include "NativeGestureObject.h"
#include <bb/device/DeviceInfo>
#include <bb/device/... | appcelerator/titanium_mobile_blackberry | src/tibb/src/NativeGestureObject.cpp | C++ | apache-2.0 | 6,245 |
package org.tlhInganHol.android.klingonttsdemo;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.View;
import android.view.Me... | dlyongemallo/KlingonTTSDemo | app/src/main/java/org/tlhInganHol/android/klingonttsdemo/KlingonTTSDemoActivity.java | Java | apache-2.0 | 2,538 |
#!/usr/bin/python
# Copyright (c) 2014 SwiftStack, 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... | caiobrentano/swift_undelete | setup.py | Python | apache-2.0 | 1,663 |
<?php
require_once("./root_print_config.inc.php");
if (PamApplication::hasValidSession(null) && PermissionsService::isPrintAllowed(PERMISSION_SCOREBOARD)) {
require_once("pdf/rpdf/sb_team.php");
}
?>
| joris520/broodjesalami | pam-public/print/rpdf_sb_team.php | PHP | apache-2.0 | 221 |
package com.bjorktech.cayman.idea.architecture.o2o.meituan;
/**
* User: sheshan
* Date: 2018/8/15
* content:
*/
public class LockStock {
/**
* update lockCount = lockCount + n where id = 100 and totalCount -lockCount >= 4,防止超卖
*/
public void lockStock() {
}
}
| wanliwang/cayman | cm-idea/src/main/java/com/bjorktech/cayman/idea/architecture/o2o/meituan/LockStock.java | Java | apache-2.0 | 298 |
/* Copyright (c) 2014, Paul L. Snyder <paul@pataprogramming.com>,
* Daniel Dubois, Nicolo Calcavecchia.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation; either version 2 of the License, or... | damianarellanes/RASupport | src/myconet/MycoNodeDegreeComparator.java | Java | apache-2.0 | 1,182 |
<!DOCTYPE html>
<html class="theme-next mist use-motion" lang="zh-CN">
<head>
<meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2"/>
<meta name="theme-color" content="#222">
<me... | iCocos/iCocos.github.io | tags/流量/index.html | HTML | apache-2.0 | 50,097 |
/* Copyright 2021 - 2022 R. Thomas
*
* 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... | lief-project/LIEF | src/PE/Structures.hpp | C++ | apache-2.0 | 12,832 |
/**
* Copyright (C) 2015 DANS - Data Archiving and Networked Services (info@dans.knaw.nl)
*
* 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... | DANS-KNAW/easy-stage-dataset | command/src/main/scala/nl.knaw.dans.easy.stage.command/CommandLineOptions.scala | Scala | apache-2.0 | 5,075 |
/*
Copyright 2016 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, ... | ibm-contribs/kubernetes | pkg/client/typed/dynamic/client.go | GO | apache-2.0 | 9,657 |
<!DOCTYPE html>
<!--[if lt IE 7]> <html lang="pt-BR" ng-app="lunchTime" class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html lang="pt-BR" ng-app="lunchTime" class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html lang="pt-BR" ng-app="lunchTime" class="no-js lt-ie9"> <
After the job runs, you can view the results, including the following job details, which show that
the application was stoped
successfully:
!... | electric-cloud/EC-WebSphere | help/procedures/StopApp/postface.md | Markdown | apache-2.0 | 535 |
<!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:25 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-solrj/org/apache/solr/common/cloud/class-use/Replica.html | HTML | apache-2.0 | 17,095 |
/*
* 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-ec2/src/main/java/com/amazonaws/services/ec2/model/PrincipalIdFormat.java | Java | apache-2.0 | 6,124 |
# Meliola venezuelana var. venezuelana Orejuela VARIETY
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Meliola venezuelana var. venezuelana Orejuela
### Remarks
null | mdoering/backbone | life/Fungi/Ascomycota/Dothideomycetes/Meliolales/Meliolaceae/Meliola/Meliola venezuelana/Meliola venezuelana venezuelana/README.md | Markdown | apache-2.0 | 219 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `CR1` constant in crate `libc`.">
<meta name="keywords" con... | nitro-devs/nitro-game-engine | docs/libc/constant.CR1.html | HTML | apache-2.0 | 4,286 |
# AUTOGENERATED FILE
FROM balenalib/iot-gate-imx8-debian:bullseye-build
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
ca-certificates \
curl \
\
# .NET Core dependencies
libc6 \
libgcc1 \
libgssapi-krb5-2 \
libicu67 \
libssl1.1 ... | resin-io-library/base-images | balena-base-images/dotnet/iot-gate-imx8/debian/bullseye/3.1-sdk/build/Dockerfile | Dockerfile | apache-2.0 | 2,922 |
import os
import time
import logging
import math
from parsl.channels import LocalChannel
from parsl.launchers import SingleNodeLauncher
from parsl.providers.cluster_provider import ClusterProvider
from parsl.providers.lsf.template import template_string
from parsl.providers.provider_base import JobState, JobStatus
fro... | Parsl/parsl | parsl/providers/lsf/lsf.py | Python | apache-2.0 | 10,602 |
package im.getsocial.demo.fragment;
import java.util.List;
import java.util.Map;
import javax.annotation.Nullable;
public class SearchObject {
public String searchTerm;
@Nullable
public List<String> labels;
@Nullable
public Map<String, String> properties;
public static SearchObject empty() ... | getsocial-im/getsocial-android-sdk | example/src/main/java/im/getsocial/demo/fragment/SearchObject.java | Java | apache-2.0 | 426 |
/*
* 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 ... | gnodet/camel | core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/SimpleCamelContext.java | Java | apache-2.0 | 21,088 |
package com.example.component_dependency;
import arez.annotations.ArezComponent;
import arez.annotations.ComponentDependency;
import arez.annotations.Observable;
import arez.component.DisposeNotifier;
@ArezComponent
abstract class ComplexDependencyModel
{
@ComponentDependency
DisposeNotifier getValue1()
{
r... | realityforge/arez | processor/src/test/fixtures/input/com/example/component_dependency/ComplexDependencyModel.java | Java | apache-2.0 | 530 |
/*
* Copyright (c) 2017 Microchip Technology Inc. and its subsidiaries (Microchip). 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/lic... | chipKIT32/chipKIT-importer-2.0 | src/com/microchip/mplab/nbide/embedded/arduino/wizard/ImportWorker.java | Java | apache-2.0 | 22,331 |
---
layout: base
title: 'Statistics of Person[psor] in UD_Turkish'
udver: '2'
---
## Treebank Statistics: UD_Turkish: Features: `Person[psor]`
This feature is language-specific.
It occurs with 3 different values: `1`, `2`, `3`.
This is a <a href="../../u/overview/feat-layers.html">layered feature</a> with the follo... | UniversalDependencies/docs | treebanks/tr_imst/tr-feat-Person-psor.md | Markdown | apache-2.0 | 43,029 |
// This is all mercilessly copied from LoadBalancersTag.tsx. This should be clenaed up at some point
// Probably when we convert clusters view to React.
import * as React from 'react';
import * as ReactGA from 'react-ga';
import autoBindMethods from 'class-autobind-decorator';
import { sortBy } from 'lodash';
import ... | kenzanlabs/deck | app/scripts/modules/amazon/src/loadBalancer/AmazonLoadBalancersTag.tsx | TypeScript | apache-2.0 | 7,131 |
Given(/^I am on the sign in page$/) do
@current_page = page(SignInPage)
raise "Expected to be on the 'sign in page'" unless @current_page.current_page?
end
Given(/^I enter a valid username$/) do
@current_page.enter_username($valid_username)
end
Given(/^I enter a valid password$/) do
@current_page.enter_passw... | we7/calabash-trainer | app/features/step_definitions/login_steps.rb | Ruby | apache-2.0 | 752 |
<?php
/**
* AvailabilityFollowUpTimeSlotModel
*
* PHP version 5
*
* @category Class
* @package BumbalClient
* @author Swaagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen
*/
/**
* Bumbal Client Api
*
* Bumbal API documentation
*
* OpenAPI spec version: 2.0
* Contact: gerb@... | freightlive/bumbal-client-api-php | src/Model/AvailabilityFollowUpTimeSlotModel.php | PHP | apache-2.0 | 8,933 |
import java.util.Hashtable;
import java.util.Map;
/**
* La classe {@link Arguments} permet de traiter les arguments lisibles
* passés en paramètres du lancement du programme
*/
public class Arguments {
static public String graph = "";
static public long limit = -1;
static public int method = 0;
static public St... | jfourmond/CliqueIssue | CliqueIssue/src/Arguments.java | Java | apache-2.0 | 2,616 |
package com.asadmshah.drawnearby.network;
import com.asadmshah.drawnearby.models.DrawEvent;
public interface NearbyDrawerRoom {
void connect();
void disconnect();
void setListener(NearbyDrawerRoomListener listener);
void sendDrawEvent(DrawEvent event);
}
| asadmshah/drawnearby | app/src/main/java/com/asadmshah/drawnearby/network/NearbyDrawerRoom.java | Java | apache-2.0 | 273 |
package com.sean.bigdata.action;
import com.sean.bigdata.bean.ReportBean;
import com.sean.bigdata.constant.A;
import com.sean.bigdata.constant.M;
import com.sean.bigdata.constant.P;
import com.sean.bigdata.constant.R;
import com.sean.common.ioc.ResourceConfig;
import com.sean.service.annotation.ActionConfig;
import co... | seanzwx/workspace | bigdata/bigdata-core/src/main/java/com/sean/bigdata/action/InquireReportAction.java | Java | apache-2.0 | 1,054 |
/*
* Copyright 2011-2014 Eric F. Savage, code@efsavage.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 re... | efsavage/ajah | ajah-user/src/main/java/com/ajah/user/login/LogInSource.java | Java | apache-2.0 | 2,870 |
package nam.model.query;
import java.io.Serializable;
import javax.enterprise.context.SessionScoped;
import javax.inject.Named;
import org.aries.ui.AbstractWizardPage;
import nam.model.Query;
import nam.model.util.QueryUtil;
@SessionScoped
@Named("queryDocumentationSection")
public class QueryRecord_Documentation... | tfisher1226/ARIES | nam/nam-view/src/main/java/nam/model/query/QueryRecord_DocumentationSection.java | Java | apache-2.0 | 917 |
/*
* Copyright 2013 Gunnar Kappei.
*
* 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... | moosbusch/xbLIDO | src/net/opengis/gml/impl/DecimalMinutesDocumentImpl.java | Java | apache-2.0 | 3,447 |
/**
* @license
* Copyright 2020 Google LLC. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | tensorflow/tfjs | tfjs-core/src/ops/div.ts | TypeScript | apache-2.0 | 2,201 |
package org.cloudbus.mcweb.rules.relations;
/**
* Represents an algebraic relation with a left hand side (lhs) and
* a rigth hand side (rhs);
*
* @author nikolay.grozev
*
* @param <T> - the compile time type of the arguements.
*/
public interface IRelation<T> {
/**
* Returns the left hand side (l... | nikolayg/MCWeb | acrules/src/main/java/org/cloudbus/mcweb/rules/relations/IRelation.java | Java | apache-2.0 | 2,055 |
'use strict';
module.exports = {
db: "mongodb://localhost/openqna-test",
port: 3001,
facebook: {
clientID: "APP_ID",
clientSecret: "APP_SECRET",
callbackURL: "http://localhost:3000/auth/facebook/callback"
},
twitter: {
clientID: "CONSUMER_KEY",
clientSecret: ... | noamshemesh/openqna | config/env/test.js | JavaScript | apache-2.0 | 715 |
/*
* Copyright 2017 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 app... | etirelli/jbpm | jbpm-case-mgmt/jbpm-case-mgmt-impl/src/main/java/org/jbpm/casemgmt/impl/wih/NotifyParentCaseEventListener.java | Java | apache-2.0 | 5,369 |
# Situm demo
This is a simple app to test situm sdk.
<img src="./art/screenshot1.png" width="30%"/>
<img src="./art/screenshot2.png" width="30%" style="float: right;"/>
<img src="./art/screenshot3.png" width="30%"/>
## Usage
1. **Config your api key and your user in keys.properties file**
2. **Set your building id in... | mrebollob/situm-demo | README.md | Markdown | apache-2.0 | 490 |
/*
* Copyright 2015 Adaptris 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 a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | mcwarman/interlok | adapter/src/main/java/com/adaptris/util/stream/LoggingOutputStreamImpl.java | Java | apache-2.0 | 4,605 |
/*
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, sof... | knative-sandbox/eventing-prometheus | pkg/apis/sources/v1alpha1/prometheus_defaults.go | GO | apache-2.0 | 784 |
#pragma once
#include <memory>
#include "extensions/filters/http/jwt_authn/authenticator.h"
#include "extensions/filters/http/jwt_authn/verifier.h"
#include "test/mocks/upstream/mocks.h"
#include "gmock/gmock.h"
using ::google::jwt_verify::Status;
namespace Envoy {
namespace Extensions {
namespace HttpFilters {
n... | eklitzke/envoy | test/extensions/filters/http/jwt_authn/mock.h | C | apache-2.0 | 2,999 |
<!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="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | Wessi/OpenNI | Source/DoxyGen/html/struct_xn_module_scene_analyzer_interface-members.html | HTML | apache-2.0 | 3,570 |
---
title: Getting Started
page_title: Getting Started - WinForms ScrollBar Control
description: Learn how using Telerik scrollbars is a bit more intricate compared to using the standard scroll bars because you have to handle scroll event manually.
slug: winforms/track-and-status-controls/scrollbar/getting-started
tags... | telerik/winforms-docs | controls/track-and-status-controls/scrollbar/getting-started.md | Markdown | apache-2.0 | 4,412 |
/*
* 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-securityhub/src/main/java/com/amazonaws/services/securityhub/model/DisableImportFindingsForProductRequest.java | Java | apache-2.0 | 4,185 |
/*
* Copyright © EMC Corporation. All rights reserved.
*/
package radl.eclipse.builder;
import java.util.Map;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.resources.IResourceDelta;
import org.eclipse.core.resources.IncrementalProjectBuilder;
import... | restful-api-description-language/RADL | java/eclipse/src/main/java/radl/eclipse/builder/RadlBuilder.java | Java | apache-2.0 | 1,881 |
# -*- coding: utf-8 -*-
'''
fantastic Add-on
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This pro... | TheWardoctor/Wardoctors-repo | script.module.fantastic/lib/resources/lib/sources/en/movie4kis.py | Python | apache-2.0 | 4,184 |
# All-Terrain-Life-Vest
All Terrain Life Vest- IEA Raspverry Pi Competition Entry
# Description
import RPi.GPIO as GPIO
import time
import os
GPIO.setmode (GPIO.BCM)
GPIO.cleanup()
GPIO.setwarnings(False)
GPIO.setup(17,GPIO.OUT)
GPIO.setup(04,GPIO.OUT)
GPIO.setup(22, GPIO.IN)
print("---------------")
print("Button... | 8acs2016/All-Terrain-Life-Vest | code.py | Python | apache-2.0 | 762 |
/*
* Name: $RCSfile: BaseRelativeLayout.java,v $
* Version: $Revision: 1.1 $
* Date: $Date: Nov 14, 2011 5:36:00 PM $
*
* Copyright (C) 2011 COMPANY_NAME, Inc. All rights reserved.
*/
package mdn.vtvsport.common;
import android.app.Activity;
import android.content.Context;
import android.util.AttributeSet;
impo... | ribbon-xx/VTVPro-Plus | VtvPro/src/mdn/vtvsport/common/BaseRelativeLayout.java | Java | apache-2.0 | 1,325 |
<!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.5.0_22) on Wed May 30 16:47:58 EEST 2012 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
ComponentResolvers.ResolverFilte... | afiantara/apache-wicket-1.5.7 | apidocs/org/apache/wicket/markup/resolver/ComponentResolvers.ResolverFilter.html | HTML | apache-2.0 | 9,417 |
/*
* 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 ... | sk0x50/ignite | modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/sys/view/SqlSystemViewNodes.java | Java | apache-2.0 | 3,717 |
import urllib
from flask import Flask, Response, abort, request, send_file
from flask_restful import Resource, Api
from flask_cors import CORS, cross_origin
import datetime
import json
import vacker.file_factory
app = Flask(__name__)
api = Api(app)
file_factory = vacker.file_factory.FileFactory()
CORS(app, resourc... | MatthewJohn/vacker | vacker/server.py | Python | apache-2.0 | 1,498 |
<!DOCTYPE HTML>
<!--
Eventually by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
<head>
<title>Login</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<!--[... | sepProjectTeam/TourismApplication | sep_ii_pro/application/views/login/login.php | PHP | apache-2.0 | 5,910 |
# Copyright 2019 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | alexgorban/models | official/vision/detection/modeling/retinanet_model.py | Python | apache-2.0 | 6,957 |
import logging
from boto3.resources.factory import ResourceFactory
from boto3.resources.model import ResourceModel
from boto3.resources.base import ResourceMeta
from boto3.docs import docstring
from boto3.exceptions import ResourceLoadException
from boto3.resources.factory import build_identifiers
from functools impor... | terrycain/aioboto3 | aioboto3/resources/factory.py | Python | apache-2.0 | 10,415 |
# Thelypteris fadenii Fosb. & Sachet SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Pteridophyta/Polypodiopsida/Polypodiales/Thelypteridaceae/Thelypteris/Thelypteris fadenii/README.md | Markdown | apache-2.0 | 184 |
# Caraipa richardiana var. typica Wawra VARIETY
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Malpighiales/Clusiaceae/Caraipa/Caraipa richardiana/Caraipa richardiana typica/README.md | Markdown | apache-2.0 | 187 |
# Crotalaria homblei De Wild. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Fabales/Fabaceae/Crotalaria/Crotalaria homblei/README.md | Markdown | apache-2.0 | 177 |
# Masakia yoshinagae (Makino) Nakai SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Rhodophyta/Florideophyceae/Corallinales/Corallinaceae/Masakiella/Masakia yoshinagae/README.md | Markdown | apache-2.0 | 183 |
# Pandanus cochleatus H.St.John SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Liliopsida/Pandanales/Pandanaceae/Pandanus/Pandanus cochleatus/README.md | Markdown | apache-2.0 | 187 |
# Aphanocapsa biformis A. Braun SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Bacteria/Cyanobacteria/Chroococcales/Merismopediaceae/Aphanocapsa/Aphanocapsa biformis/README.md | Markdown | apache-2.0 | 187 |
import deepFreeze from 'deep-freeze';
import {
getUnreadByStream,
getUnreadStreamTotal,
getUnreadByPms,
getUnreadPmsTotal,
getUnreadByHuddles,
getUnreadHuddlesTotal,
getUnreadMentionsTotal,
getUnreadTotal,
getUnreadStreamsAndTopics,
getUnreadStreamsAndTopicsSansMuted,
} from '../unreadSelectors';
... | vishwesh3/zulip-mobile | src/unread/__tests__/unreadSelectors-test.js | JavaScript | apache-2.0 | 15,573 |
package com.raxdenstudios.mvp.sample.login.presenter;
import android.content.Context;
import android.os.Bundle;
import android.os.Handler;
import com.raxdenstudios.mvp.sample.login.UserModel;
import com.raxdenstudios.mvp.presenter.Presenter;
import com.raxdenstudios.mvp.sample.login.view.ILoginFragmentView;
public c... | raxden/AndroidMVP | sample/src/main/java/com/raxdenstudios/mvp/sample/login/presenter/LoginFragmentPresenter.java | Java | apache-2.0 | 2,353 |
/*
* 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 ... | apache/commons-vfs | commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/tar/CreateFileSystemTest.java | Java | apache-2.0 | 2,566 |
// 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 writi... | googleads/googleads-java-lib | modules/dfp_appengine/src/main/java/com/google/api/ads/admanager/jaxws/v202105/FrequencyCapBehavior.java | Java | apache-2.0 | 2,058 |
# AUTOGENERATED FILE
FROM balenalib/raspberrypi4-64-debian:buster-run
ENV GO_VERSION 1.15.7
# gcc for cgo
RUN apt-get update && apt-get install -y --no-install-recommends \
g++ \
gcc \
libc6-dev \
make \
pkg-config \
git \
&& rm -rf /var/lib/apt/lists/*
RUN set -x \
&& fetchDeps=' \
curl \
' \
&& a... | nghiant2710/base-images | balena-base-images/golang/raspberrypi4-64/debian/buster/1.15.7/run/Dockerfile | Dockerfile | apache-2.0 | 2,330 |
<?php
/**
* Functions related to the OpenID Consumer.
*/
// hooks for getting user data
add_filter( 'openid_auth_request_extensions', 'openid_add_sreg_extension', 10, 2 );
add_filter( 'openid_auth_request_extensions', 'openid_add_ax_extension', 10, 2 );
add_filter( 'xrds_simple', 'openid_consumer_xrds_simple' );
... | diso/wordpress-openid | consumer.php | PHP | apache-2.0 | 7,742 |
from PyCA.Core import *
import PyCA.Common as common
import numpy as np
import matplotlib.pyplot as plt
def SplatSafe(outMass, g, mass):
mType = mass.memType()
if mType == MEM_DEVICE:
minmaxl = MinMax(mass)
maxval = max([abs(x) for x in minmaxl])
if maxval > 2000.00:
... | rkwitt/quicksilver | code/vectormomentum/Code/Python/Libraries/CAvmCommon.py | Python | apache-2.0 | 34,587 |
<!DOCTYPE html>
<html class="light page-tags前端">
<head>
<meta charset="utf-8">
<title>Tag: 前端 | 笑不忘书</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="keywords" content="前端,设计,Hexo主题,前端开发,用户体验,设计,frontend,design,Python,PHP" />
<meta p... | tfhnia/tfhnia.github.io | tags/前端/index.html | HTML | apache-2.0 | 13,460 |
/*
* Copyright 2019 Red Hat, 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... | emmartins/wildfly-server-migration | migrations/eap7.3/eap6.4/src/main/java/org/jboss/migration/eap6/to/eap7/tasks/EAP6_4ToEAP7_3UpdateMessagingActiveMQSubsystem.java | Java | apache-2.0 | 1,210 |
---
type: post101
title: Flash drive IMDG Storage
categories: XAP101TUT
parent: none
weight: 1600
---
XAP 10 introduces a new storage model called BlobStore Storage Model, which allows an external storage medium (one that does not reside on the JVM heap) to store the IMDG data. This guide describes the general archit... | croffler/documentation | sites/xap-docs/content/xap101tut/blobstore.markdown | Markdown | apache-2.0 | 1,068 |
# The Operator Splitting QP Solver
[](https://github.com/osqp/osqp/actions/workflows/main.yml)
[](https://coveralls.io/github/oxfordcontrol/osqp?branch=m... | oxfordcontrol/osqp | README.md | Markdown | apache-2.0 | 1,994 |
package com.socrata.soql.types.obfuscation
import org.scalatest.FunSuite
import org.scalatest.MustMatchers
import org.scalatestplus.scalacheck.ScalaCheckPropertyChecks
class LongFormatterTest extends FunSuite with MustMatchers with ScalaCheckPropertyChecks {
test("Format always produces exactly 14 characters") {
... | socrata-platform/soql-reference | soql-types/src/test/scala/com/socrata/soql/types/obfuscation/LongFormatterTest.scala | Scala | apache-2.0 | 1,635 |
// Copyright 2014-2015, Bryan Stockus
// 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... | bstockus/sting | Sting/Host/IControllableHost.cs | C# | apache-2.0 | 834 |
/*
* Copyright 2012-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 "licen... | dagnir/aws-sdk-java | aws-java-sdk-codepipeline/src/main/java/com/amazonaws/services/codepipeline/model/transform/GetJobDetailsResultJsonUnmarshaller.java | Java | apache-2.0 | 2,816 |
/**
* Copyright 2016 BitTorrent 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 wr... | bittorrent/scraps | include/scraps/net/UDPSocket.h | C | apache-2.0 | 3,152 |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="SHORTCUT ICON" href="../../../../../img/clover.ico" />
<link rel="stylesheet" href="../../../../../aui/css/aui.min.css" media... | dcarda/aba.route.validator | target13/site/clover/com/cardatechnologies/utils/validators/abaroutevalidator/Test_AbaRouteValidator_17b_testAbaNumberCheck_35713_good_kad.html | HTML | apache-2.0 | 9,184 |
package com.iisigroup.web;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
public class HelloWorldController {
@RequestMapping("helloWorld")
public String helloWorld(Model model) {
model.addAttribute... | lf23617358/training-sample | springmvc/spring-mvc-first/spring-mvc-java/src/main/java/com/iisigroup/web/HelloWorldController.java | Java | apache-2.0 | 378 |
package zielu.junit5.intellij.extension.resources;
import java.nio.file.Path;
import org.junit.jupiter.api.extension.BeforeAllCallback;
import org.junit.jupiter.api.extension.ExtensionContext;
import org.junit.jupiter.api.extension.ParameterContext;
import org.junit.jupiter.api.extension.ParameterResolutionException;
... | zielu/GitToolBox | src/test/java/zielu/junit5/intellij/extension/resources/ResourcesExtension.java | Java | apache-2.0 | 1,730 |
import { MessageHandler } from "../src";
import { MessageMock } from "./__mocks__/message-mock";
describe("MessageHandler.whenMessageEndsWith test", () => {
test("whenMessageEndsWith should fire", () => {
// Given
const handler = new MessageHandler();
const callback = jest.fn()
hand... | lmmfranco/discord-message-handler | tests/whenMessageEndsWith.test.ts | TypeScript | apache-2.0 | 951 |
/*! \brief Header for SPI.c.
* \details Header for SPI communication library.
* \author Raphael Lauber, NTB
* \date 01.12.2015
*/
#ifndef SPI_H_
#define SPI_H_
#include <avr/io.h>
/* Prototypes */
void SPI_Write(uint8_t*, uint8_t);
void SPI_Read(uint8_t*, uint8_t);
void SPI_WriteRead(uint8_t*, uint8_t, uint8... | bitlischieber/flinklight | Flink/SPI.h | C | apache-2.0 | 355 |
{% extends 'layout.html' %}
{% load project_tags %}
{% block content %}
<div class="container subproject-details">
<div class="row current-version">
<div class="row">
<h1>
{{ subproject.parent.name }}
-
{{ subproject.na... | MahdiZareie/VersionMonitoring | templates/subproject.html | HTML | apache-2.0 | 3,653 |
package com.canmeizhexue.test.image;
import android.content.Context;
import android.util.AttributeSet;
import android.util.Log;
import android.view.MotionEvent;
import android.widget.TextView;
/**
* Created by silence on 2016/4/3.
*/
public class MyTextView extends TextView {
public MyTextView(Context context) ... | canmeizhexue/Test | app/src/main/java/com/canmeizhexue/test/image/MyTextView.java | Java | apache-2.0 | 2,432 |
<!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_151) on Wed Jul 17 13:50:42 MST 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>VaultExpressionConstraintSu... | wildfly-swarm/wildfly-swarm-javadocs | 2.5.0.Final/apidocs/org/wildfly/swarm/config/management/access/VaultExpressionConstraintSupplier.html | HTML | apache-2.0 | 9,448 |
module ActiveSupport
module VERSION #:nodoc:
MAJOR = 3
MINOR = 2
TINY = 0
PRE = nil
STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
end
end
| masukomi/mobtvse | vendor/bundle/gems/activesupport-3.2.0/lib/active_support/version.rb | Ruby | apache-2.0 | 173 |
// Copyright (c) 2016 ~ 2018, Alex Stocks.
//
// 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 ... | AlexStocks/dubbogo | server/doc.go | GO | apache-2.0 | 3,853 |
#Solution#
* 第一种方法里面,使用了从begin到end的路径,通过BFS来求解问题。但是会TLE,所以需要two-end的方法来解决问题。
* 第二种方法,就是使用了two-end的方法。
* 从两头开始寻找,直到找到middle,发现相遇之后,得到求解。 | MyYaYa/leetcode | src/problem127/README.md | Markdown | apache-2.0 | 300 |
/*
* 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 ... | alanconway/dispatch | src/router_core/route_control.c | C | apache-2.0 | 15,554 |
import shutil
import tempfile
import numpy as np
import os
from os.path import getsize
import pytest
import yaml
from util import PATH_TO_TESTS, seed, dummy_predict_with_threshold
PATH_TO_ASSETS = os.path.join(PATH_TO_TESTS, 'assets')
PATH_TO_RETINA_DIR = os.path.join(PATH_TO_ASSETS, 'recordings', 'retina')
PATH_TO_R... | paninski-lab/yass | tests/conftest.py | Python | apache-2.0 | 2,794 |
package com.palmelf.eoffice.dao.admin.impl;
import com.palmelf.core.dao.impl.BaseDaoImpl;
import com.palmelf.eoffice.dao.admin.GoodsApplyDao;
import com.palmelf.eoffice.model.admin.GoodsApply;
public class GoodsApplyDaoImpl extends BaseDaoImpl<GoodsApply> implements
GoodsApplyDao {
public GoodsApplyDaoImpl() {
s... | jacarrichan/eoffice | src/main/java/com/palmelf/eoffice/dao/admin/impl/GoodsApplyDaoImpl.java | Java | apache-2.0 | 349 |
/* Yet Another Forum.NET
* Copyright (C) 2003-2005 Bjørnar Henden
* Copyright (C) 2006-2013 Jaben Cargman
* Copyright (C) 2014-2022 Ingo Herbote
* https://www.yetanotherforum.net/
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* dis... | YAFNET/YAFNET | yafsrc/YAF.Web/Extensions/ForumPageExtension.cs | C# | apache-2.0 | 5,144 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.