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
/* Copyright 2017 Ericsson AB. For a full list of individual contributors, please see the commit history. 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...
AndriyZabavskyy/eiffel-intelligence
src/main/java/com/ericsson/ei/subscriptionhandler/RunSubscription.java
Java
apache-2.0
3,706
/** * Package for job4j chapter 2 projects. * * @author Nikolai Matveev * @version 0.1 * @since 14.10.2017 */ package ru.job4j.professions.doctor;
nikolai-m/nmatveev
chapter_002/src/main/java/ru/job4j/professions/doctor/package-info.java
Java
apache-2.0
152
/* VLDocking Framework 3.0 Copyright Lilian Chamontin, 2004-2013 www.vldocking.com vldocking@googlegroups.com ------------------------------------------------------------------------ This software is distributed under the LGPL license The fact that you are presently reading this and using this cla...
aragozin/stackviewer
src/main/java/com/vldocking/swing/docking/HeavyWeightDragControler.java
Java
apache-2.0
12,546
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Neptuo.Bootstrap.Dependencies { [AttributeUsage(AttributeTargets.Property)] public class ImportAttribute : Attribute { public string Name { get; private set; } pub...
maraf/Money
src/Neptuo/Bootstrap/Dependencies/ImportAttribute.cs
C#
apache-2.0
503
# This Python module is part of the PyRate software package. # # Copyright 2022 Geoscience Australia # # 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/...
GeoscienceAustralia/PyRate
tests/test_mpi_vs_multiprocess_vs_single_process.py
Python
apache-2.0
18,387
using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin.Security; using System; using System.Linq; using System.Web; using System.Web.UI; using LibraryManager.Models; using Library; using System.Data; namespace LibraryManager.Account...
abhishekdepro/libman
LibraryManager/LibraryManager/Account/Login.aspx.cs
C#
apache-2.0
2,903
/* * 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-config/src/main/java/com/amazonaws/services/config/model/transform/EvaluationResultIdentifierMarshaller.java
Java
apache-2.0
2,519
# Copyright 2015 Isotoma Limited # # 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...
mitchellrj/touchdown
touchdown/ssh/connection.py
Python
apache-2.0
3,610
/* __ __ __ __ __ ___ * \ \ / / \ \ / / __/ * \ \/ / /\ \ \/ / / * \____/__/ \__\____/__/ * * Copyright 2014-2017 Vavr, http://vavr.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 ...
amygithub/vavr
vavr/src/test/java/io/vavr/collection/HashSetTest.java
Java
apache-2.0
15,210
package org.hl7.fhir.instance.model; /* Copyright (c) 2011+, HL7, Inc. 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 co...
Nodstuff/hapi-fhir
hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/MessageHeader.java
Java
apache-2.0
77,040
package templatescompiler_test import ( . "github.com/cloudfoundry/bosh-cli/templatescompiler" "bytes" "os" . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" mock_template "github.com/cloudfoundry/bosh-cli/templatescompiler/mocks" "github.com/golang/mock/gomock" bosherr "github.com/cloudfoundry/bosh-ut...
cppforlife/turbulence-release
src/github.com/cloudfoundry/bosh-cli/templatescompiler/rendered_job_list_archive_test.go
GO
apache-2.0
3,889
<?php /* Smarty version Smarty-3.0.8, created on 2015-08-20 04:03:50 compiled from "F:\public_html\keding\new/tpl\project.html" */ ?> <?php /*%%SmartyHeaderCode:163455d535862a48c8-73480281%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_smarty_tpl->decodeProperties(array ( 'file_dependency'...
hfutxqd/keding_website
tmp/5f4fb68bba309d0d863177f9178e0d985db412a7.file.project.html.php
PHP
apache-2.0
5,303
package com.lidchanin.shoppinglist.customview; import android.content.Context; import android.graphics.Typeface; import android.util.AttributeSet; /** * Created by Alexander Destroyed on 19.08.2017. */ public class DesignedEditText extends android.support.v7.widget.AppCompatEditText { public DesignedEditText(...
Lidchanin/Shopping_List
app/src/main/java/com/lidchanin/shoppinglist/customview/DesignedEditText.java
Java
apache-2.0
821
# @MUNTJAC_COPYRIGHT@ # @MUNTJAC_LICENSE@ class VOptionGroup(object): HTML_CONTENT_ALLOWED = "usehtml"
rwl/muntjac
muntjac/terminal/gwt/client/ui/v_option_group.py
Python
apache-2.0
110
# Copyright 2017 Global Security Experts 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 agree...
gsx-lab/caras-framework
spec/models/hostname_spec.rb
Ruby
apache-2.0
1,898
import React from 'react'; // eslint-disable-next-line import/no-extraneous-dependencies import { mount } from 'enzyme'; // eslint-disable-next-line import/no-extraneous-dependencies import { FacetedSearchIcon } from './FacetedSearchIcon.component'; import getDefaultT from '../../translate'; const t = getDefaultT(); ...
Talend/ui
packages/faceted-search/src/components/FacetedSearchIcon/FacetedSearchIcon.component.test.js
JavaScript
apache-2.0
1,710
/* * 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 ...
hbeatty/incubator-trafficcontrol
traffic_portal/test/integration/PageObjects/PhysLocationsPage.po.ts
TypeScript
apache-2.0
5,036
package org.thymoljs.thymol.test.json; import com.cedarsoftware.util.io.JsonReader; import com.cedarsoftware.util.io.JsonWriter; public class JDEREGJsonCodec implements JSONCodec { // Using the most cool https://github.com/jdereg/json-io public JDEREGJsonCodec() { } @Override public String encode( Objec...
thymol/thymol.js
src/main/java/org/thymoljs/thymol/test/json/JDEREGJsonCodec.java
Java
apache-2.0
533
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using Entities; namespace HRM.HR_Managment.Employee { public partial class List : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) ...
GramozKrasniqi/HRMS
HRM/HR-Managment/Employee/List.aspx.cs
C#
apache-2.0
503
using System.Web; using System.Web.Optimization; namespace QueueBrowser { public class BundleConfig { public static void RegisterBundles(BundleCollection bundles) { bundles.Add(new StyleBundle("~/content/css") .Include( "~/Content/bootstrap.css",...
loresoft/MongoDB.Messaging
Samples/QueueBrowser/App_Start/BundleConfig.cs
C#
apache-2.0
2,337
/* * Copyright 2016 Girish Kamath * * 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...
rhoadster91/android-siesta
library/src/main/java/com/rhoadster91/android/siesta/api/capability/Puttable.java
Java
apache-2.0
837
var _ = require('underscore'); var vcr = require('nock-vcr-recorder-mocha'); var Sdk = require('./../../../lib/clc-sdk.js'); var compute = new Sdk('cloud_user', 'cloud_user_password').computeServices(); var assert = require('assert'); var ServerBuilder = require('./../server-builder.js'); vcr.describe('Create server ...
CenturyLinkCloud/clc-node-sdk
test/compute-services/servers/create-server-test.js
JavaScript
apache-2.0
2,709
package net.minecraft.src; import net.minecraft.entity.player.EntityPlayer; /** * * @author Gregory */ public class NetServerHandler { public EntityPlayer playerEntity; }
BeyondMinecraft/AbacusCommonsLib
src/main/java/net/minecraft/src/NetServerHandler.java
Java
apache-2.0
178
# -*- coding: utf-8 -*- # Copyright (c) 2016 Ericsson AB # # 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 ...
les69/calvin-base
calvin/runtime/south/plugins/io/sensors/rotary_encoder/platform/ky040_rotary_impl/rotary_encoder.py
Python
apache-2.0
3,011
#!/usr/env python import sys #let's parse strings in python! options = [] with open("src/zopt.ggo.in") as fd: for l in fd: if l.startswith("option "): option = l.split()[1].lstrip('"').rstrip('"') options.append(option) man = open('src/zmap.1.ronn').read() failures = False for opt...
willscott/zmap
scripts/check_manfile.py
Python
apache-2.0
493
package com.elastisys.scale.cloudpool.commons.basepool; import static com.google.common.base.Objects.equal; import static java.lang.String.format; import org.hamcrest.Description; import org.hamcrest.Factory; import org.hamcrest.Matcher; import org.hamcrest.TypeSafeMatcher; import com.elastisys.scale.cloudpool.api.t...
Eeemil/scale.cloudpool
commons/src/test/java/com/elastisys/scale/cloudpool/commons/basepool/IsSetServiceStateAlert.java
Java
apache-2.0
1,505
#coding=UTF-8 ''' Created on 2011-7-6 @author: Administrator ''' from urlparse import urlparse import cookielib from pyquery.pyquery import PyQuery #@UnresolvedImport import re import datetime #@UnusedImport import urllib2 from lxml import etree #@UnresolvedImport from lxml.cssselect import CSSSelector #@Unresolv...
ptphp/PyLib
src/webpy1/src/jjrspider/ganji.py
Python
apache-2.0
40,700
/* * Copyright 2016, The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
sdsxer/mmdiary
client/source/mmdiary/app/src/main/java/com/example/android/architecture/blueprints/todoapp/tasks/domain/model/Task.java
Java
apache-2.0
4,578
/* * Copyright (c) Facebook, Inc. and its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
JoelMarcey/buck
src/com/facebook/buck/core/artifact/DeclaredArtifact.java
Java
apache-2.0
1,622
package org.spanna.material; import org.spanna.block.BlockFace; import org.spanna.Material; /** * MaterialData for torches */ public class Torch extends SimpleAttachableMaterialData { public Torch() { super(Material.TORCH); } /** * * @deprecated Magic value */ @Deprecated ...
SpannaProject/SpannaAPI
src/main/java/org/spanna/material/Torch.java
Java
apache-2.0
1,816
package com.yan.leetcode; import org.junit.Test; public class RemoveDuplicatesFromSortedList { @Test public void test() { ListNode head = new ListNode(1); head.next = new ListNode(1); // head.next.next = new ListNode(2); System.out.println(deleteDuplicates2(head)); } public ListNode deleteDuplicates(Lis...
ustbyjy/leetcode
src/main/java/com/yan/leetcode/RemoveDuplicatesFromSortedList.java
Java
apache-2.0
949
/* * Copyright 2017 Exorath * * 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...
Exorath/ExoHUD
src/main/java/com/exorath/exoHUD/SimpleHUDPackage.java
Java
apache-2.0
973
/* * Copyright 2015 The gRPC 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 agree...
zhangkun83/grpc-java
core/src/main/java/io/grpc/EquivalentAddressGroup.java
Java
apache-2.0
4,376
package com.ganxin.codebase.widgets.layout; import android.annotation.SuppressLint; import android.content.Context; import android.util.AttributeSet; import android.widget.RelativeLayout; /** * * Description : 正方形的Layout <br/> * author : WangGanxin <br/> * date : 2016/9/4 <br/> * email : ganxinvip@163.com <br/>...
WangGanxin/Codebase
app/src/main/java/com/ganxin/codebase/widgets/layout/SquareLaylout.java
Java
apache-2.0
1,695
package com.hubspot.singularity.scheduler; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import com.google.inject.Inject; import com.google.inject.Singleton; import com.hubspot.singularity.MachineState; import com.hubspot.singularity.SingularitySlave; import com.hu...
andrhamm/Singularity
SingularityService/src/main/java/com/hubspot/singularity/scheduler/SingularityUsageHelper.java
Java
apache-2.0
1,323
using System.Web.Mvc; using EPiServer.Reference.Commerce.Site.Features.Global.ProductRegistration.Pages; using EPiServer.Reference.Commerce.Site.Features.Global.ProductRegistration.ViewModels; using EPiServer.Reference.Commerce.Site.Features.Global.Profile.Pages; using EPiServer.Web.Mvc; using EPiServer.Reference.Comm...
simerc/QuicksilverPlus
Sources/EPiServer.Reference.Commerce.Site/Features/Global/ProductRegistration/Controllers/ProductRegistrationController.cs
C#
apache-2.0
792
<?php /** * Created by IntelliJ IDEA. * User: swarm * Date: 14.10.15 * Time: 10:59 */ namespace Shelly; class Palette { const MSG_GOLOR_NOT_EXISTS = 'Color does not exists'; /** * @var array * contains fg colors and it`s aliases */ protected static $colors = [ 'black' => 30, ...
greezeek/shelly
src/Shelly/Palette.php
PHP
apache-2.0
2,125
/* * base/logger.cc * ------------------------------------------------------------------------- * Definitions for s3::base::logger static members and init() method. * ------------------------------------------------------------------------- * * Copyright (c) 2012, Tarick Bedeir. * * Licensed under the Apache L...
mettacrawler/gcsfs
src/base/logger.cc
C++
apache-2.0
1,097
module Chronic module Handlers module_function # Handle month/day def handle_m_d(month, day, time_tokens, options) month.start = self.now span = month.this(options[:context]) year, month = span.begin.year, span.begin.month day_start = Chronic.time_class.local(year, month, day) ...
kevstessens/docnetrails
vendor/bundle/gems/chronic-0.9.1/lib/chronic/handlers.rb
Ruby
apache-2.0
18,912
<?php session_start(); include_once('includes/connection.php'); include_once('includes/product.php'); include_once('includes/user.php'); $page_title = "Products from this seller.php"; include('includes/header.php'); $product = new Product(); $user = new user(); //$data = $product->fetch_all(); $seller_id = isset($_GET...
updownlife/campustore
seller.php
PHP
apache-2.0
3,528
package view; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Matrix; import android.util.AttributeSet; import android.util.FloatMath; import android.view.MotionEvent; import android.widget.ImageView; public class ImageControl extends ImageView { public ImageControl(Context co...
ydc201211/VirtualCampus
src/view/ImageControl.java
Java
apache-2.0
7,455
# AUTHOR # jan molic /mig/at/1984/dot/cz/ # # DESCRIPTION # Hash with preserved order and some array-like extensions # Public domain. # # THANKS # Andrew Johnson for his suggestions and fixes of Hash[], # merge, to_a, inspect and shift module Buildr module OSGi class OrderedHash < ::Hash att...
realityforge/buildr-osgi-assembler
lib/buildr/osgi/ordered_hash.rb
Ruby
apache-2.0
4,530
// This is a generated file. Not intended for manual editing. package com.github.joshholl.intellij.csharp.lang.psi; import java.util.List; import org.jetbrains.annotations.*; import com.intellij.psi.PsiElement; public interface CSharpThisAccess extends PsiElement { }
joshholl/intellij-csharp
gen/com/github/joshholl/intellij/csharp/lang/psi/CSharpThisAccess.java
Java
apache-2.0
271
/* Copyright 2005-2006 The Apache Software Foundation or its licensors, as applicable 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...
freeVM/freeVM
enhanced/buildtest/tests/vts/vm/src/test/vm/jvmti/funcs/GetErrorName/GetErrorName0102/GetErrorName0102.java
Java
apache-2.0
877
input = """ supp(B) :- on(B,table,0). supp(B) :- on(B,B1,0), supp(B1). on(b0,table,0) :- true. on(b1,b0,0) :- true. on(B,L,0) | -on(B,L,0) :- block(B), location(L). true. location(L) :- block(L). location(table) :- true. block(b0). block(b1). block(b2). """ output = """ supp(B) :- on(B,table,0). s...
veltri/DLV2
tests/parser/grounding.7.test.py
Python
apache-2.0
559
/* Copyright 2011-2013 The Cassandra Consortium (cassandra-fp7.eu) 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 ...
cassandra-project/disaggregation
src/eu/cassandra/utils/Utils.java
Java
apache-2.0
26,163
// Copyright 2006 The Closure Library 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 requ...
Digaku/closure-library
closure/goog/net/tmpnetwork.js
JavaScript
apache-2.0
4,070
/** * Created by chensheng on 15/8/3. */ 'use strict'; (function (ns) { ns.Publisher = tp.view.Loader.extend({ events: { 'change [name=publisher_type]': 'publisherType_changeHandler', 'change [name=province]': 'province_changeHandler' }, initialize: function (options) { tp.view.Loader....
RyanTech/admin-v5
js/page/Publisher.js
JavaScript
apache-2.0
1,341
package app.dataTransportObject; import app.viewObject.OrderVO; public class OrderDTO { public OrderDTO(OrderVO orderVo) { super(); } }
pawel-nn/proj_app_bd_sem7
ProjAppBD/src/main/java/app/dataTransportObject/OrderDTO.java
Java
apache-2.0
144
/* 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...
mslocrian/cuview
apis/parameterhandlers.go
GO
apache-2.0
1,535
/* * Copyright (c) 2005-2013 Jyoti Parwatikar * and Washington University in St. Louis * * 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 ...
WU-ARL/RLI
HardwareGraphic.java
Java
apache-2.0
32,220
/* * 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 applicable law or ...
syphr42/libmythtv-java
db/src/main/java/org/syphr/mythtv/db/schema/impl/_0_24/RecordedProgramId1264.java
Java
apache-2.0
3,214
/* * File: app/controller/footerController.js */ Ext.define('webapp.controller.footerController', { extend: 'Ext.app.Controller', refs: { footerLabel2: '#footerLabel2' }, onLaunch: function() { /** * address Label click event를 catch 하도록 설정 */ this.getFooter...
OpenSourceConsulting/athena-meerkat
console/app/controller/footerController.js
JavaScript
apache-2.0
1,951
/* * Copyright 2005-2014 The Kuali Foundation * * Licensed under the Educational Community 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.osedu.org/licenses/ECL-2.0 * * Unless required by appli...
blackcathacker/kc.preclean
coeus-code/src/main/java/org/kuali/coeus/common/budget/framework/core/BudgetAction.java
Java
apache-2.0
38,863
/** * Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.financial.analytics.model.pnl; import java.util.Collections; import java.util.Set; import com.opengamma.engine.ComputationTarget; import com.opengamma.engine....
McLeodMoores/starling
projects/financial/src/main/java/com/opengamma/financial/analytics/model/pnl/FXOptionBlackPnLDefaults.java
Java
apache-2.0
3,692
$.STRATUS = function (){ var _init = function () { $('#logout').click(_logout) }; var _logout = function (event) { event.preventDefault(); // Workaround to logout user // As HTTP is state-less there is no cross-browser clean way to do $.get(location.href.replace('://', '://x-pdisk-logout@')); }; re...
StratusLab/storage
pdisk-server/war/src/main/webapp/media/js/stratuslab.js
JavaScript
apache-2.0
387
package com.mkhuda.offlinecache; import java.io.IOException; import java.util.HashMap; import java.util.Map; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import com.android.volley.Response; import com.android.volley.VolleyError; import com.android.volley.Request.Method; impor...
mkhuda/AndOfflineMechanism
src/com/mkhuda/offlinecache/MainActivity.java
Java
apache-2.0
4,007
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v9/services/conversion_value_rule_set_service.proto package com.google.ads.googleads.v9.services; /** * <pre> * The result for the conversion value rule set mutate. * </pre> * * Protobuf type {@code google.ads.googleads.v...
googleads/google-ads-java
google-ads-stubs-v9/src/main/java/com/google/ads/googleads/v9/services/MutateConversionValueRuleSetResult.java
Java
apache-2.0
32,654
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Apworks.Messaging { public abstract class MessageHandlerExecutionContext : IMessageHandlerExecutionContext { public void RegisterHandler<TMessage, THand...
daxnet/apworks-core
src/Apworks/Messaging/MessageHandlerExecutionContext.cs
C#
apache-2.0
1,024
// Code generated by go-swagger; DO NOT EDIT. package routes // This file was generated by the swagger tool. // Editing this file might prove futile when you re-run the swagger generate command import ( "fmt" "io" "github.com/go-openapi/runtime" strfmt "github.com/go-openapi/strfmt" "github.com/funcy/functio...
funcy/functions_go
client/routes/delete_apps_app_routes_route_responses.go
GO
apache-2.0
4,056
/* Copyright 2017 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...
Intel-Corporation/tensorflow
tensorflow/lite/kernels/fully_connected.cc
C++
apache-2.0
50,508
package com.wistronits.wh.annbot.business.biz.modules; import com.wistronits.wh.annbot.business.mvp.contract.MainContract; import com.wistronits.wh.annbot.business.mvp.contract.NurseListContract; import dagger.Module; import dagger.Provides; /** * Created by WH1705002 on 2017/9/1. */ @Module public class NurseModu...
WiAnnBot/annbot
app/src/main/java/com/wistronits/wh/annbot/business/biz/modules/NurseModule.java
Java
apache-2.0
547
#region -- License Terms -- // // MessagePack for CLI // // Copyright (C) 2010-2012 FUJIWARA, Yusuke // // 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.apac...
msgpack/msgpack-cli
samples/Samples/Sample02_HandlingDynamicObject.cs
C#
apache-2.0
4,711
package com.keeps.crm.service.impl; import java.text.DecimalFormat; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.keeps.core.service.AbstractService; import com.keeps.crm.dao.BuyRecordDao; import com.keeps.crm.service.BuyRecordServic...
keepsl/keepsmis
crm/src/main/java/com/keeps/crm/service/impl/BuyRecordServiceImpl.java
Java
apache-2.0
3,106
/*! * ${copyright} */ sap.ui.define([ "sap/ui/test/_OpaLogger", "sap/ui/base/ManagedObject" ], function (_OpaLogger, ManagedObject) { "use strict"; /** * @class Matchers for Opa5 - needs to implement an isMatching function that returns a boolean and will get a control instance as parameter * @abstract * @...
SAP/openui5
src/sap.ui.core/src/sap/ui/test/matchers/Matcher.js
JavaScript
apache-2.0
1,818
///===--- Actor.cpp - Standard actor implementation ------------------------===/// /// /// This source file is part of the Swift.org open source project /// /// Copyright (c) 2014 - 2020 Apple Inc. and the Swift project authors /// Licensed under Apache License v2.0 with Runtime Library Exception /// /// See https:///s...
jmgc/swift
stdlib/public/Concurrency/Actor.cpp
C++
apache-2.0
47,851
<?php /** * This file is part of Notadd. * * @author TwilRoad <heshudong@ibenchu.com> * @copyright (c) 2017, notadd.com * @datetime 2017-03-01 15:29 */ namespace Notadd\Foundation\Translation\Events; /** * Class LocaleUpdated. */ class LocaleUpdated { /** * The new locale. * * @var string ...
notadd/framework
src/Translation/Events/LocaleUpdated.php
PHP
apache-2.0
523
package org.apache.ode.bpel.engine.fc.excp; /** * * @author Alex Hummel * */ public class FragmentCompositionException extends Exception { private static final long serialVersionUID = 9052461952290680611L; public FragmentCompositionException() { super(); } public FragmentCompositionException(String mess...
TheRingbearer/HAWKS
ode/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/fc/excp/FragmentCompositionException.java
Java
apache-2.0
418
/* Generic definitions */ /* Assertions (useful to generate conditional code) */ /* Current type and class (and size, if applicable) */ /* Value methods */ /* Interfaces (keys) */ /* Interfaces (values) */ /* Abstract implementations (keys) */ /* Abstract implementations (values) */ /* Static containers (keys) */ /...
karussell/fastutil
src/it/unimi/dsi/fastutil/objects/Object2CharSortedMaps.java
Java
apache-2.0
13,714
/* * * Copyright 2016 Robert Winkler * * 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 la...
storozhukBM/javaslang-circuitbreaker
src/jmh/java/io/github/robwin/circuitbreaker/RingBitSetBenachmark.java
Java
apache-2.0
1,513
/* @flow strict-local */ import { addBreadcrumb } from '@sentry/react-native'; import type { Narrow, Stream, User } from '../types'; import { topicNarrow, streamNarrow, groupNarrow, specialNarrow } from './narrow'; import { isUrlOnRealm } from './url'; const getPathsFromUrl = (url: string = '', realm: string) => { c...
vishwesh3/zulip-mobile
src/utils/internalLinks.js
JavaScript
apache-2.0
4,379
/* * Copyright 2015 Doltech Systems Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
BenDol/gwt-jui-demo
src/main/java/nz/co/doltech/gwtjui/demo/client/application/home/HomePresenter.java
Java
apache-2.0
1,700
package br.com.cofagra.bi.renders; import java.io.IOException; import javax.faces.component.UIComponent; import javax.faces.context.FacesContext; import javax.faces.context.ResponseWriter; import lombok.extern.java.Log; import org.primefaces.component.inputmask.InputMask; import org.primefaces.component.inputmask....
thiagonego/cofagra_bi
src/main/java/br/com/cofagra/bi/renders/ExtPrimeInputMaskRenderer.java
Java
apache-2.0
4,004
package it.polimi.dima.giftlist.presentation.presenter; import com.pushtorefresh.storio.sqlite.StorIOSQLite; import com.pushtorefresh.storio.sqlite.operations.put.PutResults; import com.pushtorefresh.storio.sqlite.queries.DeleteQuery; import com.pushtorefresh.storio.sqlite.queries.Query; import com.pushtorefresh.stori...
volcacius/Giftlist
app/src/main/java/it/polimi/dima/giftlist/presentation/presenter/WishlistPresenter.java
Java
apache-2.0
8,395
<?php final class PhabricatorPackagerCreateController extends PhabricatorPackagerController { public function processRequest() { $request = $this->getRequest(); $user = $request->getUser(); $e_url = null; $errors = array(); if ($request->isFormPost()) { $url = $request->getStr('url')...
apexstudios/phabricator
src/applications/packager/controller/PhabricatorPackagerCreateController.php
PHP
apache-2.0
1,924
import re import calendar from logs_analyzer.settings import * from logs_analyzer.validators import * from datetime import datetime def get_service_settings(service_name): """ Get default settings for the said service :param service_name: service name (example: nginx, apache2...) :return: service sett...
ddalu5/logs-analyzer
logs_analyzer/lib.py
Python
apache-2.0
11,644
/******************************************************************************* * Copyright 2006 - 2012 Vienna University of Technology, * Department of Software Technology and Interactive Systems, IFS * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in ...
openpreserve/plato
plato/src/main/java/eu/scape_project/planning/plato/wfview/full/DefineBasisView.java
Java
apache-2.0
5,051
/* * Copyright (C) 2017 Bilibili * * 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...
xiyangyuge/boxing
boxing-impl/src/main/java/com/bilibili/boxing_impl/ui/BoxingViewActivity.java
Java
apache-2.0
11,625
#include "wormhole_predefine.h" #include "wormhole_proxyprocess.h" #include "wormhole_application.h" #include "wormhole_stat_define.h" //=================================================================================================== Interface_WH_Proxy::Interface_WH_Proxy() { } Interface_WH_Proxy::~Interface_WH_...
sailzeng/zcelib
src/commsvr/wormholesvrd/wormhole_proxyprocess.cpp
C++
apache-2.0
23,023
/** * @license * Copyright 2018-2021 Balena 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 ...
resin-io/resin-cli
lib/utils/device/deploy.ts
TypeScript
apache-2.0
16,586
/* * $Id$ */ package lia.util.net.copy; import java.nio.ByteBuffer; import java.util.UUID; /** * Wrapper class for a simple block ( can be an offset in whatever stream ... not only a file ) * * @author ramiro */ public class FileBlock { //used for signaling between Producers/Consumers //public static f...
MonALISA-CIT/fdt
src/lia/util/net/copy/FileBlock.java
Java
apache-2.0
1,871
<?php /********* * Author: Iman Biswas * Date : 14 sep 2011 * Modified By: * Modified Date: * * Purpose: * Model For User Type Master * * @package User * @subpackage Access Control * * @includes infModel.php * @includes MY_Model.php * * @link MY_Model.php */ class User_type_model extends M...
mrinsss/Full-Repo
jobshoppa/system/application/models/user_type_model.php
PHP
apache-2.0
30,165
/******************************************************************************* * * Copyright FUJITSU LIMITED 2017 * ...
opetrovski/development
oscm-portal/javasrc/org/oscm/ui/dialog/classic/manageudas/ManageUdaDefinitionPage.java
Java
apache-2.0
3,781
// (C) Copyright 2014 Hewlett Packard Enterprise Development LP import React, { Component, PropTypes } from 'react'; import FormattedMessage from './FormattedMessage'; const CLASS_ROOT = "legend"; export default class Legend extends Component { constructor(props) { super(props); this._onActive = this._on...
samogami/grommet
src/js/components/Legend.js
JavaScript
apache-2.0
3,868
/* Copyright (c) 2015 Magnet Systems, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
magnetsystems/message-common
src/main/java/com/magnet/mmx/protocol/Constants.java
Java
apache-2.0
12,172
package cgeo.geocaching.filters.gui; import cgeo.geocaching.R; import cgeo.geocaching.activity.AbstractActionBarActivity; import cgeo.geocaching.databinding.CacheFilterActivityBinding; import cgeo.geocaching.databinding.CacheFilterListItemBinding; import cgeo.geocaching.filters.core.AndGeocacheFilter; import cgeo.geoc...
rsudev/c-geo-opensource
main/src/cgeo/geocaching/filters/gui/GeocacheFilterActivity.java
Java
apache-2.0
24,922
/* * Copyright 2015 JAXIO http://www.jaxio.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 required by applicable la...
jaxio/celerio
celerio-spi-example/src/main/java/com/jaxio/celerio/spi/example/ExampleEntity.java
Java
apache-2.0
1,208
package freeyourstuff.data.model; import java.io.IOException; import org.codehaus.jackson.JsonGenerationException; import org.codehaus.jackson.JsonParseException; import org.codehaus.jackson.map.JsonMappingException; import org.codehaus.jackson.map.ObjectMapper; public class ItemMapper { private static ObjectMapp...
nicolaierbs/free-your-stuff-server
src/main/java/freeyourstuff/data/model/ItemMapper.java
Java
apache-2.0
684
// Generated from /POI/java/org/apache/poi/hpsf/MarkUnsupportedException.java #include <org/apache/poi/hpsf/MarkUnsupportedException.hpp> poi::hpsf::MarkUnsupportedException::MarkUnsupportedException(const ::default_init_tag&) : super(*static_cast< ::default_init_tag* >(0)) { clinit(); } poi::hpsf::MarkUnsupp...
pebble2015/cpoi
src/org/apache/poi/hpsf/MarkUnsupportedException.cpp
C++
apache-2.0
1,808
const db = require('./db') ; let schema = new db.Schema({ owner: { type: String, indexed: true, required: true }, // user.id name: { type: String, required: true }, path: { type: String, unique: true, required: true }, info: db.Schema.Types.Mixed, content: db.Schema.Types.Mixed }, { timestamps: db.timestam...
arthurmilliken/gateway
models/resource.js
JavaScript
apache-2.0
374
# Copyright 2016 Mirantis Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, so...
SVilgelm/CloudFerry
cloudferry/model/storage.py
Python
apache-2.0
1,801
/* * (C) Copyright 2016 Richard Ballard. * * 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 ...
Richard-Ballard/pack-planner
src/test/java/com/github/richardballard/packplanner/item/order/ComparatorFromSortOrderFunctionTest.java
Java
apache-2.0
2,881
import Vue, { ComponentOptions, PluginFunction, AsyncComponent } from "vue"; type Component = ComponentOptions<Vue> | typeof Vue | AsyncComponent; type Dictionary<T> = { [key: string]: T }; type ErrorHandler = (err: Error) => void; export type RouterMode = "hash" | "history" | "abstract"; export type RawLocation = st...
falost/falost.github.io
static/libs/vue-router/types/router.d.ts
TypeScript
apache-2.0
3,536
package io.quarkus.maven.it.verifier; import org.apache.maven.shared.invoker.InvocationRequest; import org.apache.maven.shared.invoker.InvocationResult; import org.apache.maven.shared.utils.cli.CommandLineException; /** * Result of {@link MavenProcessInvoker#execute(InvocationRequest)}. It keeps a reference on the c...
quarkusio/quarkus
test-framework/maven/src/main/java/io/quarkus/maven/it/verifier/MavenProcessInvocationResult.java
Java
apache-2.0
1,770
package org.jboss.resteasy.reactive.server.core.request; import java.util.Iterator; import java.util.LinkedHashMap; import java.util.Locale; import java.util.Map; import java.util.Map.Entry; import javax.ws.rs.BadRequestException; import javax.ws.rs.core.MediaType; /** * @author Pascal S. de Kloe */ public class Ac...
quarkusio/quarkus
independent-projects/resteasy-reactive/server/runtime/src/main/java/org/jboss/resteasy/reactive/server/core/request/AcceptHeaders.java
Java
apache-2.0
10,428
/* * * 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"); y...
akalankapagoda/andes
modules/andes-core/broker/src/main/java/org/wso2/andes/server/exchange/AbstractExchange.java
Java
apache-2.0
10,726
/** * Copyright (c) 2010 Abbcc Corp. * No 225,Wen Yi RD, Hang Zhou, Zhe Jiang, China. * All rights reserved. * * "AttachAction.java is the copyrighted, * proprietary property of Abbcc Company and its * subsidiaries and affiliates which retain all right, title and interest * therein." * * Revision History * ...
baowp/platform
biz/src/main/java/com/abbcc/module/usersite/AttachAction.java
Java
apache-2.0
1,740
package org.jboss.resteasy.reactive.server.providers.serialisers.jsonp; import java.io.ByteArrayOutputStream; import java.lang.reflect.Type; import javax.json.JsonObject; import javax.json.JsonStructure; import javax.json.JsonWriter; import javax.ws.rs.WebApplicationException; import javax.ws.rs.core.MediaType; import...
quarkusio/quarkus
independent-projects/resteasy-reactive/server/runtime/src/main/java/org/jboss/resteasy/reactive/server/providers/serialisers/jsonp/ServerJsonStructureHandler.java
Java
apache-2.0
1,483
/*jshint browser: true */ /*jshint unused: false */ /*global arangoHelper, _, $, window, arangoHelper, templateEngine, Joi, btoa */ (function() { "use strict"; window.DocumentsView = window.PaginationView.extend({ filters : { "0" : true }, filterId : 0, paginationDiv : "#documentsToolbarF", idPrefi...
abaditsegay/arangodb
js/apps/system/_admin/aardvark/APP/frontend/js/views/documentsView.js
JavaScript
apache-2.0
35,454
/* * Copyright 2010-2013 Ning, Inc. * Copyright 2014-2015 Groupon, Inc * Copyright 2014-2015 The Billing Project, LLC * * The Billing 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 cop...
maguero/killbill
subscription/src/test/java/org/killbill/billing/subscription/engine/dao/MockSubscriptionDaoMemory.java
Java
apache-2.0
23,275