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
var CONFIG = { // remote URL education target 'REMOTE_URL': 'http://berndmalle.com/anonymization/adults', // remote target 'REMOTE_TARGET': 'education', //'marital', //'income' // The path to the input dataset 'INPUT_FILE' : './test/io/test_input/house_data.csv', // CSV TRIM RegExp, if necessary 'TRIM':...
cassinius/AnonymizationJS
src/config/SaNGreeAConfig_house.ts
TypeScript
apache-2.0
1,589
require 'crack' require 'json' require 'core/make_json' module Blix # this is a parser to parse and format json rpc messages. # class JsonRpcParser < AbstractParser def format_request(request) {"jsonrpc"=>"2.0", "method"=>request.method, "params"=>request.parameters, "id"=>request.id }.to_...
realbite/blix
lib/blix/core/json_rpc_parser.rb
Ruby
apache-2.0
6,698
package org.docksidestage.app.web.es.product; public class EsProductAddForm { public String productDescription; public String productCategoryCode; public String productHandleCode; public String productName; public Integer regularPrice; public String productStatusCode; }
dbflute-example/dbflute-example-with-non-rdb
src/main/java/org/docksidestage/app/web/es/product/EsProductAddForm.java
Java
apache-2.0
298
using UnityEngine; using System.Collections; public class Wander : MonoBehaviour { private Vector3 tarPos; public float movementSpeed = 5.0f; private float rotSpeed = 2.0f; private float minX, maxX, minZ, maxZ; public float wanderRadius = 30.0f; // Use this for initialization void Start () { ...
Guityyo/minerparty
Assets/_Scripts/AIWandering/Wander.cs
C#
apache-2.0
1,056
/* * 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-inspector2/src/main/java/com/amazonaws/services/inspector2/model/GetMemberResult.java
Java
apache-2.0
3,656
package com.ecrm.DAO; import org.springframework.stereotype.Repository; /** * Created by Htang on 7/10/2015. */ @Repository public interface ScheduleConfigDAO { }
tranquang9a1/ECRM
App/ECRM/src/main/java/com/ecrm/DAO/ScheduleConfigDAO.java
Java
apache-2.0
177
package clarifai // Response is a universal Clarifai API response object. type Response struct { Status *ServiceStatus `json:"status,omitempty"` Outputs []*Output `json:"outputs,omitempty"` Input *Input `json:"input,omitempty"` // Request for one input. Inputs []*Input ...
mpmlj/clarifai-client-go
response.go
GO
apache-2.0
667
// Copyright 2014 Google Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
rzagabe/bazel
src/main/java/com/google/devtools/build/lib/actions/MutableActionGraph.java
Java
apache-2.0
6,415
package com.taoswork.tallycheck.general.solution.threading; import com.taoswork.tallycheck.general.solution.quickinterface.IValueMaker; /** * Created by Gao Yuan on 2015/8/16. */ public class ThreadLocalHelper { public static <T> ThreadLocal<T> createThreadLocal(final Class<T> type, final IValueMaker<T> valueMa...
tallycheck/general
general-solution/src/main/java/com/taoswork/tallycheck/general/solution/threading/ThreadLocalHelper.java
Java
apache-2.0
1,473
#!/usr/bin/env ruby # INSTALL # sudo gem install sinatra liquid # RUN # ruby examples/sinatra/buzz_api.rb root_dir = File.expand_path("../../..", __FILE__) lib_dir = File.expand_path("./lib", root_dir) $LOAD_PATH.unshift(lib_dir) $LOAD_PATH.uniq! require 'rubygems' begin gem 'rack', '= 1.2.0' require 'rack'...
jeroenvandijk/google-api-ruby-client
examples/sinatra/explorer.rb
Ruby
apache-2.0
13,332
<?php class Faq_model extends CI_Model{ public $_table='faq'; public $_topics='faq_topics'; function __construct() { parent::__construct(); } public function get_all_admin(){ return $this->db->select('f.*,ft.faqTopics')->from($this->_table.' f')->join($this->_topics.' ft','f.faqTop...
kousik/tidiit
models/faq_model.php
PHP
apache-2.0
2,958
/* * 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/components/Aggregate/AggregateContent.js
JavaScript
apache-2.0
5,729
import { Component } from '@angular/core'; import { Meta, Title } from '@angular/platform-browser'; import { OnInit } from '@angular/core'; @Component({ selector: 'app-home', templateUrl: 'home.component.html', styleUrls: ['home.component.css'], }) export class HomeComponent implements OnInit { constructor(met...
gyuho/etcdlabs
frontend/app/home/home.component.ts
TypeScript
apache-2.0
654
/* Copyright IBM Corp. 2016 All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in wri...
mffrench/fabric
protos/utils/proputils.go
GO
apache-2.0
19,622
package spring.store; import java.util.List; /** * Created by Andrey on 02.02.2018. */ public interface Storage <T>{ void add(User user); List<T> getAll(); }
AVBaranov/abaranov
chapter_011/src/main/java/spring/store/Storage.java
Java
apache-2.0
170
/* * Java port of Bullet (c) 2008 Martin Dvorak <jezek2@advel.cz> * * Bullet Continuous Collision Detection and Physics Library * Copyright (c) 2003-2008 Erwin Coumans http://www.bulletphysics.com/ * * This software is provided 'as-is', without any express or implied warranty. * In no event will the authors be ...
danke-sra/GearVRf
GVRf/Framework/src/org/gearvrf/bulletphysics/dynamics/constraintsolver/Point2PointConstraint.java
Java
apache-2.0
7,029
/** * JBoss, Home of Professional Open Source * Copyright 2012, Red Hat Middleware LLC, and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not u...
aslakknutsen/arquillian-extension-warp
impl/src/main/java/org/jboss/arquillian/warp/client/proxy/ProxyURLProvider.java
Java
apache-2.0
2,711
/* * 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 ...
ilantukh/ignite
examples/src/main/java/org/apache/ignite/examples/ml/tutorial/Step_2_Imputing.java
Java
apache-2.0
3,986
<?php namespace App\Http\Resources; use Illuminate\Http\Resources\Json\Resource; class FeedbackResource extends Resource { /** * Transform the resource into an array. * * @param \Illuminate\Http\Request * * @return array */ public function toArray($request) { return...
voten-co/voten
app/Http/Resources/FeedbackResource.php
PHP
apache-2.0
656
/* Copyright ONECHAIN 2017 All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in w...
onechain/fabric-explorer
socket/websocketserver.js
JavaScript
apache-2.0
801
// This file is part of MLDB. Copyright 2015 mldb.ai inc. All rights reserved. /* separation_stats.cc Jeremy Barnes, 14 June 2011 Copyright (c) 2011 mldb.ai inc. All rights reserved. */ #include "separation_stats.h" #include "mldb/arch/exception.h" #include "mldb/base/exc_assert.h" #include <boost/utility.hpp...
mldbai/mldb
plugins/jml/separation_stats.cc
C++
apache-2.0
10,625
/*jslint devel: true */ /*global Titanium, module */ (function (Ti) { "use strict"; var style = { win: { backgroundColor: "#FFFFFF", layout: "vertical" }, btn: { top: 44, title: "Get GeoHash!" }, label: { top: ...
ryugoo/TiGeoHash
Resources/style/app.style.js
JavaScript
apache-2.0
898
package com.junitlet.rule; import static org.junit.Assert.assertTrue; import java.util.ArrayList; import java.util.List; import java.util.logging.Handler; import java.util.logging.LogRecord; import java.util.logging.Logger; import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.Rule; import org....
alexradzin/JUnitlet
src/test/java/com/junitlet/rule/LoggingRuleTest.java
Java
apache-2.0
1,672
/* * Copyright (C) 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 ...
google/caliper
caliper-runner/src/main/java/com/google/caliper/runner/worker/WorkerScoped.java
Java
apache-2.0
1,098
package org.egorlitvinenko.certification.oca.book1.assessment.Q3; /** * Created by Egor Litvinenko on 19.01.17. */ public interface HasTail { int getTailLength(); }
egorlitvinenko/JavaLearning
src/org/egorlitvinenko/certification/oca/book1/assessment/Q3/HasTail.java
Java
apache-2.0
172
''' This module provides some handle-related functions that are needed across various modules of the pyhandle library. ''' from __future__ import absolute_import import base64 from future.standard_library import install_aliases install_aliases() from urllib.parse import quote from . import handleexceptions from . impor...
EUDAT-B2SAFE/PYHANDLE
pyhandle/utilhandle.py
Python
apache-2.0
5,268
/* * 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-cloudformation/src/main/java/com/amazonaws/services/cloudformation/model/GetTemplateSummaryResult.java
Java
apache-2.0
36,945
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Diagnostics; using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure; using Microsoft.AspNetCo...
aspnet/AspNetCore
src/Mvc/Mvc.RazorPages/src/MvcRazorPagesDiagnosticListenerExtensions.cs
C#
apache-2.0
17,096
from __future__ import absolute_import, division, print_function, unicode_literals from amaascore.market_data.eod_price import EODPrice from amaascore.market_data.fx_rate import FXRate from amaascore.market_data.curve import Curve from amaascore.market_data.corporate_action import CorporateAction def json_to_eod_pri...
amaas-fintech/amaas-core-sdk-python
amaascore/market_data/utils.py
Python
apache-2.0
723
/* * Copyright (c) jiucheng.org */ package org.jiucheng.web; import java.lang.reflect.Method; public class Ctrl { private String route; private Method method; private RequestType requestType; private String beanName; private String handlerBeanName; public void setRoute(String route...
AnEgg/DragonYun
src/org/jiucheng/web/Ctrl.java
Java
apache-2.0
1,114
# -------------------------------------------------------------------------- # # Copyright 2002-2020, OpenNebula Project, OpenNebula Systems # # # # Licensed under the Apache License, Version 2.0 (the "License"); you may # # no...
baby-gnu/one
src/cli/one_helper/onedatastore_helper.rb
Ruby
apache-2.0
6,796
/** * @license * Copyright 2018 Google LLC. All Rights Reserved. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
tensorflow/tfjs-examples
jena-weather/ui.js
JavaScript
apache-2.0
4,072
/** * Copyright (c) 2005-2012 https://github.com/zhangkaitao * * Licensed under the Apache License, Version 2.0 (the "License"); */ package com.huntering.common.entity.search.utils; import com.google.common.collect.Lists; import com.huntering.common.entity.search.SearchOperator; import com.huntering.common.entity....
xiuxin/Huntering
common/src/main/java/com/huntering/common/entity/search/utils/SearchableConvertUtils.java
Java
apache-2.0
7,912
/* * Copyright (c) 2021 Citrix Systems, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
citrix/terraform-provider-netscaler
vendor/github.com/citrix/adc-nitro-go/resource/config/appfw/appfwxmlerrorpage.go
GO
apache-2.0
1,434
package com.action.jdxchxjs.ch03.stack_1; import java.util.ArrayList; import java.util.List; /** * Created by wuyunfeng on 2017/9/21. */ public class MyStack { private List list = new ArrayList(); public synchronized void pubsh(){ try { if (list.size() == 1){ this.wai...
pearpai/java_action
src/main/java/com/action/jdxchxjs/ch03/stack_1/MyStack.java
Java
apache-2.0
1,139
package com.huawei.esdk.demo.autogen; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.adapters.XmlJa...
eSDK/esdk_tp_native_java
test/demo/eSDK_TP_Demo_BS_Java/src/com/huawei/esdk/demo/autogen/BroadInfoEx.java
Java
apache-2.0
4,017
var dir_0c96b3d0fc842fbb51d7afc18d90cdec = [ [ "design", "dir_b39402054b6f29d8059088b0004b64ee.html", "dir_b39402054b6f29d8059088b0004b64ee" ], [ "v4", "dir_b1530cc8b78b2d9923632461f396c71c.html", "dir_b1530cc8b78b2d9923632461f396c71c" ], [ "v7", "dir_94bdcc46f12b2beb2dba250b68a1fa32.html", "dir_94bdcc46f12...
feedhenry/fh-dotnet-sdk
Documentations/html/dir_0c96b3d0fc842fbb51d7afc18d90cdec.js
JavaScript
apache-2.0
347
/* Copyright 2007-2009 WebDriver committers Copyright 2007-2009 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 appli...
mogotest/selenium
remote/server/src/java/org/openqa/selenium/remote/server/DriverServlet.java
Java
apache-2.0
14,199
/* *  Copyright 2005 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/LIC...
freeVM/freeVM
enhanced/archive/classlib/modules/rmi2.1.4/src/main/java/org/apache/harmony/rmi/internal/runtime/RMIDefaultClassLoaderSpi.java
Java
apache-2.0
14,748
package com.squeezer.designpatterns.abstractfactory; public class ProductA1 implements AbstractProductA { @Override public void display() { System.out.println("Product A 1 display"); } }
Squeezer-software/java-design-patterns
src/com/squeezer/designpatterns/abstractfactory/ProductA1.java
Java
apache-2.0
211
package com.example.reference; import arez.annotations.ArezComponent; import arez.annotations.LinkType; import arez.annotations.Observable; import arez.annotations.Reference; import arez.annotations.ReferenceId; @ArezComponent abstract class LazyLoadObservableReferenceModel { @Reference( load = LinkType.LAZY ) ab...
realityforge/arez
processor/src/test/fixtures/input/com/example/reference/LazyLoadObservableReferenceModel.java
Java
apache-2.0
490
package advisor // Copyright (c) Microsoft and contributors. 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...
linzhaoming/origin
vendor/github.com/Azure/azure-sdk-for-go/services/advisor/mgmt/2017-04-19/advisor/models.go
GO
apache-2.0
25,984
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package br.com.vebo.dados.mapeamento; /** * * @author mohfus */ public enum MovimentacaoEstoqueEnum { ENTRADA, RETIRADA; }
diegobqb/veboMaven
src/main/java/br/com/vebo/dados/mapeamento/MovimentacaoEstoqueEnum.java
Java
apache-2.0
236
import * as should from 'should'; import 'should-http'; import 'should-sinon'; import '../lib/asserts'; import * as nock from 'nock'; import * as sinon from 'sinon'; import * as fs from 'fs'; import * as http from 'http'; import * as https from 'https'; import * as debugLib from 'debug'; import * as path from 'path';...
BitGo/BitGoJS
modules/express/test/unit/bitgoExpress.ts
TypeScript
apache-2.0
14,766
package requirements_test import ( "cf/models" . "cf/requirements" . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" testassert "testhelpers/assert" testconfig "testhelpers/configuration" testterm "testhelpers/terminal" ) var _ = Describe("Testing with ginkgo", func() { It("TestSpaceRequirement", func() {...
nimbus-cloud/cli
src/cf/requirements/targeted_space_test.go
GO
apache-2.0
1,273
package com.github.mfursov.w7.page.signin; import com.github.mfursov.w7.Context; import com.github.mfursov.w7.Mounts; import com.github.mfursov.w7.annotation.MountPath; import com.github.mfursov.w7.component.CaptchaField; import com.github.mfursov.w7.component.Feedback; import com.github.mfursov.w7.component.RefreshCa...
mfursov/wicket7template
src/main/java/com/github/mfursov/w7/page/signin/ForgotPasswordPage.java
Java
apache-2.0
4,068
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * LoveCalculator.java * * Created on 2011-11-24, 9:27:40 */ package pb.text; /** * @author maqiang */ public class LoveCalculator extends javax.swing.JFrame { /** * 域(私有)<br> * 名称: dp<br> ...
ProteanBear/ProteanBear_Java
source/PbJExpress/test/pb/text/LoveCalculator.java
Java
apache-2.0
19,881
package com.uwetrottmann.shopr.context.algorithm; import android.database.Cursor; import android.util.Log; import com.uwetrottmann.shopr.ShoprApp; import com.uwetrottmann.shopr.algorithm.model.Item; import com.uwetrottmann.shopr.context.model.Company; import com.uwetrottmann.shopr.context.model.DayOfTheWeek; import c...
Nicksteal/ShopR
Android/Shopr/src/main/java/com/uwetrottmann/shopr/context/algorithm/ContextualPostFiltering.java
Java
apache-2.0
10,688
/* * Copyright (c) 2010, www.wojilu.com. All rights reserved. */ using System; using System.Collections; using System.Text; using wojilu.Web.Mvc; using wojilu.Apps.Content.Interface; using wojilu.Apps.Content.Domain; using wojilu.Common.Feeds.Service; using wojilu.Common.Feeds.Domain; using wojilu.Ap...
songboriceboy/cnblogsbywojilu
wojilu.Controller/Content/Binder/MyShareBinderController.cs
C#
apache-2.0
1,649
/* * Copyright (C) 2015 The Minium 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 agr...
viltgroup/minium
minium-webelements/src/main/java/minium/web/internal/drivers/WindowWebDriver.java
Java
apache-2.0
2,217
package stroom.util.validation; import stroom.util.shared.validation.IsSubsetOf; import stroom.util.shared.validation.IsSubsetOfValidator; import java.util.Arrays; import java.util.Collection; import java.util.HashSet; import java.util.Set; import javax.validation.ConstraintValidatorContext; public class IsSubsetOfV...
gchq/stroom
stroom-util/src/main/java/stroom/util/validation/IsSubsetOfValidatorImpl.java
Java
apache-2.0
2,147
/* * Copyright 2016 VOPEN.CN * * 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 writ...
ivetech/binlog-mysql
src/main/java/xyz/vopen/mysql/binlog/network/protocol/command/DumpBinaryLogCommand.java
Java
apache-2.0
1,645
<?php namespace SocioChat\DAO; use Core\DAO\DAOBase; use Core\Utils\DbQueryHelper; use SocioChat\Clients\User; class NameChangeDAO extends DAOBase { const USER_ID = 'user_id'; const OLD_NAME = 'old_name'; const DATE_CHANGE = 'date_change'; public function __construct() { parent::__constr...
kryoz/sociochat
src/SocioChat/DAO/NameChangeDAO.php
PHP
apache-2.0
2,379
/* Copyright© 2000 - 2022 SuperMap Software Co.Ltd. All rights reserved. * This program are made available under the terms of the Apache License, Version 2.0 * which accompanies this distribution and is available at http://www.apache.org/licenses/LICENSE-2.0.html.*/ import mapboxgl from 'mapbox-gl'; import { ServiceB...
SuperMap/iClient9
src/mapboxgl/services/ImageService.js
JavaScript
apache-2.0
3,968
'use strict'; /* Services that are used to interact with the backend. */ var eventManServices = angular.module('eventManServices', ['ngResource']); /* Modify, in place, an object to convert datetime. */ function convert_dates(obj) { angular.forEach(['begin_date', 'end_date', 'ticket_sales_begin_date', 'ticket_sa...
raspibo/eventman
angular_app/js/services.js
JavaScript
apache-2.0
9,665
/** * Copyright 2011-2017 Asakusa Framework Team. * * 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...
cocoatomo/asakusafw
hive-project/asakusa-hive-info/src/main/java/com/asakusafw/directio/hive/annotation/HiveTable.java
Java
apache-2.0
1,243
/* Copyright (c) 2014 (Jonathan Q. Bo) 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, publish, distribut...
jonathanqbo/jpa
src/main/java/bq/jpa/demo/lifecycle/domain/ContractEmployee.java
Java
apache-2.0
2,171
package godebug import ( "regexp" "strconv" "strings" ) func getFileDetails(stack string) (string, int) { // file name, line that called godebug.Break(), and a "preview line" to begin from re, _ := regexp.Compile(`(?m)^(.*?)(:)(\d+)`) res := re.FindAllStringSubmatch(stack, -1) fn := strings.Trim(res[1][1], " \r...
simon-whitehead/go-debug
utils.go
GO
apache-2.0
393
package org.zstack.header.network.service; import org.zstack.header.vm.VmNicInventory; /** * Created by yaohua.wu on 8/14/2019. */ public interface VirtualRouterAfterDetachNicExtensionPoint { void afterDetachNic(VmNicInventory nic); }
AlanJager/zstack
header/src/main/java/org/zstack/header/network/service/VirtualRouterAfterDetachNicExtensionPoint.java
Java
apache-2.0
243
# # Author:: Jake Vanderdray <jvanderdray@customink.com> # Cookbook Name:: nagios # Recipe:: pagerduty # # Copyright 2011, CustomInk 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 # # ...
Tealium/nagios
recipes/pagerduty.rb
Ruby
apache-2.0
2,473
/* * Copyright 2015 Adaptris 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 t...
adaptris/interlok
interlok-core/src/test/java/com/adaptris/core/stubs/MockMessageProducer.java
Java
apache-2.0
3,368
package crawler; import java.beans.PropertyVetoException; import java.io.BufferedReader; import java.io.File; import java.io.IOException; import java.io.InputStreamReader; import java.sql.SQLException; import java.util.ArrayList; import java.util.Scanner; public class Main { public static void mai...
MAnbar/SearchEngine
Crawler/src/crawler/Main.java
Java
apache-2.0
5,900
"use strict"; var samples = {}; module.exports = samples; samples.valid_0 = { "address": "xde@sjdu.com", "type": "work place" }; samples.valid_1 = { "address": "xde@sjdu.com" }; samples.invalid_0 = {}; samples.invalid_1 = { "address": "xde@sjdu.com", "type": "work place", "other": "na" };
amida-tech/blue-button-model
test/samples/unit/cda_email.js
JavaScript
apache-2.0
320
#if WINDOWS_UWP namespace io.nodekit.NKScripting.Engines.Chakra { using System; using System.Diagnostics.CodeAnalysis; using System.Runtime.InteropServices; using System.Threading.Tasks; /// <summary> /// Native interfaces. /// </summary> public static class Native { ///...
nodekit-io/nodekit-windows
src/nodekit/NKScripting/common/engines/chakra/Engine/Native_uwp.cs
C#
apache-2.0
24,924
package me.vilsol.nmswrapper.wraps.unparsed; import me.vilsol.nmswrapper.NMSWrapper; import me.vilsol.nmswrapper.reflections.ReflectiveClass; import me.vilsol.nmswrapper.reflections.ReflectiveMethod; import me.vilsol.nmswrapper.wraps.NMSWrap; import org.bukkit.command.CommandSender; @ReflectiveClass(name = "CommandBl...
Vilsol/NMSWrapper
src/main/java/me/vilsol/nmswrapper/wraps/unparsed/NMSCommandBlockListenerAbstract.java
Java
apache-2.0
5,334
/* * 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 ...
glammedia/phoenix
phoenix-core/src/main/java/org/apache/phoenix/compile/DeleteCompiler.java
Java
apache-2.0
30,200
/** * define global constant * * Created by Shiro on 16/12/20. */ const NAV = [ {name: 'Home', link: '/index'}, {name: 'Editor', link: '/editor'}, {name: 'Project', link: '/project', children: [ {name: 'RMSP', link: '/project/rmsp'}, {name: 'test', link: '/project/'}, {name: 'test', link: '/projec...
supershiro/Cancer
src/libs/const.js
JavaScript
apache-2.0
1,357
/** * Copyright 2015 Steffen Kremp * * 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...
skremp/pictura-io
servlet/src/main/java/io/pictura/servlet/CacheControlHandler.java
Java
apache-2.0
2,439
/** * Copyright (C) 2009 GIP RECIA http://www.recia.fr * @Author (C) 2009 GIP RECIA <contact@recia.fr> * @Contributor (C) 2009 SOPRA http://www.sopragroup.com/ * @Contributor (C) 2011 Pierre Legay <pierre.legay@recia.fr> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this f...
GIP-RECIA/esco-grouper-ui
ext/bundles/myfaces-api/src/main/java/javax/faces/event/FacesListener.java
Java
apache-2.0
2,038
<?php /** * This file is part of the Patterns package. * * Copyright (c) 2013-2016 Pierre Cassat <me@e-piwi.fr> and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * *...
atelierspierrot/patterns
src/Patterns/Interfaces/OptionableInterface.php
PHP
apache-2.0
1,567
import fs from 'fs'; import path from 'path'; import { expect } from 'chai'; import sinon from 'sinon'; import { factory } from '@stryker-mutator/test-helpers'; import * as utils from '@stryker-mutator/util'; import type { Config } from '@jest/types'; import { CustomJestConfigLoader } from '../../../src/config-loader...
stryker-mutator/stryker
packages/jest-runner/test/unit/config-loaders/custom-config-loader.spec.ts
TypeScript
apache-2.0
5,452
package com.xinjian.winner.di.qualifier; import java.lang.annotation.Documented; import java.lang.annotation.Retention; import javax.inject.Qualifier; import static java.lang.annotation.RetentionPolicy.RUNTIME; /** * Created by codeest on 2017/2/26. */ @Qualifier @Documented @Retention(RUNTIME) public @interface...
lixinjian/MyFirstWinner
app/src/main/java/com/xinjian/winner/di/qualifier/VtexUrl.java
Java
apache-2.0
334
/* * MinIO Cloud Storage, (C) 2016-2020 MinIO, 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 applicab...
harshavardhana/minio
cmd/api-router.go
GO
apache-2.0
15,882
package ru.stqa.pft.addressbook.appmanager; import org.openqa.selenium.By; import org.openqa.selenium.NoSuchElementException; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import ru.stqa.pft.addressbook.model.ContactData; import java.util.ArrayList; import java.util.List; /** * Create...
VVSilinenko/java_first
addressbook-web-tests/src/test/java/ru/stqa/pft/addressbook/appmanager/ContactHelper.java
Java
apache-2.0
5,422
package org.jtheque.modules.impl; /* * Copyright JTheque (Baptiste Wicht) * * 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 * ...
wichtounet/jtheque-core
jtheque-modules/src/main/java/org/jtheque/modules/impl/RepositoryImpl.java
Java
apache-2.0
2,249
/* * 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-organizations/src/main/java/com/amazonaws/services/organizations/model/transform/DisablePolicyTypeRequestProtocolMarshaller.java
Java
apache-2.0
2,748
/* * Copyright (c) 2011-2020, Peter Abeles. All Rights Reserved. * * This file is part of BoofCV (http://boofcv.org). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www...
lessthanoptimal/BoofCV
demonstrations/src/main/java/boofcv/demonstrations/imageprocessing/DemonstrationInterpolateScaleApp.java
Java
apache-2.0
4,261
package org.genericsystem.reactor.contextproperties; import org.genericsystem.reactor.Context; import org.genericsystem.reactor.HtmlDomNode; import org.genericsystem.reactor.Tag; import javafx.collections.MapChangeListener; import javafx.collections.ObservableMap; public interface StylesDefaults extends MapStringDef...
genericsystem/genericsystem2015
gs-reactor/src/main/java/org/genericsystem/reactor/contextproperties/StylesDefaults.java
Java
apache-2.0
1,576
#include <assert.h> #include <fstream> #include <iomanip> #include <iostream> #include <regex> #include <sstream> #include <sys/epoll.h> #include "bcc_syms.h" #include "perf_reader.h" #include "bpforc.h" #include "bpftrace.h" #include "attached_probe.h" #include "triggers.h" namespace bpftrace { int BPFtrace::add_p...
ajor/bpftrace
src/bpftrace.cpp
C++
apache-2.0
17,280
/* * Copyright 2012 GitHub 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 ...
DeLaSalleUniversity-Manila/ForkHub-macexcel
app/src/main/java/com/github/zion/ui/gist/StarredGistsFragment.java
Java
apache-2.0
1,214
/* * Copyright 2014 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 agreed t...
dave-tucker/intellij-yang
gen/com/intellij/lang/psi/impl/YangPrefixStmtImpl.java
Java
apache-2.0
1,626
// 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...
DaanHoogland/cloudstack
server/src/main/java/com/cloud/storage/upload/params/UploadParamsBase.java
Java
apache-2.0
6,233
// Copyright 2007-2016 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // 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...
jsmale/MassTransit
src/MassTransit.RabbitMqTransport/SequentialHostnameSelector.cs
C#
apache-2.0
2,154
package com.neustar.ultraservice.schema.v01; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for HeaderRule complex type. * * <p>The following schema fra...
ultradns/ultra-java-api
src/main/java/com/neustar/ultraservice/schema/v01/HeaderRule.java
Java
apache-2.0
3,436
# Copyright 2011 OpenStack Foundation # Copyright (c) 2011 X.commerce, a business unit of eBay Inc. # Copyright 2011 Grid Dynamics # Copyright 2011 Eldar Nugaev, Kirill Shileev, Ilya Alekseyev # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with...
jumpstarter-io/nova
nova/api/openstack/compute/contrib/floating_ips.py
Python
apache-2.0
12,423
/** * */ package com.bimaas.exception; import org.json.JSONObject; /** * Builds the errors and return a {@link JSONObject} with the error. * <p> * <code> * {"response": * {"error|warning": "error details"} * } * </code> * </p> * * @author isuru * */ public class JSONErrorBuilder { /** * Build ...
bbrangeo/OpenSourceBIMaaS
dev/foundation/src/main/java/com/bimaas/exception/JSONErrorBuilder.java
Java
apache-2.0
1,064
#/usr/bin/python """ Author: David Benson (dbenson@tssg.org) Date: 02/09/2013 Description: This python module is responsible for storing information about all systems within the eve universe. """ import system import datetime import evelink.api class EveUniverse: """ This class acts as a storage class for the al...
Funi1234/InternetSpaceships
python/main/eve_universe.py
Python
apache-2.0
1,437
package weixin.popular.bean.message.mass.sendall; import com.fasterxml.jackson.annotation.JsonProperty; /** * 用于设定图文消息的接收者 * @author Moyq5 * @date 2016年9月17日 */ public class Filter { /** * 用于设定是否向全部用户发送,值为true或false,选择true该消息群发给所有用户,选择false可根据tag_id发送给指定群组的用户 */ @JsonProperty("is_to_all") p...
moyq5/weixin-popular
src/main/java/weixin/popular/bean/message/mass/sendall/Filter.java
Java
apache-2.0
1,712
/* * 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...
consulo/consulo
modules/base/core-api/src/main/java/com/intellij/psi/search/EverythingGlobalScope.java
Java
apache-2.0
1,792
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { LayoutModule } from '../layout/layout.module'; import { LandingPageComponent } from './landing-page.component'; describe('LandingPageComponent', () => { let component: LandingPageComponent; let fixture: ComponentFixture<LandingPage...
manager-alert/manager-alert
src/app/landing-page/landing-page.component.spec.ts
TypeScript
apache-2.0
765
/* * Copyright 2014-2021 Real Logic 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
real-logic/Agrona
agrona-agent/src/main/java/org/agrona/agent/BufferAlignmentInterceptor.java
Java
apache-2.0
4,703
package com.example.demo; import java.util.Collection; import java.util.stream.Stream; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import org.springframework.beans.factory.annotation.Value; import org.springframework.boot.CommandLineRunner; import org.spring...
manueldeveloper/springcloudconfigserver
SimpleRestAPI/src/main/java/com/example/demo/SimpleRestApiApplication.java
Java
apache-2.0
2,343
/** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib 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 a...
stdlib-js/stdlib
lib/node_modules/@stdlib/_tools/eslint/rules/jsdoc-markdown-remark/test/fixtures/valid.js
JavaScript
apache-2.0
6,669
#include <QSettings> #include <QFileDialog> #include "adduniquewindow.h" #include "ui_adduniquewindow.h" #include "functions.h" #include "helpers.h" #include "vendor/json.h" #include "models/page.h" #include "models/filename.h" /** * Constructor of the AddUniqueWindow class, generating its window. * @param favorit...
YoukaiCat/imgbrd-grabber
gui/src/batch/adduniquewindow.cpp
C++
apache-2.0
3,454
/** * @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-core/src/ops/sign_test.ts
TypeScript
apache-2.0
3,063
/* * Copyright 2015-2016 OpenCB * * 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 ...
javild/opencga
opencga-storage/src/main/java/org/opencb/opencga/storage/alignment/hbase/AlignmentHBaseQueryBuilder.java
Java
apache-2.0
10,790
"""Check that available RPM packages match the required versions.""" from openshift_checks import OpenShiftCheck from openshift_checks.mixins import NotContainerizedMixin class PackageVersion(NotContainerizedMixin, OpenShiftCheck): """Check that available RPM packages match the required versions.""" name = ...
wbrefvem/openshift-ansible
roles/openshift_health_checker/openshift_checks/package_version.py
Python
apache-2.0
3,386
/******************************************************************************* * 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 ...
am0e/commons
src/main/java/com/github/am0e/utils/Handler.java
Java
apache-2.0
1,071
from .layout_helpers import *
armstrong/armstrong.core.arm_layout
tests/templatetags/__init__.py
Python
apache-2.0
30
package wx.sunl.entry; /** * WeixinUserInfo(΢ÐÅÓû§µÄ»ù±¾ÐÅÏ¢) * @author Youngman */ public class WeixinOauth2Token { // ÍøÒ³ÊÚȨ½Ó¿Úµ÷ÓÃÆ¾Ö¤ private String accessToken; // ƾ֤ÓÐЧʱ³¤ private int expiresIn; // ÓÃÓÚË¢ÐÂÆ¾Ö¤ private String refreshToken; // Óû§±êʶ private String openI...
Youngman619/cwkz
src/wx/sunl/entry/WeixinOauth2Token.java
Java
apache-2.0
1,035