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
import * as types from '../mutation_types' const initTime = { time: new Date().getDate() }; export default { repositoryList({ commit },data) { commit(types.REPOSITORY_LIST, data) }, updateList({commit},list){ commit(types.UPDATE_LIST,list) } };
fangyang888/vue-project
src/store/actions.js
JavaScript
apache-2.0
273
require 'prime/rails/primerails' if defined?(Rails)
lazaronixon/prime-rails
lib/prime-rails.rb
Ruby
apache-2.0
51
/** * @fileoverview This file is generated by the Angular 2 template compiler. * Do not edit. * @suppress {suspiciousCode,uselessCode,missingProperties} */ /* tslint:disable */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() ...
driftyco/ionic-site
content/docs/v3/demos/src/components/item/item-reorder.ngfactory.js
JavaScript
apache-2.0
8,737
var mercurius = require('../index.js'); var request = require('supertest'); var crypto = require('crypto'); var should = require('chai').should(); var redis = require('../redis.js'); describe('mercurius register', function() { var token; before(function() { return mercurius.ready; }); var origRandomBytes...
marco-c/mercurius
test/testRegister.js
JavaScript
apache-2.0
2,638
using System; using System.Diagnostics; using Windows.Foundation; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xaml.Media; namespace ArcGISRuntimeSDKDotNet_StoreSamples.Samples { /// <summary> /// Shows how to swipe one map over another. /// </summary> //...
Tyshark9/arcgis-runtime-samples-dotnet
src/Store/ArcGISRuntimeSDKDotNet_StoreSamples/Samples/Mapping/Swipe.xaml.cs
C#
apache-2.0
1,647
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2017.08.18 at 01...
chhh/MSFTBX
xsd-jaxb2-maven-build/target/generated-sources/xjc/umich/ms/io/type/mzidentml/ModificationType.java
Java
apache-2.0
6,447
package de.atomfrede.jenkins.domain; import java.io.Serializable; import com.google.gson.Gson; public class TestReport implements Serializable { private static final long serialVersionUID = -974641584792263440L; private int failCount; private int skipCount; private int totalCount; public int getFailCount() {...
atomfrede/animated-octo-adventure
jenkins.service/src/main/java/de/atomfrede/jenkins/domain/TestReport.java
Java
apache-2.0
838
/* * Copyright 2000-2016 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-python
python-impl/src/main/java/com/jetbrains/python/refactoring/PyDefUseUtil.java
Java
apache-2.0
6,432
#!/usr/bin/python """postprocess""" import argparse import ruamel.yaml import os def read(filename): """return file contents""" with open(filename, 'r') as file_in: return file_in.read() def write(filename, cwl): """write to file""" with open(filename, 'w') as file_out: file_out.wr...
rhshah/basicfiltering
vardict/postprocess.py
Python
apache-2.0
1,171
/* * Copyright 2017 requery.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 obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
requery/requery
requery/src/main/java/io/requery/converter/ZonedDateTimeConverter.java
Java
apache-2.0
1,918
package com.codeboy.hadoop.wordcount.progressable; import java.io.IOException; import java.util.StringTokenizer; import org.apache.hadoop.io.IntWritable; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapreduce.Mapper; /*** * take a simple test and split by token * @author codeboyyong * */ public cla...
codeboyyong/hadoop-sample
wordcount_cli_yarn/src/main/java/com/codeboy/hadoop/wordcount/progressable/SlowWCTokenizerMapper.java
Java
apache-2.0
799
/* * Copyright 2016 TopClouders Hungary 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 ...
Gubancs/chess-profile
src/main/java/org/topclouders/chessprofile/component/MailProperties.java
Java
apache-2.0
1,441
#include <stdio.h> int main(void) { int N, n, cnt; char tmp; char big[105][105], small[4][105][105]; while (EOF != scanf("%d %d\n", &N, &n) && N && n) { for (int i = 0; i < N; i++) { for (int j = 0; j < N; j++) { scanf(" %c", &big[i][j]); } } for (int i = 0; i < n; i++) { ...
geniustanley/problem-solving
UVa/10855 - Rotated square.cpp
C++
apache-2.0
1,314
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/> <title>添加字段</title> <hdui bootstrap="true"/> ...
shizhen0632/hdcms
hd/Hdcms/Field/Tpl/Field/add.php
PHP
apache-2.0
3,971
#!/usr/bin/env python import SimpleITK as sitk import skimage as ski import skimage.segmentation import numpy as np import timeit def mask_label_contour(image, seg): """Combine an image and segmentation by masking the segmentation contour. For an input image (scalar or vector), and a multi-label segmentati...
blowekamp/itkSuperPixel
doc/scripts/evaluation_ski.py
Python
apache-2.0
1,526
/* * Copyright 2010 James Pether Sörling * * 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...
Hack23/cia
model.external.worldbank.data.impl/src/main/java/com/hack23/cia/model/external/worldbank/data/impl/DataElement.java
Java
apache-2.0
6,818
package com.fasterxml.jackson.databind.util; import com.fasterxml.jackson.databind.AnnotationIntrospector; import java.io.Serializable; import java.lang.reflect.Method; import java.util.HashMap; public class EnumResolver<T extends Enum<T>> implements Serializable { private static final long serialVersionUID = 1L;...
mmmsplay10/QuizUpWinner
quizup/com/fasterxml/jackson/databind/util/EnumResolver.java
Java
apache-2.0
3,736
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Runtime.Serialization; using System.Text.RegularExpressions; using System.Threading.Tasks; using MOE.Common.Business.Bins; using MOE.Common.Business.DataAggregation; using MOE.Common.Models; namespace MOE.Common.Business...
udotdevelopment/ATSPM
MOE.Common/Business/WCFServiceLibrary/ApproachYellowRedActivationsAggregationOptions.cs
C#
apache-2.0
6,335
<?php namespace app\modules\pages\controllers; use Yii; use app\modules\app\controllers\AppController; class DefaultController extends AppController { public function actionIndex() { return $this->render('index'); } }
FrenzelGmbH/company-website
modules/pages/controllers/DefaultController.php
PHP
apache-2.0
226
/** * Created by king on 15-5-20. * * ch10.net_maxconnections_clientB.js */ console.info("------ net getconnections() ------"); console.info(); var net = require("net"); // TODO: 引入网络(Net)模块 var HOST = '127.0.0.1'; // TODO: 定义服务器地址 var PORT = 8877; // TODO: 定义端口号 /** * 使用net.connect()函数方法创建一个T...
0end1/code_base
Node.js_Codebase/chapter10/ServerMaxConnections/ch10.net_maxconnections_clientB.js
JavaScript
apache-2.0
743
/* * * 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"); ...
adufilie/flex-falcon
compiler.js/src/org/apache/flex/compiler/internal/as/codegen/JSGlobalDirectiveProcessor.java
Java
apache-2.0
14,034
package myapp; import java.io.IOException; import java.util.Date; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public class ThymeleafTemplateTestServlet extends HttpServlet { @Override public void doGet(HttpServletRequest req,...
dsanoster/thymeleaf-template-test
src/main/java/myapp/ThymeleafTemplateTestServlet.java
Java
apache-2.0
947
# -*- cpy-indent-level: 4; indent-tabs-mode: nil -*- # ex: set expandtab softtabstop=4 shiftwidth=4: # # Copyright (C) 2008,2009,2010,2011,2012,2013,2014,2015,2016,2017 Contributor # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # Y...
guillaume-philippon/aquilon
lib/aquilon/worker/commands/add_interface_network_device.py
Python
apache-2.0
2,483
# -*- coding: utf-8 -*- # # 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 #...
Fokko/incubator-airflow
airflow/contrib/operators/s3_list_operator.py
Python
apache-2.0
3,690
package gex.newsml.g2; import lombok.ToString; import java.math.BigDecimal; import java.math.BigInteger; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xm...
gextech/iptc-newsml
src/main/java/gex/newsml/g2/GeoCoordinatesType.java
Java
apache-2.0
10,700
package com.planet_ink.coffee_mud.Abilities.Spells; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.collections.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import com.p...
vjanmey/EpicMudfia
com/planet_ink/coffee_mud/Abilities/Spells/Spell_MarkerPortal.java
Java
apache-2.0
5,758
/* * Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
dagnir/aws-sdk-java
aws-java-sdk-api-gateway/src/main/java/com/amazonaws/services/apigateway/model/transform/DeploymentJsonUnmarshaller.java
Java
apache-2.0
3,671
<?php namespace Regweb\Authorization; interface AuthSchemeInterface { public function getAccessToken(); }
regweb/regweb-api-php
src/Regweb/Authorization/AuthSchemeInterface.php
PHP
apache-2.0
107
<?php /** *qdPM * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not receive a copy of the lic...
arokia/oasis
source/oasis-ems/core/lib/model/doctrine/TasksPriorityTable.class.php
PHP
apache-2.0
1,251
# encoding: UTF-8 # Copyright 2012 Twitter, Inc # http://www.apache.org/licenses/LICENSE-2.0 require 'spec_helper' include TwitterCldr::Shared describe Territory do let(:code) { '013' } let(:territory) { Territory.new(code) } describe '#parents' do let(:parents) { %w[013 territory parents] } it 'del...
surfdome/twitter-cldr-rb
spec/shared/territory_spec.rb
Ruby
apache-2.0
1,060
/* * Copyright (C) 2019 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...
androidx/media
libraries/extractor/src/main/java/androidx/media3/extractor/flac/package-info.java
Java
apache-2.0
720
// Copyright 2015 The Chromium OS Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "file.h" #include <errno.h> #include <fcntl.h> #ifdef __linux__ #include <linux/fs.h> #endif // __linux__ #include <string.h> #include <sys...
LuaExtend/LuaExtend
tools/bsdiff_bzip/android_bsdiff/file.cpp
C++
apache-2.0
3,032
from processor import Processor file_name = "program_samples\hello.hex" processor = Processor(file_name) processor.load() processor.run() if __name__ == '__main__': pass
AlexLitvino/i8080_simulator
runner.py
Python
apache-2.0
177
using System.Web; using System.Web.Optimization; namespace ProApps.Web.Mvc { public class BundleConfig { // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862 public static void RegisterBundles(BundleCollection bundles) { bundles.Add(new S...
alprise/proapps
ProApps.Web.Mvc/App_Start/BundleConfig.cs
C#
apache-2.0
1,579
/** * */ package autor.builder.xml; import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IMarker; import org.eclipse.core.runtime.CoreException; import org.xml.sax.helpers.DefaultHandler; import autor.builder.message.ConsoleHelper; import autor.builder.utils.ConsoLevel; /** * @author shanli...
Ronshanlin/autor
src/autor/builder/xml/XmlDefaultHandler.java
Java
apache-2.0
1,091
/* * proto/v1beta1/grafeas.proto * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: version not set * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package grafeas import ( "context" "io/ioutil" "...
grafeas/client-go
0.1.0/api_grafeas_v1_beta1.go
GO
apache-2.0
52,653
package application.beadando3.view; import application.beadando3.services.implementations.PingModelServiceImplementation; import java.time.LocalDateTime; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import application.beadando3.Main; import application.beadando3.DAO.PingModelDAO; import application.bea...
danida/beadando
src/main/java/application/beadando3/view/PingView.java
Java
apache-2.0
4,485
/* (C) Copyright 2015 Laran Evans */ package com.laranevans.warehouse.web.exception; import java.util.ArrayList; import java.util.List; public class JsonFriendlyErrors { private List<JsonFriendlyError> errors = new ArrayList<>(); public JsonFriendlyErrors(){} public JsonFriendlyErrors(List<JsonFriendlyEr...
laran/warehouse
warehouse/src/main/java/com/laranevans/warehouse/web/exception/JsonFriendlyErrors.java
Java
apache-2.0
730
package main; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import java.util.ArrayList; import javax.imageio.ImageIO; public class SpriteSheet { private ArrayList<BufferedImage> subImages = new ArrayList<BufferedImage>(); public SpriteSheet(String imgStr, int index, int ...
pehnquihn/pongmmo
Pong/src/main/SpriteSheet.java
Java
apache-2.0
665
#!/usr/local/bin/python2.7 # -*- coding: utf-8 -*- __author__ = 'https://github.com/password123456/' import sys reload(sys) sys.setdefaultencoding('utf-8') import requests import urllib import urllib2 import json import datetime class bcolors: HEADER = '\033[95m' OKBLUE = '\033[94m' OKGREEN = '\033[92m' ...
password123456/lotto
get_recent_lotto.py
Python
apache-2.0
1,787
/* * Licensed to the Sakai Foundation (SF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The SF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use th...
sakai-mirror/k2
agnostic/shared/src/main/java/org/sakaiproject/kernel/api/ClassLoaderService.java
Java
apache-2.0
1,593
/* * Copyright (c) Created by Cody.yi on 2016/9/5. */ package com.cody.handler.framework.viewmodel; /** * Created by cody.yi on 2016/8/24. * <p> * 不包含头部的list view * * @param <ItemViewModel> ListView中的item ViewModel */ public class ListWithSearchViewModel<ItemViewModel extends XItemViewModel> extends ListView...
codyer/CleanFramework
handler/src/main/java/com/cody/handler/framework/viewmodel/ListWithSearchViewModel.java
Java
apache-2.0
589
// Copyright © 2013-2020 Andy Goryachev <andy@goryachev.com> package goryachev.common.io; public class BitStreamCommon { protected static final int BITS_PER_BYTE = 8; protected static final int MASK[] = { 0x00000000, 0x00000001, 0x00000003, 0x00000007, 0x0000000f, 0x0000001f, 0x0...
andy-goryachev/JsonPretty
src/goryachev/common/io/BitStreamCommon.java
Java
apache-2.0
828
package br.ufrn.Myeclone.model; import javax.persistence.Entity; @Entity public class Acao extends Tarefa{ }
JorgePereiraUFRN/Myeclone
Myeclone/src/br/ufrn/Myeclone/model/Acao.java
Java
apache-2.0
123
var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; var __decorate = (this && this.__decorate) || function (decora...
aciccarello/typedoc
lib/converter/types/alias.js
JavaScript
apache-2.0
2,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...
jaikiran/ant-ivy
src/java/org/apache/ivy/plugins/conflict/AbstractConflictManager.java
Java
apache-2.0
1,770
/* Copyright 2015 1060 Research Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
tonbut/polestar
module/urn.io.polestar/src/io/polestar/data/login/AuthenticationDataAccessor.java
Java
apache-2.0
2,279
using System.Collections.Generic; namespace Angular_ASPNETCore_Seed.Models { public struct PagingResult<T> { public IEnumerable<T> Records { get; set; } public int TotalRecords { get; set; } public PagingResult(IEnumerable<T> items, int totalRecords) { TotalRecords...
HadwinJ/PerfectDemo
PerfectSolution/Angular_ASPNETCore_Seed/Models/PagingResult.cs
C#
apache-2.0
386
/* * Copyright (C) 2015-2021 KeepSafe Software * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
KeepSafe/dexcount-gradle-plugin
src/main/java/com/getkeepsafe/dexcount/plugin/TaskApplicators.java
Java
apache-2.0
1,649
/** * @file * Declares the array type. */ #pragma once #include "tuple.hpp" #include "data.hpp" #include "../values/array.hpp" #include "../../cast.hpp" #include <boost/functional/hash.hpp> #include <boost/variant.hpp> #include <limits> #include <ostream> #include <functional> namespace puppet { namespace runtime ...
iankronquist/puppetcpp
lib/include/puppet/runtime/types/array.hpp
C++
apache-2.0
7,145
public class Test5 { public static void main(String[] args) { Goods iphone = new Iphone(); iphone.setName("iphone"); iphone.setPrice(5000.0); Goods shoes =new Shoes(); shoes.setName("鞋"); shoes.setPrice(123.0); Item item =new Item(); item.setGoods(iphone); item.setAmount(2); Ite...
JAVA201708/Homework
201709/20170915/Team1/Malanlan/编程题/ex05/Test5.java
Java
apache-2.0
2,394
/** * 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...
segfault/apache_cassandra
src/java/org/apache/cassandra/db/HintedHandOffManager.java
Java
apache-2.0
15,835
/* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this f...
Tochemey/NetFreeSwitch.Framework
NetFreeSwitch.Framework/FreeSwitch/Commands/DivertEventsCommand.cs
C#
apache-2.0
1,199
# Copyright (c) 2010-2011 OpenStack, 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 ...
genius1611/Keystone
keystone/logic/types/user.py
Python
apache-2.0
9,678
// Copyright 2022 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 applicable ...
apigee/registry
server/registry/internal/storage/get.go
GO
apache-2.0
5,445
package com.cody.app.framework.hybrid.core; import com.cody.xf.common.NotProguard; /** * Created by cody.yi on 2017/4/13. * 所有Js处理类实现这个接口 * Js调用的方法必须按照一定的格式定义,否则不生效 * 格式: * public static void ***(WebView webView, JsonObject data, JsCallback callback){} */ @NotProguard public interface JsHandler { }
codyer/CleanFramework
app/src/main/java/com/cody/app/framework/hybrid/core/JsHandler.java
Java
apache-2.0
380
var SPI = require('spi'); var extend = require('util')._extend; var openSpi = function() { var device = '/dev/spidev0.0'; return new SPI.Spi(device, [], function(s) { s.open(); }); }; var Adc = function(options) { var self = this; var settings = extend( { voltage: 3.3, //3.3V by ...
anha1/mcp-adc
mcp-adc.js
JavaScript
apache-2.0
2,219
<?php @session_start(); @require_once("db.php"); @header("Content-Type: application/json; charset=utf8"); if(!empty($_SESSION['username'])) { $username = $_SESSION['username']; $cn = connect(); $valid = true; $isPasswordCorrect = false; $message = ""; // Checking form data. if(!empty($_POST['changePasswordNewPa...
gluons/Cooking-Community
changepassword.php
PHP
apache-2.0
1,922
# Copyright (c) 2015 The Pycroft Authors. See the AUTHORS file. # This file is part of the Pycroft project and licensed under the terms of # the Apache License, Version 2.0. See the LICENSE file for details. from sqlalchemy import Column, ForeignKey, CheckConstraint, \ PrimaryKeyConstraint, func, or_, and_, true, ...
agdsn/pycroft
pycroft/model/traffic.py
Python
apache-2.0
8,996
# Copyright (c) 2013 MaestroDev. All rights reserved. require 'maestro_plugin' require 'maestro_shell' require 'open-uri' require 'xmlsimple' module MaestroDev module Plugin class MavenWorker < Maestro::MaestroWorker def execute validate_execute_parameters Maestro.log.info "Inputs: goal...
maestrodev/maestro-maven-plugin
src/maven_worker.rb
Ruby
apache-2.0
8,897
var nbinput = 1; var $collectionHolder; $(function() { var $alreadyUsed = $("#alreadyExistVar").html(); if ($alreadyUsed) { showDialog("#some-exists-dialog"); } // Get the ul that holds the collection of tags $collectionHolder = $('#inputBlock'); // count the current form inp...
adrienManikon/docmanager
src/SW/DocManagerBundle/Resources/public/js/upload.js
JavaScript
apache-2.0
4,586
package org.jfrog.hudson.pipeline.scripted.steps.conan; import com.google.inject.Inject; import hudson.EnvVars; import hudson.Extension; import hudson.FilePath; import hudson.Launcher; import hudson.model.Run; import hudson.model.TaskListener; import hudson.util.ArgumentListBuilder; import org.apache.commons.lang.Stri...
AlexeiVainshtein/jenkins-artifactory-plugin
src/main/java/org/jfrog/hudson/pipeline/scripted/steps/conan/InitConanClientStep.java
Java
apache-2.0
4,174
package it.unibz.inf.ontop.ontology.impl; /* * #%L * ontop-obdalib-core * %% * Copyright (C) 2009 - 2014 Free University of Bozen-Bolzano * %% * 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 ...
srapisarda/ontop
obdalib-core/src/main/java/it/unibz/inf/ontop/ontology/impl/DataSomeValuesFromImpl.java
Java
apache-2.0
2,538
package org.deepjava.runtime.mpc555; import org.deepjava.runtime.ppc32.Ippc32; // Auto generated file (2021-02-17 13:57:50) public interface Impc555 extends Ippc32 { // System constants of CPU mpc555 public static final int SRR1init = 0x3802; public static final int stackSize = 0x2000; public static final int s...
deepjava/runtime-library
src/org/deepjava/runtime/mpc555/Impc555.java
Java
apache-2.0
17,248
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using Roslyn.Utilities; namespace Microsoft.Co...
ericfe-ms/roslyn
src/Compilers/CSharp/Portable/CSharpParseOptions.cs
C#
apache-2.0
8,998
/* */ "format esm"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r...
tzerb/Learning
WebApplication3/src/WebApplication3/jspm_packages/npm/angular2@2.0.0-beta.17/es6/prod/src/core/linker/debug_context.js
JavaScript
apache-2.0
4,102
<?php class Radios_FormItem_Core extends FormItem { protected function options() { return $this->options; } protected function inputType() { return "radio"; } };
erichoglander/qf
core/form_item/radios_form_item.php
PHP
apache-2.0
193
/* Copyright 2015 Jenna Hatchard 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...
hatchard/Assignment1-CMPUT301
app/src/main/java/com/mycompany/assignment1/SortStats.java
Java
apache-2.0
4,882
/** * */ /** * @author Vladimir Kornienko * */ package org.openntf.red.security.authorization;
hyarthi/project-red
src/java/org.openntf.red.main/src/org/openntf/red/security/authorization/package-info.java
Java
apache-2.0
100
package io.fabric8.kubernetes.api.model; import java.util.HashMap; import java.util.Map; import com.fasterxml.jackson.annotation.JsonAnyGetter; import com.fasterxml.jackson.annotation.JsonAnySetter; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; import com.fas...
fabric8io/kubernetes-client
kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ServiceAccountTokenProjection.java
Java
apache-2.0
2,936
"use strict"; var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; var __decorate = (this && this.__decorate) || fu...
tzerb/Learning
WebApplication3/src/WebApplication3/jspm_packages/npm/dist/js/cjs/src/mock/view_resolver_mock.js
JavaScript
apache-2.0
6,175
// =========================================================================================================== // // Class/Library: ListBox Control - Main Script // Author: Michael Marzilli ( http://www.linkedin.com/in/michaelmarzilli , http://www.develteam.com/Developer/Rowell/Portfolio ) // Created: J...
RowellKataan/Unity-List-Box
Assets/Unity UI Controls/Scripts/ListBox Scripts/ListBoxControl.cs
C#
apache-2.0
40,922
package org.docksidestage.dockside.dbflute.whitebox.cbean.bigartist.innerjoin; import org.dbflute.cbean.result.ListResultBean; import org.docksidestage.dockside.dbflute.bsentity.dbmeta.MemberAddressDbm; import org.docksidestage.dockside.dbflute.bsentity.dbmeta.MemberDbm; import org.docksidestage.dockside.dbflute.bsent...
dbflute-test/dbflute-test-active-dockside
src/test/java/org/docksidestage/dockside/dbflute/whitebox/cbean/bigartist/innerjoin/WxCBInnerJoinStructuralPossibleTest.java
Java
apache-2.0
10,990
package com.mx.dic.holder; import javax.sql.DataSource; public class DataSourceHolder { public static DataSource dataSource=null; public static DataSource getDataSource() { return dataSource; } public void setDataSource(DataSource dataSource) { DataSourceHolder.dataSource = dataSource; } }
minxinjituan/micro
dicServiceBean/src/main/java/com/mx/dic/holder/DataSourceHolder.java
Java
apache-2.0
314
/* * Copyright (c) 2017 by E. A. Graham, Jr. * * 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...
EAGrahamJr/jinks
src/main/java/org/thevortex/lighting/jinks/devices/hubs/HubLastReading.java
Java
apache-2.0
2,817
package com.planet_ink.coffee_mud.Items.Basic; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.collections.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import com.planet...
vjanmey/EpicMudfia
com/planet_ink/coffee_mud/Items/Basic/Chair.java
Java
apache-2.0
1,893
/* * Copyright 2017 Young Digital Planet S.A. * * 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...
YoungDigitalPlanet/empiria.player
src/test/java/eu/ydp/empiria/player/client/module/sourcelist/view/SourceListViewImplTest.java
Java
apache-2.0
8,356
// Copyright (c) Martin Costello, 2017. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. using Alexa.NET.Request; using Alexa.NET.Request.Type; using Alexa.NET.Response; using Amazon.Lambda.Core; namespace MartinCostello.LondonTravel...
martincostello/alexa-london-travel
test/LondonTravel.Skill.Tests/AlexaFunctionTests.cs
C#
apache-2.0
3,076
package com.cloudera.sa.hcu.io.utils; import java.io.File; import java.util.ArrayList; public class LocalFileUtils { public static File[] createFileArray(String[] filePathArray) { ArrayList<File> fileList = new ArrayList<File>(); File[] tempFileArray; for (String filePath: filePathArray) { File orig...
tmalaska/hadcom.utils
src/main/java/com/cloudera/sa/hcu/io/utils/LocalFileUtils.java
Java
apache-2.0
1,160
require 'ffi' require_relative '../sodium/utils' require_relative '../random_bytes' require_relative '../sodium/secret_buffer' require_relative '../sodium' module Crypto module SecretBox extend FFI::Library extend Sodium::Utils ffi_lib :libsodium attach_function :primitive, :crypto_secretbox_pri...
Asmod4n/ruby-ffi-libsodium
lib/crypto/secret_box.rb
Ruby
apache-2.0
5,944
/* * Copyright 2014 Massachusetts General Hospital * * 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...
domeo/DomeoClient
src/org/mindinformatics/gwt/domeo/plugins/persistence/annotopia/serializers/SAnnotationSetSerializer.java
Java
apache-2.0
5,833
# Copyright © 2012 The Pennsylvania State University # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
ndlib/scholarsphere
app/models/batch_update_job.rb
Ruby
apache-2.0
2,932
/* * 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 ...
endian675/ignite
modules/platforms/dotnet/Apache.Ignite.Core/Impl/Transactions/TransactionImpl.cs
C#
apache-2.0
13,246
package com.nwea.dao; import com.nwea.bean.Blogpost; import java.sql.SQLException; /** * This interface will be used to invoke the database related operations. * * * Created by tahmidchowdhury on 2/9/17. */ public interface BlogpostDAO { //This method returns all the Blogposts from the database public ...
tahmid29/blogpostapi
src/main/java/com/nwea/dao/BlogpostDAO.java
Java
apache-2.0
502
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/api/quota.proto require 'google/protobuf' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/api/quota.proto", :syntax => :proto3) do add_message "google.api.Quota" do repeated :limits, :message, 3, "google....
googleapis/common-protos-ruby
googleapis-common-protos-types/lib/google/api/quota_pb.rb
Ruby
apache-2.0
1,330
<?php /** * Copyright 2015 yannick. * 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 ...
yroffin/wordpress
themes/yrosimple/inc/bootstrap.php
PHP
apache-2.0
12,965
package io.github.tramchamploo.bufferslayer; import io.github.tramchamploo.bufferslayer.Message.MessageKey; import io.github.tramchamploo.bufferslayer.OverflowStrategy.Strategy; import java.util.concurrent.TimeUnit; import org.openjdk.jmh.annotations.BenchmarkMode; import org.openjdk.jmh.annotations.Fork; import org.o...
tramchamploo/buffer-slayer
benchmark/src/main/java/io/github/tramchamploo/bufferslayer/ConcurrentSizeBoundedQueueBenchmark.java
Java
apache-2.0
1,452
/* * 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 to...
tsegismont/simone
src/main/java/org/rhq/simone/system/SystemServiceFactory.java
Java
apache-2.0
1,715
// app/routes/form.js import Ember from 'ember'; export default Ember.Route.extend({ actions: { willTransition: function(transition) { // 如果是使用this.get('key')获取不了页面输入值,因为不是通过action提交表单的 var v = this.controller.get('firstName'); // 任意获取一个作为判断表单输入值 if (v && !confirm("你确定要离开这个页面吗??"))...
ubuntuvim/my_emberjs_code
chapter3_routes/app/routes/form.js
JavaScript
apache-2.0
532
// Copyright 2000-2019 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.psi; import com.intellij.model.SymbolResolveResult; import com.intellij.util.containers.ContainerUtil; import org.jetbrains.annotations.NotNull; import java...
leafclick/intellij-community
platform/core-api/src/com/intellij/psi/PsiPolyVariantReference.java
Java
apache-2.0
1,460
/* General Loops - Abstract Case - Free variable */ function f1() { return 1; } function f2() { return 2; } function f3() { return 3; } var b = !Date.now(); // non-deterministic boolean value. var o1 = {x: f1, y: f2, z: f3}; var o2 = {}; var arr = []; if (b) { arr.push("x"); arr.push("y"); } else { arr.pu...
cs-au-dk/TAJS
test-resources/src/micro-different-loop-kinds/AGHeap.js
JavaScript
apache-2.0
813
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ISAAR.MSolve.FEM.Entities { public class Cluster { private readonly IList<Subdomain> subdomains = new List<Subdomain>(); public IList<Subdomain> Subdomains { get { return subdom...
GoatOfRafin/MSolve
ISAAR.MSolve.FEM/Entities/Cluster.cs
C#
apache-2.0
385
<?php namespace Atos\MissionRecensementBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * Mission * * @ORM\Table() * @ORM\Entity(repositoryClass="Atos\MissionRecensementBundle\Entity\MissionRepository") */ class Mission { /** * @var integer * * @ORM\Column(name="id", type="integer") *...
kfrapin/mission-recensement
src/Atos/MissionRecensementBundle/Entity/Mission.php
PHP
apache-2.0
9,462
function f() { return 42} TAJS_assert(f.call.call.call(f) === 42) TAJS_assert(f.apply.apply.apply(f) === 42) TAJS_assert(Function.prototype.apply.apply(f) == 42) TAJS_dumpValue(f.apply.apply.apply(f)) function g(x) { return x + 1} TAJS_assert(Function.prototype.call(g,45) === undefined) TAJS_assert(isNaN(g.cal...
cs-au-dk/TAJS
test-resources/src/micro/test109.js
JavaScript
apache-2.0
514
#-*- coding: utf-8 -*- ''' Created on Jul 4, 2013 @author: jin ''' from django.contrib import admin from apps.agent.models import Client, RecommendRecord class ClientAdmin(admin.ModelAdmin): search_fields = ('username','user_username','IDCard') class RecommendRecordAdmin(admin.ModelAdmin): search_fields = ...
SnailJin/house
apps/agent/admin.py
Python
apache-2.0
461
package com.ibuildapp.romanblack.CustomFormPlugin.xmlparser; /** * Entity class that form submit button. */ public class FormButton { private String label = ""; /** * Returns the button label. * @return the label */ public String getLabel() { return label; } /** * S...
iBuildApp/android_module_CustomForm
src/main/java/com/ibuildapp/romanblack/CustomFormPlugin/xmlparser/FormButton.java
Java
apache-2.0
464
/* * Copyright (c) Created by Cody.yi on 2016/8/26. */ package com.cody.app.framework.fragment; import android.databinding.ViewDataBinding; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; im...
codyer/CleanFramework
app/src/main/java/com/cody/app/framework/fragment/WithHeaderFragment.java
Java
apache-2.0
1,317
<?php /* mod_siokara : Pixmicat! siokara management subset (Alpha) by: scribe */ class mod_siokara extends ModuleHelper { private $mypage; private $LANGUAGE=array( 'zh_TW' => array( 'siokara_admin_fsage' => '強制sage', 'siokara_admin_ufsage' => '解除強制sage', 'siokara_admin_htmb' => '替換縮圖', ...
miyorineko/pixmicat-materialize
module/mod_siokara.php
PHP
artistic-2.0
10,573
<?php class view_conf extends admin_common { public $message = false; private function set_tinymce_vars($section=array()) { $tmp = 'var all_tinymce=" '; //$tmpA = array('tinymce'); $tmp .='";'; $tmp .= 'var content_css_set="'.make_path("css","admin","css",false,true).'";'; ...
eos-13/YaCMS
main/admin/view/conf.php
PHP
artistic-2.0
6,240
#!/usr/bin/env python """ Created by _UserName_ 11/28/2013 """ import Connect, DB import uuid def Register(): # Generate A Unique Idenfifier ident = uuid.uuid4().hex # Allow For Database Manipulation database = DB.DB() # Create Database database.create() # Add Self To Datab...
Us3rNam/F2F-Network
Register.py
Python
artistic-2.0
398