code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
4
991
language
stringclasses
9 values
license
stringclasses
15 values
size
int32
3
1.05M
package jat.coreNOSA.gps; /* JAT: Java Astrodynamics Toolkit * * Copyright (c) 2003 National Aeronautics and Space Administration. All rights reserved. * * This file is part of JAT. JAT is free software; you can * redistribute it and/or modify it under the terms of the * NASA Open Source Agreement * * * T...
atmelino/JATexperimental
src/jat/coreNOSA/gps/URE_Model.java
Java
apache-2.0
6,016
package statzall.codec; import static org.junit.Assert.*; import org.junit.Test; import statzall.Cast; import statzall.StreamCalc; import statzall.codec.StreamCalcKryo; public class StreamCalcKryoTest { @Test public void test() { StreamCalc calc = new StreamCalc(10, 10); StreamCalcKryo target = new StreamCa...
LamdaFu/statzall
statzall-core/src/test/java/statzall/codec/StreamCalcKryoTest.java
Java
apache-2.0
539
<?php namespace WoowUpTest\WoowUp; use WoowUp\Client as WoowUp; /** * */ class PurchasesTest extends \PHPUnit_Framework_TestCase { public function testCreatePurchase() { $woowup = new WoowUp($_ENV['WOOWUP_API_KEY'], $_ENV['WOOWUP_API_HOST'], $_ENV['WOOWUP_API_VERSION']); $email = md5(microt...
woowup/woowup-php-client
tests/WoowUp/PurchasesTest.php
PHP
apache-2.0
1,726
/* * Copyright 2009-2013 by The Regents of the University of California * 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 from * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
tectronics/hyracks
algebricks/algebricks-core/src/main/java/org/apache/hyracks/algebricks/core/algebra/properties/AbstractGroupingProperty.java
Java
apache-2.0
3,116
/** * Copyright 2015-2016 INESC-ID * * 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 ag...
reTHINK-project/dev-registry-domain
server/src/main/java/domainregistry/exception/HypertiesNotFoundException.java
Java
apache-2.0
701
from symbol.builder import add_anchor_to_arg from models.FPN.builder import MSRAResNet50V1FPN as Backbone from models.FPN.builder import FPNNeck as Neck from models.FPN.builder import FPNRoiAlign as RoiExtractor from models.FPN.builder import FPNBbox2fcHead as BboxHead from mxnext.complicate import normalizer_factory ...
TuSimple/simpledet
config/ms_r50v1_fpn_1x.py
Python
apache-2.0
10,314
/* * Copyright 2008 JBoss 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 i...
bobmcwhirter/drools
drools-core/src/main/java/org/drools/reteoo/RuleRemovalContext.java
Java
apache-2.0
2,187
/* * 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 ...
sailesh341/JavApi
JavApi_Core/javax/xml/validation/Validator.cs
C#
apache-2.0
17,647
/* * Copyright 2000-2016 Vaadin 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 agreed to...
Legioth/vaadin
server/src/main/java/com/vaadin/data/Result.java
Java
apache-2.0
6,251
/* * Copyright (C) 2014 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.strata.product.swap; import java.io.Serializable; import java.time.LocalDate; import java.util.List; import java.util.Map; import java.util.NoSuchElementExcepti...
OpenGamma/Strata
modules/product/src/main/java/com/opengamma/strata/product/swap/RateCalculationSwapLeg.java
Java
apache-2.0
28,501
import difference from 'lodash/difference'; export const ActionTypes = { PERFORM_ACTION: 'PERFORM_ACTION', RESET: 'RESET', ROLLBACK: 'ROLLBACK', COMMIT: 'COMMIT', SWEEP: 'SWEEP', TOGGLE_ACTION: 'TOGGLE_ACTION', JUMP_TO_STATE: 'JUMP_TO_STATE', IMPORT_STATE: 'IMPORT_STATE' }; /** * Action creators to c...
Maxwelloff/react-football
node_modules/redux-devtools/src/instrument.js
JavaScript
apache-2.0
10,577
package com.uservoice.uservoicesdk.ui; import android.annotation.SuppressLint; import android.content.Context; import android.content.Intent; import android.graphics.Color; import android.net.Uri; import android.support.v4.app.FragmentActivity; import android.util.TypedValue; import android.view.View; import android.w...
goodev/android-discourse
userVoiceSDK/src/main/java/com/uservoice/uservoicesdk/ui/Utils.java
Java
apache-2.0
5,192
/* Copyright 2016 Mikolaj Stefaniak * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed u...
mikouaj/finsight
finsight-backend/src/main/java/pl/surreal/finance/transaction/resources/TransactionResource.java
Java
apache-2.0
11,611
package com.voisintech.easeljs.display; public class MovieClip { }
Vam85/gwt-createjs
gwt-easeljs/src/com/voisintech/easeljs/display/MovieClip.java
Java
apache-2.0
69
/* * Copyright (c) 2002-2018 "Neo Technology," * Network Engine for Objects in Lund AB [http://neotechnology.com] * * This file is part of Neo4j. * * Neo4j is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Fo...
HuangLS/neo4j
advanced/management/src/main/java/org/neo4j/management/HighAvailability.java
Java
apache-2.0
2,055
// Sanity test for removing documents with adjacent index keys. SERVER-2008 t = db.jstests_removec; t.drop(); t.ensureIndex({a: 1}); /** @return an array containing a sequence of numbers from i to i + 10. */ function runStartingWith(i) { ret = []; for (j = 0; j < 11; ++j) { ret.push(i + j); } ...
christkv/mongo-shell
test/jstests/core/removec.js
JavaScript
apache-2.0
1,114
"use strict"; var cases = module.exports = []; cases[0] = {}; cases[0].resources = [{ "resource": { "id": "Condition/c-0-0", "resourceType": "Condition", "status": "confirmed", "onsetDateTime": "2012-08-05", "dateAsserted": "2012-08-05", "abatementBoolean": true, ...
amida-tech/blue-button-fhir
test/fixtures/unit/condition.js
JavaScript
apache-2.0
2,758
/* * Copyright (c) 2015-2016, Mostafa Ali (engabdomostafa@gmail.com) * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: Redistributions of source code must retain the above copyright * notice, ...
EMostafaAli/HlaListener
src/main/java/ca/mali/customcontrol/DimensionsListController.java
Java
apache-2.0
6,175
/* * 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 ...
ManfredTremmel/gwt-bean-validators
gwt-bean-validators/src/main/java/de/knightsoftnet/validators/client/data/PhoneRegionCode504Constants.java
Java
apache-2.0
1,101
/* * Copyright 2017 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 ...
duftler/clouddriver
clouddriver-kubernetes/src/main/java/com/netflix/spinnaker/clouddriver/kubernetes/provider/KubernetesModelUtil.java
Java
apache-2.0
3,696
/** * @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-inference/src/test_node.ts
TypeScript
apache-2.0
1,381
app.controller('submissions', ['$scope', '$http', '$rootScope', 'globalHelpers', function ($scope, $http, $rootScope, globalHelpers) { $scope.stats = {}; $scope.getUrlLanguages = function(gitUrlId){ globalHelpers.getUrlLanguagesPromise(gitUrlId).then( function (response){ $scope.stats[git...
trobert2/gitRoulette
static/controllers/submissions.js
JavaScript
apache-2.0
2,774
/** * 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...
astefanutti/camel-cdi
envs/se/src/test/java/org/apache/camel/cdi/se/MultiCamelContextReusedRouteTest.java
Java
apache-2.0
4,298
/* * Copyright 2014 Radialpoint SafeCare 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 re...
StephanieMak/word2vec-query-expansion
src/main/java/com/radialpoint/word2vec/Vectors.java
Java
apache-2.0
4,960
package io.skysail.server.queryfilter.parser; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Set; import org.osgi.framework.InvalidSyntaxException; import org.osgi.service.component.annotations.Component; import io.skysail.server.domain.jvm.FieldFacet; import io.skysail.ser...
evandor/skysail
skysail.server.queryfilter/src/io/skysail/server/queryfilter/parser/LdapParser.java
Java
apache-2.0
9,977
/* * Copyright 2010-2016 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 "lice...
trasa/aws-sdk-java
aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/Volume.java
Java
apache-2.0
8,673
package org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.policies; import java.util.Iterator; import org.eclipse.emf.ecore.EAnnotation; import org.eclipse.gef.commands.Command; import org.eclipse.gmf.runtime.diagram.core.commands.DeleteCommand; import org.eclipse.gmf.runtime.emf.commands.core.command.CompositeTr...
rajeevanv89/developer-studio
esb/org.wso2.developerstudio.eclipse.gmf.esb.diagram/src/org/wso2/developerstudio/eclipse/gmf/esb/diagram/edit/policies/TransactionMediatorOutputConnectorItemSemanticEditPolicy.java
Java
apache-2.0
3,894
/* * Copyright 2011 France Telecom R&D Beijing Co., Ltd 北京法国电信研发中心有限公司 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unl...
vergnes/spring-social-weibo
src/main/java/org/springframework/social/weibo/api/impl/json/TrendsWrapperMixin.java
Java
apache-2.0
1,429
package com.example.stackexchange.util; import java.nio.file.Path; import java.nio.file.Paths; public class SiteUtils { private static String siteName; public static String getSiteName(String dir) { if (siteName == null) { Path path = Paths.get(dir); Path parent = path.getParent(); Path name = parent....
timstoner/stackexchangeimporter
src/main/java/com/example/stackexchange/util/SiteUtils.java
Java
apache-2.0
504
/** * Copyright 2016 JustWayward Team * <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> * Unless required by applicable law...
weiwenqiang/GitHub
MVP/BookReader-master/app/src/main/java/com/justwayward/reader/ui/fragment/FindFragment.java
Java
apache-2.0
3,463
package org.gradle.test.performance.mediummonolithicjavaproject.p281; public class Production5628 { private String property0; public String getProperty0() { return property0; } public void setProperty0(String value) { property0 = value; } private String property1; ...
oehme/analysing-gradle-performance
my-app/src/main/java/org/gradle/test/performance/mediummonolithicjavaproject/p281/Production5628.java
Java
apache-2.0
1,891
function loadText() { var txtLang = document.getElementsByName("txtLang"); txtLang[0].innerHTML = "St\u00F8rrelse"; txtLang[1].innerHTML = "Egenskaber"; txtLang[2].innerHTML = "Typografi"; txtLang[3].innerHTML = "Bredde"; txtLang[4].innerHTML = "Bredde styret af indhold"; txtLang...
studiodev/archives
2009 - Team D4 (IxGamer)/include/Editor/scripts/language/danish/table_edit.js
JavaScript
apache-2.0
2,072
db = connect(mserver); db = db.getSiblingDB('kynetx'); db.schedev.ensureIndex({cron_id : 1}); db.schedev.ensureIndex({ken : 1}); db.schedev.ensureIndex({expired : 1},{expireAfterSeconds : 120});
kre/kre_standalone
kre01/dist/files/mongo08.js
JavaScript
apache-2.0
195
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2017 Serge Rider (serge@jkiss.org) * Copyright (C) 2011-2012 Eugene Fradkin (eugene.fradkin@gmail.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You...
ruspl-afed/dbeaver
plugins/org.jkiss.dbeaver.ext.mysql/src/org/jkiss/dbeaver/ext/mysql/tools/MySQLScriptExecuteWizard.java
Java
apache-2.0
3,895
<?php namespace App\Http\Lib\CFDIXmlReader\CfdiParser\properties; use Exception; use SimpleXMLElement; /** * */ class fecha { final public static function extract(SimpleXMLElement $xml, array $namespace, $version) { switch ($version) { case 3: case 3.2: retur...
herimh/addenda-soriana
app/Http/Lib/CFDIXmlReader/CfdiParser/properties/fecha.php
PHP
apache-2.0
507
namespace Epi.Cloud.Common.Constants { public enum EmailCombinationEnum { ResetPassword = 1, PasswordChanged = 2, UpdateUserInfo = 3, InsertUser = 4, UpdateOrganization = 5, InsertOrganization = 6 } }
Epi-Info/Epi-Info-Cloud-Contact-Tracing
Cloud Enter/Epi.Cloud.Common/Constants/EmailCombinationEnum.cs
C#
apache-2.0
219
class TabList { constructor (tabs, parentTaskList) { this.tabs = tabs || [] this.parentTaskList = parentTaskList } //tab properties that shouldn't be saved to disk static temporaryProperties = ['hasAudio', 'previewImage', 'loaded'] add (tab = {}, options = {}) { var tabId = String(tab.id || Mat...
minbrowser/min
js/tabState/tab.js
JavaScript
apache-2.0
5,074
package au.com.mountainpass.hyperstate.core; import java.util.Map; import java.util.concurrent.CompletableFuture; import org.eclipse.jdt.annotation.Nullable; import org.springframework.core.ParameterizedTypeReference; import org.springframework.http.MediaType; import com.fasterxml.jackson.annotation.JsonIgnore; impo...
mountain-pass/hyperstate
hyperstate-core/src/main/java/au/com/mountainpass/hyperstate/core/Link.java
Java
apache-2.0
3,050
package com.hyd.redisfx; import com.hyd.fx.Fxml; import com.hyd.fx.app.AppLogo; import com.hyd.fx.app.AppPrimaryStage; import com.hyd.redisfx.fx.BackgroundExecutor; import com.hyd.redisfx.i18n.I18n; import javafx.application.Application; import javafx.fxml.FXMLLoader; import javafx.scene.Parent; import javafx.scene.Sc...
yiding-he/redisfx
src/main/java/com/hyd/redisfx/RedisFxApp.java
Java
apache-2.0
1,099
package net.catchpole.B9.codec.transcoder; import net.catchpole.B9.codec.stream.BitInputStream; import net.catchpole.B9.codec.stream.BitOutputStream; import java.io.IOException; import java.util.HashMap; import java.util.Map; import java.util.Set; class MapTranscoder implements TypeTranscoder<Map>, FieldInterceptor<...
slipperyseal/B9
src/main/java/net/catchpole/B9/codec/transcoder/MapTranscoder.java
Java
apache-2.0
1,451
package com.riskvis.entity; // Generated May 12, 2014 11:45:38 PM by Hibernate Tools 4.0.0 import static javax.persistence.GenerationType.IDENTITY; import java.util.HashSet; import java.util.Set; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persi...
machadolucas/watchout
src/main/java/com/riskvis/entity/Transports.java
Java
apache-2.0
3,527
package jdt.mantis.appmanager; import org.apache.http.NameValuePair; import org.apache.http.client.entity.UrlEncodedFormEntity; import org.apache.http.client.methods.CloseableHttpResponse; import org.apache.http.client.methods.HttpGet; import org.apache.http.client.methods.HttpPost; import org.apache.http.impl.client....
sgasiewska/java_dla_testerow
mantis-tests/src/test/java/jdt/mantis/appmanager/HttpSession.java
Java
apache-2.0
2,863
//: net/mindview/util/Print.java // Print methods that can be used without // qualifiers, using Java SE5 static imports: package tsj.example.java.project.tsj.net.mindview.util; import java.io.*; public class Print { // Print with a newline: public static void print(Object obj) { System.out.println(obj); } ...
taoshujian/exampleJava
src/main/java/tsj/example/java/project/tsj/net/mindview/util/Print.java
Java
apache-2.0
683
/** * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. */ package com.thinkgem.jeesite.modules.sys.service.gbj; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.spr...
GSSBuse/GSSB
src/main/java/com/thinkgem/jeesite/modules/sys/service/gbj/GbjUserSoldCommentsReplyService.java
Java
apache-2.0
1,961
/* * Copyright 2011-2012 Gregory P. Moyer * * 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 applicabl...
syphr42/libmythtv-java
protocol/src/main/java/org/syphr/mythtv/protocol/impl/Command63QueryRemoteEncoderCancelNextRecording.java
Java
apache-2.0
1,753
/* * ! JSRT JavaScript Library 0.1.1 lico.atom@gmail.com * * Copyright 2008, 2014 Atom Union, Inc. Released under the MIT license * * Date: Feb 11, 2014 */ Class.forName({ name: "class js.util.Iterator extends Object", "private _element": null, "private _cursor": 0, "private _lastRet": -1, Iterator: ...
ctripcorp/tars
tars/surface/static/jre/src/main/js/js/util/Iterator.js
JavaScript
apache-2.0
1,103
/* * Copyright 2000-2009 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
jexp/idea2
platform/lang-impl/src/com/intellij/application/options/colors/OptionsPanelImpl.java
Java
apache-2.0
6,502
//simple GUI for the Matching program package compare; //importing requird libraries import java.awt.BorderLayout; import java.awt.FlowLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JComboBox; import javax.swing.JFileChooser; ...
nowshad-sust/ImageMatching-RGB
src/compare/FilePicker.java
Java
apache-2.0
2,982
/** * Copyright 2013 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 ...
machado-rev/htmlcoinj
core/src/main/java/com/bushstar/htmlcoinj/jni/NativeWalletEventListener.java
Java
apache-2.0
1,933
using System; using System.Collections.Generic; namespace Enterprise.Invoicing.Entities.Models { public partial class DelegateOrderDetail { public DelegateOrderDetail() { this.DelegateSendDetails = new List<DelegateSendDetail>(); } public int detailSn { get; set; } ...
amzulin/dlerp
Enterprise.Invoicing.Entities/Models/DelegateOrderDetail.cs
C#
apache-2.0
737
import React from 'react'; import { within, userEvent } from '@storybook/testing-library'; import { action } from '@storybook/addon-actions'; import { Badge } from '@talend/react-components'; import { useTranslation } from 'react-i18next'; import set from 'lodash/set'; import cloneDeep from 'lodash/cloneDeep'; import t...
Talend/ui
packages/faceted-search/stories/facetedSearch.stories.js
JavaScript
apache-2.0
11,370
/* * ../../../..//localization/cy/FontWarnings.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.o...
GerHobbelt/MathJax
localization/cy/FontWarnings.js
JavaScript
apache-2.0
1,604
/** * Copyright 2011 Pedro Ribeiro * * 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...
ribeirux/jalphanode
core/src/main/java/org/jalphanode/scheduler/ScheduleIterator.java
Java
apache-2.0
1,080
// Copyright (c) 2014 ikawaha. // 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,...
sidestepism/kagome
token.go
GO
apache-2.0
1,434
/* * (c)2016-2017, Cris Luengo. * Based on original DIPlib code: (c)1995-2014, Delft University of Technology. * * 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...
DIPlib/diplib
src/statistics/statistics.cpp
C++
apache-2.0
31,998
/*! * ${copyright} */ // Provides control sap.ui.commons.Tree. sap.ui.define(['jquery.sap.global', './library', 'sap/ui/core/Control'], function(jQuery, library, Control) { "use strict"; /** * Constructor for a new Tree. * * @param {string} [sId] id for the new control, generated automatically if no id i...
olirogers/openui5
src/sap.ui.commons/src/sap/ui/commons/Tree.js
JavaScript
apache-2.0
31,259
# # Copyright (c) SAS Institute 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 w...
sassoftware/conary
conary/build/packagepolicy.py
Python
apache-2.0
195,877
<?php if(!defined('_source')) die("Error"); $act = (isset($_REQUEST['act'])) ? addslashes($_REQUEST['act']) : ""; switch($act){ case "login": if(!empty($_POST)) login(); $template = "user/login"; break; case "admin_edit": edit(); $template = "user/admin_add"; break; ...
vikigroup/vbiketours
sacviet/sources/user.php
PHP
apache-2.0
8,203
var parentchild = require('../'), assert = require('assert'); assert.deepEqual(parentchild('foo'), []); assert.deepEqual(parentchild({}), []); assert.deepEqual(parentchild([1, 2, 3]), [['inarray', undefined, 1], ['inarray', undefined, 2], ['inarray', undefined, 3]]); assert.deepEqual(parentchild({ a: { b: ...
emitdb/parentchild
test/index.js
JavaScript
apache-2.0
1,671
/* * Copyright 2015-2102 RonCoo(http://www.roncoo.com) Group. * * 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 req...
roncoo/roncoo-pay
roncoo-pay-service/src/main/java/com/roncoo/pay/reconciliation/service/impl/RpAccountCheckBatchServiceImpl.java
Java
apache-2.0
2,174
package config import ( "fmt" "strconv" "strings" "github.com/dnephin/configtf" pth "github.com/dnephin/configtf/path" ) // ComposeConfig A **compose** resource runs ``docker-compose`` to create an // isolated environment. The **compose** resource keeps containers running // until **dobi** exits so the containe...
dnephin/dobi
config/compose.go
GO
apache-2.0
2,255
using DNTBreadCrumb.Core; using DNTCommon.Web.Core; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; namespace ASPNETCoreIdentitySample.Controllers; [BreadCrumb(Title = "خانه", UseDefaultRouteUrl = true, Order = 0)] public class HomeController : Controller { [BreadCrumb(Title = "ایندکس",...
VahidN/DNTIdentity
src/ASPNETCoreIdentitySample/Controllers/HomeController.cs
C#
apache-2.0
1,024
/** * vertigo - simple java starter * * Copyright (C) 2013-2017, KleeGroup, direction.technique@kleegroup.com (http://www.kleegroup.com) * KleeGroup, Centre d'affaire la Boursidiere - BP 159 - 92357 Le Plessis Robinson Cedex - France * * Licensed under the Apache License, Version 2.0 (the "License"); * you may n...
KleeGroup/vertigo-quarto
vertigo-quarto-api/src/main/java/io/vertigo/quarto/publisher/PublisherManager.java
Java
apache-2.0
1,636
$('#confirmacaoExclusaoModal').on('show.bs.modal', function(event) { var button = $(event.relatedTarget); var codigoVinho = button.data('codigo'); var nomeVinho = button.data('nome'); var modal = $(this); var form = modal.find('form'); var action = form.data('url-base'); if (!action.endsWith('/')) { action...
EliasMG/wine
src/main/resources/static/layout/javascripts/exclusao.js
JavaScript
apache-2.0
497
/* Copyright 2014-2016 Intel Corporation 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, s...
multi-os-engine/moe-core
moe.apple/moe.platform.ios/src/main/java/apple/homekit/HMHomeManager.java
Java
apache-2.0
9,411
/* * 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 ...
actuaryzhang/spark
common/network-shuffle/src/main/java/org/apache/spark/network/shuffle/ExternalShuffleClient.java
Java
apache-2.0
7,360
/* Copyright 2017 Ahmed Zaher 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 distrib...
adzr/rego
config.go
GO
apache-2.0
6,782
// Copyright (c) 2017 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge...
m3db/m3metrics
rules/validator/options.go
GO
apache-2.0
13,478
package com.github.davidmoten.rtree; import static com.github.davidmoten.rtree.geometry.Geometries.rectangle; import static java.util.Optional.of; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.List; import java.util.Optional; import com.github.davidmoten.guav...
davidmoten/rtree
src/main/java/com/github/davidmoten/rtree/RTree.java
Java
apache-2.0
34,613
/* * Copyright 2016 The OpenDCT 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...
enternoescape/opendct
src/main/java/opendct/tuning/discovery/DiscoveredDeviceParent.java
Java
apache-2.0
2,882
/* * Copyright 2016 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...
vam-google/google-cloud-java
google-cloud-clients/google-cloud-dns/src/test/java/com/google/cloud/dns/it/ITDnsTest.java
Java
apache-2.0
88,484
/* * 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 ...
taegeonum/incubator-reef
lang/java/reef-io/src/main/java/org/apache/reef/io/network/group/impl/driver/TopologyUpdateWaitHandler.java
Java
apache-2.0
4,136
// // Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-2 generiert // Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. // Generiert: 2014.02.19...
milg0/onvif-java-lib
src/org/onvif/ver10/media/wsdl/CreateProfile.java
Java
apache-2.0
2,297
import java.util.Scanner; /** * @author Oleg Cherednik * @since 04.08.2018 */ public class Solution { static class SinglyLinkedListNode { public int data; public SinglyLinkedListNode next; public SinglyLinkedListNode(int nodeData) { this.data = nodeData; this.n...
oleg-cherednik/hackerrank
Tutorials/Interview Preparation Kit/Linked Lists/Find Merge Point of Two Lists/Solution.java
Java
apache-2.0
3,072
package com.myit.server.service.admin.impl; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.log4j.Logger; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.myit.common.beans.PageQueryParam; impo...
346674058/SuRui
code/myit-server/src/main/java/com/myit/server/service/admin/impl/MenuServiceImpl.java
Java
apache-2.0
4,661
/* * Copyright (C) 2016 Intel Corporation * * 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...
android-art-intel/Nougat
art-extension/opttests/src/OptimizationTests/ShortMethodsInliningNonVirtualInvokes/InvokeSuperAObjectThrowNullGet_001/Test.java
Java
apache-2.0
1,106
<!DOCTYPE html> <html> <head> <title>Kendo UI Web Examples</title> <link href="../content/shared/styles/suite.css" rel="stylesheet"> </head> <body> <div id="page"> <a class="offline-button" href="../index.php">Back to all suites</a> <?php $jsonFilename = '../content/web.nav.json'; require_o...
saqlainmediasoft/Maintenance-Management-System
admin/kendoui/wrappers/php/web/index.php
PHP
apache-2.0
383
from __future__ import unicode_literals from __future__ import print_function from __future__ import division from __future__ import absolute_import from future import standard_library standard_library.install_aliases() import unittest from mri import MriServer from mri.dispatch import MriServerDispatch class TestMr...
Mri-monitoring/Mri-python-client
tests/TestMriServer.py
Python
apache-2.0
750
/******************************************************************************* * Copyright 2012 Sevket Seref Arikan, David Ingram * * 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 * ...
josealmeida/opereffa
Opereffa/src/uk/ac/ucl/chime/web/RandomGroupIdAdapter.java
Java
apache-2.0
2,256
/* * Copyright 2010-2012 Luca Garulli (l.garulli--at--orientechnologies.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 ...
nengxu/OrientDB
core/src/main/java/com/orientechnologies/orient/core/version/ODistributedVersion.java
Java
apache-2.0
12,956
package com.latte.ui.recycler; /** * Created by Administrator on 2017/9/18 0018. */ public enum MultipleFields { ITEM_TYPE, TITLE, TEXT, IMAGE_URL, BANNERS, SPAN_SIZE, ID, NAME, TAG }
xiao125/LatteDamo
latte-ui/src/main/java/com/latte/ui/recycler/MultipleFields.java
Java
apache-2.0
225
package com.xhuihui.app.json; /** * Created by lihuiguang on 2017/7/13. */ public class json { }
x-huihui/x-huihui.github.io
src/main/java/com/xhuihui/app/json/json.java
Java
apache-2.0
100
// Copyright (c) 2008 The Board of Trustees of The Leland Stanford Junior University // Copyright (c) 2011, 2012 Open Networking Foundation // Copyright (c) 2012, 2013 Big Switch Networks, Inc. // This library was generated by the LoxiGen Compiler. // See the file LICENSE.txt which should have been included in the sour...
floodlight/loxigen-artifacts
openflowj/gen-src/main/java/org/projectfloodlight/openflow/protocol/oxm/OFOxmBsnInPorts128.java
Java
apache-2.0
2,170
from JumpScale import j descr = """ This jumpscript returns network info """ category = "monitoring" organization = "jumpscale" author = "kristof@incubaid.com" license = "bsd" version = "1.0" roles = [] def action(): return j.sal.nettools.getNetworkInfo() if __name__ == "__main__": print(action())
Jumpscale/jumpscale_core8
apps/agentcontroller/jumpscripts/jumpscale/network_info.py
Python
apache-2.0
312
/* Copyright 2015 Mozilla 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 agreed...
xavier114fch/pdf.js
src/display/display_utils.js
JavaScript
apache-2.0
19,246
package com.smates.dbc2.utils; /** * 参数 * @author 刘晓庆 * */ public class SysConst { //md5加密时用到的盐值 public static final String SALTSOURCE = "baijw"; //七牛云外连接域名 public static final String QNIUYUNURL = "http://ohyi4k153.bkt.clouddn.com/"; //七牛云图片处理样式 public static final String QNIUYUNSTYLE = ...
MarchMachao/ZHFS-WEB
src/main/java/com/smates/dbc2/utils/SysConst.java
Java
apache-2.0
573
package ca.corefacility.bioinformatics.irida.ria.web.services; import java.util.HashSet; import java.util.List; import java.util.Locale; import java.util.Set; import java.util.stream.Collectors; import javax.validation.ConstraintViolationException; import org.apache.commons.lang3.RandomStringUtils; import org.spring...
phac-nml/irida
src/main/java/ca/corefacility/bioinformatics/irida/ria/web/services/UIClientService.java
Java
apache-2.0
7,213
/* * 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")...
sarvex/MINA
core/src/main/java/org/apache/mina/common/ThreadModel.java
Java
apache-2.0
1,632
/* * 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-serverlessrepo/source/ServerlessApplicationRepositoryClient.cpp
C++
apache-2.0
35,528
/* * 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-managedblockchain/src/main/java/com/amazonaws/services/managedblockchain/model/transform/DeleteMemberRequestProtocolMarshaller.java
Java
apache-2.0
2,674
package com.googlecode.blaisemath.graph.test; /* * #%L * BlaiseGraphTheory * -- * Copyright (C) 2009 - 2021 Elisha Peterson * -- * 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 * * ...
triathematician/blaisemath
blaise-graph-theory-ui/src/test/java/com/googlecode/blaisemath/graph/test/DynamicGraphTestFrame.java
Java
apache-2.0
14,531
package com.github.christianfranco.geomatch.exception; import com.github.christianfranco.geomatch.entities.ErrorCode; /** * Created by Christian Franco on 12/12/2016 14:03. */ public class PhoneNumberRepositoryException extends GeoMathException { public PhoneNumberRepositoryException(ErrorCode errorCode...
christianfranco/the-clean-code-bay
geo-match/server/core/src/main/java/com/github/christianfranco/geomatch/exception/PhoneNumberRepositoryException.java
Java
apache-2.0
498
// Code generated by msgraph.go/gen DO NOT EDIT. package msgraph import "context" // FieldValueSetRequestBuilder is request builder for FieldValueSet type FieldValueSetRequestBuilder struct{ BaseRequestBuilder } // Request returns FieldValueSetRequest func (b *FieldValueSetRequestBuilder) Request() *FieldValueSetRe...
42wim/matterbridge
vendor/github.com/yaegashi/msgraph.go/beta/RequestField.go
GO
apache-2.0
1,181
package com.ts.util.doctor; import java.util.HashMap; import java.util.Map; public class DoctorConst { public static Map<String,String> rstypeMap = new HashMap<String,String>(); static{ rstypeMap.put("diaginfo","禁"); rstypeMap.put("dosage","法"); rstypeMap.put("ingredien","重"); rstypeMap.put("int...
ljcservice/autumnprogram
src/main/java/com/ts/util/doctor/DoctorConst.java
Java
apache-2.0
1,159
/*- * << * UAVStack * == * Copyright (C) 2016 - 2017 UAVStack * == * 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 r...
xxxllluuu/uavstack
com.creditease.uav.agent.heartbeat/src/main/java/com/creditease/agent/feature/hbagent/HeartBeatQueryListenWorker.java
Java
apache-2.0
1,807
namespace VisionsInCode.Feature.AppDeeplink.Repositories { using System.Web; using Sitecore.Foundation.SitecoreExtensions.Extensions; using Sitecore.Mvc.Presentation; using Sitecore.Web.UI.WebControls; using VisionsInCode.Feature.AppDeeplink.ViewModels; public class AppDeeplinkViewModelRepository : IAppD...
GoranHalvarsson/Habitat
src/Feature/AppDeeplink/code/Repositories/AppDeeplinkViewModelRepository.cs
C#
apache-2.0
1,871
# -*- coding: utf-8 -*- # # Copyright 2019 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
tswast/google-cloud-python
automl/tests/unit/gapic/v1beta1/test_tables_client_v1beta1.py
Python
apache-2.0
59,675
from rest_framework import status from rest_framework.exceptions import APIException, ParseError def json_api_exception_handler(exc, context): """ Custom exception handler that returns errors object as an array """ # Import inside method to avoid errors when the OSF is loaded without Django from rest_fr...
arpitar/osf.io
api/base/exceptions.py
Python
apache-2.0
1,838
/* * Code contributed to the Learning Layers project * http://www.learning-layers.eu * Development is partly funded by the FP7 Programme of the European * Commission under Grant Agreement FP7-ICT-318209. * Copyright (c) 2016, Karlsruhe University of Applied Sciences. * For a list of contributors see the AUT...
learning-layers/LivingDocumentsServer
ld-etherpad/src/main/java/de/hska/ld/etherpad/service/UserEtherpadInfoService.java
Java
apache-2.0
1,589
/* * Copyright 2017 StreamSets 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...
z123/datacollector
container/src/main/java/com/streamsets/datacollector/config/ModelDefinition.java
Java
apache-2.0
3,255