code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
4
991
language
stringclasses
9 values
license
stringclasses
15 values
size
int32
3
1.05M
package com.suscipio_solutions.consecro_mud.WebMacros; import java.util.Enumeration; import com.suscipio_solutions.consecro_mud.Common.interfaces.PlayerAccount; import com.suscipio_solutions.consecro_mud.core.CMLib; import com.suscipio_solutions.consecro_mud.core.CMProps; import com.suscipio_solutions.consecro_web.int...
ConsecroMUD/ConsecroMUD
com/suscipio_solutions/consecro_mud/WebMacros/AccountNext.java
Java
apache-2.0
1,502
package kr.dogfoot.hwplib.reader.bodytext.paragraph.control; import kr.dogfoot.hwplib.object.bodytext.control.ControlEquation; import kr.dogfoot.hwplib.object.etc.HWPTag; import kr.dogfoot.hwplib.reader.bodytext.paragraph.control.eqed.ForEQEdit; import kr.dogfoot.hwplib.reader.bodytext.paragraph.control.gso.part.ForCa...
neolord0/hwplib
src/main/java/kr/dogfoot/hwplib/reader/bodytext/paragraph/control/ForControlEquation.java
Java
apache-2.0
2,741
/* * Copyright (c) 2017. tangzx(love.tangzx@qq.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
EmmyLua/IntelliJ-EmmyLua
src/main/java/com/tang/intellij/lua/debugger/DebuggerType.java
Java
apache-2.0
1,217
module XDR::Concerns::ConvertsToXDR include XDR::Concerns::ReadsBytes # # Serialized the provided `val` to xdr and writes it to `io` # # @param val [Object] The object to serialize # @param io [IO] an IO object to write to # def write(val, io) raise NotImplementedError, "implement in including c...
Payshare/ruby-xdr
lib/xdr/concerns/converts_to_xdr.rb
Ruby
apache-2.0
1,552
package com.orionplatform.math.statistics.classes; import java.util.Map; import com.orionplatform.core.exception.Assert; import com.orionplatform.data.data_structures.list.OrionList; import com.orionplatform.math.MathRule; import com.orionplatform.math.geometry.vector.Vector; import com.orionplatform.math.geometry.vec...
orioncode/orionplatform
orion_math/orion_math_core/src/main/java/com/orionplatform/math/statistics/classes/StatisticalClassesRules.java
Java
apache-2.0
2,021
package me.tatarka.fakeartist.api.listeners; import com.shephertz.app42.gaming.multiplayer.client.events.AllRoomsEvent; import com.shephertz.app42.gaming.multiplayer.client.events.AllUsersEvent; import com.shephertz.app42.gaming.multiplayer.client.events.LiveUserInfoEvent; import com.shephertz.app42.gaming.multiplayer...
evant/fake-artist
app/src/main/java/me/tatarka/fakeartist/api/listeners/ZoneRequestAdapter.java
Java
apache-2.0
1,508
define("clickableguide/bootstrap-3", ["jquery-1", "istats-1", "clickableguide/pubsub"], function(e, s) { var t = function() { if (/iP(hone|od|ad)/.test(navigator.platform)) { var e = navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/); return [parseInt(e[1], 10), parseInt(e[2], 10),...
BBCVisualJournalism/newsspec_11531
russell_sq/ns_clickableguide_all-russell_sq.js
JavaScript
apache-2.0
20,724
/* * Copyright 2000-2016 Vaadin Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
Legioth/vaadin
server/src/main/java/com/vaadin/server/communication/UidlWriter.java
Java
apache-2.0
13,300
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Wizchat.Models { public class LoginRequest { public string Name { get; set; } public string ConnectionId { get; set; } } }
nimesh89/wizchat
Wizchat/Models/LoginRequest.cs
C#
apache-2.0
263
/* * Copyright 2013-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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
spring-cloud/spring-cloud-contract
samples/standalone/dsl/http-server/src/main/java/com/example/fraud/FraudDetectionController.java
Java
apache-2.0
2,268
/** * 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...
LiuJianan/Graduate-Graph
src/java/com/chinamobile/bcbsp/io/RecordWriter.java
Java
apache-2.0
1,997
package com.foxconn.crd.common.adapter; import android.view.View; /** * Created by qinicy on 16/1/28. */ public interface OnItemClickListener<T> { public void onClick(View view, T obj); }
qinicy/DailyQuery
common/src/main/java/com/foxconn/crd/common/adapter/OnItemClickListener.java
Java
apache-2.0
196
/** * 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...
mocc/bookkeeper-lab
hedwig-client-jms/src/test/java/org/apache/activemq/JmsTopicSendSameMessageTest.java
Java
apache-2.0
1,730
/* * Copyright © 2013-2018 camunda services GmbH and various authors (info@camunda.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2...
xasx/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/migration/MigrateProcessInstanceCmd.java
Java
apache-2.0
17,032
class Egg{ private Yolk y; protected class Yolk{ public Yolk() { System.out.println("egg.yolk"); } } public Egg() { System.out.println("new egg"); y=new Yolk(); } } public class BigEgg extends Egg{ public class Yolk{ public Yolk() { System.out.println("Bigegg.yolk"); } } publ...
WuSicheng54321/Thinking-in-Java-4th
ThinkingInJava10/src/BigEgg.java
Java
apache-2.0
379
/* * Copyright 2010-2015 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" file...
kahkeng/aws-sdk-cpp
aws-cpp-sdk-ec2/source/model/ReservedInstancesListing.cpp
C++
apache-2.0
9,310
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Dy...
anbinhtrong/DynamicLinQWithExpressionTree
DynamicLinqWithExpressionTree/Properties/AssemblyInfo.cs
C#
apache-2.0
1,434
namespace RAML.Parser { public enum SpecificationType { RAML, RAML08, OASJSON, OASYAML, OAS3JSON, OAS3YAML } }
raml-org/raml-dotnet-parser
source/RAML.Parser/SpecificationType.cs
C#
apache-2.0
173
# frozen_string_literal: true def windows_facts { 'docker_program_data_path' => 'C:/ProgramData', 'docker_program_files_path' => 'C:/Program Files', 'docker_systemroot' => 'C:/Windows', 'docker_user_temp_path' => 'C:/Users/Administrator/AppData/Local/Temp', } end
puppetlabs/puppetlabs-docker
spec/helper/windows_facts.rb
Ruby
apache-2.0
298
package uk.ac.ebi.quickgo.rest.search.query; import com.google.common.base.Preconditions; /** * A simple abstract field representation. * * Created 11/02/16 * @author Edd */ public abstract class AbstractField implements Field { protected String field; public AbstractField(String field) { Precon...
ebi-uniprot/QuickGOBE
rest-common/src/main/java/uk/ac/ebi/quickgo/rest/search/query/AbstractField.java
Java
apache-2.0
1,089
<?php class numbers_data_accounting_gl_model_list_setting_source_codes extends numbers_frontend_html_list_base { public $list_link = 'source_codes'; public $model = 'numbers_data_accounting_gl_model_setting_source_codes'; public $columns = [ 'offset_number' => ['name' => '&nbsp;', 'width' => '1%', 'align' => 'rig...
volodymyr-volynets/data
accounting/gl/model/list/setting/source/codes.php
PHP
apache-2.0
1,661
<?php use Phinx\Migration\AbstractMigration; class InitDb extends AbstractMigration { /** * Migrate Up. */ public function up() { $this->query("CREATE TABLE `suggestions_types` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `type` varchar(32)...
GreaterLaLa/greaterlala.in
app/migrations/20140329195744_init_db.php
PHP
apache-2.0
1,309
<?php /** * Created by PhpStorm. * User: james * Date: 2017/10/26 * Time: 21:56 */ namespace app\admin\validate; class GradeValidate extends BaseValidate { protected $rule = [ 'grade' => 'require|number' ]; protected $message = [ 'grade.number' => '参数不合法', 'grade.require' => '缺少参数' ...
jamesXG/luoyang
application/admin/validate/GradeValidate.php
PHP
apache-2.0
345
/** * Methods to export/dump the current de-normalised table model as flat table. */ package org.eu.eark.denormalizedb.dump; // TODO implement various dumps like CSV, HBase // load into HBase as one table per exploded table // later load into Lily as one Record type
eark-project/denormalize-db
src/main/java/org/eu/eark/denormalizedb/dump/package-info.java
Java
apache-2.0
270
/* * Copyright 2014-present Open Networking Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
sdnwiselab/onos
cli/src/main/java/org/onosproject/cli/net/WipeOutCommand.java
Java
apache-2.0
6,233
package de.hpi.bpmn.serialization.erdf.templates; import de.hpi.bpmn.DiagramObject; import de.hpi.bpmn.EndMultipleEvent; import de.hpi.bpmn.serialization.erdf.ERDFSerializationContext; public class EndMultipleEventTemplate extends NonConnectorTemplate { private static BPMN2ERDFTemplate instance; public static BPM...
grasscrm/gdesigner
editor/server/src/de/hpi/bpmn/serialization/erdf/templates/EndMultipleEventTemplate.java
Java
apache-2.0
1,020
package com.ucar.weex.commons.adapter; import com.taobao.weex.adapter.IWXJSExceptionAdapter; import com.taobao.weex.common.WXJSExceptionInfo; /** * Created by chenxi.cui on 2017/7/27. */ public class JSExceptionAdapter implements IWXJSExceptionAdapter { @Override public void onJSException(WXJSExceptionInfo...
weexext/ucar-weex-core
platforms/android/uwx/src/main/java/com/ucar/weex/commons/adapter/JSExceptionAdapter.java
Java
apache-2.0
387
package com.github.romankh3.image.comparison; import com.github.romankh3.image.comparison.model.ExcludedAreas; import com.github.romankh3.image.comparison.model.ImageComparisonResult; import com.github.romankh3.image.comparison.model.ImageComparisonState; import com.github.romankh3.image.comparison.model.Rectangle; i...
romankh3/image-comparison
src/main/java/com/github/romankh3/image/comparison/ImageComparison.java
Java
apache-2.0
24,161
/* * Copyright 2009-2016 European Molecular Biology Laboratory * * 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...
arrayexpress/annotare2
app/om/src/test/java/uk/ac/ebi/fg/annotare2/db/model/EffectiveAclTest.java
Java
apache-2.0
2,655
/* * 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 ...
nextreports/nextreports-server
src/ro/nextreports/server/web/common/util/FirebugLogger.java
Java
apache-2.0
1,276
package com.mqvisualizer.core.message.body; import com.mqvisualizer.model.message.JmsObjectMessage; import javafx.beans.value.ObservableValue; import java.io.Serializable; /** * Created by Mykolas on 2014-09-11. */ public class JmsObjectMessageBodyViewModel extends JmsMessageBodyViewModel<Serializable> { priv...
SilentScope/mq-visualizer
src/mq-visualizer-core/src/main/java/com/mqvisualizer/core/message/body/JmsObjectMessageBodyViewModel.java
Java
apache-2.0
859
package org.gradle.test.performance.mediummonolithicjavaproject.p219; import org.junit.Test; import static org.junit.Assert.*; public class Test4388 { Production4388 objectUnderTest = new Production4388(); @Test public void testProperty0() { String value = "value"; objectUnderTest....
oehme/analysing-gradle-performance
my-app/src/test/java/org/gradle/test/performance/mediummonolithicjavaproject/p219/Test4388.java
Java
apache-2.0
2,111
require 'spec_helper' require 'rack/test' module Bosh::Director module Api describe Controllers::LinkProvidersController do include Rack::Test::Methods subject(:app) { described_class.new(config) } let(:config) do config = Config.load_hash(SpecHelper.spec_get_director_config) i...
barthy1/bosh
src/bosh-director/spec/unit/api/controllers/link_providers_controller_spec.rb
Ruby
apache-2.0
5,581
package com.fasterxml.jackson.dataformat.yaml; import com.fasterxml.jackson.core.JsonFactory; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonToken; import com.fasterxml.jackson.core.format.DataFormatDetector; import com.fasterxml.jackson.core.format.DataFormatMatcher; import com.fa...
jprante/elasticsearch-client
jackson-dataformat-yaml/src/test/java/com/fasterxml/jackson/dataformat/yaml/FormatDetectionTest.java
Java
apache-2.0
2,251
package com.github.ccook.gtk.library; import com.github.ccook.gtk.model.GdkEvent; import com.github.ccook.gtk.model.GtkTextDirection; import com.github.ccook.gtk.model.PangoLanguage; import com.github.ccook.gtk.model.object.GtkWidget; import com.sun.jna.Callback; import com.sun.jna.Library; import com.sun.jna.Native; ...
Ccook/gtk-java-bindings
src/main/java/com/github/ccook/gtk/library/GtkLibrary.java
Java
apache-2.0
12,211
/* * Copyright (c) 2015 Andrew Coates * * 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...
datalorax/populace
populace-core/src/test/java/org/datalorax/populace/core/walk/inspector/annotation/ChainedAnnotationInspectorTest.java
Java
apache-2.0
4,782
/* * 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 ...
citlab/vs.msc.ws14
flink-0-7-custom/flink-addons/flink-spargel/src/main/java/org/apache/flink/spargel/java/record/MessageIterator.java
Java
apache-2.0
1,663
using Reyx.Web.Workshop.Knockout.Data.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Reyx.Web.Workshop.Knockout { public class Settings { private const string SETTINGS_USER = "Settings.User"; public static User User ...
reyx/Reyx.Web.Workshop.Knockout
Reyx.Web.Workshop.Knockout/Settings.cs
C#
apache-2.0
605
/* * Copyright 2010-2012 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...
frsyuki/aws-sdk-for-java
src/main/java/com/amazonaws/services/ec2/model/transform/ReplaceNetworkAclAssociationRequestMarshaller.java
Java
apache-2.0
2,234
/** * Module that controls the Dataverse node settings. Includes Knockout view-model * for syncing data. */ var ko = require('knockout'); var bootbox = require('bootbox'); require('knockout.punches'); var Raven = require('raven-js'); var osfHelpers = require('js/osfHelpers'); ko.punches.enableAll(); function Vie...
himanshuo/osf.io
website/addons/dataverse/static/dataverseNodeConfig.js
JavaScript
apache-2.0
14,334
/* * Copyright (c) 2005-2009 Grameen Foundation USA * 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...
mifos/1.4.x
application/src/main/java/org/mifos/application/fees/util/helpers/FeePayment.java
Java
apache-2.0
1,490
package id.dreamfighter.android.utils; import org.apache.http.cookie.Cookie; import org.apache.http.impl.cookie.BasicClientCookie; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.Serializable; import java.util.Date; /** * A wrapper class around {@link ...
dreamfighter/dreamlib
dreamlib/src/main/java/id/dreamfighter/android/utils/SerializableCookie.java
Java
apache-2.0
1,945
$LOAD_PATH << '..' require 'musikbot' MIN_ARTICLE_COUNT = 25 MAINTENANCE_CATEGORIES = [ 'All_articles_lacking_sources', 'All_articles_needing_additional_references', 'All_unreferenced_BLPs', 'All_BLP_articles_lacking_sources', 'All_articles_lacking_reliable_references', 'All_articles_with_a_promotional_ton...
MusikAnimal/MusikBot
tasks/autopatrolled_candidates.rb
Ruby
apache-2.0
12,205
package org.jboss.jandex.test.util; import org.jboss.jandex.Index; import org.jboss.jandex.IndexReader; import javax.management.JMException; import javax.management.MBeanServer; import javax.management.ObjectName; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.lang.manage...
wildfly/jandex
src/test/java/org/jboss/jandex/test/util/LoadIndexAndDumpHeap.java
Java
apache-2.0
1,432
/** * Copyright 2014 Simeon GIROUSSE * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
SGirousse/GOTE
src/com/gote/ui/tournament/TournamentUI.java
Java
apache-2.0
4,871
package net.community.chest.net.proto.text.imap4; import net.community.chest.mail.address.MessageAddressType; /** * <P>Copyright 2007 as per GPLv2</P> * * <P>This interface is used to report intermediate FETCH response parsing * results. In general, if a non-zero return value is returned, then parsing * stops im...
lgoldstein/communitychest
chest/net/imap4/src/main/java/net/community/chest/net/proto/text/imap4/IMAP4FetchResponseHandler.java
Java
apache-2.0
5,720
/* * 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-imagebuilder/src/main/java/com/amazonaws/services/imagebuilder/model/GetImageRecipeResult.java
Java
apache-2.0
5,255
package org.vyhlidka.homeautomation.endpoint; import org.apache.commons.lang3.Validate; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.PathVariable; import org.sprin...
LukasVyhlidka/HomeAutomator
server/src/main/java/org/vyhlidka/homeautomation/endpoint/RoomEndpoint.java
Java
apache-2.0
1,485
package com.mindoo.domino.jna.formula; import java.util.ArrayList; import java.util.Arrays; import java.util.Calendar; import java.util.Collections; import java.util.EnumSet; import java.util.List; import java.util.Set; import com.mindoo.domino.jna.IAdaptable; import com.mindoo.domino.jna.NotesItem; import com.mindoo...
klehmann/domino-jna
domino-jna/src/main/java/com/mindoo/domino/jna/formula/FormulaExecution.java
Java
apache-2.0
24,166
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Web; using System.Web.Mvc; using DontForgetTheEggs.Core.Common.Exceptions; using Newtonsoft.Json; namespace DontForgetTheEggs.Web.Infrastructure.Validation { public class EggsHandleErrorAttribute : HandleErrorAttribu...
kappy/DontForgetTheEggs
src/DontForgetTheEggs.Web/Infrastructure/Validation/EggsHandleErrorAttribute.cs
C#
apache-2.0
2,424
<?php if(!defined('HDPHP_PATH'))EXIT; $db->exe("REPLACE INTO ".$db_prefix."product (`product_id`,`product_sn`,`product_number`,`goods_attr`,`goods_gid`) VALUES('1','21312312','200','1-3','1')"); $db->exe("REPLACE INTO ".$db_prefix."product (`product_id`,`product_sn`,`product_number`,`goods_attr`,`goods_gid`) ...
ly2513/ymgshop
Backup/20141211014314/shop_product_bk_16.php
PHP
apache-2.0
24,090
/* * Copyright 2015 Charles University in Prague * Copyright 2015 Vojtech Horky * * 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 * ...
D-iii-S/spl-evaluation-java
src/test-java/cz/cuni/mff/d3s/spl/formula/LogicOpTestBase.java
Java
apache-2.0
1,647
/******************************************************************************* * Copyright 2011 Google Inc. All Rights Reserved. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and ...
senseobservationsystems/commonsense-frontend
src/nl/sense_os/commonsense/main/client/logout/LogoutActivity.java
Java
apache-2.0
3,497
//===----------------------------------------------------------------------===// // // Peloton // // numeric_value.cpp // // Identification: src/backend/type/numeric_value.cpp // // Copyright (c) 2015-16, Carnegie Mellon University Database Group // //===-----------------------------------------...
prashasthip/peloton
src/type/bigint_type.cpp
C++
apache-2.0
10,496
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="author" content=""> <title>BITSO 4.0</title> <?php $this->loa...
lenovowebcto/bitso4.0
application/views/ial/admin/category/addnextcategory.php
PHP
apache-2.0
1,868
#!/usr/bin/env python # -*- coding:utf-8 -*- import os import xlrd import xlwt import datetime def request(): sheet = xlrd.open_workbook(os.path.join('E:/w/', '修改工单.xls')).sheet_by_index(0) nRow = sheet.nrows nCol = sheet.ncols title = [] rowDatas = {} for i in range(nRow): # 标题 ...
tiandizhiguai/test
src/main/java/com/test/python/data_test4.py
Python
apache-2.0
2,395
/* * Copyright 2000-2017 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...
signed/intellij-community
java/debugger/impl/src/com/intellij/debugger/jdi/MethodBytecodeUtil.java
Java
apache-2.0
11,419
package org.ovirt.engine.core.utils; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Set; import java.util.prefs.BackingStoreException; import java.util.prefs.Preferenc...
halober/ovirt-engine
backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/OsRepositoryImpl.java
Java
apache-2.0
22,055
from toontown.coghq import DistributedLevelBattleAI from direct.directnotify import DirectNotifyGlobal from direct.fsm import State from direct.fsm import ClassicFSM, State from toontown.battle.BattleBase import * import CogDisguiseGlobals from toontown.toonbase.ToonPythonUtil import addListsByValue class DistributedB...
silly-wacky-3-town-toon/SOURCE-COD
toontown/coghq/DistributedBattleFactoryAI.py
Python
apache-2.0
2,839
package com.test.datastructures.implementations.strings; import org.junit.Before; import org.junit.Test; import static org.hamcrest.CoreMatchers.*; import static org.junit.Assert.*; public class RabinCarpSubstringSearchTest { private RabinCarpSubstringSearch patient; private static final String NULL_STRING...
081krieger/data-structures
src/test/java/com/test/datastructures/implementations/strings/RabinCarpSubstringSearchTest.java
Java
apache-2.0
3,770
package osm_2019 import ( "fmt" "strings" ) type Table struct { Headers []*TableHeader Rows []*TableRow } type TableHeader struct { Text string width int } type TableRow struct { Cells []*TableCell } type TableCell struct { Text string } func (t *Table) Header(s ...string) *Table { for _, h := range ...
peter-mount/map.lu
osm-2019/table.go
GO
apache-2.0
1,980
/** * */ /** * @author kevinbayes * */ package me.bayes.vertx.vest.handler;
kevinbayes/vest
src/main/java/me/bayes/vertx/vest/handler/package-info.java
Java
apache-2.0
81
package com.github.ninerules.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Target; @Target(ElementType.TYPE) public @interface IgnoreRules{ }
tamada/9rules
src/main/java/com/github/ninerules/annotation/IgnoreRules.java
Java
apache-2.0
179
#include "liba.h" #include <math.h> #ifndef REQUIRED_DEFINE // '-DREQUIRED_DEFINE' is set via the copts attribute of the make rule. #error "REQUIRED_DEFINE is not defined" #endif std::string hello_liba(void) { return "Hello from LIBA!"; } double hello_math(double a) { // On Unix, this call requires linking to lib...
bazelbuild/rules_foreign_cc
examples/make_simple/code/liba.cpp
C++
apache-2.0
507
/** * Copyright 2011-2015 Timothy James Hruska (tjhruska@yahoo.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
tjhruska/mc-framework
src/main/groovy/com/tjhruska/mc/database/restrictions/Restrictions.java
Java
apache-2.0
2,959
function __processArg(obj, key) { var arg = null; if (obj) { arg = obj[key] || null; delete obj[key]; } return arg; } function Controller() { function back() { "prepaid" == Alloy.Globals.userPlan ? DRAWER.navigation("prepaidStatement", 1) : DRAWER.navigation("postpaidStateme...
hardikamal/xox
Resources/iphone/alloy/controllers/iddVoice.js
JavaScript
apache-2.0
16,804
/* * Copyright (C) 2015 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
android-art-intel/marshmallow
art-extension/opttests/src/OptimizationTests/ShortMethodsInliningNonVirtualInvokes/InvokeSuperRangeAObjectThrowBoundSet_001/Test.java
Java
apache-2.0
1,266
/* * 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 ...
charliemblack/geode
geode-wan/src/test/java/org/apache/geode/internal/cache/wan/GatewayReceiverImplJUnitTest.java
Java
apache-2.0
2,527
#!/usr/bin/python from light import Light light = Light() print light.getstate()
bettse/hue
dump.py
Python
apache-2.0
82
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2022 DBeaver Corp and others * * 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/LICE...
dbeaver/dbeaver
plugins/org.jkiss.dbeaver.ext.postgresql/src/org/jkiss/dbeaver/ext/postgresql/edit/PostgreEventTriggerManager.java
Java
apache-2.0
5,594
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs // 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: 2012.10.05 at 0...
OpenSourceConsulting/athena-chameleon
src/main/java/com/athena/chameleon/engine/entity/xml/application/weblogic/v9_0/ResourceDescriptionType.java
Java
apache-2.0
4,816
package com.google.api.ads.dfp.jaxws.v201311; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** * * Creates...
nafae/developer
modules/dfp_appengine/src/main/java/com/google/api/ads/dfp/jaxws/v201311/CustomFieldServiceInterfacecreateCustomFields.java
Java
apache-2.0
2,594
/* * Copyright 2005-2007 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 require...
sbower/kuali-rice-1
impl/src/main/java/org/kuali/rice/kew/rule/web/WebRuleUtils.java
Java
apache-2.0
29,390
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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 ...
aricooperman/jLean
orig-src/Tests/Brokerages/Fxcm/FxcmStopMarketOrderTestParameters.cs
C#
apache-2.0
2,819
""" Copyright 2014-2016 University of Illinois 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...
opena11y/fae2
fae2/rules/tests.py
Python
apache-2.0
722
/* * ================================================================================================= * Copyright (C) 2014 Martin Albedinsky * ================================================================================================= * Licensed under the Apache License, V...
android-libraries/android_utils
library/src/main/java/com/albedinsky/android/util/Flags.java
Java
apache-2.0
4,693
/* * Copyright (c) 2016 Facebook, 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 ...
mkacik/bcc
src/cc/BPF.cc
C++
apache-2.0
18,842
// 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 ...
googlestadia/vsi-lldb
YetiVSI/DebugEngine/Exit/ExitInfo.cs
C#
apache-2.0
3,329
'use strict'; const express = require('express'); const bodyParser = require('body-parser'); const ksuid = require('ksuid'); const cloneDeep = require('clone-deep'); const { OADAError } = require('oada-error'); const { default: config } = require('./config'); const requester = require('./requester'); const router =...
OADA/oada-srvc-docker
oada/services/http-handler/src/users.js
JavaScript
apache-2.0
5,909
/* * Copyright (c) 2017, 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.org/li...
wso2/security-tools
internal/automation-manager/api/src/main/java/org/wso2/security/tools/automation/manager/exception/StaticScannerException.java
Java
apache-2.0
1,590
# Encoding: utf-8 # Cloud Foundry Java Buildpack # Copyright 2013 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/LICEN...
alokhm/java-multi-jar-buildpack
lib/java_buildpack/container/tomcat/tomcat_jar_support.rb
Ruby
apache-2.0
1,813
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/genomics/v1/variants.proto package com.google.genomics.v1; public interface CallSetOrBuilder extends // @@protoc_insertion_point(interface_extends:google.genomics.v1.CallSet) com.google.protobuf.MessageOrBuilder { /** * <pre> ...
speedycontrol/googleapis
output/com/google/genomics/v1/CallSetOrBuilder.java
Java
apache-2.0
5,291
package com.wingoku.flatUI; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Color; import android.graphics.PorterDuff; import android.os.Handler; import android.util.AttributeSet; import android.view.MotionEvent; import android.view.View; import android.view.View.OnTouch...
wingoku/WinGoku-Android-FlatUI
src/com/wingoku/flatUI/WinGokuFlatEditText.java
Java
apache-2.0
1,316
/* * 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
src/main/java/com/intellij/lang/yang/YangFileType.java
Java
apache-2.0
1,655
using System; using Android.Gms.Analytics; using Android.Content; using Newtonsoft.Json.Linq; using System.IO; namespace MonocleGiraffe.Android { public static class AnalyticsHelper { static AnalyticsHelper() { var gaInstace = GoogleAnalytics.GetInstance(AppContext); //gaInst...
akshay2000/MonocleGiraffe
MonocleGiraffe/MonocleGiraffe.Android/Helpers/AnalyticsHelper.cs
C#
apache-2.0
1,966
/* * 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-kinesisanalyticsv2/src/main/java/com/amazonaws/services/kinesisanalyticsv2/model/transform/DeleteApplicationReferenceDataSourceRequestProtocolMarshaller.java
Java
apache-2.0
3,041
package in.dream_lab.goffish.giraph.formats; import in.dream_lab.goffish.api.IEdge; import in.dream_lab.goffish.api.IVertex; import in.dream_lab.goffish.giraph.graph.SubgraphId; import in.dream_lab.goffish.giraph.graph.SubgraphVertices; import in.dream_lab.goffish.giraph.graph.DefaultSubgraphEdge; import in.dream_lab....
KidEinstein/giraph
goffish-giraph/src/main/java/in/dream_lab/goffish/giraph/formats/LongDoubleDoubleAdjacencyListSubgraphInputFormat.java
Java
apache-2.0
5,172
angular.module('BitGo.API.EnterpriseAPI', []) /* Notes: - This module is for managing all http requests and local caching/state for all Enterprise objects in the app */ .factory('EnterpriseAPI', ['$q', '$location', '$resource', '$rootScope', 'UtilityService', 'CacheService', 'EnterpriseModel', 'NotifyService', ...
jmaurice/bitgo-chrome
api/scripts/enterpriseAPI.js
JavaScript
apache-2.0
8,868
package tracker.start; /** * Class Input класс интерфейс для унификации ввода. * @author Zaur Turabayev * @since 04.01.2016 * @version 1 */ public interface Input { String ask(String question); int ask(String question, int[] range); }
smileztv/my_learning
chapter_002/src/main/java/tracker/start/Input.java
Java
apache-2.0
282
/* * StreamReader.java January 2010 * * Copyright (C) 2010, Niall Gallagher <niallg@users.sf.net> * * 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/licens...
sn00py2/SimpleXMLLegacy
src/org/simpleframework/xml/stream/StreamReader.java
Java
apache-2.0
17,189
# -*- coding:utf-8 -*- from application import app if __name__ == '__main__': app.run(host='0.0.0.0', port=8000, debug=True)
oceanio/flask-boot
server.py
Python
apache-2.0
130
/* * #%L * Wisdom-Framework * %% * Copyright (C) 2013 - 2014 Wisdom Framework * %% * 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...
wisdom-framework/wisdom-wamp
src/main/java/org/wisdom/wamp/WampClient.java
Java
apache-2.0
2,288
export const ChampionMastery = new Mongo.Collection('championMastery'); import {updateChampionMasteries} from '../riot/championMastery'; import {Champions} from './champion'; import {Summoners} from './summoner'; import {Regions} from './region.js'; ChampionMastery.helpers({ champion: function(){ return Ch...
Dragonpurse/mastery-lb
imports/api/championMastery.js
JavaScript
apache-2.0
4,333
/* global angular */ 'use strict'; var controllers = angular.module('participantDialogControllers', []); /** * The New Conversation Controller provides a UI for creating a new Conversation. * This consists of a place to edit a title bar, a list of users to select, * and a place to enter a first message. */ contro...
layerhq/layer-js-sampleapps
examples/websdk-samples/angular/app/participant-dialog-controllers.js
JavaScript
apache-2.0
2,024
/** * Created by mario (https://github.com/hyprstack) on 10/07/15. */ var imageUpLoad = Backbone.View.extend({ template: _.template(document.getElementById("file-uploader-template").innerHTML), // global variables passed in through options - required _file: null, // our target file cb: null, ma...
hevnly/js-image-resizer
js/views/image-upload.js
JavaScript
apache-2.0
3,693
import React from 'react'; import {storiesOf} from '@kadira/storybook'; import 'codemirror/mode/python/python'; import {CodeWindow} from '../CodeWindow'; class ColorPickSpan extends React.Component { static propTypes = { onChange: React.PropTypes.func, color: React.PropTypes.string, span: React.PropTyp...
pcardune/pyret-ide
src/components/stories/CodeWindow.js
JavaScript
apache-2.0
2,215
package org.gradle.test.performance.mediummonolithicjavaproject.p156; import org.junit.Test; import static org.junit.Assert.*; public class Test3133 { Production3133 objectUnderTest = new Production3133(); @Test public void testProperty0() { String value = "value"; objectUnderTest....
oehme/analysing-gradle-performance
my-app/src/test/java/org/gradle/test/performance/mediummonolithicjavaproject/p156/Test3133.java
Java
apache-2.0
2,111
/* * Copyright 2012 International Business Machines Corp. * * See the NOTICE file distributed with this work for additional information * regarding copyright ownership. Licensed under the Apache License, * Version 2.0 (the "License"); you may not use this file except in compliance * with the License. You ...
engagepoint/jbatch
JSR352.API/src/javax/batch/api/chunk/AbstractItemReader.java
Java
apache-2.0
2,171
# Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
quartzmo/gcloud-ruby
google-cloud-language/lib/google/cloud/language/v1beta2/doc/google/cloud/language/v1beta2/language_service.rb
Ruby
apache-2.0
33,152
# Copyright 2017 The Nuclio 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 wr...
nuclio/nuclio
hack/examples/python/facerecognizer/face.py
Python
apache-2.0
5,037