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 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, ...
krousey/test-infra
testgrid/cmd/config/main.go
GO
apache-2.0
2,010
package org.galaxy.myhttp; import org.junit.Test; import static org.junit.Assert.*; /** * To work on unit tests, switch the Test Artifact in the Build Variants view. */ public class ExampleUnitTest { @Test public void addition_isCorrect() throws Exception { assertEquals(4, 2 + 2); } }
galaxy-captain/MyHttp
app/src/test/java/org/galaxy/myhttp/ExampleUnitTest.java
Java
apache-2.0
310
--- layout: post title: 'Ubuntu 下的录屏软件 kazam' date: '2017-05-07' header-img: "img/post-bg-unix.jpg" tags: - Ubuntu author: 'Bro Qiang' --- # Ubuntu 下的录屏软件 软件有很多,不过个人觉得 kazam 用起来最顺手 ## 软件安装 ```shell sudo apt-get install kazam ``` ## 使用 快捷键 `Alt+F2` 输入 `kazam` 即可打开软件 ## 快捷键 -- 开始录 - `Win+R` -- 暂停 - `Win+P` ...
BroQiang/broqiang.github.io
_posts/2017-05-07-Ubuntu-ScreenCaptureSoftware.md
Markdown
apache-2.0
714
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _ Partial Class Scanning_keluar_Edit Inherits System.Windows.Forms.Form 'Form overrides dispose to clean up the component list. <System.Diagnostics.DebuggerNonUserCode()> _ Protected Overrides Sub Dispose(ByVal disposing As Bool...
anakpantai/busus
SIMARSIP/Arsip Keluar/Scanning Keluar Edit.Designer.vb
Visual Basic
apache-2.0
12,990
require_relative '../netapp_cmode' Puppet::Type.type(:netapp_lun).provide(:cmode, :parent => Puppet::Provider::NetappCmode) do @doc = "Manage Netapp Lun creation, modification and deletion. [Family: vserver]" confine :feature => :posix defaultfor :feature => :posix netapp_commands :lunlist => {:api => 'lu...
puppetlabs/puppetlabs-netapp
lib/puppet/provider/netapp_lun/cmode.rb
Ruby
apache-2.0
5,287
package org.commcare; import org.commcare.models.database.UnencryptedHybridFileBackedSqlStorage; import org.commcare.models.database.UnencryptedHybridFileBackedSqlStorageMock; import org.javarosa.core.services.storage.Persistable; /** * Delegator around CommCareApp allowing the test suite to override logic. * * @a...
dimagi/commcare-android
app/unit-tests/src/org/commcare/CommCareTestApp.java
Java
apache-2.0
906
// Code generated by go-swagger; DO NOT EDIT. package models // This file was generated by the swagger tool. // Editing this file might prove futile when you re-run the swagger generate command import ( strfmt "github.com/go-openapi/strfmt" "github.com/go-openapi/errors" "github.com/go-openapi/swag" "github.com...
olebedev/go-tgbot
models/send_photo_link_body.go
GO
apache-2.0
1,957
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="de"> <head> <!-- Generated by javadoc (version 1.7.0_17) on Tue May 14 03:45:04 CEST 2013 --> <title>Uses of Class com.badlogic.gdx.net.HttpStatus (libgdx API)</title> <meta name="date" co...
leszekuchacz/Leszek-Uchacz
docs/api/com/badlogic/gdx/net/class-use/HttpStatus.html
HTML
apache-2.0
7,238
/** * Copyright (C) 2014-2015 LinkedIn Corp. (pinot-core@linkedin.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 * * Unle...
tkao1000/pinot
pinot-core/src/main/java/com/linkedin/pinot/core/startree/OffHeapStarTreeBuilder.java
Java
apache-2.0
28,902
<!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:12 MST 2017 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>org.wildfly.swarm.batch.jbe...
wildfly-swarm/wildfly-swarm-javadocs
2017.6.1/apidocs/org/wildfly/swarm/batch/jberet/package-frame.html
HTML
apache-2.0
970
<table class="table table-bordered" st-pipe="load" st-table="displayed"> <thead> <tr ng-if="globalFilter"> <th colspan="{{ columns.length + 1 }}"> <input st-search="" class="form-control" placeholder="global search ..." type="text"/> </th> </tr> <tr ng-if="co...
scvetkovski/web-programming-starter
src/main/webapp/app/directives/iv-simple-table.html
HTML
apache-2.0
1,267
/* * Copyright 2011 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...
robinverduijn/gradle
subprojects/signing/src/main/java/org/gradle/plugins/signing/SignOperation.java
Java
apache-2.0
7,371
/* * Copyright 2013-2021 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 ap...
cloudfoundry/cf-java-client
cloudfoundry-client/src/main/java/org/cloudfoundry/client/v2/spaces/_UpdateSpaceRequest.java
Java
apache-2.0
2,193
<!DOCTYPE html> <!-- Copyright 2016 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 https://www.apache.org/licenses/LICENSE-2.0 Unless required by app...
fillipegb/toksaude-prototipo
demos/toolbar/fixed-toolbar.html
HTML
apache-2.0
4,015
# AUTOGENERATED FILE FROM balenalib/orangepi-plus2-debian:bullseye-build ENV NODE_VERSION 12.21.0 ENV YARN_VERSION 1.22.4 RUN for key in \ 6A010C5166006599AA17F08146C2130DFD2497F5 \ ; do \ gpg --batch --keyserver pgp.mit.edu --recv-keys "$key" || \ gpg --batch --keyserver keyserver.pgp.com --recv-keys "$key" ||...
nghiant2710/base-images
balena-base-images/node/orangepi-plus2/debian/bullseye/12.21.0/build/Dockerfile
Dockerfile
apache-2.0
2,795
/* ### * IP: GHIDRA * * 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 writin...
NationalSecurityAgency/ghidra
Ghidra/Debug/Debugger-agent-lldb/src/main/java/agent/lldb/manager/evt/LldbThreadResumedEvent.java
Java
apache-2.0
893
/** * Copyright (C) 2013 * by 52 North Initiative for Geospatial Open Source Software GmbH * * Contact: Andreas Wytzisk * 52 North Initiative for Geospatial Open Source Software GmbH * Martin-Luther-King-Weg 24 * 48155 Muenster, Germany * info@52north.org * * This program is free software; you can redistribut...
sauloperez/sos
src/bindings/rest/code/src/main/java/org/n52/sos/binding/rest/resources/OptionsRestRequest.java
Java
apache-2.0
1,863
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Watcher.Model { public class GreatThan : IPredicate { public string Quantifier { get { return "great than"; } ...
hotjk/ace
Watcher.Model/Predicate/GreatThan.cs
C#
apache-2.0
429
package org.adligo.tests4j.system.shared.trials; import org.adligo.tests4j.shared.common.ClassMethods; import org.adligo.tests4j.shared.xml.I_XML_Builder; public class TrialParamValue implements I_TrialParamValue { public static final String TAG_NAME = "value"; public static final String CLASS_NAME = "class"; pu...
adligo/tests4j.adligo.org
src/org/adligo/tests4j/system/shared/trials/TrialParamValue.java
Java
apache-2.0
1,384
""" Installs and configures MySQL """ import uuid import logging from packstack.installer import validators from packstack.installer import utils from packstack.modules.ospluginutils import getManifestTemplate, appendManifestFile # Controller object will be initialized from main flow controller = None # Plugin nam...
tangfeixiong/packstack
packstack/plugins/mysql_001.py
Python
apache-2.0
5,760
```nginx server { listen 80; charset utf-8; client_max_body_size 128M; server_name meotrics.com; return 301 https://$host$request_uri; } server { listen 80; server_name www.meotrics.com; return 301 http://meotrics.com$request_uri; } server { listen 443; server_name www.meotrics....
meotrics/meotrics
docs/nginxconf.md
Markdown
apache-2.0
4,477
/* Copyright 2018 The OpenEBS 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...
prateekpandey14/maya
pkg/algorithm/nodeselect/v1alpha2/select_node.go
GO
apache-2.0
7,242
#ifndef __PropertyGroup_h__ #define __PropertyGroup_h__ /* -------------------------------------------------------------------------- * * OpenSim: PropertyGroup.h * * -------------------------------------------------------------------------- * * The OpenSim API is a ...
opensim-org/opensim-core
OpenSim/Common/PropertyGroup.h
C
apache-2.0
4,388
define( ['app/models/proto_model'], function(ProtoModel) { var Model = ProtoModel.extend({ // matches first part of method name in @remote.method urlRoot: '/cru_api.order_', must_be_floats: ['sub_total', 'actual_total'], }); return Model; } );
babybunny/rebuildingtogethercaptain
gae/js/app/models/order.js
JavaScript
apache-2.0
317
#include <cassert> #include <iostream> #include <sstream> #include <boost/program_options/variables_map.hpp> #include "optimize.h" #include "online_optimizer.h" #include "sparse_vector.h" #include "fdict.h" using namespace std; double TestOptimizer(BatchOptimizer* opt) { cerr << "TESTING NON-PERSISTENT OPTIMIZER\n"...
kho/mr-cdec
training/utils/optimize_test.cc
C++
apache-2.0
3,168
package com.sequenceiq.freeipa.entity.util; import com.sequenceiq.cloudbreak.converter.DefaultEnumConverter; import com.sequenceiq.freeipa.api.v1.kerberos.model.KerberosType; public class KerberosTypeConverter extends DefaultEnumConverter<KerberosType> { @Override public KerberosType getDefault() { r...
hortonworks/cloudbreak
freeipa/src/main/java/com/sequenceiq/freeipa/entity/util/KerberosTypeConverter.java
Java
apache-2.0
356
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content="Ionic makes it incredibly easy to build beautiful and interactive mobile apps using HTML5 and AngularJS."> <meta name="keywords" content="html5,ja...
martinjbaker/ionic-site
_site/docs/1.0.0-beta.10/api/ionic/service/index.html
HTML
apache-2.0
29,172
#!/usr/bin/env bash echo "Puppet6 Platform Detection and Installation" /usr/bin/wget -O - https://raw.githubusercontent.com/petems/puppet-install-shell/master/install_puppet_6_agent.sh | /bin/sh echo "Install R10k and Hiera-Eyaml" /opt/puppetlabs/puppet/bin/gem install r10k hiera-eyaml echo "Retrieve Puppetfile from pu...
ppouliot/puppet-maas
files/scripts/bootstrap_puppet_to_maas.sh
Shell
apache-2.0
1,017
namespace TrelloToExcel.Trello { public class TextData { public Emoji3 emoji { get; set; } } }
ymotton/TrelloToExcel
TrelloToExcel/Trello/TextData.cs
C#
apache-2.0
117
def power_digit_sum(exponent): power_of_2 = str(2 ** exponent) return sum([int(x) for x in power_of_2])
plilja/project-euler
problem_16/power_digit_sum.py
Python
apache-2.0
111
# Copyright 2022 The Magenta 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 ...
magenta/note-seq
note_seq/constants.py
Python
apache-2.0
2,620
# Copyright 2018 PerfKitBenchmarker 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 appli...
GoogleCloudPlatform/PerfKitBenchmarker
perfkitbenchmarker/providers/aws/aws_logs.py
Python
apache-2.0
3,293
package com.lyubenblagoev.postfixrest.security; import com.lyubenblagoev.postfixrest.entity.User; import com.lyubenblagoev.postfixrest.repository.UserRepository; import org.springframework.security.core.userdetails.UserDetails; import org.springframework.security.core.userdetails.UserDetailsService; import org.springf...
lyubenblagoev/postfix-rest-server
src/main/java/com/lyubenblagoev/postfixrest/security/CustomUserDetailsService.java
Java
apache-2.0
1,026
/* * Copyright (c) 2021 Citrix 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 law ...
citrix/terraform-provider-netscaler
vendor/github.com/citrix/adc-nitro-go/resource/config/network/vrid_binding.go
GO
apache-2.0
881
/* 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, ...
gambol99/kops
cmd/kops/rollingupdatecluster.go
GO
apache-2.0
13,554
"""Auto-generated file, do not edit by hand. BM metadata""" from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata PHONE_METADATA_BM = PhoneMetadata(id='BM', country_code=1, international_prefix='011', general_desc=PhoneNumberDesc(national_number_pattern='(?:441|[58]\\d\\d|900)\\d{7}', possible_l...
daviddrysdale/python-phonenumbers
python/phonenumbers/data/region_BM.py
Python
apache-2.0
1,530
<head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title> <meta name="viewport" content="width=device-width"> <meta name="description" content="{{ site.description }}"> <link rel="ca...
Shirotobi/oretachi.github.io
_includes/head.html
HTML
apache-2.0
1,365
/******************************************************************************* * Copyright (c) 2012, 2015 Pivotal Software, Inc. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Apache License, * Version 2.0 (the "License"); you may not use this ...
osswangxining/dockerfoundry
cn.dockerfoundry.ide.eclipse.server.core/src/cn/dockerfoundry/ide/eclipse/server/core/internal/ServerEventHandler.java
Java
apache-2.0
3,808
# AUTOGENERATED FILE FROM balenalib/artik530-debian:buster-run RUN apt-get update \ && apt-get install -y --no-install-recommends \ ca-certificates \ curl \ \ # .NET Core dependencies libc6 \ libgcc1 \ libgssapi-krb5-2 \ libicu63 \ libssl1.1 \ ...
resin-io-library/base-images
balena-base-images/dotnet/artik530/debian/buster/6.0-runtime/run/Dockerfile
Dockerfile
apache-2.0
2,521
# AUTOGENERATED FILE FROM balenalib/jetson-xavier-nx-devkit-seeed-2mic-hat-fedora:33-build ENV NODE_VERSION 14.18.3 ENV YARN_VERSION 1.22.4 RUN for key in \ 6A010C5166006599AA17F08146C2130DFD2497F5 \ ; do \ gpg --keyserver pgp.mit.edu --recv-keys "$key" || \ gpg --keyserver keyserver.pgp.com --recv-keys "$key" ...
resin-io-library/base-images
balena-base-images/node/jetson-xavier-nx-devkit-seeed-2mic-hat/fedora/33/14.18.3/build/Dockerfile
Dockerfile
apache-2.0
2,775
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
cedral/aws-sdk-cpp
aws-cpp-sdk-codecommit/include/aws/codecommit/model/ListTagsForResourceRequest.h
C
apache-2.0
5,662
<?php /** * MyBB 1.6 Spanish Language Pack * Copyright 2010 MyBB Group, All Rights Reserved * * $Id: report.lang.php 5016 2010-08-10 12:32:33Z Anio_pke $ */ $l['report_post'] = "Reportar mensaje"; $l['report_to_mod'] = "Reporta este mensaje a un moderador"; $l['only_report'] = "Solo debes reportar mens...
Flauschbaellchen/florensia-base
forum/inc/languages/espanol/report.lang.php
PHP
apache-2.0
755
# Laboulbenia neoguineensis Speg. SPECIES #### Status ACCEPTED #### According to Index Fungorum #### Published in null #### Original name Laboulbenia neoguineensis Speg. ### Remarks null
mdoering/backbone
life/Fungi/Ascomycota/Laboulbeniomycetes/Laboulbeniales/Laboulbeniaceae/Laboulbenia/Laboulbenia neoguineensis/README.md
Markdown
apache-2.0
191
<html dir="LTR"> <head> <meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" /> <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" /> <title>BasicConfigurator.Configure Method ()</title> <xml> </xml> <link rel="stylesheet" type="tex...
gersonkurz/manualisator
manualisator/log4net-1.2.13/doc/release/sdk/log4net.Config.BasicConfigurator.Configure_overload_1.html
HTML
apache-2.0
2,814
/** * @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-examples
interactive-visualizers/projects/playground/src/environments/environment.ts
TypeScript
apache-2.0
2,403
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Linq; using System.Text; using System.Diagnostics; namespace MT5LiquidityIndicator.Net.Settings { [DisplayName("Line Settings")] public class LineSettings { #region contruction public LineSettings() ...
marmysh/MT5-Liquidity-Indicator
Source/MT5LiquidityIndicator/MT5LiquidityIndicator.Net/Settings/LineSettings.cs
C#
apache-2.0
2,168
/* * Copyright 2016 Bjoern Bilger * * 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...
bbilger/jrestless
core/jrestless-core-container/src/test/java/com/jrestless/core/container/JRestlessContainerResponseWriterTest.java
Java
apache-2.0
5,472
#!/bin/bash # Clone pinned Kuberay commit to temporary directory, copy the CRD definitions # into the autoscaler folder. SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) DIR=$(mktemp -d -t "kuberay-XXXXXX") pushd "$DIR" || exit git clone https://github.com/ray-project/kuberay/ ...
ray-project/ray
python/ray/autoscaler/kuberay/init-config.sh
Shell
apache-2.0
1,600
/** * Copyright (c) 2015-2022, Michael Yang 杨福海 (fuhai999@gmail.com). * <p> * 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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * ...
yangfuhai/jboot
src/main/java/io/jboot/support/metric/annotation/EnableMetricTimer.java
Java
apache-2.0
888
<?php header("Content-Type: text/html;charset=utf-8"); $name = $_POST['first_name']; $email = $_POST['email']; $message = $_POST['comments']; $to = "jgo@camaraderepresentantes.org"; $subject = "Estimado Representante"; $body = ' <html> <head> <title>Estimado Representante</title> </head> <body> <p><b...
efrenpagan/estimadolegislador
jgo.php
PHP
apache-2.0
2,041
--- date: 2017-03-21T23:55:53Z title: Comment fonctionne Waziup? url: /fr/documentation/how-waziup-works/ --- Regardons à l'intérieur de la grande machine. Dans cette section vous pouvez trouver: - [L'architecture] (/fr/documentation/how-waziup-works/architecture) - [Concepts Cloud locaux et globaux] (/fr/documentatio...
paulpascal/waziup.io
content/documentation/how waziup works/index.fr.md
Markdown
apache-2.0
422
/* * 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 n...
fhussonnois/kafkastreams-cep
core/src/main/java/com/github/fhuss/kafka/streams/cep/core/state/internal/Aggregated.java
Java
apache-2.0
2,076
/* * ! ${copyright} */ sap.ui.define([ "delegates/odata/v4/TableDelegate", "sap/ui/core/Core" ], function( TableDelegate, Core ) { "use strict"; /** * Test delegate for OData V4. */ var ODataTableDelegate = Object.assign({}, TableDelegate); /** * Updates the binding info with the relevant path and mo...
SAP/openui5
src/sap.ui.mdc/test/sap/ui/mdc/internal/TableWithFilterBar/delegate/GridTable.delegate.js
JavaScript
apache-2.0
1,110
/* * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
jentfoo/aws-sdk-java
aws-java-sdk-api-gateway/src/main/java/com/amazonaws/services/apigateway/model/transform/UpdateMethodResponseRequestMarshaller.java
Java
apache-2.0
3,397
package ip_test import ( . "github.com/cloudfoundry/bosh-init/internal/github.com/onsi/ginkgo" . "github.com/cloudfoundry/bosh-init/internal/github.com/onsi/gomega" "testing" ) func TestPlatform(t *testing.T) { RegisterFailHandler(Fail) RunSpecs(t, "Ip Suite") }
allomov/bosh-init
internal/github.com/cloudfoundry/bosh-agent/platform/net/ip/ip_suite_test.go
GO
apache-2.0
271
# -*- coding: utf-8 -*- # # 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 ...
d-lee/airflow
airflow/operators/sensors.py
Python
apache-2.0
22,890
/* Copyright 2014 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 ...
zombiezen/cardcpx
multiwriter/multiwriter.go
GO
apache-2.0
1,627
package org.aksw.servicecat.web.api; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.QueryParam; import javax.ws.rs.core.MediaType; import org.aksw.servicecat.core.ServiceAnalyzerProcessor; import org.springframework.beans.factory.annotation.Autowired; @org.springfram...
GeoKnow/SparqlServiceCatalogue
servicecat-webapp/src/main/java/org/aksw/servicecat/web/api/ServletServiceApi.java
Java
apache-2.0
728
/* * 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-macie2/src/main/java/com/amazonaws/services/macie2/model/transform/AccountDetailMarshaller.java
Java
apache-2.0
2,226
package org.apache.rya.indexing.external; import java.net.UnknownHostException; /* * 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 ...
pujav65/incubator-rya
extras/indexing/src/test/java/org/apache/rya/indexing/external/AccumuloConstantPcjIntegrationTest.java
Java
apache-2.0
14,058
// Copyright 2007-2008 The Apache Software 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 re...
rodolfograve/MassTransit
src/MassTransit/ExpiresInAttribute.cs
C#
apache-2.0
1,778
# aws included via metadata.rb # if node[:ebs_volumes] # node[:ebs_volumes].each do |name, conf| # aws_ebs_volume "attach hdfs volume #{conf.inspect}" do # provider "aws_ebs_volume" # aws_access_key node[:aws][:aws_access_key] # aws_secret_access_key node[:aws][:aws_secret_access_key] # ...
infochimps-away/cluster_chef
site-cookbooks/ebs/recipes/attach_volumes.rb
Ruby
apache-2.0
571
package de.jpaw.fixedpoint.tests; import java.math.BigDecimal; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import de.jpaw.fixedpoint.types.MicroUnits; public class TestConversions { @Test public void testFromConversions() throws Exception { MicroUnits fromLong = Micr...
jpaw/jpaw
jpaw-fixedpoint-core/src/test/java/de/jpaw/fixedpoint/tests/TestConversions.java
Java
apache-2.0
1,420
package org.dominokit.domino.api.client; @FunctionalInterface public interface ApplicationStartHandler { void onApplicationStarted(); }
GwtDomino/domino
domino-api-client/src/main/java/org/dominokit/domino/api/client/ApplicationStartHandler.java
Java
apache-2.0
141
<!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_20) on Fri Mar 25 19:54:51 PDT 2011 --> <TITLE> org.apache.hadoop.io.nativeio (Hadoop 0.20.2-cdh3u0 API) </TITLE> <META NAME="date" CONTENT="2011-03...
InMobi/hadoop
docs/api/org/apache/hadoop/io/nativeio/package-frame.html
HTML
apache-2.0
1,525
Arkivo::Engine.routes.draw do namespace :api, defaults: { format: :json } do resources :items, except: :index end end
psu-stewardship/hydra-arkivo
config/routes.rb
Ruby
apache-2.0
126
/** * 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"); yo...
aslakknutsen/arquillian-extension-warp
impl/src/main/java/org/jboss/arquillian/warp/utils/BaseNCodec.java
Java
apache-2.0
17,879
public class Customers { public static string[] allCustomers = {"Peter Parker", "Klark Kent", "Bruce Vayne"}; }
jasarsoft/ipcs-primjeri
IPCS_02/Vjezba 2/company/customers/Customers.cs
C#
apache-2.0
112
# Zygnema gorakhporense Singh SPECIES #### Status ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
mdoering/backbone
life/Plantae/Chlorophyta/Zygnematophyceae/Zygnematales/Zygnemataceae/Zygnema/Zygnema gorakhporense/README.md
Markdown
apache-2.0
185
package dk.lessismore.nojpa.reflection.db.annotations; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Created : with IntelliJ IDEA. * User: seb */ @Target(ElementType.METHOD) @Retention(Retention...
NoJPA-LESS-IS-MORE/NoJPA
nojpa_orm/src/main/java/dk/lessismore/nojpa/reflection/db/annotations/SearchField.java
Java
apache-2.0
664
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.hoang.fu; /** * * @author hoangpt */ public class Teacher extends Employee implements ITeacher { Teacher(String name...
hoangphantich/fu.java192x17.1
hoangpt/Assignment_21/src/com/hoang/fu/Teacher.java
Java
apache-2.0
786
// Copyright (c) 1999-2004 Brian Wellington (bwelling@xbill.org) package org.xbill.DNS; import java.io.*; import java.util.*; import org.xbill.DNS.utils.*; /** * Transaction Signature - this record is automatically generated by the * resolver. TSIG records provide transaction security between the * sender and re...
msdx/AndroidPNClient
androidpn/src/main/java/org/xbill/DNS/TSIGRecord.java
Java
apache-2.0
4,956
-- Users delete from user where id <= 6; insert into user (id,password,user_name, email, role) values (6,'$2a$08$rWw15tM4D8JGNkoSnosvUOWktluv1CnxCZfJslvHWaiFSaSOpnYZS','boisterous', 'neuban35@gmail.com', 'USER'); insert into user (id,password,user_name, email, role) values (5,'$2a$08$2/f6i7QzmdvM0wVDghFdkOUPtUA66SSa...
NEU-2016/NEUban
persistence/src/main/resources/data-mysql.sql
SQL
apache-2.0
3,303
package app.monitor.job; import core.framework.internal.log.LogManager; import core.framework.json.JSON; import core.framework.kafka.MessagePublisher; import core.framework.log.message.StatMessage; import core.framework.scheduler.Job; import core.framework.scheduler.JobContext; import org.slf4j.Logger; import org.slf4...
neowu/core-ng-project
ext/monitor/src/main/java/app/monitor/job/KubeMonitorJob.java
Java
apache-2.0
5,150
/* * 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 * distribu...
metatron-app/metatron-discovery
discovery-frontend/src/app/data-preparation/dataflow/dataflow-detail/component/edit-dataflow-rule/edit-rule/edit-rule.component.ts
TypeScript
apache-2.0
5,051
package mahjong type Hand []Pai func remove(list []Pai, p Pai) []Pai { var result []Pai removed := false for _, e := range list { if e == p && !removed { removed = true } else { result = append(result, e) } } return result } func contain(list []Pai, p Pai) bool { for _, a := range list { if a ==...
tanaka51/tenpai-wakaru-man
mahjong/hand.go
GO
apache-2.0
3,584
/* * Licensed to the Apache Software Foundation (ASF) under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional information regarding * copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the * "License"); you may not ...
pdxrunner/geode
geode-core/src/integrationTest/java/org/apache/geode/internal/logging/log4j/GemfireVerboseMarkerFilterAcceptIntegrationTest.java
Java
apache-2.0
3,615
/* ** Stack.cpp for cpp_abstractvm in /var/projects/cpp_abstractvm/Stack.cpp ** ** Made by kevin labbe ** Login <labbe_k@epitech.net> ** ** Started on Mar 1, 2014 2:15:13 AM 2014 kevin labbe ** Last update Mar 1, 2014 2:15:13 AM 2014 kevin labbe */ #include "EmptyStackException.hpp" #include "AssertFailed...
Kael95/Epitech
Virtual Machine/src/Arithmetic/Stack.cpp
C++
apache-2.0
2,906
# Di Roccia | Di Luce Website of the exibition [Di Roccia | Di Luce](http://www.dirocciadiluce.it) ## Credits * Theme by [Grayscale](http://startbootstrap.com/template-overviews/grayscale/) * Gallery by [Bootstrap Lightbox](http://ashleydw.github.io/lightbox/)
pbmolini/drdl
README.md
Markdown
apache-2.0
263
# Tomodon Rafinesque, 1838 GENUS #### Status ACCEPTED #### According to IRMNG Homonym List #### Published in null #### Original name null ### Remarks null
mdoering/backbone
life/Plantae/Magnoliophyta/Liliopsida/Asparagales/Amaryllidaceae/Tomodon/README.md
Markdown
apache-2.0
159
# Misgomyces perigonae Thaxt. SPECIES #### Status ACCEPTED #### According to Index Fungorum #### Published in Mem. Amer. Acad. Arts 16: 294 (1931) #### Original name Misgomyces perigonae Thaxt. ### Remarks null
mdoering/backbone
life/Fungi/Ascomycota/Laboulbeniomycetes/Laboulbeniales/Laboulbeniaceae/Misgomyces/Misgomyces perigonae/README.md
Markdown
apache-2.0
215
# Tilletiopsis Derx, 1948 GENUS #### Status ACCEPTED #### According to Interim Register of Marine and Nonmarine Genera #### Published in null #### Original name null ### Remarks null
mdoering/backbone
life/Fungi/Basidiomycota/Exobasidiomycetes/Tilletiopsis/README.md
Markdown
apache-2.0
187
# Oleispira Yakimov, Giuliano, Gentile, Crisafi, Chernikova, Abraham, Lunsdorf, Timmis & Golyshin, 2003 GENUS #### Status ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
mdoering/backbone
life/Bacteria/Proteobacteria/Gammaproteobacteria/Oceanospirillales/Oceanospirillaceae/Oleispira/README.md
Markdown
apache-2.0
257
# Solidago caesia var. paniculata A.Gray VARIETY #### 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/Asterales/Asteraceae/Solidago/Solidago caesia/ Syn. Solidago caesia paniculata/README.md
Markdown
apache-2.0
195
# Oncocalyx glabratus (Engl.) M.G.Gilbert SPECIES #### Status ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
mdoering/backbone
life/Plantae/Magnoliophyta/Magnoliopsida/Santalales/Loranthaceae/Oncocalyx/Oncocalyx glabratus/README.md
Markdown
apache-2.0
189
# Listrostachys whytei Rolfe 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/Cyrtorchis/Cyrtorchis arcuata/ Syn. Listrostachys whytei/README.md
Markdown
apache-2.0
183
import { Upload } from './../models/upload/upload.model'; import { SUPController } from './sup.server.controller'; const yellow = '\x1b[33m%s\x1b[0m: '; export class SUP { constructor(private io: SocketIOClient.Manager) { } registerIO() { this.io.on('connection', (socket: So...
Stejnar/compressor-angular2
src/server/protocols/sup.server.protocol.ts
TypeScript
apache-2.0
1,052
package com.yueny.demo.job.controller; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org...
yueny/pra
job/job_elastic/src/main/java/com/yueny/demo/job/controller/DemoController.java
Java
apache-2.0
1,201
/* * Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. * * 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...
mlperf/training_results_v0.6
Fujitsu/benchmarks/resnet/implementations/mxnet/3rdparty/onnx-tensorrt/plugin.hpp
C++
apache-2.0
5,795
<html> <head></head> <body> <!-- output should be the same in Client/Server rendering --> <div class="dotvvm-upload" data-bind="with: Files"> <span class="dotvvm-upload-button" data-bind="visible: !IsBusy()"> <a href="javascript:;" onclick="dotvvm.fileUpload.showUploadDialog(this); return false;">Upload...
riganti/dotvvm
src/Tests/ControlTests/testoutputs/SimpleControlTests.FileUpload.html
HTML
apache-2.0
1,175
--- layout: base title: 'Statistics of root in UD_Kurmanji-MG' udver: '2' --- ## Treebank Statistics: UD_Kurmanji-MG: Relations: `root` This relation is universal. 754 nodes (7%) are attached to their parents as `root`. 754 instances of `root` (100%) are left-to-right (parent precedes child). Average distance betw...
UniversalDependencies/docs
treebanks/kmr_mg/kmr_mg-dep-root.md
Markdown
apache-2.0
3,106
/** * Copyright (C) 2009-2014 Typesafe Inc. <http://www.typesafe.com> */ package docs.extension; //#imports import akka.actor.Extension; import akka.actor.AbstractExtensionId; import akka.actor.ExtensionIdProvider; import akka.actor.ActorSystem; import akka.actor.ExtendedActorSystem; import scala.concurrent.duration...
Horusiath/akka.net
Documentation/csharp/code/docs/extension/SettingsExtensionDocTest.java
Java
apache-2.0
2,450
/** * Copyright 2011-2016 GatlingCorp (http://gatling.io) * * 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...
ryez/gatling
gatling-jms/src/test/scala/io/gatling/jms/integration/JmsMockingSpec.scala
Scala
apache-2.0
3,164
/** * Copyright Intellectual Reserve, 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...
brenthale/gedcomx-java
enunciate-gedcomx-support/src/main/java/org/gedcomx/build/enunciate/RecipeClasspathHandler.java
Java
apache-2.0
2,169
// Generated from /POI/java/org/apache/poi/hssf/record/BoundSheetRecord.java #include <org/apache/poi/hssf/record/BoundSheetRecord.hpp> #include <java/lang/ArrayStoreException.hpp> #include <java/lang/NullPointerException.hpp> #include <java/lang/String.hpp> #include <java/lang/StringBuffer.hpp> #include <java/util/Ar...
pebble2015/cpoi
src/org/apache/poi/hssf/record/BoundSheetRecord.cpp
C++
apache-2.0
8,028
/* * 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-devicefarm/src/main/java/com/amazonaws/services/devicefarm/model/Problem.java
Java
apache-2.0
19,577
var logger = require('../logging').getLogger(__LOGGER__); var {PAGE_CSS_NODE_ID} = require('../constants'); var Q = require('q'); var PageUtil = require('./PageUtil') var loadedCss = {}; module.exports = { registerPageLoad: function registerPageLoad() { if (SERVER_SIDE) { throw new Error("ClientCssHelper.regi...
redfin/react-server
packages/react-server/core/util/ClientCssHelper.js
JavaScript
apache-2.0
3,519
package lesson.types; public class Classes { public static void main(String[] args) { JustClass one = new JustClass(); JustClass two = new JustClass(123, "sdf"); System.out.println(one); System.out.println(two); } } class JustClass { private int number; private String...
nesterione/JavaTrainings
src/lesson/types/Classes.java
Java
apache-2.0
602
/* Copyright 2018 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...
hehongliang/tensorflow
tensorflow/core/common_runtime/eager/context.h
C
apache-2.0
11,313
using GeneticCreatures.Classes.UtilityClasses; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Tester.classes; namespace GeneticCreatures.Classes.Objects.InanimateObjects { class Wall : Selectable { public Wall(Posit...
joeeyles/geneticcreatures
GeneticCreatures/GeneticCreatures/Classes/Objects/InanimateObjects/Wall.cs
C#
apache-2.0
1,296