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 matchers_test import ( "time" . "github.com/atlassian/git-lob/Godeps/_workspace/src/github.com/onsi/ginkgo" . "github.com/atlassian/git-lob/Godeps/_workspace/src/github.com/onsi/gomega" . "github.com/atlassian/git-lob/Godeps/_workspace/src/github.com/onsi/gomega/matchers" ) type kungFuActor interface { ...
atlassian/git-lob
Godeps/_workspace/src/github.com/onsi/gomega/matchers/receive_matcher_test.go
GO
apache-2.0
7,392
/** * Copyright 2015-2019 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...
opencb/jsorolla
src/webcomponents/commons/filters/sample-genotype-filter.js
JavaScript
apache-2.0
3,559
<?php /* * Copyright 2016 Lukas Metzger <developer@lukas-metzger.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...
heptalium/pdnsmanager
api/upgrade.php
PHP
apache-2.0
5,601
package com.github.salvatorenovelli.seo.websiteversioning.domain; import com.github.salvatorenovelli.seo.websiteversioning.crawler.Worker; import com.github.salvatorenovelli.seo.websiteversioning.crawler.crawler4j.Crawler4JCrawlerFactory; import org.springframework.stereotype.Component; import java.util.concurrent.at...
salvatorenovelli/website-version-history
src/main/java/com/github/salvatorenovelli/seo/websiteversioning/domain/DefaultWorkerFactory.java
Java
apache-2.0
813
var templates = function () { 'use strict'; var handlebars = window.handlebars || window.Handlebars, Handlebars = window.handlebars || window.Handlebars, cache = {}; function get(name) { var promise = new Promise(function (resolve, reject) { //if (cache[name]) { ...
deyantodorov/Zeus-WebServicesCould-TeamWork
Source/ChatSystem/Server/ChatSystem.Server/Scripts/app/templates.js
JavaScript
apache-2.0
804
"""Support for the Hive sensors.""" from datetime import timedelta from homeassistant.components.sensor import SensorDeviceClass, SensorEntity from homeassistant.helpers.entity import DeviceInfo from . import HiveEntity from .const import DOMAIN PARALLEL_UPDATES = 0 SCAN_INTERVAL = timedelta(seconds=15) DEVICETYPE ...
home-assistant/home-assistant
homeassistant/components/hive/sensor.py
Python
apache-2.0
2,371
using System; using System.CodeDom.Compiler; using System.ComponentModel; using System.Diagnostics; namespace Alchemy4Tridion.Plugins.Clients.CoreService { [GeneratedCode("System.ServiceModel", "4.0.0.0"), DebuggerStepThrough] public class BatchForceFinishProcessCompletedEventArgs : AsyncCompletedEventArgs ...
Alchemy4Tridion/Alchemy4Tridion
Client Proxies/CoreService/Tridion.ContentManager.CoreService.Client/BatchForceFinishProcessCompletedEventArgs.cs
C#
apache-2.0
697
namespace Levolution.TypeSchema.ConceptualType { /// <summary> /// /// </summary> public interface INumericType : IPrimitiveType { /// <summary> /// /// </summary> int Size { get; } } }
LeonAkasaka/Levolution.TypeSchema
Levolution.TypeSchema/ConceptualType/INumericType.cs
C#
apache-2.0
247
#region License Header /* * QUANTLER.COM - Quant Fund Development Platform * Quantler Core Trading Engine. Copyright 2018 Quantler B.V. * * 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:...
Quantler/Core
Quantler/Broker/SettlementModels/DelayedSettlementModel.cs
C#
apache-2.0
3,753
/* * 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-sesv2/src/main/java/com/amazonaws/services/simpleemailv2/model/transform/UpdateContactListRequestMarshaller.java
Java
apache-2.0
2,719
package com.java110.front.components.staff; import com.java110.core.context.IPageData; import com.java110.front.smo.IStaffServiceSMO; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.st...
java110/MicroCommunity
service-front/src/main/java/com/java110/front/components/staff/SearchStaffComponent.java
Java
apache-2.0
1,130
/* * Copyright 2008-2019 by Emeric Vernat * * This file is part of Java Melody. * * 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/LI...
javamelody/javamelody
javamelody-core/src/test/java/net/bull/javamelody/internal/model/TestTransportFormat.java
Java
apache-2.0
6,871
// 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.impl.source; import com.intellij.psi.*; import com.intellij.psi.impl.source.tree.CompositePsiElement; import com.intellij.psi.impl.source.tree.JavaElemen...
consulo/consulo-java
java-psi-impl/src/main/java/com/intellij/psi/impl/source/PsiJavaModuleReferenceElementImpl.java
Java
apache-2.0
1,689
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Android.App; // 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...
Mitch528/IconifyXamarin
IconifyXamarin.Meteocons/Properties/AssemblyInfo.cs
C#
apache-2.0
1,088
using System; using AutoFrame.AutoImplement.Attribute; using AutoFrame.AutoImplement.Model; namespace AutoFrame.AutoImplement.Utility.Mapper.Property { internal interface IPropertyAttributeMapper { PropertyMapping BuildPropertyMapping(AutoImplementPropertyAttribute propertyAttribute, Type propertyType...
AutoFrame/AutoImplement
src/AutoFrame.AutoImplement/AutoFrame.AutoImplement/Utility/Mapper/Property/IPropertyAttributeMapper.cs
C#
apache-2.0
386
// 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.Immutable; using Microsoft.CodeAnalysis.CodeStyle; using Microsoft.CodeAnalysis.Diagnostics; using Microsoft.CodeAnaly...
aelij/roslyn
src/Features/Core/Portable/UseCoalesceExpression/AbstractUseCoalesceExpressionForNullableDiagnosticAnalyzer.cs
C#
apache-2.0
5,853
/** * @file * @brief Contains a class which represents the splash screen. * * @section LICENSE * * Copyright © 2013 Ebenezer Edelman and others (see the contributors.txt file for a full list). * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this software * except in complian...
EbenezerEdelman/inferno
core/src/main/java/tk/ebenezeredelman/inferno/core/splash/SplashScreen.java
Java
apache-2.0
3,080
/* * Copyright 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 ...
aws/aws-sdk-java-v2
http-clients/netty-nio-client/src/test/java/software/amazon/awssdk/http/nio/netty/internal/http2/Http2MultiplexedChannelPoolTest.java
Java
apache-2.0
14,878
#include "ZulipWindow.h" #include "ZulipApplication.h" #include "Config.h" #include "Logger.h" #include <QDebug> int main(int argc, char *argv[]) { ZulipApplication a(argc, argv); a.setApplicationName("Zulip Desktop"); a.setOrganizationName("Zulip"); a.setOrganizationDomain("zulip.org"); a.setAppl...
zofuthan/zulip-desktop
src/main.cpp
C++
apache-2.0
1,618
/* * Copyright 2016 Mikhail Shiryaev * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
RapidScada/scada
ScadaData/ScadaData/Client/ViewCache.cs
C#
apache-2.0
11,760
/* * Copyright (c) 2021, 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.apac...
lessthanoptimal/BoofCV
main/boofcv-ip/src/main/java/boofcv/alg/distort/ImageDistort.java
Java
apache-2.0
3,205
/* * Copyright (C) 2014 Square, 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 agre...
CyanogenMod/android_external_square_okio
okio/src/main/java/okio/Buffer.java
Java
apache-2.0
38,214
/* * JBoss, Home of Professional Open Source. * Copyright 2013, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * unde...
chtiJBUG/wise-core
core/src/main/java/org/jboss/wise/core/exception/ResourceNotAvailableException.java
Java
apache-2.0
1,579
/** * @license Apache-2.0 * * Copyright (c) 2020 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/math/iter/special/abs2/benchmark/benchmark.js
JavaScript
apache-2.0
1,768
// Copyright 2021 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 writi...
googleads/googleads-java-lib
modules/dfp_appengine/src/main/java/com/google/api/ads/admanager/jaxws/v202111/LineItemTemplateServiceInterfacegetLineItemTemplatesByStatementResponse.java
Java
apache-2.0
2,295
/** The benchmark is distributed under the Creative Commons, * Attribution-NonCommercial-NoDerivatives. This license includes the benchmark database * and its derivatives. For attribution, please cite this page, and our publications below. * This data is provided free of charge for non-commercial and academic benchmark...
LudditeLabs/query-reform
data/samples/Java/75184.java
Java
apache-2.0
36,301
/* * Copyright 2017 Sebastien Callier * * 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...
S-Callier/serialization
src/main/java/sebastien/callier/serialization/stream/FastInputStream.java
Java
apache-2.0
2,802
// 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...
Clever/cadvisor
utils/oomparser/oomparser.go
GO
apache-2.0
6,339
package com.pCloudy.testNG; import java.io.File; import java.io.IOException; import java.net.URL; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import org.apache.commons.io.FileUtils; import org.openqa.selenium.By; import org.openqa.selenium.OutputType; import org.openqa.seleni...
pankyopkey/pCloudy-sample-projects
Java/NewAppium_SampleProjects/Chapter3-TestNg+OnWeb(Android)/src/com/pCloudy/testNG/Runner.java
Java
apache-2.0
2,917
""" Auth module, contains of login, logout and social network authorization modules, now vk only """ from flask import request, redirect, render_template, url_for, g, session, Blueprint from flask_login import login_user, logout_user, current_user from app import lm from app.models import User, ROLE_USER from app.vk_ap...
Kwentar/Dream-Crusher
app/auth_views.py
Python
apache-2.0
3,770
<!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"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <base href="<?php echo base_url(); ?>" /> <title>:: HIZMETUZMANI::</titl...
mrinsss/Full-Repo
hizmetuzmani/system/application/views/admin/index.tpl.php
PHP
apache-2.0
4,468
package openflow13 // This file has all group related defs import ( "encoding/binary" log "github.com/Sirupsen/logrus" "github.com/shaleman/libOpenflow/common" ) const ( OFPG_MAX = 0xffffff00 /* Last usable group number. */ /* Fake groups. */ OFPG_ALL = 0xfffffffc /* Represents all groups for group delete com...
shaleman/libOpenflow
openflow13/group.go
GO
apache-2.0
4,531
package com.sun.corba.se.spi.activation; /** * com/sun/corba/se/spi/activation/POANameHolder.java . * Generated by the IDL-to-Java compiler (portable), version "3.2" * from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u112/7884/corba/src/share/classes/com/sun/corba/se/spi/activation/activation.idl * Thursday, S...
wapalxj/Java
javaworkplace/source/src/com/sun/corba/se/spi/activation/POANameHolder.java
Java
apache-2.0
883
package apple.coregraphics; import java.io.*; import java.nio.*; import java.util.*; import com.google.j2objc.annotations.*; import com.google.j2objc.runtime.*; import com.google.j2objc.runtime.block.*; import apple.audiotoolbox.*; import apple.corefoundation.*; import apple.coregraphics.*; import apple.coreservices....
Sellegit/j2objc
runtime/src/main/java/apple/coregraphics/CGPDFString.java
Java
apache-2.0
516
using Adaptive.Aeron.Exceptions; namespace Adaptive.Cluster.Client { /// <summary> /// Exceptions specific to Cluster operation. /// </summary> public class ClusterException : AeronException { /// <summary> /// Cluster exception with provided message and <seealso cref="Category.ER...
AdaptiveConsulting/Aeron.NET
src/Adaptive.Cluster/Client/ClusterException.cs
C#
apache-2.0
906
/* * Copyright (c) 2015 mariotaku * * 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...
mariotaku/RestFu
library/src/main/java/org/mariotaku/restfu/annotation/param/Raw.java
Java
apache-2.0
1,016
/** * Copyright 2021 The Google Earth Engine Community 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...
google/earthengine-community
samples/javascript/apidocs/ee-geometry-multipolygon-length.js
JavaScript
apache-2.0
1,415
/* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0 * http://www.apache.org/licenses/LICENSE-2.0 */ package net.sf.mmm.transaction.api; import net.sf.mmm.util.event.api.EventListener; /** * This is the interface for a {@link EventListener listener} of * {@link TransactionEvent}s. * *...
m-m-m/transaction
api/src/main/java/net/sf/mmm/transaction/api/TransactionEventListener.java
Java
apache-2.0
513
<?php /** * Contains all client objects for the CreativeService * service. * * PHP version 5 * * 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 th...
cornernote/googleads-php-lib
src/Google/Api/Ads/Dfp/v201403/CreativeService.php
PHP
apache-2.0
205,738
//package pl.matisoft.soy.example; // //import com.google.common.collect.Lists; //import com.google.common.util.concurrent.Futures; //import com.google.gson.Gson; //import com.google.gson.GsonBuilder; //import com.ning.http.client.AsyncCompletionHandler; //import com.ning.http.client.AsyncHttpClient; //import com.ning....
matiwinnetou/spring-async-currency-rates
src/main/java/pl/matisoft/soy/example/CurrencyAsyncController3.java
Java
apache-2.0
5,451
/* * Copyright 2018 FIX Protocol 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...
FIXTradingCommunity/fix-orchestra
orchestra2doc/src/main/java/io/fixprotocol/orchestra/docgen/PathManager.java
Java
apache-2.0
1,228
/** * Copyright (C) 2011-2012 by Jochen Mader (pflanzenmoerder@gmail.com) * ============================================================== * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at ...
codepitbull/wicket-buch
teil2-session/src/test/java/de/codepitbull/session/TestHomePage.java
Java
apache-2.0
1,241
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (C) 2014 Thibaut Lapierre <git@epheo.eu>. 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 # # ...
epheo/shaddock
shaddock/model.py
Python
apache-2.0
8,118
package net.aquadc.livelists.greendao; import net.aquadc.livelists.LiveDataLayer; import net.aquadc.livelists.LiveList; import org.greenrobot.greendao.query.Query; import java.util.List; import static net.aquadc.livelists.greendao.GreenDataLayer.required; /** * Created by miha on 07.03.17 */ public final class ...
Miha-x64/LiveLists4GreenDAO
greenLiveLists/src/main/java/net/aquadc/livelists/greendao/GreenLiveList.java
Java
apache-2.0
1,929
//===- tools/dsymutil/DwarfStreamer.cpp - Dwarf Streamer ------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
apple/swift-llvm
tools/dsymutil/DwarfStreamer.cpp
C++
apache-2.0
28,781
/* * Copyright (c) 2011. The Apache Software Foundation * * 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 unde...
pambrose/HBql
src/main/java/org/apache/hadoop/hbase/hbql/Console.java
Java
apache-2.0
6,629
/* * 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...
webos21/xi
java/jcl/src/java/org/apache/harmony/security/x509/DNParser.java
Java
apache-2.0
11,512
/* Copyright 2017 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
code-sauce/tensorflow
tensorflow/compiler/xla/service/hlo_instruction.cc
C++
apache-2.0
77,051
package net.estinet.gFeatures.Feature.gWarsSuite; import java.io.File; import java.io.IOException; import org.bukkit.configuration.file.YamlConfiguration; import net.estinet.gFeatures.Configuration.Config; import net.estinet.gFeatures.Feature.gWarsSuite.Connection.Enabling; /* * gFeatures * https://github.com/Est...
EstiNet/gFeatures
src/main/java/net/estinet/gFeatures/Feature/gWarsSuite/ConfigHub.java
Java
apache-2.0
2,179
/* * Copyright (c) 2015 Daniel Higuero. * * 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...
anazamarron/spark-streaming-exercises
src/main/java/org/spark/examples/events/AuthEventGenerator.java
Java
apache-2.0
2,512
package com.jia.imageprocess; import android.app.Activity; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.ColorMatrixColorFilter; import android.graphics.Paint; import android.os.Bundle; import android.view.View; import android.widget.Edit...
LearnJ/ImageProcess
src/com/jia/imageprocess/MatrixActivity.java
Java
apache-2.0
2,568
package db import ( "encoding/binary" "fmt" "sync" "github.com/google/orderedcode" dbm "github.com/tendermint/tm-db" "github.com/tendermint/tendermint/light/store" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" "github.com/tendermint/tendermint/types" ) const ( prefixLightBlock = int64(1...
tendermint/tendermint
light/store/db/db.go
GO
apache-2.0
6,818
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 // 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: 2015.05.01 at 10:44...
oehf/ipf
commons/xml/src/main/java/org/openehealth/ipf/commons/xml/svrl/ActivePattern.java
Java
apache-2.0
3,320
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package fconv // An extFloat represents an extended floating-point number, with more // precision than a float64. It does not try to save bits: the // number r...
connectordb/duck
quack/fconv/extfloats.go
GO
apache-2.0
12,225
// Author: Charles var ResultMessage = require('./ResultMessage'); var Ladder = require('./Ladder'); var RandomUtil = require('./RandomUtil'); var util = require('util'); var ladderTime = require('../model/LadderTime.json'); var schedule = require('node-schedule'); var ladderManager = null; function LadderManager() ...
Charleslee522/8ctci
server/MasterOfTime/controller/LadderRunner.js
JavaScript
apache-2.0
2,122
/* * 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-java
java-psi-impl/src/main/java/com/intellij/psi/impl/compiled/ClsJavaCodeReferenceElementImpl.java
Java
apache-2.0
12,490
var q = {a:5}; q.a++; dumpValue(q.a); assert(q.a == 6); var x = {a:6} x.a ^= 42; assert(x.a == 44);
keil/TbDA
test/micro/test84.js
JavaScript
apache-2.0
109
// Package rabbitmq provides a RabbitMQ broker package rabbitmq import ( "github.com/micro/go-micro/broker" "github.com/micro/go-micro/cmd" "github.com/streadway/amqp" ) type rbroker struct { conn *rabbitMQConn addrs []string opts broker.Options } type subscriber struct { opts broker.SubscribeOptions topi...
yzprofile/go-plugins
broker/rabbitmq/rabbitmq.go
GO
apache-2.0
2,735
<?php /** * Author: Abel Halo <zxz054321@163.com> */ use App\Foundation\Application; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Session\Session; use Symfony\Component\Routing\Generator\UrlGeneratorInterface; /** * Throw an Http Exception with the given data. * * @param in...
zxz054321/glass
app/helpers.php
PHP
apache-2.0
3,092
/** * @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/math/base/special/log10/lib/index.js
JavaScript
apache-2.0
1,158
var newick_tree = function () { var tree = biojs.vis.tree.tree(); var theme = function(ta,div) { var newick = '((A,B),C);'; ta.data(biojs.io.newick.newick(newick)); ta.width = 600; ta.scale = false; //tree.layout (tree.layout.vertical()); ta(div); } return theme; }
rajido/biojs2
biojs-vis-tree/newick-tree.js
JavaScript
apache-2.0
292
/** * Copyright 2013 Oak Ridge National Laboratory * Author: James Horey <horeyjl@ornl.gov> * * 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/LI...
jhorey/KevaDB
src/gov/ornl/keva/node/WriteBatch.java
Java
apache-2.0
2,628
package org.cucina.cluster; import java.util.Map; /** * JAVADOC Interface Level * * @author $Author: $ * @version $Revision: $ */ public interface ActiveClusterNodeService { /** * JAVADOC Method Level Comments * * @param eventName JAVADOC. * @param nodeId JAVADOC. */ void executeActive(String eve...
cucina/opencucina
loader/src/main/java/org/cucina/cluster/ActiveClusterNodeService.java
Java
apache-2.0
378
package org.jboss.wolf.validator.impl.distribution; import static org.apache.commons.io.filefilter.FileFilterUtils.trueFileFilter; import static org.jboss.wolf.validator.impl.TestUtil.pom; import static org.jboss.wolf.validator.impl.suspicious.TestSuspiciousFileValidator.touch; import java.io.File; import java.io.IOE...
kpiwko/wolf-validator
src/test/java/org/jboss/wolf/validator/impl/distribution/DistributionValidatorTest.java
Java
apache-2.0
5,084
import { FC, memo } from 'react' import Link from 'next/link' import type { TArticle } from '@/spec' import { ICON, GITHUB, ABOUT_LINK } from '@/config' import { METRIC, ROUTE } from '@/constant' import { joinUS } from '@/utils/helper' import TopInfo from './TopInfo' import BottomInfo from './BottomInfo' import { ...
mydearxym/mastani
src/containers/unit/Footer/DesktopView/WorksArticleLayout.tsx
TypeScript
apache-2.0
1,827
package psidev.psi.mi.jami.utils.comparator.experiment; import psidev.psi.mi.jami.model.VariableParameterValueSet; import psidev.psi.mi.jami.utils.comparator.CollectionComparator; /** * Comparator for a collection of variableParameterValueSet * * @author Marine Dumousseau (marine@ebi.ac.uk) * @version $Id$ * @si...
MICommunity/psi-jami
jami-core/src/main/java/psidev/psi/mi/jami/utils/comparator/experiment/VariableParameterValueSetCollectionComparator.java
Java
apache-2.0
852
/* * 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 ...
ksimar/incubator-carbondata
core/src/main/java/org/apache/carbondata/core/datastore/compression/nondecimal/CompressionNonDecimalDefault.java
Java
apache-2.0
3,766
<?php //neue Datenbankverbindung $mysqli = new mysqli("localhost", "root", "", "zpfisdsql1"); ?>
zpfisd-bbc/BBC-Chat
ressources/config.php
PHP
apache-2.0
96
// HTMLParser Library - A java-based parser for HTML // http://htmlparser.org // Copyright (C) 2006 Derrick Oswald // // Revision Control Information // // $URL: https://svn.sourceforge.net/svnroot/htmlparser/trunk/filterbuilder/src/main/java/org/htmlparser/parserapplications/filterbuilder/HtmlTreeModel.java $ // $Auth...
patrickfav/tuwien
master/swt workspace/HTMLParser/src/org/htmlparser/parserapplications/filterbuilder/HtmlTreeModel.java
Java
apache-2.0
5,998
<?php return [ 'Holsem-s12' => 'S12库存', 'Holsem-x12b' => 'X12B库存', 'Holsem-x5' => 'X5库存', 'Holsem-x5b' => 'X5B库存', 'Holsem-x8' => 'X8库存', 'Holsem-x8b' => 'X8B库存', 'Holsem-a1' => 'A1库存', 'Createtime' => '时间', 'Updatetime' => '更新时间' ];
yangqihua/holsem
application/admin/lang/zh-cn/inventory.php
PHP
apache-2.0
329
module Fog module OpenStackCore class IdentityV2 class Real def list_roles admin_request( :method => 'GET', :expects => 200, :path => '/v2.0/OS-KSADM/roles', ) end end # Real class Mock end end # OpenStackCo...
fog/fog-openstack-core
lib/fog/openstackcore/requests/identity/v2/list_roles.rb
Ruby
apache-2.0
352
package com.example.designsupportlibrary.weather.model; public class Main { public Double temp; public Double humidity; public Double pressure; public Double temp_min; public Double temp_max; }
chikkutechie/androidexamples
DesignSupportLibrary/src/main/java/com/example/designsupportlibrary/weather/model/Main.java
Java
apache-2.0
224
package com.coolbiweather.android.gson; /** * Created by KaifengB1 on 2017/6/20. */ public class AQI { public AQICity city; public class AQICity { public String aqi; public String pm25; } }
qiantu98/coolweather
app/src/main/java/com/coolbiweather/android/gson/AQI.java
Java
apache-2.0
223
package java_mypft.mantis.appmanager; import java_mypft.mantis.model.UserData; import org.openqa.selenium.By; public class ReplacePasswordHelper extends HelperBase { public ReplacePasswordHelper(ApplicationManager app) { super(app); } public void loginAsAdmin() { wd.get(app.getProperty("web...
MBarkovskaya/java_mypft
mantis-tests/src/test/java/java_mypft/mantis/appmanager/ReplacePasswordHelper.java
Java
apache-2.0
1,388
/* * 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-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/transform/GetSearchSuggestionsRequestMarshaller.java
Java
apache-2.0
2,420
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package student_grade_calculator; import java.util.TreeMap; /** * * @author Seth */ public class Categories{ ...
nakasoori/Student-Grade-Tracker
Student_Grade_Calculator/src/student_grade_calculator/Categories.java
Java
apache-2.0
705
package jflowmap.util.piccolo; import edu.umd.cs.piccolo.PNode; import edu.umd.cs.piccolo.activities.PActivity; import edu.umd.cs.piccolo.event.PBasicInputEventHandler; import edu.umd.cs.piccolo.event.PInputEvent; import edu.umd.cs.piccolo.util.PAffineTransform; import edu.umd.cs.piccolo.util.PBounds; import e...
e3bo/jflowmap
src/jflowmap/util/piccolo/PCollapsableItemsContainer.java
Java
apache-2.0
6,746
/* * Copyright 2010 JBoss 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 i...
cyberdrcarr/optaplanner
drools-planner-examples/src/main/java/org/drools/planner/examples/curriculumcourse/domain/Day.java
Java
apache-2.0
1,184
/* * Copyright (C) 2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
gitblit/fathom
fathom-integration-test/src/main/java/models/petstore/Order.java
Java
apache-2.0
1,109
/* * Copyright (c) 2014, WSO2 Inc. (http://www.wso2.org) 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 * * Un...
splinter/developer-studio
data-mapper/org.wso2.developerstudio.visualdatamapper.diagram/src/dataMapper/diagram/custom/action/LoadInputSchemaAction.java
Java
apache-2.0
3,764
from adobject import * class ADComputer(ADObject): """Python class representing a computer object in Active Directory.""" @classmethod def create(cls, name, container_object, enable=True, optional_attributes={}): """Creates and returns a new computer object.""" assert type(name) == str ...
ECS-Security/Hive
pyad/adcomputer.py
Python
apache-2.0
934
/* * Copyright 2016 Lime - HighTech Solutions 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 ...
martintupy/powerauth-push-server
powerauth-push-model/src/main/java/io/getlime/push/model/entity/PushMessageBody.java
Java
apache-2.0
5,878
package org.docksidestage.sqlserver.dbflute.cbean.bs; import org.dbflute.cbean.AbstractConditionBean; import org.dbflute.cbean.ConditionBean; import org.dbflute.cbean.ConditionQuery; import org.dbflute.cbean.chelper.*; import org.dbflute.cbean.coption.*; import org.dbflute.cbean.dream.*; import org.dbflute.cbean.sqlcl...
dbflute-test/dbflute-test-dbms-sqlserver
src/main/java/org/docksidestage/sqlserver/dbflute/cbean/bs/BsVendorCheckCB.java
Java
apache-2.0
32,125
package org.jboss.hal.processor.mbui.table; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.annotation.Generated; import javax.inject.Inject; import com.google.gwt.safehtml.shared.SafeHtmlUtils; import elemental2.dom.HTMLElement; import org.jboss.gwt.elemento.core.builder.ElementsB...
hpehl/hal.next
app/src/test/resources/org/jboss/hal/processor/mbui/table/Mbui_RemoveConstraintActionView.java
Java
apache-2.0
3,024
package metrics import "github.com/prometheus/client_golang/prometheus" var ( // PodFailure returns counter for pod_errors_total metric PodFailure = prometheus.NewCounterVec( prometheus.CounterOpts{ Name: "pod_errors_total", Help: "Number of failure operation on PODs", }, []string{"operation"}, ) // ...
tczekajlo/kube-consul-register
metrics/controller.go
GO
apache-2.0
913
using Antlr4.Runtime; using System; using System.Collections.Generic; using System.Collections.Immutable; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using Antlr4.Runtime.Misc; using Antlr4.Runtime.Tree; using System.Diagnostics; using MetaDslx.Languages.Antlr4Roslyn.Generator;...
balazssimon/meta-cs
src/Main/MetaDslx.CodeAnalysis.Antlr4/Languages/Antlr4Roslyn/Compilation/Antlr4RoslynCompiler.cs
C#
apache-2.0
101,781
var request = require('supertest'); var assert = require('chai').assert; describe('testing user authentication', function() { var server; beforeEach(function(done) { delete require.cache[require.resolve('../src/server')]; server = require('../src/server'); done(); }); afterEach(function(done) { server.clo...
jcaple/giphy_search
test/test-authenticate.js
JavaScript
apache-2.0
762
// Copyright 2022 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 ...
googleapis/google-cloud-go
internal/generated/snippets/compute/apiv1/InstancesClient/BulkInsert/main.go
GO
apache-2.0
1,441
namespace PrintHost.view { partial class SDCard { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <pa...
brandon75f/PrintHost
Printhost/FossHost-master/src/PrintHost/view/SDCard.Designer.cs
C#
apache-2.0
14,691
// Copyright (C) 2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "ngraph/opsets/opset.hpp" #include "ngraph/opsets/opset2.hpp" #include "plaidml/op/op.h" #include "plaidml_ops.hpp" #include "plaidml_util.hpp" using namespace plaidml; // NOLINT[build/namespaces] using namespace Infer...
plaidml/plaidml
plaidml/bridge/openvino/ops/space_to_batch.cpp
C++
apache-2.0
3,562
/******************************************************************************* * * Struts2-JSR303-beanValidation-Plugin - An Open Source Struts2 Plugin to hook Bean Validator. * ================================================================================================================= * * Copyright (C) ...
apexcapital/jsr303-validator-plugin
src/main/java/com/github/umeshawasthi/struts2/jsr303/validation/interceptor/JSR303ValidationManager.java
Java
apache-2.0
1,672
package chanedi.util; import java.util.ArrayList; import java.util.List; import java.util.Properties; /** * 该Properties能记录条目的先后顺序,见{@link PropertiesWithOrder#keysInOrder()} * @author Chanedi */ public class PropertiesWithOrder extends Properties { private List<Object> keyList = new ArrayList<Object>(); @...
chanedi/QuickProject
QuickProject-Util/src/main/java/chanedi/util/PropertiesWithOrder.java
Java
apache-2.0
713
/** * Copyright © 2013 Erwin Müller (erwin.mueller@anrisoftware.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 req...
devent/globalpom-utils
globalpomutils-data/src/main/java/com/anrisoftware/globalpom/data/csvimport/ReadValuesException.java
Java
apache-2.0
1,667
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.mycompany.rbossf.dao; /** * * @author ib */ import com.mycompany.rbossf.entity.OrderLineItem; import org.springframewo...
bidurbs/pm-rboss
src/main/java/com/mycompany/rbossf/dao/OrderLineItemRepository.java
Java
apache-2.0
450
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v10/enums/user_identifier_source.proto package com.google.ads.googleads.v10.enums; public final class UserIdentifierSourceProto { private UserIdentifierSourceProto() {} public static void registerAllExtensions( com.g...
googleads/google-ads-java
google-ads-stubs-v10/src/main/java/com/google/ads/googleads/v10/enums/UserIdentifierSourceProto.java
Java
apache-2.0
2,717
package com.qihua.console.security; /** * 服务器等待请求超时。 * * @author zhen.ni@ebaotech.com * @since 2013-10-11 * @version 1.0 * @see */ public class HttpRequest408Exception extends Exception { private static final long serialVersionUID = 1L; }
nickevin/Qihua
src/main/java/com/qihua/console/security/HttpRequest408Exception.java
Java
apache-2.0
279
// Copyright 2019, University of Freiburg, // Chair of Algorithms and Data Structures. // Author: Johannes Kalmbach(joka921) <johannes.kalmbach@gmail.com> // // Only performs the "mergeVocabulary" step of the IndexBuilder pipeline // Can be used e.g. for benchmarking this step to develop faster IndexBuilders. #include...
Buchhold/QLever
src/VocabularyMergerMain.cpp
C++
apache-2.0
828
/* * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
GoogleChromeLabs/paymentrequest-show
src/store/reducers.js
JavaScript
apache-2.0
11,202
package com.mkyong.customer.controller; import java.util.HashMap; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import org.springframework.validation.BindException; import org.springframework.web.ser...
mingxin6/incu
inc2_tw2/src/com/mkyong/customer/controller/MyNewMonthlyReportController.java
Java
apache-2.0
2,166
package com.google.sps.taskqueue.push; import com.google.appengine.api.blobstore.BlobKey; import com.google.appengine.api.blobstore.BlobstoreService; import com.google.appengine.api.blobstore.BlobstoreServiceFactory; import com.google.sps.tool.ResponseSerializer; import com.google.appengine.api.blobstore.BlobstoreFail...
googleinterns/step197-2020
src/main/java/com/google/sps/taskqueue/push/BlobstoreKeyDeletionWorker.java
Java
apache-2.0
1,842