repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
ksean/steamwebapi-node-sdk
util.js
2920
/** * steamwebapi * * Unofficial Steam Node.js SDK for interfacing with Steam's Web API * * This is free and unencumbered software released into the public domain. * * Anyone is free to copy, modify, publish, use, compile, sell, or * distribute this software, either in source code form or as a compiled * binar...
unlicense
zakaihamilton/screens
packages/code/cmd/browser/cmd_mem.js
544
/* @author Zakai Hamilton @component CmdMem */ screens.cmd.mem = function CmdMem(me, { core }) { me.cmd = async function (terminal) { const memoryUsage = await core.server.memoryUsage(); const used = parseInt(memoryUsage.heapUsed / 1024 / 1024); core.property.set(terminal, "print", ...
unlicense
marmorkuchen-net/mission-control-server
app/assets/scripts/info.js
311
(function(window, $, UNM) { 'use strict'; var INFO_ENDPOINT = '/info'; // public var info = {}; info.get = function(eSuccess) { $.ajax(INFO_ENDPOINT, { success: function(eResponse) { eSuccess(JSON.parse(eResponse)); } }); }; UNM.info = info; })(window, $, UNM);
unlicense
CaddyDz/Ruby
p2/ch9/hashes/s5/invert.rb
41
h = { 1 => "one", 2 => "two"} p h.invert
unlicense
gvlfm78/BukkitOldCombatMechanics
src/main/java/kernitus/plugin/OldCombatMechanics/module/Module.java
3150
package kernitus.plugin.OldCombatMechanics.module; import kernitus.plugin.OldCombatMechanics.OCMMain; import kernitus.plugin.OldCombatMechanics.utilities.Config; import kernitus.plugin.OldCombatMechanics.utilities.Messenger; import org.apache.commons.lang.WordUtils; import org.bukkit.World; import org.bukkit.command.C...
unlicense
dm1024/leetcode
c++/best_time_to_buy_and_sell_stock_iv/test.cpp
700
#include <gtest/gtest.h> #include "solution.h" using namespace std; TEST(test, testcase0) { vector<int> prices = {5,4,6,7,9,1,8,7}; EXPECT_EQ(7, Solution().maxProfit(1, prices)); EXPECT_EQ(12, Solution().maxProfit(2, prices)); } TEST(test, testcase1) { vector<int> prices = {6,1,3,2,4,7}; EXPECT_E...
unlicense
greenrobot-team/greenrobot-examples
greendao/app/src/main/java/com/example/greendao/ExampleApp.java
1565
package com.example.greendao; import android.app.Application; import android.content.Context; import com.example.greendao.model.DaoMaster; import com.example.greendao.model.DaoSession; import com.example.greendao.model.NoteDao; import org.greenrobot.greendao.database.Database; public class ExampleApp extends Applic...
unlicense
tiduszhang/WPFSolution
01.Base/01.Common/Common/WorkPath.cs
4040
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Common { /// <summary> /// FileName: WorkPath.cs /// CLRVersion: 4.0.30319.42000 /// @author zhangsx /// @date 2017/04/12 11:18:19 /// Corporation: /// Description: /// </summary> pu...
unlicense
rabbit-aaron/australia-nsw-public-holidays
test/isAdditionalDay.php
1045
<?php error_reporting(E_ALL); require_once dirname(__FILE__).'/../holidays.php'; function testNotAdditionalDay0(){ // Christmas Day falls on Thursday, no Additional Days assert(!isAdditionalDay(new DateTime('2014-12-27'))); } testNotAdditionalDay0(); function testIsAdditionalDay0(){ // Boxing Day falls ...
unlicense
spaceyjase/Survivor
Assets/AstarPathfindingProject/Core/Serialization/TinyJson.cs
12548
using UnityEngine; using System.Collections.Generic; using Pathfinding.WindowsStore; using System; #if NETFX_CORE using System.Linq; using WinRTLegacy; #endif namespace Pathfinding.Serialization { public class JsonMemberAttribute : System.Attribute { } public class JsonOptInAttribute : System.Attribute { } /** A...
unlicense
rudo6/MealPlanet_version2.0
src/test/java/sk/upjs/ics/mealplanet/MySqlIngredientDaoTest.java
2183
/* * 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 sk.upjs.ics.mealplanet; import java.util.ArrayList; import java.util.List; import org.junit.After; import org.junit....
unlicense
T-Gee/com.tongge.tools
packageMaker/src/main/java/com/tongge/createPackage/exception/AppException.java
1538
package com.tongge.createPackage.exception; /** * * Created on 2010-9-18 * <p>Title: ³ö²î²¹Öú_[×ÓϵͳͳÃû]_[Ä£¿éÃû]/p> * <p>Description: [ÃèÊö¸ÃÀà¸ÅÒª¹¦ÄܽéÉÜ]</p> * <p>Copyright: Copyright (c) 2009</p> * <p>Company: </p> * <p>Department: </p> * @author:Ù¡¹ã¶÷ * @email:tge0503020211@163.com * @...
unlicense
romalxr/MyRep
Patterns/PatternStrategy/PatternStrategy/Ducks/SimpleDuck.cs
514
using PatternStrategy.Fly; using PatternStrategy.Quack; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PatternStrategy.Ducks { class SimpleDuck : DuckBase { public SimpleDuck() { quackBehavior = new Simp...
unlicense
KamilSzot/365_programs
2017-03-10/app/src/test/java/com/niceshotapps/sendsms/ExampleUnitTest.java
418
package com.niceshotapps.sendsms; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test ...
unlicense
reenigne/reenigne
8088/asset_manager/asset_manager.cpp
4509
// static const int assetCount = 99; // Filled in by asset preparer Word getLowestFreeSegment() { // TODO } Word getEndOfConventionalMemorySegment() { geninterrupt(0x12); // returns amount of conventional RAM in 1kB blocks return _AX << 6; // multiply by 64 to get segments } Word getCurrentTime() {...
unlicense
vanzhiganov/NewsArggregator
WEB-INC/class.post.php
649
<?php class post { public function create() {} public function view($post_id) {} public function delete($post_id, $feed_id) {} public function get_item($intItemID) { $strQuery = "SELECT * FROM `feed_items` WHERE `item_id`={$intItemID}"; $doQuery = mysql_query($strQuery); if (mysql_error() <> "") { echo...
unlicense
candr002/CS150
Lab 11/lab_11_template2016.cpp
5123
///lab 10 on linked lists. This is an important one. You will see /// a question similar to this on the lab final. //Programmer : fill this information in, or receive a zero for a grade. //Date : //Lab : //Description: #include <iostream> #include <fstream> #include <string> #include <iomanip> usi...
unlicense
tristen/leaflet-interact-intent
index.js
949
var hoverintent = require('hoverintent'); module.exports = window.L.Control.extend({ options: { clicktoplay: false }, onAdd: function(map) { var opts = { interval: 200 }; var container = L.DomUtil.create('div', 'interaction-intent-control'); var mask = ...
unlicense
amarchen/log4qt-demo-sailfish
src/engine/person.cpp
1801
#include "person.h" #include "Logger" #include <QDebug> #include "LogStream" LOG4QT_DECLARE_STATIC_LOGGER(logger, Person) Person::Person(const QString& name, QObject *parent) : QObject(parent) { setName(name); logger()->debug("Person created with name %1", name); // I don't know why, but sometimes t...
unlicense
nature-track/wenCollege-CSharp
Web/teacher/Add.aspx.designer.cs
1788
//------------------------------------------------------------------------------ // <自动生成> // 此代码由工具生成。 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // </自动生成> //------------------------------------------------------------------------------ namespace Maticsoft.Web.teacher { public part...
unlicense
pra85/Android
PrimeNumberToast/gen/com/primenumbertoast/BuildConfig.java
162
/** Automatically generated file. DO NOT MODIFY */ package com.primenumbertoast; public final class BuildConfig { public final static boolean DEBUG = true; }
unlicense
dhcmrlchtdj/toolkit
javascript/fps.js
758
// https://github.com/mathieuancelin/js-repaint-perfs/blob/gh-pages/lib/monitor.js function FPS() { var bucketSize = 20; var bucket = []; var lastTime = Date.now(); this.ping = function() { var start = lastTime; var stop = Date.now(); var rate = 1000 / (stop - start); bu...
unlicense
componavt/wcorpus
resources/views/lemma/context_intersection.blade.php
3881
<?php $list_count = $url_args['limit_num'] * ($url_args['page']-1) + 1; ?> @extends('layouts.page') @section('title') Lemma context intersection @stop @section('panel-heading') Lemma context intersection @stop @section('headExtra') {!!Html::style('css/select2.min.css')!!} {!!Html::style('css/text.css')!...
unlicense
ECain/ArcGISOnlineInteraction
AGORestCallTestFS/DataContractObjects/FeatureServiceObject.cs
660
using System.Runtime.Serialization; //Help: http://services.arcgis.com/help/index.html?applyedits.html namespace AGORestCallTestFS { [DataContract] class FeatureServiceObject { [DataMember] public string name { get; set; } [DataMember] public string type { get; set; } [DataMe...
unlicense
SixtenLabs/SpawnOfVulkan
src/SixtenLabs.SpawnOfVulkan/Enums/ImageViewCreateFlags.cs
147
/// <summary> /// /// </summary> namespace SixtenLabs.SpawnOfVulkan { public enum ImageViewCreateFlags : int { None = 0 } }
unlicense
jan25/code_sorted
leetcode/weekly148/zigzag_array.py
913
''' https://leetcode.com/contest/weekly-contest-148/problems/decrease-elements-to-make-array-zigzag/ ''' def oddSolver(nums, st): if len(nums) - 1 - st >= 2: l, r = nums[st], nums[st + 2] l = min(nums[st + 1] - 1, l) r = min(nums[st + 1] - 1, r) diff = nums[st] - l + nums[st + 2] - r...
unlicense
gacalves/GAC_ERP
GAC_ERP.Infrastructure.Identity/Models/SystemClaims.cs
742
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GAC_ERP.Infrastructure.Identity.Models { [Table("AspNetSystemClaimTypes")] public class...
unlicense
bitmovin/bitmovin-python
bitmovin/resources/models/codecconfigurations/h265_codec_configuration.py
19289
from bitmovin.errors import InvalidTypeError from bitmovin.resources.enums import H265Profile, H265Level, BAdapt, MaxCTUSize, TUInterDepth, TUIntraDepth, \ MotionSearch, VideoFormat, H265AdaptiveQuantizationMode from bitmovin.utils import Serializable from .video_codec_configuration import VideoCodecConfiguration ...
unlicense
PoroShadows/Testcraft1.8
src/main/java/com/poroshadows/testcraft/proxy/CommonProxy.java
158
package com.poroshadows.testcraft.proxy; public abstract class CommonProxy implements IProxy{ @Override public void RenderInformation() { } }
unlicense
wespital/wespital-frontend
src/utils.js
645
(function () {'use strict'; wespital.filter('paymentMethodToString', function () { return function (input) { if (input == 'insurance') return 'Страховка'; else if (input == 'cash') return 'Наличные'; else return input; }; }); wespital.filter('dateToString', func...
unlicense
Hemofektik/Druckwelle
src/utils/VectorTiles/VectorTiles.cpp
13869
#include <ogr_api.h> #include <ogr_spatialref.h> #pragma warning (push) #pragma warning (disable:4251) #include <gdal_priv.h> #include <ogr_api.h> #include <ogr_geometry.h> #include <ogrsf_frmts.h> #pragma warning (pop) #include <zlib.h> #include <vector> #include <ZFXMath.h> #include "VectorTiles.h" #include "vec...
unlicense
lizij/Leetcode
src/Freedom_Trail/Solution.java
2812
package Freedom_Trail; import java.util.HashMap; import java.util.Map; public class Solution { public int findRotateSteps(String ring, String key) { /** * use String.indexOf and lastIndexOf to implement clockwise and anticlockwise rotation. * Use String as the key type of map will redu...
unlicense
SWHS-PC/Users
AidanStuff/Fizzbuzz/Aidan - Fizzbuzz/FizzBuzz.cs
4842
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Aidan___Fizzbuzz { class FizzBuzz { [Flags] enum FizzFlags { None = 0, // Define Fizz, Buzz, and Boom flags as different powers of 2. ...
unlicense
ruby-rdf/rdf-trig
lib/rdf/trig/writer.rb
7327
require 'rdf/turtle' require 'rdf/trig/streaming_writer' module RDF::TriG ## # A TriG serialiser # # Note that the natural interface is to write a whole repository at a time. # Writing statements or Triples will create a repository to add them to # and then serialize the repository. # # @example Obtain...
unlicense
clilystudio/NetBook
allsrc/android/support/v4/app/RemoteInputCompatBase$RemoteInput$Factory.java
610
package android.support.v4.app; import android.os.Bundle; public abstract interface RemoteInputCompatBase$RemoteInput$Factory { public abstract RemoteInputCompatBase.RemoteInput build(String paramString, CharSequence paramCharSequence, CharSequence[] paramArrayOfCharSequence, boolean paramBoolean, Bundle paramBundl...
unlicense
cc14514/hq6
hq-server/src/main/java/org/hyperic/hq/bizapp/server/session/EventsBossImpl.java
55486
/* * NOTE: This copyright does *not* cover user programs that use Hyperic * program services by normal system calls through the application * program interfaces provided as part of the Hyperic Plug-in Development * Kit or the Hyperic Client Development Kit - this is merely considered * normal use of the program, a...
unlicense
BlackPeachLawn/HelloWorld
ZFS-master/ZFS-master/FileServer/src/StNodeInfo.java
1606
import java.io.IOException; public class StNodeInfo implements Comparable{ String nodeName; String nodeIP; int nodePort; Volume volume; String uuid; long lastVis; public StNodeInfo(){} public StNodeInfo(String name,String ip,int port,long tot,long avi){ volume=new Volume(avi,tot...
unlicense
socialenemy/rails-blog
config/routes.rb
310
Rails.application.routes.draw do mount Ckeditor::Engine => '/ckeditor' root 'posts#index' get '/life', to: 'posts#index_life' get '/code', to: 'posts#index_code' get '/contact', to: 'posts#index_contact' get '/:slug', to: 'posts#show', as: 'post' resources :posts devise_for :users end
unlicense
nobesnickr/ApiTimesheets
apigility/module/ApiTimesheets/src/ApiTimesheets/V1/Doctrine/ClientAware/Traits/ClientAware.php
452
<?php namespace ApiTimesheets\Doctrine\ClientAware\Traits; use ApiTimesheets\Entity\Client; /** * ClientAware Trait, usable with PHP >= 5.4 */ trait ClientAware { /** * @var Client */ protected $client; /** * @return Client */ public function getClient() { return $this->client; } /** * @param C...
unlicense
JoKolov/ocp3
modules/commentaires/classes/commentaire.class.php
6514
<?php if (!defined('EXECUTION')) exit; /** * @project : Blog Jean Forteroche * @author <joffreynicoloff@gmail.com> * * MODULE : Commentaires * FILE/ROLE : Classe Commentaire * * File Last Update : 2017 09 26 * * File Description : * -> gestion des attributs des commentaires * -> contient en at...
unlicense
fmottard/conjugation-service
src/main/java/com/notesonjava/conjugations/model/Persona.java
438
package com.notesonjava.conjugations.model; import lombok.Getter; public enum Persona { NONE(0), YO(1), TU(2), VOS(4), EL(5), ELLO(7), NOSOTROS(8), VOSOTROS(10), ELLOS(13); @Getter private int value; Persona(int value) { this.value = value; } public static Persona valueOf(int value){ ...
unlicense
maikodaraine/EnlightenmentUbuntu
bindings/python/python-efl/examples/elementary/test_theme.py
2429
#!/usr/bin/env python # encoding: utf-8 import os from efl import elementary from efl.elementary.window import StandardWindow from efl.elementary.box import Box from efl.elementary.separator import Separator from efl.elementary.button import Button from efl.elementary.theme import Theme from efl.evas import EVAS_HINT...
unlicense
WUSTL-GIS-Programming-spring-2014/classinfo
Classes/Class4/modulesymboltables.py
220
a = 0 def myName(): print "When called by a function in my namespace, my name is", __name__ def whatisa(): a = 1 print a def whatisglobala(): global a print a print "Right now, my name is:", __name__
unlicense
D-Inc/EnderIO
src/main/java/crazypants/enderio/loot/LootSelector.java
7394
package crazypants.enderio.loot; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Random; import com.google.gson.JsonDeserializationContext; import com.google.gson.JsonObject; import com.google.gson.JsonSerializationContext...
unlicense
jlaura/isis3
isis/src/base/objs/ShapeModel/unitTest.cpp
19893
/** This is free and unencumbered software released into the public domain. The authors of ISIS do not claim copyright on the contents of this file. For more details about the LICENSE terms and the AUTHORS, you will find files of those names at the top level of this repository. **/ /* SPDX-License-Identifier: CC0-1.0 ...
unlicense
Elideb/UnExt
Test/Scripts/TestTransformExtensions.cs
1222
using UnityEngine; using UnExt; public class TestTransformExtensions : MonoBehaviour { private GameObject origin; private GameObject target; private Vector3 point = new Vector3( 3, 2, 4 ); Quaternion rotation = Quaternion.Euler( 0, 0, 0 ); void Start() { this.origin = new GameObject( "Or...
unlicense
thermaleagle/neowork
neowork/Fast Loan App Reviewer/src/com/example/loanapp/frontend/shared/vo/CaseSearchResultVO.java
1801
package com.example.loanapp.frontend.shared.vo; import java.io.Serializable; import java.util.Map; import java.util.Set; import com.example.loanapp.frontend.shared.types.MatchingBasis; public class CaseSearchResultVO implements Serializable { /** * */ private static final long serialVersionUID =...
unlicense
RedTriplane/RedTriplane
r3-box2d-jf/src/org/jbox2d/f/particle/ParticleSystem.java
77151
package org.jbox2d.f.particle; import java.lang.reflect.Array; import java.util.Arrays; import org.jbox2d.f.callbacks.ParticleDestructionListener; import org.jbox2d.f.callbacks.ParticleQueryCallback; import org.jbox2d.f.callbacks.ParticleRaycastCallback; import org.jbox2d.f.callbacks.QueryCallback; import org.jbox2d....
unlicense
billyninja/pgtools
rnd/table.go
12
package rnd
unlicense
forabi/hollowverse
server/src/redux.store.ts
134
import { createStore } from 'redux'; import { reducer } from 'client/src/store/reducers'; export const store = createStore(reducer);
unlicense
fczbkk/jasmine-helpers
helpers/simulate-event.js
691
var simulateEvent; simulateEvent = function(obj, type) { var event; if (document.createEvent) { event = document.createEvent('HTMLEvents'); event.initEvent(type, true, true); } else if (document.createEventObject) { event = document.createEventObject(); event.eventType = type; event.eventName...
unlicense
zschuessler/DeltaE
src/dE94.js
3191
'use strict'; /** * @class dE94 * @classdesc * The CIE94 algorithm: an iteration of the CIE76 algorithm. * http://en.wikipedia.org/wiki/Color_difference#CIE94 * @constructs dE94 * @memberOf DeltaE * @property {object} x1 The LAB color configuration object. * @property {number} x1.L The lightness value, on scal...
unlicense
Eric-Guo/product_hunt
config/environments/production.rb
5379
require "active_support/core_ext/integer/time" Rails.application.configure do # Settings specified here will take precedence over those in config/application.rb. # Code is not reloaded between requests. config.cache_classes = true # Eager load code on boot. This eager loads most of Rails and # your applica...
unlicense
marquee/static-sdk
entry/__tests__/renderEntryContent-test.js
1001
const React = require('react') const renderEntryContent = require('../renderEntryContent') const renderer = require('react-test-renderer') const SAMPLE_ENTRY = require('./SAMPLE_ENTRY.json') describe('renderEntryContent', () => { it('renders', () => { const component = renderer.create( React.c...
unlicense
DT9/lonelyTwitter
src/ca/ualberta/cs/lonelytwitter/Followers.java
287
package ca.ualberta.cs.lonelytwitter; import java.util.ArrayList; public interface Followers { static ArrayList <User> followers = new ArrayList <User>(); public String getNames(); public int getNumberUsers(); public ArrayList<User> getUsers(); public void setUsers(User user); }
unlicense
dalealleshouse/RelativeStrengthCalculator
RelativeStrengthCalculator.Api/Areas/HelpPage/ModelDescriptions/ModelNameAttribute.cs
816
// -------------------------------- // <copyright file="ModelNameAttribute.cs"> // Copyright (c) 2015 All rights reserved. // </copyright> // <author>dallesho</author> // <date>05/30/2015</date> // --------------------------------- #pragma warning disable 1591 namespace RelativeStrengthCalculator.Api.Areas.HelpPage.Mo...
unlicense
GHJGHJJHG/CTYJava
Roman Numerals/src/RomanNumeral.java
1985
public class RomanNumeral { public final static int M = 1000; public final static int D = 500; public final static int C = 100; public final static int L = 50; public final static int X = 10; public final static int V = 5; public final static int I = 1; private int value; public RomanNumeral() { value ...
unlicense
clilystudio/NetBook
allsrc/android/support/v7/appcompat/R$color.java
4678
package android.support.v7.appcompat; public final class R$color { public static final int abc_background_cache_hint_selector_material_dark = 2131427554; public static final int abc_background_cache_hint_selector_material_light = 2131427555; public static final int abc_input_method_navigation_guard = 2131427329;...
unlicense
softindex/datakernel
core-csp/src/main/java/io/datakernel/csp/process/ChannelByteChunker.java
2362
/* * Copyright (C) 2015-2018 SoftIndex 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 ag...
apache-2.0
GoogleCloudPlatform/declarative-resource-client-library
services/google/bigqueryreservation/beta/assignment.go
13270
// Copyright 2022 Google LLC. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applica...
apache-2.0
dcarbone/php-fhir-generated
src/DCarbone/PHPFHIRGenerated/STU3/FHIRResource/FHIRDomainResource/FHIRPaymentNotice.php
51514
<?php namespace DCarbone\PHPFHIRGenerated\STU3\FHIRResource\FHIRDomainResource; /*! * This class was generated with the PHPFHIR library (https://github.com/dcarbone/php-fhir) using * class definitions from HL7 FHIR (https://www.hl7.org/fhir/) * * Class creation date: December 26th, 2019 15:43+0000 * * PHPFHIR...
apache-2.0
DICE-UNC/indexing
src/databook/edsl/googql/Devaluate.java
3483
/** Code generated by EriLex */ package databook.edsl.googql; public class Devaluate extends Visitor { public java.lang.Object visit( final java.util.Stack<String> nodes, final java.lang.Integer counter, final java.util.Map<String,Class> selects, final DactionDtime d) { return new Evaluators().evaluate(d,...
apache-2.0
iziteq/izi-travel-java-api
api/src/main/java/travel/izi/api/model/entity/WebFeaturedObject.java
3892
/* * Copyright (C) 2014 IZITEQ 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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
apache-2.0
IAPH-NAS-Belarus-lab10/iaph.lab10.devices
Auris/B380 example/B380/Properties/AssemblyInfo.cs
1415
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("B3...
apache-2.0
LQJJ/demo
126-go-common-master/app/admin/main/dm/http/dm.go
7094
package http import ( "strconv" "go-common/app/admin/main/dm/model" "go-common/library/ecode" "go-common/library/log" bm "go-common/library/net/http/blademaster" "go-common/library/xstr" ) func contentList(c *bm.Context) { var ( v = new(model.SearchDMParams) ) if err := c.Bind(v); err != nil { return }...
apache-2.0
torrances/swtk-commons
commons-dict-wordnet-indexbyid/src/main/java/org/swtk/commons/dict/wordnet/indexbyid/instance/p1/p1/WordnetNounIndexIdInstance1179.java
14874
package org.swtk.commons.dict.wordnet.indexbyid.instance.p1.p1; import java.util.ArrayList; import java.util.Collection; import java.util.Map; import java.util.TreeMap; import org.swtk.common.dict.dto.wordnet.IndexNoun; import com.trimc.blogger.commons.utils.GsonUtils; public final class WordnetNounIndexIdInstance1...
apache-2.0
estatio/estatio
estatioapp/app/src/main/java/org/estatio/module/base/dom/apptenancy/ApplicationTenancyInvariantsService.java
3740
/* * * Copyright 2012-2014 Eurocommercial Properties NV * * * 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...
apache-2.0
orientechnologies/orientdb
tests/src/test/java/com/orientechnologies/orient/test/database/auto/GraphDatabaseTest.java
14380
/* * Copyright 2010-2016 OrientDB LTD (http://orientdb.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 ...
apache-2.0
tensorflow/java
tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/proto/framework/AttrValue.java
160841
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: tensorflow/core/framework/attr_value.proto package org.tensorflow.proto.framework; /** * <pre> * Protocol buffer representing the value for an attr used to configure an Op. * Comment indicates the corresponding attr type. Only the field matchi...
apache-2.0
baiqiantao/CashLoan
app/src/main/java/com/bcb/cashloan/activity/DWXXActivity.java
939
package com.bcb.cashloan.activity; import android.os.Bundle; import android.widget.Button; import android.widget.EditText; import android.widget.RelativeLayout; import com.bcb.cashloan.R; import com.bcb.cashloan.baseAF.BaseSwipeBackTitleActivity; import butterknife.BindView; import butterknife.OnClick; public class...
apache-2.0
jbAdyoulike/Prebid.js
modules/gumgumBidAdapter.js
5687
const bidfactory = require('src/bidfactory'); const bidmanager = require('src/bidmanager'); const utils = require('src/utils'); const adloader = require('src/adloader'); var adaptermanager = require('src/adaptermanager'); const BIDDER_CODE = 'gumgum'; const CALLBACKS = {}; const GumgumAdapter = function GumgumAdapter...
apache-2.0
chadstolper/glo
js/namespace.js
37
//GLO Namespace var GLO = GLO || {};
apache-2.0
baitouwei/ASwipeRefresh
app/src/main/java/com/baitouwei/aswiperefresh/sample/ui/SwipeRefreshViewPagerFragment.java
4055
/* * Copyright (C) 2015 baitouwei. * * 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...
apache-2.0
russbishop/swift
lib/Sema/DerivedConformanceRawRepresentable.cpp
15918
//===--- DerivedConformanceRawRepresentable.cpp - Derived RawRepresentable ===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http://swift.org/LI...
apache-2.0
marcosni1108/TCC_Kairos
js/highdataIndireta.js
1870
$(function () { var chart; var options = { chart: { renderTo: 'chart', type: 'column' }, title: { text: 'Paradas Indiretas' }, xAxis: { type: 'category', labels: { rotation: -45, s...
apache-2.0
wenanguo/anguosoft
code/anguo-core/src/main/java/com/anguo/app/db/mapper/CommonSysMemberMapper.java
476
package com.anguo.app.db.mapper; import com.anguo.app.db.domain.CommonSysMember; import com.anguo.mybatis.db.mapper.BaseMapper; public interface CommonSysMemberMapper extends BaseMapper<CommonSysMember> { /** * 根据用户名单条数据 * @param obj * @return */ public CommonSysMember getDataByUserName(CommonSysMember obj...
apache-2.0
aholake/hiringviet
src/main/java/vn/com/hiringviet/util/TimeUtil.java
328
package vn.com.hiringviet.util; // TODO: Auto-generated Javadoc /** * The Class TimeUtil. */ public class TimeUtil { /** * Convert minute to second. * * @param minute the minute * @return the int */ public static final int convertMinuteToSecond(int minute) { return minute * 60 * 1000; ...
apache-2.0
barryvdh/less.php
test/FixturesTest.php
2763
<?php class FixturesTest extends PHPUnit_Framework_TestCase{ public $fixtures_dir; public $cache_dir; function setUp(){ print_r("\nSet-Up"); require_once( dirname(__FILE__) . '/../lib/Less/Autoloader.php' ); Less_Autoloader::register(); $this->fixtures_dir = dirname(__FILE__).'/Fixtures'; print_r("\n ...
apache-2.0
andrew749/Muzik
aFileDialog/src/main/java/ar/com/daidalos/afiledialog/FileChooserCore.java
19926
/* * Copyright 2013 Jose F. Maldonado * * This file is part of aFileDialog. * * aFileDialog 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 3 of the License, or * (at your o...
apache-2.0
lessthanoptimal/BoofProcessing
src/boofcv/processing/SimpleTemplateMatching.java
2448
package boofcv.processing; import boofcv.alg.feature.detect.template.TemplateMatching; import boofcv.struct.feature.Match; import boofcv.struct.image.GrayU8; import georegression.struct.point.Point2D_I32; import processing.core.PImage; import java.util.ArrayList; import java.util.List; /** * Simplified interface fo...
apache-2.0
nielsbasjes/logparser
parser-core/src/test/java/nl/basjes/parse/core/test/UltimateDummyDissector.java
2078
/* * Apache HTTPD & NGINX Access log parsing made easy * Copyright (C) 2011-2021 Niels Basjes * * 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/LICEN...
apache-2.0
lt669/lt669.github.io
code/javascript/wrapper.js
355
/*////////////////////////////////////////////////////// Description Keeps the input value between 0 - 360 Author: Lewis Thresh */////////////////////////////////////////////////////// inlets = 1; outlets = 1; function msg_float(input){ if(input >360){ input = input - 360; }else if(input < 0){ input = input +...
apache-2.0
lsmaira/gradle
subprojects/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/conflicts/PotentialConflictFactory.java
2234
/* * Copyright 2014 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 applica...
apache-2.0
lgoldstein/communitychest
apps/tools/xmlstruct/src/main/java/net/community/apps/tools/xmlstruct/DocStructPanel.java
814
/* * */ package net.community.apps.tools.xmlstruct; import net.community.chest.CoVariantReturn; import net.community.chest.ui.components.tree.document.BaseDocumentPanel; /** * <P>Copyright 2008 as per GPLv2</P> * * @author Lyor G. * @since Jan 6, 2009 4:30:57 PM */ public class DocStructPanel extends BaseDocum...
apache-2.0
brskasimova/java_pft
sandbox/src/main/java/ru/stqa/pft/sandbox/Equality.java
435
package ru.stqa.pft.sandbox; import java.util.Objects; public class Equality { public static void main(String[] args) { String s1 = "firefox"; String s2 = new String(s1); System.out.println(s1 == s2); // сравнение ссылок - физтческое System.out.println(Objects.equals(s1, s2)); // ...
apache-2.0
zIPjahoda/LogicalCircuitDesigner
LogCirDes/LogCirDes/Logics/LogicComponent.cs
1559
using LogCirDes.Logics; using System; using System.Collections.Generic; using System.Linq; using System.Net.Configuration; using System.Text; namespace LogCirDes { public abstract class LogicComponent { public event EventHandler StateChanged; public LogicInput[] Inputs { g...
apache-2.0
kyleolivo/gocd
server/test/unit/com/thoughtworks/go/server/service/GoConfigServiceTest.java
74104
/* * Copyright 2017 ThoughtWorks, 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 agr...
apache-2.0
jnr/jnr-unixsocket
src/main/java/jnr/unixsocket/impl/Common.java
3617
/* * Copyright (C) 2016 Fritz Elfert * * This file is part of the JNR project. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * *...
apache-2.0
brson/cargo
src/cargo/sources/config.rs
6902
//! Implementation of configuration for various sources //! //! This module will parse the various `source.*` TOML configuration keys into a //! structure usable by Cargo itself. Currently this is primarily used to map //! sources to one another via the `replace-with` key in `.cargo/config`. use std::collections::Hash...
apache-2.0
halentest/solr
lucene/facet/src/java/org/apache/lucene/facet/taxonomy/directory/TaxonomyIndexArrays.java
7928
package org.apache.lucene.facet.taxonomy.directory; import java.io.IOException; import org.apache.lucene.facet.taxonomy.ParallelTaxonomyArrays; import org.apache.lucene.facet.taxonomy.TaxonomyReader; import org.apache.lucene.index.CorruptIndexException; import org.apache.lucene.index.DocsAndPositionsEnum; import org....
apache-2.0
MarkAufdencamp/stomp-client-daemon
google_service_processor/google_compute_engine_controller.py
2797
from stomp_message_controller import StompMessageController from stomp_message import StompMessage # https://developers.google.com/api-client-library/python/ # google-api-python-client class GoogleComputeEngineController(StompMessageController): stomp_tasks = ["CreateComputeEngineInstance", "DeleteComputeEngineInst...
apache-2.0
hwangfantasy/spring-sample
spring-boot-sample/src/main/java/com/hwangfantasy/config/mybatis/MyBatisMapperScannerConfig.java
1058
package com.hwangfantasy.config.mybatis; import org.springframework.boot.autoconfigure.AutoConfigureAfter; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import tk.mybatis.spring.mapper.MapperScannerConfigurer; import java.util.Properties; /** * @aut...
apache-2.0
darkpsy3934/community-plugins
ofsocial/src/wp-content/plugins/wp-helpers/parts/settings/discussion-trackbacks.php
307
<?php /* Title: Trackbacks / Pingbacks Setting: piklist_wp_helpers Tab: Discussion Order: 410 Flow: WP Helpers Settings Flow */ piklist('field', array( 'type' => 'checkbox' ,'field' => 'disable_self_ping' ,'label' => 'Self Pings' ,'choices' => array( 'true' => 'Disable' ) ));
apache-2.0
supercocoa/HelloAndroid
app/src/main/java/com/helloandroid/image/VectorCompatActivity.java
1391
package com.helloandroid.image; import android.os.Bundle; import android.os.Handler; import android.os.Looper; import android.support.v7.app.AppCompatActivity; import android.view.ViewGroup; import android.widget.ImageView; import com.helloandroid.app.R; /** * Created by scott on 15/11/14. */ public class VectorCom...
apache-2.0
sponiro/deep-uncompress
src/test/java/de/fanero/uncompress/stream/OneEntryArchiveInputStreamTest.java
2744
/* * Copyright (C) 2014 Robert Kühne * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
apache-2.0
OpenNTF/org.openntf.domino
domino/core/src/main/java/org/openntf/domino/design/SharedActions.java
771
/** * Copyright © 2013-2021 The OpenNTF Domino API Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
apache-2.0
FITeagle/adapters
motor/src/main/java/org/fiteagle/adapters/motor/dm/MotorApp.java
447
package org.fiteagle.adapters.motor.dm; import java.util.HashSet; import java.util.Set; import javax.ws.rs.ApplicationPath; import javax.ws.rs.core.Application; /** * Created by dne on 24.06.15. */ @ApplicationPath("/motor") public class MotorApp extends Application { @Override public Set<Class<?>> getClas...
apache-2.0
phraktle/lmdbjava
src/main/java/org/lmdbjava/Txn.java
9088
/*- * #%L * LmdbJava * %% * Copyright (C) 2016 - 2017 The LmdbJava Open Source Project * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LI...
apache-2.0
imay/palo
fe/src/main/java/org/apache/doris/rewrite/ExprRewriter.java
3842
// 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...
apache-2.0
openpne/OpenPNE3
lib/vendor/symfony/lib/response/sfWebResponse.class.php
23766
<?php /* * This file is part of the symfony package. * (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /** * sfWebResponse class. * * This class manages web ...
apache-2.0