repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
dbeaver/dbeaver
plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/model/navigator/DBNNodeExtendable.java
987
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2022 DBeaver Corp and others * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICE...
apache-2.0
FTFL02-ANDROID/Faravy
iCareFaravy/src/com/faravy/icare/ViewDoctorActivity.java
5472
package com.faravy.icare; import java.util.ArrayList; import android.app.ActionBar; import android.app.Activity; import android.content.ContentProviderOperation; import android.content.Intent; import android.content.OperationApplicationException; import android.graphics.Color; import android.graphics.drawable.ColorDr...
apache-2.0
shaon/ceph-deploy
recipes/mons.rb
637
unless node['ceph']['config']['fsid'] require 'securerandom' node.set['ceph']['config']['fsid'] = SecureRandom.uuid node.save end unless node['ceph']['config']['mon_initial_members'] node.set['ceph']['config']['mon_initial_members'] = node['hostname'] node.save end unless node['ceph']['config']['mon_hosts']...
apache-2.0
liubojun/DataTransfer
plugins/org.common.quartz/manifest_headers.cmake
246
set(Plugin-ActivationPolicy "eager") set(Plugin-Name "org.common.quartz") set(Plugin-Version "1.0") set(Plugin-Vendor "nriet") set(Plugin-Description "quartz for c++") set(Custom-Headers "Export-Interface") set(Export-Interface "IDispatchTimer")
apache-2.0
gonzaloaizpun/kyle.simpson
js-course/exercises/ex6/ex6.html
578
<!DOCTYPE html> <html> <head> <title>Exercise 6</title> <link rel="stylesheet" href="ex6.css"> </head> <body> <h1>Exercise 6</h1> <div id="help"> <p> <strong>Instructions:</strong> Add notes to the list by typing into the text box and clicking "Add". </p> <p> Ex: <a class="note" href="#">Some notes taken</a>...
apache-2.0
vijay-developer/Chrome-Extension
ui/app/controllers/calendar.js
10975
(function($, utils, $HELPER){ var $app = window.vgrome; $app.controller('CalendarCtrl', ['$scope', '$compile', 'lang', 'apiProvider', '$controller', function ($scope, $compile, $lang, $apiProvider, $controller) { $.extend(this, $controller('EntityCtrl', {$scope: $scope})); $sco...
apache-2.0
ZsemberiDaniel/TicTacToe
Assets/Scripts/GUI/MusicByButton.cs
267
using UnityEngine; public class MusicByButton : MonoBehaviour { public void ShowComposers() { PopupManager.Instance.PopUp("Music from:\n" + "soundcloud.com/laserost,\nsyncopika,\njlwinn8videos on YouTube,\nmarksparling.com", "Ok"); } }
apache-2.0
vinay-qa/vinayit-android-server-apk
third_party/js/wgxpath/binaryExpr.js
10027
// Copyright 2012 Google Inc. All Rights Reserved. /** * @fileoverview A class representing operations on binary expressions. */ goog.provide('wgxpath.BinaryExpr'); goog.require('wgxpath.DataType'); goog.require('wgxpath.Expr'); goog.require('wgxpath.Node'); /** * Constructor for BinaryExpr. * * @param {!wg...
apache-2.0
NoMan2000/chefRecipes
postfix-dovecot/attributes/vmail.rb
1242
# encoding: UTF-8 # # Cookbook Name:: postfix-dovecot # Attributes:: vmail # Author:: Xabier de Zuazo (<xabier@onddo.com>) # Copyright:: Copyright (c) 2013 Onddo Labs, SL. (www.onddo.com) # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this f...
apache-2.0
luzhuomi/cpp-obs
test/break.c
314
// #include <stdio.h> int f() { /* local variable definition */ int a = 10; /* while loop execution */ while( a < 20 ) { printf("value of a: %d\n", a); a++; if( a > 15) { /* terminate the loop using break statement */ break; } } return a; }
apache-2.0
jiro-aqua/JotaTextEditor
app/src/main/java/jp/sblo/pandora/jota/text/EditableInputConnection.java
4042
/* * Copyright (C) 2007-2008 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...
apache-2.0
kvr000/zbynek-java-exp
netty-exp/netty5-exp/netty5-datagram-listener-exp/src/main/java/cz/znj/kvr/sw/exp/java/netty/netty/MyEmbeddedEventLoop.java
7288
package cz.znj.kvr.sw.exp.java.netty.netty; /* * Copyright 2012 The Netty Project * * The Netty Project licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * http://www....
apache-2.0
mbutkereit/docker-php
php-fpm/php/5.4.x/config/xdebug/tests/closure-stack-trace.phpt
884
--TEST-- Test for closure file and location in stack traces --SKIPIF-- <?php if(version_compare(phpversion(), "5.3.0", '<')) echo "skip PHP 5.3 needed\n"; ?> --INI-- xdebug.default_enable=1 xdebug.profiler_enable=0 xdebug.auto_trace=0 xdebug.trace_format=0 xdebug.collect_vars=1 xdebug.collect_params=4 xdebug.collect_re...
apache-2.0
travisturner/pilosa
cmd/import.go
3454
// Copyright 2017 Pilosa Corp. // // 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...
apache-2.0
wangg12/IRLS_tf_pytorch
src/IRLS_tf_v2.py
6061
# python 3 # tensorflow 2.0 from __future__ import print_function, division, absolute_import import os import argparse import random import numpy as np import datetime # from numpy import linalg import os.path as osp import sys cur_dir = osp.dirname(osp.abspath(__file__)) sys.path.insert(1, osp.join(cur_dir, '.')) fr...
apache-2.0
polyvi/xface-lib
xface-lib/src/cordova/config.js
3336
/** 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"...
apache-2.0
mdoering/backbone
life/Plantae/Chlorophyta/Chlorophyceae/Chaetophorales/Chaetophoraceae/Stigeoclonium/Stigeoclonium subspinosum/Stigeoclonium subspinosum subspinosum/README.md
184
# Stigeoclonium subspinosum var. subspinosum VARIETY #### Status ACCEPTED #### According to NUB Generator [autonym] #### Published in null #### Original name null ### Remarks null
apache-2.0
eric-seekas/CotEditor
release/1_create_dmg.rb
836
#!/usr/bin/env ruby app = "./CotEditor.app" unless Dir.exist?(app) then puts "Dir not found : #{app}" exit end unless system "spctl -a -v #{app}" then puts "Code sign error : #{app}" exit end version = `/usr/libexec/PlistBuddy -c "Print :CFBundleVersion" #{app}/Contents/Info.plist`.chomp puts "Version #{version...
apache-2.0
googlemaps/android-maps-utils
demo/src/v3/java/com/google/maps/android/utils/demo/DistanceDemoActivity.java
3517
/** * DO NOT EDIT THIS FILE. * * This source code was autogenerated from source code within the `demo/src/gms` directory * and is not intended for modifications. If any edits should be made, please do so in the * corresponding file under the `demo/src/gms` directory. */ /* * Copyright 2013 Google Inc. * * Lice...
apache-2.0
operasoftware/dragonfly
src/searches/templates.js
9442
(function() { const MAX_LINE_CHARS = 4000; const RE_WS = /^\s*$/; this.search_panel = function(search, type, handler) { return ( [ ['div', this['advanced_' + type + '_search'](search), 'class', 'advanced-search-controls'], ['div', ['div', 'class', 'panel-search mono...
apache-2.0
sekigor/hawkular-agent
hawkular-wildfly-agent/src/main/java/org/hawkular/agent/monitor/extension/RemoteJMXAttributes.java
3027
/* * Copyright 2015 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.ap...
apache-2.0
DimitrisAndreou/flexigraph
dist/javadoc/gr/forth/ics/graph/class-use/GraphChecker.html
5994
<!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_18) on Tue Oct 19 21:35:16 BST 2010 --> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <TITLE> Uses of Class gr.forth.ics.graph....
apache-2.0
googleapis/python-aiplatform
samples/generated_samples/aiplatform_v1_generated_vizier_service_delete_study_sync.py
1389
# -*- coding: utf-8 -*- # Copyright 2022 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...
apache-2.0
GerHobbelt/MathJax
localization/fr/HelpDialog.js
3680
/* * ../../../..//localization/fr/HelpDialog.js * * Copyright (c) 2009-2018 The MathJax Consortium * * 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...
apache-2.0
epam/DLab
integration-tests/src/main/java/com/epam/dlab/automation/http/HttpStatusCode.java
1003
/*************************************************************************** Copyright (c) 2016, EPAM 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/...
apache-2.0
clafonta/canyon
test/service/org/tll/canyon/service/AssetRoleManagerTest.java
3376
package org.tll.canyon.service; import java.util.List; import java.util.ArrayList; import org.jmock.Mock; import org.springframework.orm.ObjectRetrievalFailureException; import org.tll.canyon.dao.AssetRoleDao; import org.tll.canyon.model.AssetRole; import org.tll.canyon.service.BaseManagerTestCase; import org.tll.c...
apache-2.0
sureshgit/SSAPP
client/app/ss-elements/ss-elements.module.ts
10616
// //import { AeChartComponent } from './ae-chart/ae-chart.component'; // import { RouterModule } from '@angular/router'; // // import { AeLegendComponent } from './ae-legend/ae-legend.component'; // // import { AeIndicatorComponent } from './ae-indicator/ae-indicator.component'; // // import { AeBadgeComponent } from ...
apache-2.0
dxjia/GifAssistant
app/src/main/java/com/wind/gifassistant/ui/GifProductsListFragment.java
4062
package com.wind.gifassistant.ui; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.Fragment; import android.text.TextUtils; import android.text.format.DateUtils; import android.view.LayoutInflater; import android.view.View; import android.view.ViewG...
apache-2.0
postfix/csfw
codegen/tableToStruct/tpl/generics.go
6999
// Copyright 2015, Cyrill @ Schumacher.fm and the CoreStore contributors // // 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 ...
apache-2.0
williballenthin/python-sdb
scripts/sdb_dump_patch.py
3397
import sys import logging import hexdump import vstruct import vivisect import envi import envi.archs.i386 as x86 import envi.archs.amd64 as x64 import sdb from sdb import SDB_TAGS from sdb_dump_common import SdbIndex from sdb_dump_common import item_get_child from sdb_dump_common import item_get_children logging.b...
apache-2.0
opetrovski/development
oscm-devruntime/javares/sql/upd_postgresql_01_01_22.sql
5510
ALTER TABLE "organizationhistory" ADD COLUMN "invocationdate" TIMESTAMP NOT NULL DEFAULT '1970-01-01 00:00:00'; UPDATE "organizationhistory" SET "invocationdate" = "moddate"; ALTER TABLE "paymentinfohistory" ADD COLUMN "invocationdate" TIMESTAMP NOT NULL DEFAULT '1970-01-01 00:00:00'; UPDATE "paymentinfohistory" SET "...
apache-2.0
leepc12/BigDataScript
src/org/bds/lang/nativeMethods/string/MethodNative_string_isEmpty.java
871
package org.bds.lang.nativeMethods.string; import java.io.File; import java.util.ArrayList; import java.util.Collections; import org.bds.lang.Parameters; import org.bds.lang.Type; import org.bds.lang.TypeList; import org.bds.lang.nativeMethods.MethodNative; import org.bds.run.BdsThread; import org.bds.task.Task; impo...
apache-2.0
ConsecroMUD/ConsecroMUD
com/suscipio_solutions/consecro_mud/Items/BasicTech/GenKineticField.java
2625
package com.suscipio_solutions.consecro_mud.Items.BasicTech; import com.suscipio_solutions.consecro_mud.Common.interfaces.CMMsg; import com.suscipio_solutions.consecro_mud.Common.interfaces.PhyStats; import com.suscipio_solutions.consecro_mud.Items.interfaces.Technical; import com.suscipio_solutions.consecro_mud.Items....
apache-2.0
reven86/dfg-gameplay
client/source/base/services/social_service.h
835
#ifndef __DFG_SOCIALSERVICE__ #define __DFG_SOCIALSERVICE__ #include "service.h" /** @brief Social service. */ class SocialService : public Service, public gameplay::SocialSessionListener { friend class ServiceManager; public: static const char * getTypeName() { return "SocialService"; } gameplay::...
apache-2.0
Sargul/dbeaver
plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/model/sql/SQLQueryResult.java
4467
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2021 DBeaver Corp and others * * 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/licen...
apache-2.0
NuPattern/NuPattern
Src/Authoring/Source/Authoring.WorkflowDesign/GeneratedCode/Shapes.gen.cs
62606
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //-----------------------------------------...
apache-2.0
MacdonaldRobinson/FlexDotnetCMS
WebApplication/Controls/Header.ascx.designer.cs
451
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------------...
apache-2.0
takahito-tejima/OpenSubdiv-exp
python/osd/subdivider.cpp
4290
// // Copyright 2013 Pixar // // Licensed under the Apache License, Version 2.0 (the "Apache License") // with the following modification; you may not use this file except in // compliance with the Apache License and the following modification to it: // Section 6. Trademarks. is deleted and replaced with: // ...
apache-2.0
sawer1208/algs
src/chapter1_3/DeleteTail.java
498
package chapter1_3; public class DeleteTail<Item> { private Node<Item> first; private int N; public int getN(){ return N; } private static class Node<Item>{ private Item item; private Node<Item> next; } public static void main(String[] args) { // TODO Auto-generated method stub DeleteTail<String> d...
apache-2.0
pivotal-cf/brokerapi
handlers/last_binding_operation.go
2214
package handlers import ( "errors" "fmt" "net/http" "code.cloudfoundry.org/lager" "github.com/gorilla/mux" "github.com/pivotal-cf/brokerapi/v8/domain" "github.com/pivotal-cf/brokerapi/v8/domain/apiresponses" "github.com/pivotal-cf/brokerapi/v8/middlewares" "github.com/pivotal-cf/brokerapi/v8/utils" ) const ...
apache-2.0
awsdocs/aws-doc-sdk-examples
gov2/kms/EncryptData/EncryptDatav2.go
2022
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 // snippet-start:[kms.go-v2.EncryptData] package main import ( "context" b64 "encoding/base64" "flag" "fmt" "github.com/aws/aws-sdk-go-v2/config" "github.com/aws/aws-sdk-go-v2/service/kms" ) // KMSEncry...
apache-2.0
mdoering/backbone
life/Fungi/Ascomycota/Arthoniomycetes/Arthoniales/Roccellaceae/Cresponea/Cresponea premnea/ Syn. Lecidea premnea/README.md
211
# Lecidea premnea Ach. SPECIES #### Status SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in Lich. univ. 173 (1810) #### Original name Lecidea premnea Ach. ### Remarks null
apache-2.0
tfisher1226/ARIES
nam/nam-view/src/main/java/nam/model/transactionScope/TransactionScopeListObject.java
1750
package nam.model.transactionScope; import java.io.Serializable; import org.aries.ui.AbstractListObject; import nam.model.TransactionScope; public class TransactionScopeListObject extends AbstractListObject<TransactionScope> implements Comparable<TransactionScopeListObject>, Serializable { private TransactionSc...
apache-2.0
UTSA-ICS/keystone-kerberos
keystone/hacking/checks.py
15958
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under t...
apache-2.0
jlongever/redfish-client-python
on_http_redfish_1_0/models/chassis_1_0_0_chassis_actions.py
3731
# coding: utf-8 """ Copyright 2015 SmartBear Software 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...
apache-2.0
dbflute-test/dbflute-test-dbms-oracle
src/main/java/org/docksidestage/oracle/dbflute/bsentity/BsVendor$Dollar.java
6829
package org.docksidestage.oracle.dbflute.bsentity; import java.util.List; import java.util.ArrayList; import org.dbflute.dbmeta.DBMeta; import org.dbflute.dbmeta.AbstractEntity; import org.dbflute.dbmeta.accessory.DomainEntity; import org.docksidestage.oracle.dbflute.allcommon.DBMetaInstanceHandler; import org.docksi...
apache-2.0
lyft/envoy
test/extensions/filters/http/ext_authz/ext_authz_test.cc
98766
#include <memory> #include <string> #include <vector> #include "envoy/config/core/v3/base.pb.h" #include "envoy/extensions/filters/http/ext_authz/v3/ext_authz.pb.h" #include "envoy/extensions/filters/http/ext_authz/v3/ext_authz.pb.validate.h" #include "envoy/http/codes.h" #include "envoy/service/auth/v3/external_auth....
apache-2.0
jesty/orientdb-microservices
nut-corelationid/src/main/java/com/nutcore/nut/correlationid/ClientProducer.java
419
package com.nutcore.nut.correlationid; import javax.enterprise.inject.Produces; import javax.ws.rs.client.Client; import javax.ws.rs.client.ClientBuilder; /** * Created by davidecerbo on 14/11/2016. */ public class ClientProducer { @Produces public Client newClient() { return ClientBuilder ...
apache-2.0
didi/DoraemonKit
Android/app/src/main/java/com/didichuxing/doraemondemo/dokit/SimpleDokitView.java
3618
package com.didichuxing.doraemondemo.dokit; import android.content.Context; import android.util.DisplayMetrics; import android.view.Gravity; import android.view.LayoutInflater; import android.view.View; import android.view.WindowManager; import android.widget.CompoundButton; import android.widget.FrameLayout; import a...
apache-2.0
orfeotoolbox/OTB
Utilities/Maintenance/TravisBuild.sh
3299
#!/usr/bin/env bash # # Copyright (C) 2005-2020 Centre National d'Etudes Spatiales (CNES) # # This file is part of Orfeo Toolbox # # https://www.orfeo-toolbox.org/ # # 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 ...
apache-2.0
orfeotoolbox/OTB
Modules/Applications/AppImageUtils/otb-module.cmake
1185
# # Copyright (C) 2005-2020 Centre National d'Etudes Spatiales (CNES) # # This file is part of Orfeo Toolbox # # https://www.orfeo-toolbox.org/ # # 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 Licens...
apache-2.0
greggyNapalm/lunaport_server
lunaport_server/dao/path.py
4535
# -*- encoding: utf-8 -*- """ lunaport.dao.line ~~~~~~~~~~~~~~~~~ Storage interaction logic for line resource. """ import pprint pp = pprint.PrettyPrinter(indent=4).pprint from sqlalchemy import text, exc from ..wsgi import app, db from .. domain.line import LineBuilder, LineAdaptor from exceptions impo...
apache-2.0
sileht/pifpaf
pifpaf/drivers/ceph.py
5134
# Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the...
apache-2.0
perandersson/everstore-server
Dockerfile
1079
FROM ubuntu AS builder ## ## 1. Install basic ubuntu tools needed to build everstore ## 2. Download and install CMake 3.x ## 3. Download and build everstore ## 4. Remove unnecessary stuff (such as the compiler) ## 5. Copy files to appropriate directories ## # Install Development Tools RUN apt-get update RUN apt-get i...
apache-2.0
YeewenTan/YeewenTan.github.io
doc/org/deeplearning4j/nn/updater/graph/package-frame.html
910
<!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_73) on Mon Sep 19 13:35:35 PDT 2016 --> <title>org.deeplearning4j.nn.updater.graph</title> <meta name="date" content="2016-09-19"> <link rel="s...
apache-2.0
danstaines/ensembl
sql/patch_28_29.sql
811
-- Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute -- Copyright [2016] EMBL-European Bioinformatics Institute -- -- 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 ...
apache-2.0
robjcaskey/Unofficial-Coffee-Mud-Upstream
com/planet_ink/coffee_mud/Commands/Value.java
3508
package com.planet_ink.coffee_mud.Commands; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import com.planet_ink.coffee_mud.Behaviors.interfaces.*; import com...
apache-2.0
ampproject/validator-java
src/main/java/dev/amp/validator/visitor/InvalidRuleVisitor.java
6111
/* * * ==================================================================== * 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 * * Unles...
apache-2.0
merhawifissehaye/dreamfactory-configured
vendor/dreamfactory/df-core/src/Components/Mailer.php
538
<?php namespace DreamFactory\Core\Components; use DreamFactory\Core\Utility\EmailUtilities; class Mailer extends \Illuminate\Mail\Mailer { /** * Render the given view. * * @param string $view * @param array $data * * @return mixed */ protected function getView($view, $dat...
apache-2.0
mdoering/backbone
life/Fungi/Ascomycota/Laboulbeniomycetes/Laboulbeniales/Laboulbeniaceae/Laboulbenia/Laboulbenia exigua/Laboulbenia exigua exigua/README.md
203
# Laboulbenia exigua var. exigua Thaxt. VARIETY #### Status ACCEPTED #### According to Index Fungorum #### Published in null #### Original name Laboulbenia exigua var. exigua Thaxt. ### Remarks null
apache-2.0
googleinterns/contextual-query-rewrites
models/lasertagger/test_realizer_arbitrary_reordering.py
1307
import unittest import tagging class TestRealizerArbitraryReordering(unittest.TestCase): """ Tests for the realizer with arbitrary reordering enabled. """ def test_realize_output_in_order(self): """ Test for when source tokens occur in the same relative orde...
apache-2.0
iservport/helianto
helianto-core/src/main/java/org/helianto/core/test/EntityTestSupport.java
1747
package org.helianto.core.test; import org.helianto.core.domain.Entity; import java.util.ArrayList; import java.util.List; /** * Class to support <code>Entity</code> tests. * * @author Mauricio Fernandes de Castro */ public class EntityTestSupport { public static Entity entity = createEntity(); public...
apache-2.0
dwillmer/rust
src/librustc_unicode/u_str.rs
8499
// Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license // <LICENSE-MI...
apache-2.0
pnf/scex
scex-core/src/main/scala/com/avsystem/scex/ExpressionDebugInfo.scala
621
package com.avsystem.scex import java.{lang => jl, util => ju} import com.avsystem.scex.compiler.ExpressionDef /** * Created: 16-06-2014 * Author: ghik */ class ExpressionDebugInfo( val definition: ExpressionDef) { lazy val originalLines = { val mapping = definition.positionMapping.reverse val lineLe...
apache-2.0
thurt/arangodb
arangod/Rest/AnyServer.cpp
16704
//////////////////////////////////////////////////////////////////////////////// /// @brief any server /// /// @file /// This file contains a server template. /// /// DISCLAIMER /// /// Copyright 2014 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apac...
apache-2.0
resin-io-library/base-images
balena-base-images/device-base/cnx100-xavier-nx/fedora/36/run/Dockerfile
1000
FROM balenalib/aarch64-fedora:36-run LABEL io.balena.device-type="cnx100-xavier-nx" RUN dnf install -y \ less \ nano \ net-tools \ usbutils \ gnupg \ i2c-tools \ && dnf clean all RUN [ ! -d /.balena/messages ] && mkdir -p /.balena/messages; echo $'Here are a few details about this Docker image (For more ...
apache-2.0
Biacco42/play-silhouette-mail-confirm-seed
app/models/services/UserServiceImpl.scala
2705
package models.services import java.util.UUID import javax.inject.Inject import com.mohiva.play.silhouette.api.LoginInfo import com.mohiva.play.silhouette.impl.providers.CommonSocialProfile import models.User import models.daos.UserDAO import play.api.libs.concurrent.Execution.Implicits._ import scala.concurrent.Fut...
apache-2.0
genericsystem/genericsystem2015
gs-kernel/src/test/java/org/genericsystem/remote/MetaRelationTest.java
1116
package org.genericsystem.remote; //package org.genericsystem.kernel; // //import java.util.Collections; // //import org.testng.annotations.Test; // //@Test //public class MetaRelationTest extends AbstractTest { // // public void test001_setMetaAttribute_engineEngine() { // // Root engine = new Root(); // Vertex meta...
apache-2.0
serge-rider/dbeaver
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/ui/dialogs/connection/ConnectionPageNetwork.java
9725
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2019 Serge Rider (serge@jkiss.org) * * 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...
apache-2.0
joel-costigliola/assertj-core
src/test/java/org/assertj/core/internal/files/Files_assertHasDigest_DigestBytes_Test.java
6237
/* * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under t...
apache-2.0
cloudbirds/comments
closure-comments/store/mysql/entity.go
2557
package mysql import ( "database/sql" "time" "crypto/md5" "encoding/hex" "github.com/cloudbirds/comments/closure-comments/store" ) type entityStore struct { db *sql.DB } func byte2string(in [16]byte) []byte { return in[:16] } // New create a new entity func (s *entityStore) New(title, url string, discover...
apache-2.0
iamaris/CDFCodes
pythia/generatorMods/src/VecbosModule_initializeTalkTo.cc
11152
//-------------------------------------------------------------------------- // Description: // Belongs to class VecbosModule // // Wed Jul 11 16:09:46 CDT 2001, G.Velev fix a bug with W or Z selection and // add vegas read/write flag //------------------------------------------...
apache-2.0
SAP/cloud-dirigible-samples
README.md
53
cloud-dirigible-samples ======================= TBD
apache-2.0
SpencerAlanWatson/Javascript-Expierments
public/js/utilities.js
751
function Vec2(_x, _y) { var self = this; self.x = _x; self.y = _y; self.Distance = function (OtherPoint) { try { return Math.sqrt(Math.pow(OtherPoint.x - self.x, 2) + Math.pow(OtherPoint.y - self.y, 2)); } catch (e) { console.error(e); return false; ...
apache-2.0
yanisIk/TelemetryDashboard
.old app/collections/motorTemperature.js
973
MotorTemperatures = new Mongo.Collection('MotorTemperatures'); // fields : value, timestamp MotorTemperatures.allow({ insert: function(userid, temp){return true;} //for now }); Meteor.methods({ motorTemperatureInsert: function(temp) { check(temp,Match.Integer); var tempObject = { value: temp...
apache-2.0
micromagic/eterna
main/src/share/self/micromagic/util/CustomResultIterator.java
2942
/* * Copyright 2009-2015 xinjunli (micromagic@sina.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 requi...
apache-2.0
leibing8912/QuickInquiry
jkchat/src/main/java/cn/jianke/jkchat/data/dao/JkChatConversationDaoWrapper.java
7135
package cn.jianke.jkchat.data.dao; import android.content.Context; import com.jk.chat.gen.JkChatConversationDao; import org.greenrobot.greendao.query.QueryBuilder; import java.util.List; import cn.jianke.jkchat.domain.JkChatConversation; import cn.jianke.jkchat.domain.JkChatMessage; /** * @className: JkChatConversat...
apache-2.0
jorseph/SearchRestaurant
app/src/main/java/com/example/currentplacedetailsonmap/data/LocationInfo.java
2078
package com.example.currentplacedetailsonmap.data; import java.io.Serializable; public class LocationInfo implements Serializable { private String placeid; private String lat; private String lng; private String vicinity; //addr private String tel; private String name; private String atype; private String ph...
apache-2.0
bmwcarit/capu
Capu/include/capu/os/MacOSX/X86_32/TcpServerSocket.h
1350
/* * Copyright (C) 2012 BMW Car IT 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 a...
apache-2.0
vindell/spring-boot-starter-rocketmq
src/main/java/org/apache/rocketmq/spring/boot/handler/impl/RocketmqEventMessageOrderlyHandler.java
1872
package org.apache.rocketmq.spring.boot.handler.impl; import org.apache.rocketmq.client.consumer.listener.ConsumeOrderlyContext; import org.apache.rocketmq.common.message.MessageExt; import org.apache.rocketmq.spring.boot.event.RocketmqEvent; import org.apache.rocketmq.spring.boot.handler.AbstractRouteableMessage...
apache-2.0
mdoering/backbone
life/Plantae/Bacillariophyta/Bacillariophyceae/Eunotiales/Eunotiaceae/Eunotia/Eunotia curvata/Eunotia curvata attenuata/README.md
188
# Eunotia curvata var. attenuata VARIETY #### Status ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
apache-2.0
China-ls/wechat4java
src/main/java/weixin/popular/bean/paymch/MchBaseResult.java
1987
package weixin.popular.bean.paymch; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlRootElement; @XmlRootElement(name = "xml") @XmlAccessorType(XmlAccessType.FIELD) public class MchBaseResult { protected String return_code; ...
apache-2.0
atrawog/360-flight-explorer
Source/Scene/WebMapTileServiceImageryProvider.js
19958
/*global define*/ define([ '../Core/combine', '../Core/Credit', '../Core/defaultValue', '../Core/defined', '../Core/defineProperties', '../Core/DeveloperError', '../Core/Event', '../Core/freezeObject', '../Core/isArray', '../Core...
apache-2.0
Esri/arcobjects-sdk-community-samples
Net/Raster/CustomRasterType/CSharp/ThumbnailBuilder/Properties/AssemblyInfo.cs
2063
/* Copyright 2019 Esri 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, ...
apache-2.0
etechi/ServiceFramework
Projects/Server/Biz/SF.Biz.Trades.Implements/DIExtension.cs
3996
#region Apache License Version 2.0 /*---------------------------------------------------------------- Copyright 2017 Yang Chen (cy2000@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 copy of the License at htt...
apache-2.0
jermj/BeerPongTournament
algo.html
4509
<html> <head> <script> function isEven(value){ return value % 2 == 0; } function canBeADirectTournament(value){ var data = Math.log(value)/Math.log(2); return data === parseInt(data); ...
apache-2.0
cezarfx/zorba
test/iterplans/apitest_args.cpp
18594
/* * Copyright 2006-2014 The FLWOR Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
apache-2.0
ybonnel/Elem
dist/elem.js
41774
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.Elem=e()}}(function(){var define,module,exports;retur...
apache-2.0
thinkivy/korea
js/agency.js
1181
/*! * Start Bootstrap - Agency Bootstrap Theme (http://startbootstrap.com) * Code licensed under the Apache License v2.0. * For details, see http://www.apache.org/licenses/LICENSE-2.0. */ // jQuery for page scrolling feature - requires jQuery Easing plugin $(function() { $('a.page-scroll').bind('click', functi...
apache-2.0
open-thinks/Apps4APEX
AMB/3-bussiness/utils/AMB_UTIL.body.sql
2451
create or replace package body AMB_UTIL as function generate_guid return varchar2 as begin return SYS_GUID(); end generate_guid; procedure print_clob(p_clob CLOB,p_style varchar2 default 'HTP') AS v_clob_length number:=DBMS_LOB.GETLENGTH(p_clob); v_offset number:=1; v_temp CLOB...
apache-2.0
tongjinlv/trtos
USER/Prj_TP502T/UpgradeByGPRS.c
9214
/*******************************************ÉêÃ÷*************************************** ±¾Ç¶Èëʽ²Ù×÷ϵͳδ¾­ÊÚȨ£¬½ûÖ¹Ó¦ÓÃÓÚÈκÎÉÌÒµÓÃ; °æÈ¨ËùÓУ¬ÇÖȨ±Ø¾¿ http://www.trtos.com/ **************************************************************************************/ #include <..\USER\Prj_TP502T\UpgradeByGPRS.h> ...
apache-2.0
MrCodeYu/spark
core/src/main/scala/org/apache/spark/util/RpcUtils.scala
2793
/* * 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-2.0
pascalrobert/aribaweb
src/util/src/main/java/ariba/util/core/Crypto.java
9878
/* Copyright 1996-2008 Ariba, 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...
apache-2.0
mdoering/backbone
life/Fungi/Ascomycota/Lecanoromycetes/Ostropales/Thelotremataceae/Thelotrema/Thelotrema neei/ Syn. Ocellularia neei/README.md
201
# Ocellularia neei Hale SPECIES #### Status SYNONYM #### According to Index Fungorum #### Published in Smithson. Contr. bot. 38: 25 (1978) #### Original name Ocellularia neei Hale ### Remarks null
apache-2.0
mdoering/backbone
life/Plantae/Magnoliophyta/Magnoliopsida/Ericales/Primulaceae/Anagallis/Anagallis tenella/Anagallis tenella ascendens/README.md
202
# Anagallis tenella var. ascendens A.St.-Hil. & Girard VARIETY #### Status ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
apache-2.0
mdoering/backbone
life/Plantae/Magnoliophyta/Magnoliopsida/Asterales/Asteraceae/Mikania lucida/ Syn. Mikania lucida lucida/README.md
178
# Mikania lucida f. lucida FORM #### Status SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
apache-2.0
mdoering/backbone
life/Plantae/Magnoliophyta/Magnoliopsida/Fabales/Fabaceae/Astragalus/Astragalus vesicarius/Astragalus vesicarius nyaradyanus/README.md
243
# Astragalus vesicarius f. nyaradyanus (Prodán) Kožuharov & D.K.Pavlova FORM #### Status ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name Astragalus nyaradyanus Prodan ### Remarks null
apache-2.0
mdoering/backbone
life/Plantae/Magnoliophyta/Magnoliopsida/Brassicales/Brassicaceae/Boechera/Boechera platysperma/ Syn. Erysimum platyspermum/README.md
195
# Erysimum platyspermum (A. Gray) Kuntze SPECIES #### Status SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
apache-2.0
mdoering/backbone
life/Fungi/Ascomycota/Sordariomycetes/Hypocreales/Nectriaceae/Lisea/Lisea violacea/README.md
224
# Lisea violacea (A.L. Sm.) Sacc. SPECIES #### Status ACCEPTED #### According to Index Fungorum #### Published in Syll. fung. (Abellini) 11: XXXIII (1895) #### Original name Gibberella violacea A.L. Sm. ### Remarks null
apache-2.0
mdoering/backbone
life/Plantae/Magnoliophyta/Magnoliopsida/Fabales/Fabaceae/Calliandra/Calliandra haematomma/Calliandra haematomma haematomma/README.md
195
# Calliandra haematomma var. haematomma VARIETY #### Status ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
apache-2.0