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
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("val...
jmhdez/minimal-router
lib/Router.js
JavaScript
apache-2.0
5,579
package Entity; import android.os.Parcel; import android.os.Parcelable; /** * Created by liangchenzhou on 25/08/16. */ public class SpeciesKingdom implements Parcelable { private String kingdom; private String scientificName; public SpeciesKingdom() { } public SpeciesKingdom(String kingdom, St...
lawrencezcc/Moneco-V6
app/src/main/java/Entity/SpeciesKingdom.java
Java
apache-2.0
1,421
from django.core.files import locks from django.core.urlresolvers import reverse from django.db.models import Count, F, Q, Min from django.template import RequestContext, TemplateDoesNotExist from django.template.loader import get_template, select_template from django.utils import timezone from django.views.decorators....
amplab/ampcrowd
ampcrowd/basecrowd/views.py
Python
apache-2.0
33,310
/* * Copyright 2017 Crown Copyright * * 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...
gchq/stroom
stroom-pipeline/src/main/java/stroom/pipeline/xslt/XsltResourceImpl.java
Java
apache-2.0
2,168
package org.mariotaku.menucomponent.internal.menu; import java.lang.reflect.Method; import java.util.Collection; import android.annotation.SuppressLint; import android.content.Context; import android.view.Menu; import android.view.MenuItem; public class MenuUtils { public static Menu createMenu(final Context conte...
xiedantibu/Android-MenuComponent
library/src/org/mariotaku/menucomponent/internal/menu/MenuUtils.java
Java
apache-2.0
1,243
# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::ARM::MobileEngagement module Models # # Defines values for PushModes # module PushModes RealTime = "real-time" ...
devigned/azure-sdk-for-ruby
management/azure_mgmt_mobile_engagement/lib/generated/azure_mgmt_mobile_engagement/models/push_modes.rb
Ruby
apache-2.0
389
#include "types.hpp" namespace compiler { }
iamOgunyinka/substance-lang
src/types.cpp
C++
apache-2.0
45
// Code generated by go-swagger; DO NOT EDIT. package repositories // This file was generated by the swagger tool. // Editing this file might prove futile when you re-run the swagger generate command import ( "net/http" "github.com/go-openapi/errors" "github.com/go-openapi/runtime" "github.com/go-openapi/runtim...
gitpods/gitpods
pkg/api/v1/restapi/operations/repositories/get_repository_tree_parameters.go
GO
apache-2.0
3,756
import os from setuptools import setup, find_packages here = os.path.abspath(os.path.dirname(__file__)) README = open(os.path.join(here, 'README.rst')).read() CHANGES = open(os.path.join(here, 'CHANGES.rst')).read() requires = [ 'cdo', 'bokeh', 'ocgis', 'pandas', 'nose', ] classifiers=[ ...
sradanov/flyingpigeon
setup.py
Python
apache-2.0
1,385
/** * 预存费用 */ AcctFeeGrid = Ext.extend(Ext.ux.Grid, { border : false, acctFeeStore : null, region : 'center', pageSize : 10, constructor : function() { this.acctFeeStore = new Ext.data.JsonStore({ url:Constant.ROOT_PATH+ "/commons/x/QueryCust!queryAcctPayFee.action", totalProperty:'totalProperty', ...
leopardoooo/cambodia
boss-core/src/main/webapp/pages/index/center/PayfeePanel.js
JavaScript
apache-2.0
18,342
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.ServiceModel; namespace WcfChatServer { interface IWcfChatClient { [OperationContract(IsOneWay = true)] void onMessageReceived(string username, string message); ...
jatwigg/wcf-messaging-service
WcfChatServer/Interface1.cs
C#
apache-2.0
439
/* * Copyright (C) 2017-2019 Dremio 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 l...
dremio/dremio-oss
dac/ui/src/reducers/resources/entityTypes.js
JavaScript
apache-2.0
1,073
/** * Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.analytics.financial.interestrate; import java.util.List; import java.util.Map; import com.opengamma.analytics.financial.interestrate.future.derivative.BondFu...
charles-cooper/idylfin
src/com/opengamma/analytics/financial/interestrate/PresentValueCurveSensitivityHullWhiteCalculator.java
Java
apache-2.0
1,565
# Copyright (c) OpenMMLab. All rights reserved. import itertools import numpy as np import torch from .general_data import GeneralData class InstanceData(GeneralData): """Data structure for instance-level annnotations or predictions. Subclass of :class:`GeneralData`. All value in `data_fields` should h...
open-mmlab/mmdetection
mmdet/core/data_structures/instance_data.py
Python
apache-2.0
6,926
using Lucene.Net.Documents; using Lucene.Net.Index.Extensions; using Lucene.Net.Util.Automaton; using NUnit.Framework; using RandomizedTesting.Generators; using System; using System.Collections.Generic; using Console = Lucene.Net.Util.SystemConsole; namespace Lucene.Net.Search { /* * Licensed to the Apache S...
NightOwl888/lucenenet
src/Lucene.Net.Tests/Search/TestRegexpRandom2.cs
C#
apache-2.0
7,611
#include <QtGui/QApplication> #include "GameUI.h" int main(int argc, char *argv[]) { QApplication a(argc, argv); GameUI w(QString("XO4"), QSize(256, 256)); w.show(); return a.exec(); }
Dovgalyuk/AIBattle
XO4/Visualizer.cpp
C++
apache-2.0
193
'use strict' // ** Constants const DEFAULT_HOST = 'localhost'; const DEFAULT_PORT = 8080; // ** Dependencies const WebSocket = require('ws'); // ** Libraries const Service = require('../../lib/Service'); // ** Platform const logger = require('nodus-framework').logging.createLogger(); function logEvents() { var...
bradserbu/nodus-server
examples/console/console.js
JavaScript
apache-2.0
935
/** @file Connection_uLimeSDREntry.cpp @author Lime Microsystems @brief Implementation of uLimeSDR board connection. */ #include "ConnectionFT601.h" #include "Logger.h" using namespace lime; #ifdef __unix__ void ConnectionFT601Entry::handle_libusb_events() { struct timeval tv; tv.tv_...
romeojulietthotel/LimeSuite
src/ConnectionFTDI/ConnectionFT601Entry.cpp
C++
apache-2.0
5,428
from ajenti.api import * from ajenti.plugins import * info = PluginInfo( title='Resource Manager', icon='link', dependencies=[ ], ) def init(): import server
lupyuen/RaspberryPiImage
usr/share/pyshared/ajenti/plugins/resources/__init__.py
Python
apache-2.0
182
import Ember from 'ember'; /** * @module ember-osf * @submodule mixins */ /** * Controller mixin that implements common actions performed on nodes. * @class NodeActionsMixin * @extends Ember.Mixin */ export default Ember.Mixin.create({ /** * The node to perform these actions on. If not specified, defa...
pattisdr/ember-osf
addon/mixins/node-actions.js
JavaScript
apache-2.0
9,519
package act.app.event; /*- * #%L * ACT Framework * %% * Copyright (C) 2014 - 2017 ActFramework * %% * 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/li...
actframework/actframework
src/main/java/act/app/event/SysEventListener.java
Java
apache-2.0
816
/* * Copyright 2012 hbz NRW (http://www.hbz-nrw.de/) * * 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...
edoweb/regal-import
edoweb-sync/src/main/java/de/nrw/hbz/regal/sync/ingest/EdowebDigitalEntityBuilder.java
Java
apache-2.0
21,427
/* * Copyright 2007-2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
suninformation/ymate-platform-v2
ymate-platform-configuration/src/main/java/net/ymate/platform/configuration/annotation/ConfigurationConf.java
Java
apache-2.0
1,590
/* * Copyright 2015 Raffael Herzog * * 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 ...
Abnaxos/guards
annotations/src/main/java/ch/raffael/guards/Pure.java
Java
apache-2.0
1,167
package fr.ebiz.computer_database.model; import javax.persistence.*; /** * Created by ebiz on 31/05/17. */ @Entity @Table(name = "role") public class Role { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private long id; private String role; public long getId() { return id; } public void setId(l...
ckeita/training-java
computer-database/core/src/main/java/fr/ebiz/computer_database/model/Role.java
Java
apache-2.0
457
package com.hs.mail.smtp.processor.hook; import java.util.StringTokenizer; import org.junit.AfterClass; import org.junit.Test; public class DNSRBLHandlerTest { @AfterClass public static void tearDownAfterClass() throws Exception { } @Test public void test() { String ipAddress = "1.2.3.4"; ...
svn2github/hwmail-mirror
hedwig-server/src/test/java/com/hs/mail/smtp/processor/hook/DNSRBLHandlerTest.java
Java
apache-2.0
640
module Rtree class BoundingBox < Struct.new(:top_left, :bottom_right) def self.from_points(points) x0 = points.min { |a,b| a.x <=> b.x }.x y0 = points.min { |a,b| a.y <=> b.y }.y x1 = points.max { |a,b| a.x <=> b.x }.x y1 = points.max { |a,b| a.y <=> b.y }.y BoundingBox.new(Point.ne...
newmana/rtree
lib/rtree/bounding_box.rb
Ruby
apache-2.0
1,520
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.IdentityModel.Tokens; namespace Muscularity.Web.Infrastructure { public class JwtTokenServiceOptions { public TimeSpan TimeToLive { get; set; } public string Issu...
jbload/Muscularity
Muscularity.Web/Infrastructure/JwtTokenServiceOptions.cs
C#
apache-2.0
444
/* * 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-greengrassv2/src/main/java/com/amazonaws/services/greengrassv2/model/transform/EffectiveDeploymentMarshaller.java
Java
apache-2.0
5,040
/* * 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-mediatailor/src/main/java/com/amazonaws/services/mediatailor/model/ListTagsForResourceResult.java
Java
apache-2.0
4,860
/* * 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 ...
jatin9896/incubator-carbondata
processing/src/main/java/org/apache/carbondata/processing/loading/sort/unsafe/holder/UnsafeSortTempFileChunkHolder.java
Java
apache-2.0
10,153
package service import ( "context" "sync" artmdl "go-common/app/interface/openplatform/article/model" accmdl "go-common/app/service/main/account/model" "go-common/app/service/main/feed/dao" "go-common/library/log" "go-common/library/sync/errgroup" ) const _upsArtBulkSize = 50 // attenUpArticles get new arti...
LQJJ/demo
126-go-common-master/app/service/main/feed/service/article.go
GO
apache-2.0
2,972
#!/usr/bin/python -Werror # # Copyright (c) 2015 Midokura SARL, 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 # # Unl...
midonet/orizuru
lib/orizuru/operations.py
Python
apache-2.0
17,776
// Copyright 2012 Aaron Jensen // // 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...
MattHubble/carbon
Source/Test/Xdt/Merge.cs
C#
apache-2.0
1,981
/* * 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-redshiftdataapi/src/main/java/com/amazonaws/services/redshiftdataapi/model/transform/BatchExecuteStatementResultJsonUnmarshaller.java
Java
apache-2.0
4,194
// // Bitmap.hpp // GaLiong // // Created by Liong on ??/??/??. // #include "Include/Bmp.hpp" _L_BEGIN namespace Media { // Public Bmp::Bmp(Image& instance) { } Bmp::~Bmp() { } bool Bmp::InitHeader() { FileHeader f; InfoHeader i; stream.read((char *)&f,...
PENGUINLIONG/GaLiong
GaLiong/Bmp.cpp
C++
apache-2.0
2,500
package coreaf.ui.pages; public class HomePage { }
AKSahu/WebAutomationFrameworks
SeleniumUIAutoTest/src/coreaf/ui/pages/HomePage.java
Java
apache-2.0
53
package com.wjc.slience.mymap.activity; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.KeyEvent; import android.widget.TextView; import com.wjc.slience.mymap.R; import com.wjc.slience.mymap.common.ActivityCollector; import com.wjc.slience.mymap.common.LogUtil...
root0301/MyMap
app/src/main/java/com/wjc/slience/mymap/activity/MsgActivity.java
Java
apache-2.0
1,450
/** * */ package com.sivalabs.demo.security; import java.util.Collection; import java.util.HashSet; import java.util.List; import java.util.Set; import org.springframework.security.core.GrantedAuthority; import org.springframework.security.core.authority.AuthorityUtils; import com.sivalabs.demo.entities.Role; imp...
sivaprasadreddy/springboot-learn-by-example
chapter-13/springboot-thymeleaf-security-demo/src/main/java/com/sivalabs/demo/security/AuthenticatedUser.java
Java
apache-2.0
1,192
#include <fcntl.h> #include <sys/stat.h> #include <sys/types.h> #include <unistd.h> #include <string> #include <iostream> #include <dirent.h> #include <cstring> #include <errno.h> #include <attr/xattr.h> #include "../BaseTestCase.h" #include "../../user_tools/api/workload.h" #include "../../user_tools/api/actions.h" ...
utsaslab/crashmonkey
code/tests/seq1/j-lang138.cpp
C++
apache-2.0
3,828
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may n...
ijuma/kafka
clients/src/main/java/org/apache/kafka/common/utils/ByteUtils.java
Java
apache-2.0
11,546
/* * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. 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.or...
lgobinath/siddhi
modules/siddhi-core/src/main/java/org/wso2/siddhi/core/query/output/ratelimit/snapshot/PerSnapshotOutputRateLimiter.java
Java
apache-2.0
5,177
/* Copyright 2016-2019, SINTEF Ocean. * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "cppfmu/cppfmu_cs.hpp" #include <stdexcept> namespace cppfmu { ...
idaholab/raven
framework/contrib/PythonFMU/pythonfmu/pythonfmu-export/cpp/cppfmu_cs.cpp
C++
apache-2.0
2,874
package org.baade.eel.core.player; import org.baade.eel.core.ILifecycle; import org.baade.eel.core.message.IMessage; import org.baade.eel.core.processor.IProcessor; public interface IPlayer extends ILifecycle { public void send(IMessage message); public IProcessor getProcessor(); }
baade-org/eel
eel-core/src/main/java/org/baade/eel/core/player/IPlayer.java
Java
apache-2.0
290
/* * Copyright 2019 Qameta Software 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 ...
allure-framework/allure-java
allure-java-commons/src/test/java/io/qameta/allure/testdata/DummyCard.java
Java
apache-2.0
1,043
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc.Rendering; namespace Microsoft.AspNetCore.Mvc.RazorPages { /// <summary> /// Provides methods to c...
aspnet/AspNetCore
src/Mvc/Mvc.RazorPages/src/IPageActivatorProvider.cs
C#
apache-2.0
1,873
/* * 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 ...
nivanov/ignite
modules/platforms/cpp/odbc-test/src/sql_test_suite_fixture.cpp
C++
apache-2.0
10,627
/* * 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...
hazendaz/assertj-core
src/test/java/org/assertj/core/api/date/DateAssert_isBetween_Test.java
Java
apache-2.0
1,673
package com.android.base.app.dagger; import java.lang.annotation.Documented; import java.lang.annotation.Retention; import javax.inject.Qualifier; import static java.lang.annotation.RetentionPolicy.RUNTIME; @Qualifier @Documented @Retention(RUNTIME) public @interface ContextType { String ACTIVITY = "Activity"...
Ztiany/AndroidBase
lib_base/src/main/java/com/android/base/app/dagger/ContextType.java
Java
apache-2.0
438
/* Copyright 2016 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...
tensorflow/tensorboard
tensorboard/plugins/histogram/vz_histogram_timeseries/vz-histogram-timeseries.ts
TypeScript
apache-2.0
22,012
/* * Copyright (C) 2013 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...
bojanvu23/android_packages_apps_Trebuchet_Gradle
Trebuchet/src/main/java/com/lite/android/launcher3/Insettable.java
Java
apache-2.0
906
package examples.model; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.TableGenerator; @Entity public class Address { @TableGenerator(name="Address_Gen", table="ID_GEN", ...
velmuruganvelayutham/jpa
examples/Chapter4/11-tableIdGeneration/src/model/examples/model/Address.java
Java
apache-2.0
1,622
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
zjshen/presto
presto-main/src/main/java/com/facebook/presto/operator/aggregation/AbstractMinMaxByNAggregation.java
Java
apache-2.0
8,905
# Copyright 2016 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 agreed to in writing...
donnadionne/grpc
src/python/grpcio_health_checking/grpc_version.py
Python
apache-2.0
710
package de.mukis.docmatcher.csv; import java.util.Arrays; import java.util.Objects; import de.mukis.docmatcher.csv.matcher.CsvMatcher; public class Columns { private final int[] columns; private Columns(int[] columns) { this.columns = columns; } public static Columns columns(int first, int...
muuki88/docmatcher
src/main/java/de/mukis/docmatcher/csv/Columns.java
Java
apache-2.0
1,454
/* * 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...
kunickiaj/datacollector
sdc-kafka_0_9/src/main/java/com/streamsets/pipeline/kafka/impl/KafkaProducer09.java
Java
apache-2.0
4,703
// DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. // // Copyright 2016-2018 Pascal ECHEMANN. // // 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...
pechemann/jec-glasscat-core
src/com/onsoft/glasscat/security/session/managers/EjpSessionManager.ts
TypeScript
apache-2.0
4,312
/* * 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 "license" fil...
ambasta/aws-sdk-cpp
aws-cpp-sdk-autoscaling/source/model/DeleteAutoScalingGroupRequest.cpp
C++
apache-2.0
1,408
/** * Copyright (c) 2010 Abbcc Corp. * No 225,Wen Yi RD, Hang Zhou, Zhe Jiang, China. * All rights reserved. * * "AdminService.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/service/CellbindService.java
Java
apache-2.0
1,720
/* * This file is generated by jOOQ. */ package io.cattle.platform.core.model.tables; import io.cattle.platform.core.model.CattleTable; import io.cattle.platform.core.model.Keys; import io.cattle.platform.core.model.tables.records.ConfigItemStatusRecord; import io.cattle.platform.db.jooq.converter.DateConverter; im...
vincent99/cattle
code/iaas/model/src/main/java/io/cattle/platform/core/model/tables/ConfigItemStatusTable.java
Java
apache-2.0
7,442
package com.example.persiandatepicker; import java.util.Date; import android.content.Context; import android.content.res.TypedArray; import android.util.AttributeSet; import android.view.LayoutInflater; import android.view.View; import android.widget.LinearLayout; import android.widget.NumberPicker; import android.wi...
alibehzadian/Smartlab
Custom Views/PersianDatePicker-Example/src/com/example/persiandatepicker/PersianDatePicker.java
Java
apache-2.0
2,282
phoxy.internal = { ChangeURL : function (url) { url = phoxy.ConstructURL(url); phoxy.Log(4, "History push", url); if (url[0] !== '/') url = '/' + url; history.pushState({}, document.title, url); return false; } , Reset : function (url) { if ((url || true) ...
phoxy/phoxy
subsystem/internal.js
JavaScript
apache-2.0
2,785
package com.ckt.io.wifidirect.fragment; import android.app.ListFragment; import android.app.ProgressDialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.net.wifi.WifiManager; import android.net.wifi.p2p.WifiP2pConfig; import android.net.wifi.p2p....
lucky-code/Practice
kuaichuan2.0/app/src/main/java/com/ckt/io/wifidirect/fragment/DeviceListFragment.java
Java
apache-2.0
6,668
/* * 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 ...
ascrutae/sky-walking
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/meter/function/avg/AvgFunction.java
Java
apache-2.0
7,837
import time import django from django import forms try: from django.forms.utils import ErrorDict except ImportError: from django.forms.util import ErrorDict from django.conf import settings from django.contrib.contenttypes.models import ContentType from django.utils.crypto import salted_hmac, constant_time_c...
sheshkovsky/jaryan
comments/forms.py
Python
apache-2.0
9,802
###################################################################### # tc_gid.rb # # Test case for the Process.gid and Process.gid= module methods. # # NOTE: The Process.gid= tests are only run if the test is run as the # root user. ###################################################################### require 'test/...
google-code/android-scripting
jruby/src/test/externals/ruby_test/test/core/Process/class/tc_gid.rb
Ruby
apache-2.0
1,434
package C00_data; /** * Created by Administrator on 2016/8/30. * 进制问题 * * 二进制显示的是补码,计算机接收的直接量也是补码 */ public class Test_code { public static void main(String[] args) { /* 二进制显示的是补码,计算机接收的直接量也是补码 */ byte a=-5; System.out.println("a:"+a); System.out.println("a...
wapalxj/Java
javaworkplace/SXT/src/C00_data/Test_code.java
Java
apache-2.0
1,493
/** * Main framework */ var http = require('http'); var fs = require('fs'); var url = require('url'); var querystring = require('querystring'); var mime = require('mime'); var engineMod = require('./engine.js') var WebApp = function(path,config){ console.log('Starting PanzerParty at '+path); var basepath = path...
theoddbeard/PanzerParty
core/app.js
JavaScript
apache-2.0
1,246
using Arinna.Northwind.ProductService.Business.Contract; using Arinna.Northwind.ProductService.Data.Repository.Interface; using System; using System.Collections.Generic; using System.Text; namespace Arinna.Northwind.ProductService.Business { public class CategoryManager: ICategoryManager { private rea...
ZGRTech/Arinna
nortwind/Arinna.Northwind.ProductService.Business/CategoryManager.cs
C#
apache-2.0
529
import Router from 'viewModels/router' import read from './read' const router = new Router; router.get('token/read', '/', read); export default router
lian-yue/lianyue-server
app/viewModels/token/routes.js
JavaScript
apache-2.0
155
/* * Copyright 2014 Texas A&M Engineering Experiment Station * * 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 ...
tcat-tamu/crypto
bundles/edu.tamu.tcat.crypto.bouncycastle/src/edu/tamu/tcat/crypto/bouncycastle/internal/Activator.java
Java
apache-2.0
2,300
// Copyright 2014-2015 Boundary, 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...
boundary/boundary-event-sdk
src/test/java/com/boundary/sdk/event/esper/NewEmployeeEvent.java
Java
apache-2.0
1,889
#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...
etechi/ServiceFramework
Projects/Server/Common/SF.Common.Abstractions/Auth/Permissions/IRoleManager.cs
C#
apache-2.0
1,380
/** * 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.opensource.org/licenses/ecl2.php * * Unless requ...
ua-eas/ua-rice-2.1.9
krad/krad-web-framework/src/main/java/org/kuali/rice/krad/web/form/MaintenanceForm.java
Java
apache-2.0
2,006
#include <cstdlib> #include <cstring> #include <unistd.h> #include <utility> #include "gtest/gtest.h" #include "persistent_map.h" using ::std::make_pair; const char *testfile = "test.map"; class MapTest : public ::testing::Test { protected: PersistentMap<int, int> pm; virtual void SetUp() { } ...
hallielaine/DecaFS
test/persistent_stl_test/persistent_map_unittest.cc
C++
apache-2.0
2,002
using System; using System.Collections; using System.Collections.Generic; using WizardsChess.Movement; // Board arranged in A-H, 1-8. where A-H is replaced by 9-16 namespace WizardsChess.Chess.Pieces { public abstract class ChessPiece{ public ChessPiece(ChessTeam team){ Team = team; HasMoved = false; CanJ...
MorganR/wizards-chess
WizardsChess/WizardsChessUtils/Chess/Pieces/ChessPiece.cs
C#
apache-2.0
1,218
import 'style!../sass/spinner.scss'; const backdrop = ` <div class="js-blocking" id="lightbox-blocking"> <span class="lightbox-spinner"></span> </div> `; const prevControl = ` <div class="lightbox-extra control prev js-control js-prev"> <svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0" y="0" w...
nemtsov/lightbox
src/templates.js
JavaScript
apache-2.0
1,861
package com.olmatix.model; /** * Created by Rahman on 12/28/2016. */ public class SpinnerObject { private String databaseId; private String databaseValue; public SpinnerObject() { this.databaseId = databaseId; this.databaseValue = databaseValue; } public String getDatabaseId(...
lesjaw/Olmatix
olmatix/src/main/java/com/olmatix/model/SpinnerObject.java
Java
apache-2.0
641
/* * 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 "l...
trasa/aws-sdk-java
aws-java-sdk-elasticloadbalancing/src/main/java/com/amazonaws/services/elasticloadbalancing/model/LoadBalancerAttributeNotFoundException.java
Java
apache-2.0
1,217
package citrixadc import ( "github.com/citrix/adc-nitro-go/resource/config/transform" "github.com/citrix/adc-nitro-go/service" "github.com/hashicorp/terraform/helper/schema" "fmt" "log" ) func resourceCitrixAdcTransformaction() *schema.Resource { return &schema.Resource{ SchemaVersion: 1, Create: c...
citrix/terraform-provider-netscaler
citrixadc/resource_citrixadc_transformaction.go
GO
apache-2.0
8,186
<?php namespace BuyPlayTix\DataBean; class ObjectAdapter implements IAdapter { public static $DB_DIR; private $tables = []; private $queries = []; public function __construct() {} function load($databean, $param = "") { $table = $databean->getTable(); $pk = $databean->get...
tthomas48/databean
BuyPlayTix/DataBean/ObjectAdapter.php
PHP
apache-2.0
19,538
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: cloud.proto package io.particle.firmwareprotos.ctrl.cloud; public final class Cloud { private Cloud() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistryLite registry) { } public static void registerAl...
spark/photon-tinker-android
firmwareprotos/src/main/java/io/particle/firmwareprotos/ctrl/cloud/Cloud.java
Java
apache-2.0
42,941
/*! * UI development toolkit for HTML5 (OpenUI5) * (c) Copyright 2009-2017 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ /* global ActiveXObject:false */ // Provides control sap.m.PDFViewer. sap.ui.define([ "jquery.sap.global", "./library", "sap/u...
thbonk/electron-openui5-boilerplate
libs/openui5-runtime/resources/sap/m/PDFViewer-dbg.js
JavaScript
apache-2.0
19,266
var madson = (function () { import "nxutils/generic/base"; import "./utils"; import "./write"; import "./read"; import "./preset"; function mEncode(input, options) { var encoder = new EncodeBuffer(options); encode(encoder, cloneDecycle(input)); return encoder.read(); ...
arash16/madson
src/index.js
JavaScript
apache-2.0
901
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.openapi.wm.impl; import com.intellij.ide.RemoteDesktopService; import com.intellij.ide.ui.UISettings; import com.intellij.ide.ui.UISettingsListener; import c...
dahlstrom-g/intellij-community
platform/platform-impl/src/com/intellij/openapi/wm/impl/ToolWindowsPane.java
Java
apache-2.0
40,236
package de.adihubba; import java.util.Arrays; import java.util.Collections; import java.util.List; public class ObjectUtils { private static final int DEFAULT_DOUBLE_PRECISION = 8; private static final double[] POWER_OF_TEN = new double[15]; static { for (int i =...
adihubba/javafx-3d-surface-chart
src/main/java/de/adihubba/ObjectUtils.java
Java
apache-2.0
3,433
/** * Copyright (C) 2015 Red Hat, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
jimmidyson/kubernetes-client
kubernetes-tests/src/test/java/io/fabric8/kubernetes/client/mock/DeploymentTest.java
Java
apache-2.0
10,860
/* Copyright 2019 The Knative Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, soft...
knative/build
vendor/github.com/knative/pkg/client/injection/informers/authentication/v1alpha1/policy/fake/fake.go
GO
apache-2.0
1,229
package org.onetwo.common.data; import java.io.Serializable; /***** * @author wayshall * */ @SuppressWarnings("serial") public class ValueWrapper<T> implements Serializable{ public static <E> ValueWrapper<E> wrap(E value){ return new ValueWrapper<E>(value); } public static <E> ValueWrapper<E> create(){ re...
wayshall/onetwo
core/modules/common/src/main/java/org/onetwo/common/data/ValueWrapper.java
Java
apache-2.0
602
/* ### * IP: GHIDRA * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writin...
NationalSecurityAgency/ghidra
Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/field/SpacerFieldFactory.java
Java
apache-2.0
5,415
/* * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
googleapis/java-pubsublite
samples/snippets/src/test/java/pubsublite/QuickStartIT.java
Java
apache-2.0
15,069
/* * Copyright 2014 Guidewire Software, Inc. */ package gw.internal.gosu.ir.nodes; import gw.lang.reflect.IMethodInfo; import gw.lang.reflect.IType; import gw.lang.reflect.IRelativeTypeInfo; import gw.lang.reflect.IFunctionType; import gw.lang.reflect.IConstructorInfo; import gw.lang.ir.IRType; import gw.lang.ir.IR...
gosu-lang/gosu-lang
gosu-core/src/main/java/gw/internal/gosu/ir/nodes/IRMethodFactory.java
Java
apache-2.0
4,548
/* * 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 ...
plutext/ae-xmlgraphics-commons
src/java/org/apache/xmlgraphics/xmp/XMPSerializer.java
Java
apache-2.0
4,720
package gz.jflask.template; import gz.jflask.FlaskException; import gz.jflask.InternalServerException; import gz.jflask.config.Config; import gz.jflask.config.ConfigHelper; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.Map; /** * Created by IntelliJ IDEA. * User: kaneg * Date: 6/22/15 ...
kaneg/JFlask
src/main/java/gz/jflask/template/TemplateEngines.java
Java
apache-2.0
1,391
/* * 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 ...
IMCG/nativetask
src/main/native/src/handler/MMapperHandler.cc
C++
apache-2.0
6,215
namespace AppsAgainstHumanity.Server.UI { partial class expansionPackForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// ...
McSherry/AppsAgainstHumanity
Server/UI/expansionPackForm.Designer.cs
C#
apache-2.0
4,820
/* Copyright 2014 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
nhr/origin
vendor/k8s.io/kubernetes/cmd/kube-controller-manager/app/controllermanager.go
GO
apache-2.0
20,478
package android.qiao.androidlearn; import android.app.Application; import android.test.ApplicationTestCase; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<Application> { public ApplicationTest(...
qiao4/AndroidLearn
app/src/androidTest/java/android/qiao/androidlearn/ApplicationTest.java
Java
apache-2.0
368
// Copyright (c) Keith D Gregory // // 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 ...
kdgregory/pathfinder
lib-spring/src/main/java/com/kdgregory/pathfinder/spring/context/SpringConstants.java
Java
apache-2.0
1,960
package ca.corefacility.bioinformatics.irida.ria.web.exceptions; import java.util.Map; /** * Used by UI to contain internationalized constraint violations. */ public class UIConstraintViolationException extends Exception { private final Map<String, String> errors; public UIConstraintViolationException(Map<String...
phac-nml/irida
src/main/java/ca/corefacility/bioinformatics/irida/ria/web/exceptions/UIConstraintViolationException.java
Java
apache-2.0
432