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 uz.greenwhite.slidingmenu.support.v10.service; import android.os.AsyncTask; import org.json.JSONArray; import org.json.JSONObject; import uz.greenwhite.slidingmenu.support.v10.error.RequestException; import uz.greenwhite.slidingmenu.support.v10.service.http_request.HttpRequest; import uz.greenwhite.slidingmenu...
axmadjon/AndroidSlidingMenu
app/src/main/java/uz/greenwhite/slidingmenu/support/v10/service/TaskService.java
Java
apache-2.0
2,722
package cr.ac.tec.appsmoviles.jnicalculator.gui; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; /** * Main view of the application */ public class MainView extends JFrame { /** * The vertical weight for the display */ public static final ...
fjsalas/JNI-Calculator
src/main/java/cr/ac/tec/appsmoviles/jnicalculator/gui/MainView.java
Java
apache-2.0
7,475
<?php defined('BASEPATH') or exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | DATABASE CONNECTIVITY SETTINGS | ------------------------------------------------------------------- | This file will contain the settings needed to access your database. | |...
Swift-Jr/product
source/ci/config/database.php
PHP
apache-2.0
4,601
package apple.metalperformanceshaders; import apple.NSObject; import apple.foundation.NSArray; import apple.foundation.NSCoder; import apple.foundation.NSMethodSignature; import apple.foundation.NSSet; import apple.metal.protocol.MTLBuffer; import apple.metal.protocol.MTLCommandBuffer; import apple.metal.protocol.MTLD...
multi-os-engine/moe-core
moe.apple/moe.platform.ios/src/main/java/apple/metalperformanceshaders/MPSMatrixDecompositionCholesky.java
Java
apache-2.0
8,871
#!/usr/bin/env python #=============================================================================== # Copyright 2015 Geoscience Australia # # 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 #...
ama-jharrison/agdc
agdc/agdc/abstract_ingester/ingest_db_wrapper.py
Python
apache-2.0
30,969
/* * Copyright (C) 2014-2016 LinkedIn Corp. 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 appl...
yukuai518/gobblin
gobblin-runtime/src/main/java/gobblin/runtime/cli/CliApplication.java
Java
apache-2.0
678
package utils; import com.leapmotion.leap.Vector; /** * * @author Jose Pereda - August 2014 - @JPeredaDnr */ public class Pair { /* Creates a pair of joints (in terms of Vectors) to join the proximal end of two bones */ private Vector v0; private Vector v1; public Pair(Vector v0,...
jperedadnr/RiggedHand
src/utils/Pair.java
Java
apache-2.0
1,045
/* * Copyright 2000-2009 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
consulo/consulo-ui-designer
src/main/java/com/intellij/uiDesigner/inspections/OneButtonGroupInspection.java
Java
apache-2.0
1,953
import { Context, LegacyProcessor, ValidatedJobConfig } from '../../interfaces'; import ConvictSchema from '../convict-schema'; import { SchemaModule } from '../interfaces'; export default function schemaShim<S = any>(legacy: LegacyProcessor): SchemaModule { return { Schema: class LegacySchemaShim extends ...
jsnoble/teraslice
packages/job-components/src/operations/shims/schema-shim.ts
TypeScript
apache-2.0
994
/* * 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-storagegateway/src/main/java/com/amazonaws/services/storagegateway/model/AssignTapePoolResult.java
Java
apache-2.0
4,084
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.0" language="nl_NL"> <context> <name>UDMX</name> <message> <location filename="udmx.cpp" line="101"/> <source>This plugin provides DMX output support for Anyma uDMX devices.</source> <translation>Deze plugin verzorgt DMX...
joepadmiraal/qlcplus
plugins/udmx/src/uDMX_nl_NL.ts
TypeScript
apache-2.0
2,144
/* * Copyright 2012 Devoteam http://www.devoteam.com * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * * This file is part of Multi-Protocol Test Suite (MTS). * * Multi-Protocol Test Suite (MTS) is free software: you can redistribute * it and/or modify it under the terms of the GNU General...
darrendao/kafka.play.time
security/src/main/java/kafka/security/SecureChannel.java
Java
apache-2.0
2,604
using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// <summary> /// ZolozIdentificationCustomerCertifyQueryModel Data Structure. /// </summary> [Serializable] public class ZolozIdentificationCustomerCertifyQueryModel : AopObject { /// <summary> /// 业务单据号,用...
329277920/Snail
Snail.Pay.Ali.Sdk/Domain/ZolozIdentificationCustomerCertifyQueryModel.cs
C#
apache-2.0
621
/* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. Camunda licenses this file to you under the Apache License, * Version 2.0; y...
falko/camunda-bpm-platform
engine/src/test/java/org/camunda/bpm/engine/test/api/task/TaskQueryOrTest.java
Java
apache-2.0
37,054
<?php require_once("ShingekiAPIBaseClass.php"); $err_msg = ""; class ShingekiAPI_Stage extends ShingekiAPIBaseClass { protected $shingeki_dir = "/tmp/shingeki"; protected $stage_dir = "/tmp/shingeki/stage/"; protected $stageData ; function UserName2Id($userlist, $username) { foreach($userlist as $key => $val) { ...
mhidaka/playgroundthon
server-php/stage.php
PHP
apache-2.0
1,233
package com.qxg.study.studyandroid.view.RecyclerView; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Rect; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.DividerItemDecoration; import and...
583462423/StudyAndroid
app/src/main/java/com/qxg/study/studyandroid/view/RecyclerView/SimpleRVActivity.java
Java
apache-2.0
5,179
<?php the_post(); get_header(); ?> <div class="row"> <div class="main"> <!-- briciole di pane --> <?php if(is_single()) { ?> <div class="row"> <div class="breadcrumbs block1"><div id="left"> <a href="<?php bloginfo('siteurl'); ?>">HOMEPAGE</a> &gt; <?php $cat = array_shift(get_the_category()); echo get_category_...
iropicci/wpthemeqnnuhp
QN_NuHP/single.php
PHP
apache-2.0
1,956
package dex import ( "io/ioutil" "os" ) func do(fn func()) { retreat, err := os.Getwd() if err != nil { panic(err); } defer os.Chdir(retreat) basedir := os.Getenv("BASEDIR") if len(basedir) != 0 { err = os.Chdir(basedir) if err != nil { panic(err); } } err = os.MkdirAll("target/test", 0755) if err !=...
polydawn/hroot
dex/utils_test.go
GO
apache-2.0
485
var classorg_1_1onosproject_1_1cordvtn_1_1cli_1_1CordVtnNodeListCommand = [ [ "execute", "classorg_1_1onosproject_1_1cordvtn_1_1cli_1_1CordVtnNodeListCommand.html#a8795ed63dd8a80eb314b7c3ea072f75a", null ] ];
onosfw/apis
onos/apis/classorg_1_1onosproject_1_1cordvtn_1_1cli_1_1CordVtnNodeListCommand.js
JavaScript
apache-2.0
212
var searchData= [ ['leaderboard_2ecpp',['Leaderboard.cpp',['../a00044.html',1,'']]], ['leaderboard_2eh',['Leaderboard.h',['../a00047.html',1,'']]], ['leaderboardview_2ecpp',['LeaderboardView.cpp',['../a00134.html',1,'']]], ['leaderboardview_2eh',['LeaderboardView.h',['../a00137.html',1,'']]] ];
Bokoblin/DUTS2-POO-ProjetRunner
docs/search/files_7.js
JavaScript
apache-2.0
304
package com.sargasso; import java.util.Arrays; import java.util.List; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; import com.sargasso.models.Item; /** * Root resource (exposed at "myresource" path) */ @Path("myresource") public class MyResource ...
ryon5948/sargasso
src/main/java/com/sargasso/MyResource.java
Java
apache-2.0
732
# python3 # pylint: disable=g-bad-file-header # Copyright 2019 DeepMind Technologies Limited. 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...
deepmind/bsuite
bsuite/experiments/catch/analysis.py
Python
apache-2.0
2,122
/* * Copyright 2014 Guidewire Software, Inc. */ package gw.internal.xml.xsd.typeprovider.schema; import gw.internal.xml.xsd.typeprovider.XmlSchemaIndex; import gw.lang.reflect.LocationInfo; public final class XmlSchemaFractionDigitsFacet extends XmlSchemaFacet<XmlSchemaFractionDigitsFacet> { public XmlSchemaFra...
pdalbora/gosu-lang
gosu-xml/src/main/java/gw/internal/xml/xsd/typeprovider/schema/XmlSchemaFractionDigitsFacet.java
Java
apache-2.0
686
/* Copyright (c) 2017 Ahome' Innovation Technologies. 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 r...
ahome-it/ahome-tooling-common
src/main/java/com/ait/tooling/common/api/types/IAsyncCallback.java
Java
apache-2.0
807
package com.briangriffey.glass.example; import android.app.PendingIntent; import android.app.Service; import android.content.Intent; import android.os.IBinder; import android.widget.RemoteViews; import com.google.android.glass.timeline.LiveCard; import com.google.android.glass.timeline.TimelineManager; /** * Create...
briangriffey/glass-full-activity
src/com/briangriffey/glass/example/LaunchActivityService.java
Java
apache-2.0
1,288
package view; import java.awt.Dimension; import java.awt.Graphics; import java.awt.Image; import java.awt.Toolkit; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.net.URL; import java.util.ArrayList; import javax.swing.ImageIcon; import javax.swing.JFrame; import javax.swing.JLabel; ...
xcg-code/RoobotMaze-java
src/view/RandomModel.java
Java
apache-2.0
27,250
#!/usr/bin/env python3 import argparse import logging import os import sys from pylib.common.utils.misc_utils import MiscUtils from pylib.pygitlab import Gitlab ######################################## # add script folder to python path # allow running script from any folder location. # without need to mess with PYTH...
abrichards5/ABRUnixScripts
bin/gitlab_group_vars.py
Python
apache-2.0
4,029
package esiv2 import "time" /* 200 ok object */ type GetCharactersCharacterIdOnlineOk struct { /* Timestamp of the last login */ LastLogin time.Time `json:"last_login,omitempty"` /* Timestamp of the last logout */ LastLogout time.Time `json:"last_logout,omitempty"` /* Total number of times the character ha...
antihax/mock-esi
v2/go/model_get_characters_character_id_online_ok.go
GO
apache-2.0
452
package org.darcstarsolutions.finance.common.calculators; import org.darcstarsolutions.finance.common.Asset; /** * Created by mharris021 on 10/16/14. */ public interface ArithmeticCalculator<T extends Asset, U extends T> { U add(U asset1, U asset2); U subtract(U asset1, U asset2); U negate(U asset); }...
DarcStarSolutions/common-finance
src/main/java/org/darcstarsolutions/finance/common/calculators/ArithmeticCalculator.java
Java
apache-2.0
321
package com.guardanis.imageloader.filters; import android.content.Context; import android.graphics.Bitmap; import java.util.HashMap; import java.util.Map; public class BitmapColorReplacementFilter extends ImageFilter<Bitmap> { private Map<Integer, Integer> replacements; /** * @param context * @pa...
hgl888/Android-Universal-Image-Loader
imageloader/src/main/java/com/guardanis/imageloader/filters/BitmapColorReplacementFilter.java
Java
apache-2.0
2,070
/* * 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")...
howepeng/isis
core/metamodel/src/main/java/org/apache/isis/core/metamodel/specloader/specimpl/ObjectActionImpl.java
Java
apache-2.0
23,245
package com.home.teamnotifier.db; import com.google.inject.Inject; import com.home.teamnotifier.core.ServerAvailabilityChecker; import com.home.teamnotifier.core.responses.status.EnvironmentInfo; import com.home.teamnotifier.core.responses.status.EnvironmentsInfo; import com.home.teamnotifier.gateways.Environmen...
Salamahin/teamnotifier
src/main/java/com/home/teamnotifier/db/DbEnvironmentGateway.java
Java
apache-2.0
2,638
#include "Explosion.h" Explosion::Explosion(float x, float y, ALLEGRO_BITMAP *image) { // superclass init GameObject::Init(x, y, 0, 0, 0, 0, 0, 0); // set id to an explosion SetID(EXPLOSION); // make explosions not collidable SetCollidable(false); // Our various variables for looping through the sprite sheet...
MrBotox/SpaceGame
SpaceGame/Explosion.cpp
C++
apache-2.0
1,317
/* ** Copyright 2011-2014 Centreon ** ** 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...
centreon/centreon-broker
notification/src/builders/command_by_id_builder.cc
C++
apache-2.0
1,317
/* * * Copyright (C) 2000 Silicon Graphics, Inc. All Rights Reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your opti...
OpenXIP/xip-libraries
src/extern/inventor/apps/examples/Mentor/CXX/15.2.SliderBox.c++
C++
apache-2.0
5,500
from utils.header import MagicField, Field from load_command import LoadCommandCommand, LoadCommandHeader class SourceVersionField(Field): def display(self, header): if self.mnemonic: value = self._get_value(header) a = (value >> 40) & 0xffffff b = (value >> 30) & 0x3ff...
hkkwok/MachOTool
mach_o/headers/source_version_command.py
Python
apache-2.0
983
/* * 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 ...
lu4242/ext-myfaces-2.0.2-patch
trunk/myfaces-impl-2021override/src/main/java/org/apache/myfaces/ov2021/view/facelets/compiler/TagLibraryConfig.java
Java
apache-2.0
27,496
// 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/bigquery/reservation/apiv1/Client/UpdateCapacityCommitment/main.go
GO
apache-2.0
1,545
# frozen_string_literal: true # 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
googleapis/google-cloud-ruby
google-cloud-orchestration-airflow-service-v1/lib/google/cloud/orchestration/airflow/service/v1.rb
Ruby
apache-2.0
1,523
import async from 'async'; import { RateVideoResponse } from './protos'; import { UserRatedVideo } from './events'; import { toCassandraUuid, toProtobufTimestamp } from '../common/protobuf-conversions'; import { getCassandraClient } from '../../common/cassandra'; import { publish } from '../../common/message-bus'; // ...
KillrVideo/killrvideo-nodejs
src/services/ratings/rate-video.js
JavaScript
apache-2.0
2,086
/* * Copyright 2012 <a href="mailto:lincolnbaxter@gmail.com">Lincoln Baxter, III</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....
ocpsoft/prettytime
core/src/main/java/org/ocpsoft/prettytime/units/Millennium.java
Java
apache-2.0
969
package org.robbins.flashcards.cassandra.repository.domain; import org.springframework.data.cassandra.mapping.Column; import org.springframework.data.cassandra.mapping.PrimaryKey; import org.springframework.data.cassandra.mapping.Table; import java.io.Serializable; import java.util.UUID; @Table(value = "tag_flashcar...
justinhrobbins/FlashCards_App
FlashCards_Repository/FlashCards_Repository_Cassandra/src/main/java/org/robbins/flashcards/cassandra/repository/domain/TagFlashCardCassandraEntity.java
Java
apache-2.0
954
using System.IO; namespace Chinchilla.Topologies.Model { public class TopologyWriter : ITopologyVisitor { private readonly TextWriter textWriter; public TopologyWriter(TextWriter textWriter) { this.textWriter = textWriter; } public void Visit(IQueue queue)...
jonnii/chinchilla
src/Chinchilla/Topologies/Model/TopologyWriter.cs
C#
apache-2.0
611
/* * 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-memorydb/src/main/java/com/amazonaws/services/memorydb/model/ACLsUpdateStatus.java
Java
apache-2.0
4,083
package org.ret.core.entity; import java.io.Serializable; import javax.persistence.Cacheable; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence.Table; import org.hibernate.an...
hongyuanChrisLi/RealEstateTrends
src/main/java/org/ret/core/entity/City.java
Java
apache-2.0
994
/* * Copyright 2017 Netflix, 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...
duftler/clouddriver
clouddriver-aws/src/main/groovy/com/netflix/spinnaker/clouddriver/aws/lifecycle/InstanceTerminationLifecycleWorker.java
Java
apache-2.0
14,654
/* * Copyright (c) 2017 VMware Inc. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 * * 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/L...
lalithsuresh/hiero
platform/src/main/java/org/hillview/maps/FilterMap.java
Java
apache-2.0
1,686
package eu.giuseppeurso.activemq.springbasic; import org.springframework.context.support.FileSystemXmlApplicationContext; public class App { public static void main(String[] args) throws Exception { FileSystemXmlApplicationContext context = new FileSystemXmlApplicationContext("src/main/resources/SpringBeans...
sensaid/activemq
spring-basic/src/main/java/eu/giuseppeurso/activemq/springbasic/App.java
Java
apache-2.0
425
// Copyright 2016 Yahoo Inc. // Licensed under the terms of the Apache license. Please see LICENSE.md file distributed with this work for terms. package com.yahoo.bard.webservice.metadata; import com.yahoo.bard.webservice.druid.model.query.DruidAggregationQuery; import com.yahoo.bard.webservice.util.SimplifiedInterval...
yahoo/fili
fili-core/src/main/java/com/yahoo/bard/webservice/metadata/RequestedIntervalsFunction.java
Java
apache-2.0
736
/* * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under t...
willpassidomo/AssessortronServer
target/endpoints-client-libs/assesortronTaskerAPI/src/main/java/assesortron/assesortronTaskerAPI/model/StringWrapper.java
Java
apache-2.0
1,988
// // Copyright 2016 R. Stanley Hum <r.stanley.hum@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 // // http://www.apache.org/licenses/LICENSE-2.0 // // ...
humrs/HandbookApp
HandbookApp/HandbookApp/Reducers/BookReducers.cs
C#
apache-2.0
2,407
require 'rqrcode' module LinksHelper def display_expire_flag(link) if !link[:does_expire] return "<div class=\"grey text\">Never</div>".html_safe else if link[:experies_on] == Date.today return "<div class=\"red text\">Today</div>".html_safe else return "<div class=\"ui mom...
Baschtie/LinkList
app/helpers/links_helper.rb
Ruby
apache-2.0
1,045
#!/usr/bin/python2.7 import os import sys base_dir = os.path.dirname(os.path.realpath(__file__)) python_modules_dir = os.path.join(base_dir,"python-modules") sys.path.append(python_modules_dir) curdir = os.path.abspath(os.path.dirname(sys.argv[0])) from ACEStream.Plugin.EngineConsole import start apptype = 'acestream'...
aplicatii-romanesti/allinclusive-kodi-pi
.kodi/userdata/addon_data/plugin.video.p2p-streams/acestream/ace/start.py
Python
apache-2.0
345
package io.quarkus.it.panache; import java.util.Optional; import javax.enterprise.context.ApplicationScoped; import javax.transaction.Transactional; import io.quarkus.hibernate.orm.panache.PanacheRepositoryBase; @ApplicationScoped @Transactional public class UserRepository implements PanacheRepositoryBase<User, Str...
quarkusio/quarkus
integration-tests/hibernate-orm-panache/src/main/java/io/quarkus/it/panache/UserRepository.java
Java
apache-2.0
436
package antw.logger.model; import java.util.Collection; import antw.common.model.Name; public class Project extends Name { private boolean _subProject; private Targets _targets = new Targets(); public Project() { } public Project(String name) { super(name); } public Target get...
mbauhardt/antw
modules/logger/src/main/java/antw/logger/model/Project.java
Java
apache-2.0
1,082
/** * Copyright 2017-2019 The GreyCat Authors. All rights reserved. * <p> * 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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Un...
datathings/greycat
greycat/src/main/java/greycat/struct/ERelation.java
Java
apache-2.0
872
/** * Copyright 2004-2014 The Kuali Foundation * * Licensed under the Educational Community License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.opensource.org/licenses/ecl2.php * * Unless required by a...
kuali/kpme
core/impl/src/main/java/org/kuali/kpme/core/salarygroup/web/SalaryGroupLookupableHelper.java
Java
apache-2.0
2,777
package org.whale.system.domain; import org.whale.system.annotation.jdbc.Column; import org.whale.system.annotation.jdbc.Id; import org.whale.system.annotation.jdbc.Order; import org.whale.system.annotation.jdbc.Table; import org.whale.system.annotation.jdbc.Validate; import org.whale.system.base.BaseEntry; import or...
fywxin/base
system-parent/system-dao/src/main/java/org/whale/system/domain/Dept.java
Java
apache-2.0
2,911
// Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). // Licensed under the Apache License, Version 2.0 (see LICENSE). package com.twitter.intellij.pants.model; import com.intellij.testFramework.LightPlatformTestCase; public class SimpleExportResultTest extends LightPlatformTestCase { private static...
pantsbuild/intellij-pants-plugin
src/test/scala/com/twitter/intellij/pants/model/SimpleExportResultTest.java
Java
apache-2.0
8,715
/* * 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-iam/src/main/java/com/amazonaws/services/identitymanagement/waiters/GetUserFunction.java
Java
apache-2.0
1,917
@extends('layouts.club') @section('content') <div class="container"> <div class="row"> <div class="col-md-10 col-md-offset-1"> <div class="row"> <div class="col-sm-5"> <h3>Confirmation, are you sure?</h3> <p>We will remove this information permanatly, no refunds will be made at t...
PlusTechnologies/league-production
app/views/app/club/member/delete.blade.php
PHP
apache-2.0
991
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads/v9/enums/quality_score_bucket.proto namespace Google\Ads\GoogleAds\V9\Enums\QualityScoreBucketEnum; use UnexpectedValueException; /** * Enum listing the possible quality score buckets. * * Protobuf type <code>google.ad...
googleads/google-ads-php
src/Google/Ads/GoogleAds/V9/Enums/QualityScoreBucketEnum/QualityScoreBucket.php
PHP
apache-2.0
2,317
package com.wayneleo.quickstart.framework.core.cache; import java.util.HashMap; import java.util.List; import java.util.Map; public class CacheManager { private static final Map<String, Map<String, Object>> REPOSITORIES_0 = new HashMap<>(); private static final Map<String, Map<String, Object>> REPOSI...
cnwayne/QuickStartForJava
framework/framework-core/src/main/java/com/wayneleo/quickstart/framework/core/cache/CacheManager.java
Java
apache-2.0
2,719
/* * 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 ...
rdblue/incubator-nifi
nifi-api/src/main/java/org/apache/nifi/processor/annotation/TriggerSerially.java
Java
apache-2.0
1,487
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * You may obtain a copy of the License at * * http://www.apache....
d0lfin/java-client
src/main/java/io/appium/java_client/pagefactory/AppiumFieldDecorator.java
Java
apache-2.0
7,217
/* * Copyright 1999-2011 Alibaba Group Holding 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 applica...
lane-cn/elasticsql
src/main/java/org/durid/sql/visitor/SQLASTVisitor.java
Java
apache-2.0
10,697
<?php if (! defined ( 'BASEPATH' )) exit ( 'No direct script access allowed' ); /** * @类功能说明: 考勤action * @类修改者: * @修改日期: * @修改说明: * @公司名称:深圳市穗鑫网络购物有限公司 * @作者:panda * @创建时间:2015-7-23 上午11:44:32 * @版本:V1.0 */ class clocking_action extends CI_Model { private $url; public function __construct() { ...
pandakill/team_project
application/models/clocking_system/clocking_action.php
PHP
apache-2.0
2,573
package com.linkedin.metadata.models; import com.linkedin.data.schema.DataSchema; import com.linkedin.data.schema.PathSpec; import com.linkedin.metadata.models.annotation.SearchableAnnotation; import lombok.NonNull; import lombok.Value; @Value public class SearchableFieldSpec implements FieldSpec { @NonNull PathS...
linkedin/WhereHows
entity-registry/src/main/java/com/linkedin/metadata/models/SearchableFieldSpec.java
Java
apache-2.0
507
onmessage = function(e) { var args = e.data; var MAXIMUM_ROUNDS = (!args[0])? 1000000 : args[0]; var fee = (!args[1])? 10 : args[1]; var coinRecord = {}; // { "123": 10, "245": 145 .... } var totalEarning = 0; for (var currentRound = 0; currentRound < MAXIMUM_ROUNDS; currentRound++) { var coinAccumulat...
duraraxbaccano/gist
st.petersburg.paradox.js
JavaScript
apache-2.0
1,299
/* * 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 ...
lynchlee/play-jmx
src/main/java/org/apache/cassandra/repair/RepairRunnable.java
Java
apache-2.0
20,493
package com.ibm.developer; import java.io.IOException; import java.net.ServerSocket; import java.net.Socket; /** * Hello world! * */ public class App { public static void main(String[] args) throws IOException { int port = Integer.parseInt(System.getenv("VCAP_APP_PORT")); ServerSocket ss = new ServerSocket(po...
cadrianomendes/bozocopy
src/main/java/com/ibm/developer/App.java
Java
apache-2.0
605
package com.imethod.service.sys.service; import com.imethod.service.sys.dao.AuthDao; import com.imethod.service.sys.domain.User; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; /** * auth : iMethod * create_at: 15/12/1. * desc: * note: * 1. */ @Ser...
bqxu/JMethod
service/sys/src/main/java/com/imethod/service/sys/service/AuthService.java
Java
apache-2.0
541
/* * This source has been modified. The original source applied this license: * * Copyright (C) 2007 The Guava 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....
jameswald/skinny-latte
common/src/main/java/com/jameswald/skinnylatte/common/util/concurrent/ListenableFuture.java
Java
apache-2.0
932
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: AssemblyTit...
gtg529s/xamarin-bluetooth-le
Source/MvvmCross.Plugins.BLE.iOS/Properties/AssemblyInfo.cs
C#
apache-2.0
1,502
/* * Copyright (C) 2020 The Android Open Source Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, t...
webos21/xbionic
platform_bionic-android-vts-12.0_r2/libc/bionic/android_profiling_dynamic.cpp
C++
apache-2.0
8,263
package ru.aplana.tools; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.util.HashMap; import java.util.Random; import java.util.UUID; import javax.jms.BytesMessage; import javax.jms.JMSException; import javax.jms.Message; ...
maksim-stsiapanau/Java-JMS
ru.aplana.lib/src/main/java/ru/aplana/tools/Common.java
Java
apache-2.0
9,019
package com.yingt.service.util; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry; /** * Map Utils * * @author <a href="http://www.trinea.cn" target="_blank">Trinea</a> 2011-7-22 */ public class MapUtils { /** default separator between key and value **/ ...
wanlihuan/phone-touch
yingt-framework/common-service/src/main/java/com/yingt/service/util/MapUtils.java
Java
apache-2.0
9,918
//FILE: bg.js /** * this is a background service and this code will run *every* time the * application goes into the foreground */ var value = "Hello from Running BG service - bg.js"; Ti.API.info(value); var notification = Ti.App.iOS.scheduleLocalNotification({ alertBody:"App was put in background", alert...
mixandmatch/titanium
app/assets/bg.js
JavaScript
apache-2.0
1,022
/* * Copyright (c) 2008-2021, Hazelcast, 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 ...
hazelcast-incubator/hazelcast-nodejs-client
code_samples/com-website/CustomSerializerSample.js
JavaScript
apache-2.0
1,882
package edu.cs4730.restdemo2; import android.content.Context; import androidx.cardview.widget.CardView; import androidx.recyclerview.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import java.util.ArrayList; /* * th...
JimSeker/networking
ReSTServices/RestDemo2/app/src/main/java/edu/cs4730/restdemo2/myAdapter.java
Java
apache-2.0
3,081
//----- Requires ----- dojo.require('comum.format'); dojo.require('comum.CampoRedondo'); dojo.require('main.Pedido'); dojo.provide('main.Restaurante'); dojo.declare('main.Restaurante', null, { restaurante : null, loader : null, restaurantes : new Array(), pedido : null, constructor : function () { this.pedido...
rafaelcoutinho/comendobemdelivery
war/scripts/main/Restaurante.js
JavaScript
apache-2.0
5,972
package com.educative.graph; import java.util.Iterator; import java.util.LinkedList; public class StronglyConnected { public static void utilityFunction(Graph g, int v, boolean visited[]) { visited[v] = true; LinkedList<Integer> adj[] = g.getAdj(); Iterator<Integer> i = adj[v].listIterator...
magictortoise/Lintcode
src/main/java/com/educative/graph/StronglyConnected.java
Java
apache-2.0
1,068
/* * Copyright 2016 jiajunhui * * 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 ...
jiajunhui/AnimEffect
Anim-Effect/src/main/java/com/kk/taurus/animeffect/anims/AnimatorZoomCenter.java
Java
apache-2.0
1,355
@ModuleGen(groupPackage = "io.vertx.blueprint.kue.queue", name = "vertx-kue-queue-core-module") package io.vertx.blueprint.kue.queue; import io.vertx.codegen.annotations.ModuleGen;
Kayuii/examples-kue
kue-core/src/main/java/io/vertx/blueprint/kue/queue/package-info.java
Java
apache-2.0
181
package ndfs.mcndfs_alg3; import java.lang.Runnable; import java.util.HashMap; import java.util.List; import java.util.Random; import java.util.Collections; import java.util.concurrent.atomic.AtomicInteger; import java.util.concurrent.ExecutorService; import java.io.File; import java.io.FileNotFoundException; import...
unmeshvrije/C--
src/ndfs/mcndfs_alg3/Worker.java
Java
apache-2.0
4,367
package com.sky.hsf1002.designpattern.Decorator; /** * Created by hefeng on 17-9-15. */ public interface IPerson { void dressed(); }
LoveGoogleLoveAndroid/design-pattern
app/src/main/java/com/sky/hsf1002/designpattern/Decorator/IPerson.java
Java
apache-2.0
141
// Copyright 2007-2018 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not use // this file except in compliance with the License. You may obtain a copy of the // License at // // http://www.apache.org/licenses/LICENSE-2.0 ...
SanSYS/MassTransit
src/MassTransit.ActiveMqTransport/Topology/IActiveMqMessagePublishTopology.cs
C#
apache-2.0
1,710
package me.uuus.sue4j.model; public class Role { private Long id; private String roleName; private String roleSign; private String description; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getRoleName() { ...
sue0917/sue4j
src/main/java/me/uuus/sue4j/model/Role.java
Java
apache-2.0
861
package io.vertx.resourceadapter.impl; import java.security.AccessController; import java.security.PrivilegedAction; /** * * @author Lin Gao <lgao@redhat.com> * */ class SecurityActions { private SecurityActions() { } /** * Gets current context class loader * * @return the current context clas...
vert-x3/vertx-jca
rar/src/main/java/io/vertx/resourceadapter/impl/SecurityActions.java
Java
apache-2.0
2,712
using NServiceBus; public class EndpointConfig : IConfigureThisEndpoint, AsA_Server, IWantCustomInitialization { public void Init() { Configure configure = Configure.With(); configure.DefineEndpointName("Samples.Logging.HostDefault"); configure.DefaultBuilder(); co...
pashute/docs.particular.net
samples/logging/hostdefault/Version_3_3/Sample/EndpointConfig.cs
C#
apache-2.0
494
package cn.xishan.oftenporter.porter.core.util.config; import cn.xishan.oftenporter.porter.core.util.OftenTool; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.List; import java.util.Vector; /** * @author Created by https://github.com/CLovinr on 2020-11-04. */ public class ChangeablePrope...
gzxishan/OftenPorter
Porter-Core/src/main/java/cn/xishan/oftenporter/porter/core/util/config/ChangeableProperty.java
Java
apache-2.0
3,291
using System; using System.IO; using System.Collections.Generic; using System.ComponentModel.Composition; using System.Linq; using System.Text; using Functional.Contracts.Utility; namespace Functional.Utility { public class Something<T> : ISomething<T> { public T Item { get; set; } public override...
codecore/Functional
Functional/Utility/Something.cs
C#
apache-2.0
1,262
// +------------------------------------------------------------------------- // | Copyright (C) 2016 Yunify, Inc. // +------------------------------------------------------------------------- // | Licensed under the Apache License, Version 2.0 (the "License"); // | you may not use this work except in compliance with t...
jolestar/qingcloud-sdk-go
service/instance.go
GO
apache-2.0
27,243
/** * 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...
nkurihar/pulsar
pulsar-common/src/main/java/org/apache/pulsar/common/compression/CompressionCodecZstd.java
Java
apache-2.0
2,951
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads/v9/errors/url_field_error.proto require 'google/api/annotations_pb' require 'google/protobuf' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/ads/googleads/v9/errors/url_field_error.proto", :syntax =>...
googleads/google-ads-ruby
lib/google/ads/google_ads/v9/errors/url_field_error_pb.rb
Ruby
apache-2.0
3,464
package designPattern.abstractFactory; public class Visualization { private AbstractUIFactory abf; public Visualization(AbstractUIFactory abf){ this.abf=abf; } public Object createButton(){ return this.abf.createButton(); } }
outskywind/myproject
demos/src/main/java/designPattern/abstractFactory/Visualization.java
Java
apache-2.0
262
package com.chenpan.commoner.mvp.modle.imp; import android.content.Context; import com.android.volley.VolleyError; import com.chenpan.commoner.bean.NewsSummary; import com.chenpan.commoner.mvp.modle.MyCallback; import com.chenpan.commoner.mvp.modle.NewFragmentModel; import com.chenpan.commoner.network.VolleyInterface...
a616707902/Commoner
Commoner/app/src/main/java/com/chenpan/commoner/mvp/modle/imp/INewsFragmentModel.java
Java
apache-2.0
2,139
/* * Licensed to The Apereo Foundation under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * The Apereo Foundation licenses this file to you under the Apache License, * Version 2.0, (the "License"); you ma...
equella/Equella
Source/Plugins/Security/com.tle.core.security/src/com/tle/core/security/SecurityTargetHandler.java
Java
apache-2.0
2,607
/** * @file genetic_solver.cpp * @brief Genetic Solver implementation of "Genetic algorithms for modelling * and optimisation" * @ingroup optimisation * * @author Christophe Ecabert * @date 10.04.18 * Copyright © 2018 Christophe Ecabert. All rights reserved. */ #include <fstream> #include ...
ChristopheEcabert/FaceKit
modules/optimisation/src/genetic_solver.cpp
C++
apache-2.0
4,724
/* * Copyright (c) 2011-2013, 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...
intrack/BoofCV-master
main/ip/src/boofcv/core/image/GConvertImage.java
Java
apache-2.0
3,455