identifier
stringlengths
42
383
collection
stringclasses
1 value
open_type
stringclasses
1 value
license
stringlengths
0
1.81k
date
float64
1.99k
2.02k
title
stringlengths
0
100
creator
stringlengths
1
39
language
stringclasses
157 values
language_type
stringclasses
2 values
word_count
int64
1
20k
token_count
int64
4
1.32M
text
stringlengths
5
1.53M
__index_level_0__
int64
0
57.5k
https://github.com/SAP/inquirer-gui/blob/master/packages/label-plugin/src/index.js
Github Open Source
Open Source
Apache-2.0
2,023
inquirer-gui
SAP
JavaScript
Code
26
83
import QuestionLabel from "./packages/QuestionLabel.vue"; export default { install(Vue, options) { Vue.component("QuestionLabel", QuestionLabel); if (options) { options.plugin = { questionType: "label", component: QuestionLabel, }; } }, };
9,521
https://github.com/zhangwenyang35/test1/blob/master/sdno-brs-07c498d/mss-cbb/org.openo.sdno.mss.dao/src/main/java/org/openo/sdno/mss/dao/model/ModelManagement.java
Github Open Source
Open Source
CC-BY-4.0, LicenseRef-scancode-unknown-license-reference, Apache-2.0, LicenseRef-scancode-public-domain
2,018
test1
zhangwenyang35
Java
Code
886
2,819
/* * Copyright 2016 Huawei Technologies Co., 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...
49,387
https://github.com/ephdtrg/eosfactory/blob/master/docs/cases/05_master_account/case.py
Github Open Source
Open Source
MIT
null
eosfactory
ephdtrg
Python
Code
29
244
from eosfactory.eosf import * reset() create_master_account("master") master.info() create_account("alice", master) alice.info() reboot() testnet = Testnet("http://88.99.97.30:38888", "dgxo1uyhoytn", "5JE9XSurh4Bmdw8Ynz72Eh6ZCKrxf63SmQWKrYJSXf1dEnoiKFY", "5JgLo7jZhmY4huDNXwExmaWQJqyS1hGZrnSjECcpWwGU25Ym8tA") test...
24,725
https://github.com/svandecappelle/vkl-graph/blob/master/src/main/java/fr/vekia/vkgraph/client/charts/events/DataClickEvent.java
Github Open Source
Open Source
MIT
2,017
vkl-graph
svandecappelle
Java
Code
62
187
package fr.vekia.vkgraph.client.charts.events; /** * @author Steeve Vandecappelle (SVA) * @since 5 déc. 2011. GWTQuery Vekia Showcase * @version 1.0 * * {@inheritDoc} Data Highlight (mouse hover) event. */ public abstract class DataClickEvent extends ChartEvent { private static final Integer DATA_C...
529
https://github.com/ltlmaps/rICO-smart-contracts/blob/master/test/solc_tests/flows/withdraw.js
Github Open Source
Open Source
Apache-2.0
2,020
rICO-smart-contracts
ltlmaps
JavaScript
Code
8,087
27,978
const { validatorHelper, clone } = require('../includes/setup'); const { requiresERC1820Instance, doFreshDeployment, saveSnapshot, restoreFromSnapshot, } = require('../includes/deployment'); const testKey = "WithdrawTests"; describe("ReversibleICO - Withdraw Testing", function () { const...
34,521
https://github.com/that-one-arab/encryptor/blob/master/controller/routes/generate_key/index.test.js
Github Open Source
Open Source
MIT
null
encryptor
that-one-arab
JavaScript
Code
69
165
const app = require('../../../app'); const request = require('supertest'); describe('/api/generate-key testing suite', () => { describe('GET /api/generate-key', () => { it('returns a string with 16 character length', async () => { // Send a request to server const res = request(app)...
52,452
https://github.com/ahmadsyarif/ConvertAnything/blob/master/public/js/convert_tlv.js
Github Open Source
Open Source
Apache-2.0
null
ConvertAnything
ahmadsyarif
JavaScript
Code
475
1,826
const TLV_BUTTON = 'tlv_dertlv_button'; const TLV_INPUT = 'tlv_dertlv_input'; const TLV_OUTPUT = 'tlv_dertlv_output'; const PRIMITIVE = '0'; const CONSTRUCTED = '1'; const TAG = 'TAG'; const LENGTH = 'LENGTH'; const VALUE = 'VALUE'; const TYPE = 'TYPE'; const NEXT = 'NEXT'; const TAB = " "; function tlv_handler(e...
4,479
https://github.com/Sergiomhdw/entrega_por_la_ma-ana/blob/master/resources/views/index.blade.php
Github Open Source
Open Source
MIT
null
entrega_por_la_ma-ana
Sergiomhdw
PHP
Code
133
458
<!-- IMPORTO LA BASE --> @extends('layouts.base') <!-- Sustituyo el YIELD 'titulo' --> @section('titulo',"RED SOCIAL") <!-- Sustituyo el YIELD 'content' --> @section('content') <div class="jumbotron"> @if(Session::has('success')) <div class="alert alert-success" role="alert"> <p> <strong> {{ Session::get('success') }} ...
16,474
https://github.com/fmidev/smartmet-library-grid-files/blob/master/src/grib1/implementation/LambertConformalImpl.cpp
Github Open Source
Open Source
MIT
null
smartmet-library-grid-files
fmidev
C++
Code
1,666
5,313
#include "LambertConformalImpl.h" #include <macgyver/Exception.h> #include "../Properties.h" namespace SmartMet { namespace GRIB1 { /*! \brief The constructor of the class. */ LambertConformalImpl::LambertConformalImpl() { try { mGridProjection = T::GridProjectionValue::LambertConformal; mDx = 0; m...
47,893
https://github.com/containerz/stack-deploy/blob/master/framework/storage_test.go
Github Open Source
Open Source
Apache-2.0
2,016
stack-deploy
containerz
Go
Code
449
1,440
/* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this fi...
31,306
https://github.com/nyaosorg/go-readline-ny/blob/master/keyfunc_test.go
Github Open Source
Open Source
MIT
2,022
go-readline-ny
nyaosorg
Go
Code
130
478
package readline_test import ( "context" "strings" "testing" "github.com/nyaosorg/go-readline-ny" "github.com/nyaosorg/go-readline-ny/internal/dummyin" ) const f = "\U0001F468\u200D\U0001F33E" func tryAll(t *testing.T, texts ...string) (string, []string) { var buffer strings.Builder editor := readline.Editor...
34,495
https://github.com/tnga/workshop.freecodecamp/blob/master/11_markdown_previewer/lib/iui/0.0/src/sass/i_themes/default/navbars/_mi_style.scss
Github Open Source
Open Source
MIT
2,016
workshop.freecodecamp
tnga
SCSS
Code
132
356
/* * For default theme. Here is the style definition of "mi" design aspect for submenu in navbar. _____________________________________________________________________________________________*/ .i-nav.mi-style { //Wink: from a homework website menubar style for tutorial (maths and computer science) >ul >li { ...
1,824
https://github.com/ARace863/EpicItems-Source/blob/master/src/main/java/me/arace863/epicitems/EpicItems.java
Github Open Source
Open Source
Apache-2.0
2,021
EpicItems-Source
ARace863
Java
Code
505
2,304
/* Made by ARace863 This plugin is protected by the Apache 2.0 License You may not repost this plugin or sell it by any means. */ package me.arace863.epicitems; import me.arace863.epicitems.Items.ItemManager; import me.arace863.epicitems.Utils.*; import me.arace863.epicitems.Utils.Databases.MySQL; import net....
46,589
https://github.com/cstyles09/melisa/blob/master/application/modules/home/views/welcome.php
Github Open Source
Open Source
CC-BY-3.0, LicenseRef-scancode-unknown-license-reference
2,014
melisa
cstyles09
PHP
Code
336
1,783
<!--<div class="grid" style="margin-bottom: 20px;"> <div class="row"> <div style="padding: 1px 1px 1px 10px;background-color: rgb(255,191,0);"> <h3 class="fg-color-darken"><i class="icon-comments-4"></i>&nbsp;Ayo belajar rame-rame, Rame-rame belajar.</h3> </div> </div> </div>--> <!-...
48,449
https://github.com/ymahajan/geode/blob/master/geode-lucene/src/test/java/org/apache/geode/cache/lucene/internal/repository/serializer/HeterogeneousLuceneSerializerJUnitTest.java
Github Open Source
Open Source
ISC, Apache-2.0, BSD-3-Clause
null
geode
ymahajan
Java
Code
328
1,180
/* * Licensed to the Apache Software Foundation (ASF) under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional information regarding * copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the * "License"); you may not ...
23,595
https://github.com/flinkai/chart-fx/blob/master/chartfx-samples/src/main/java/de/gsi/math/samples/IIRFilterSample.java
Github Open Source
Open Source
Apache-2.0
2,019
chart-fx
flinkai
Java
Code
427
1,458
package de.gsi.math.samples; import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader; import java.util.zip.ZipInputStream; import de.gsi.dataset.DataSet; import de.gsi.dataset.spi.DoubleDataSet; import de.gsi.math.DataSetMath; import de.gsi.math.filter.iir.Butterworth; import de.gs...
18,180
https://github.com/kondorj/zakadabar-stack/blob/master/core/src/jvmMain/kotlin/zakadabar/stack/backend/data/builtin/resources/LocaleStringTable.kt
Github Open Source
Open Source
Apache-2.0
2,021
zakadabar-stack
kondorj
Kotlin
Code
70
228
/* * Copyright © 2020, Simplexion, Hungary and contributors. Use of this source code is governed by the Apache 2.0 license. */ package zakadabar.stack.backend.data.builtin.resources import org.jetbrains.exposed.dao.id.LongIdTable import org.jetbrains.exposed.sql.ResultRow import zakadabar.stack.data.builtin.account....
23,398
https://github.com/tauonico/vertigo/blob/master/deployer/src/test/mods/net.kuujo~test-mod-1~1.0/App.java
Github Open Source
Open Source
Apache-2.0
2,018
vertigo
tauonico
Java
Code
17
59
import net.kuujo.vertigo.java.ComponentVerticle; public class App extends ComponentVerticle { @Override public void start() { output.port("out").send("Hello world!"); } }
4,096
https://github.com/TIHubGitHub/TDEntranceGuard/blob/master/app/src/main/java/com/tru/trudiancloud/smartHome/controller/fragment/ChooseDeviceTypeLeftFragment.java
Github Open Source
Open Source
MIT
2,021
TDEntranceGuard
TIHubGitHub
Java
Code
396
1,643
package com.tru.trudiancloud.smartHome.controller.fragment; import android.app.Activity; import android.content.Context; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Bas...
24,019
https://github.com/dk06/tinayblock/blob/master/app/js/w3_ServerChaKey.js
Github Open Source
Open Source
CC0-1.0
null
tinayblock
dk06
JavaScript
Code
2,593
9,647
const {ipcMain} = require('electron'); var usbDetect = require('usb-detection'); var player = require('play-sound')(opts = {}); var Web3 = require('web3'); // const bitcoin = require('bitcoinjs-lib'); const assert = require('assert') const wif = require('wif') // Do some detection usbDetect.startMonitoring(); v...
44,185
https://github.com/mgax/apti-obs/blob/master/app/src/Bolt/Nut/LogTrim.php
Github Open Source
Open Source
MIT
null
apti-obs
mgax
PHP
Code
39
157
<?php namespace Bolt\Nut; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; class LogTrim extends BaseCommand { protected function configure() { $this ->setName('log:trim') ->setDescription('Trim the activitylog to recent...
3,832
https://github.com/LINTEKZiemowitBorowski/python_tests/blob/master/benchmark06_fibonacci.py
Github Open Source
Open Source
MIT
null
python_tests
LINTEKZiemowitBorowski
Python
Code
168
544
#!/usr/bin/python import os import sys import time import functools32 sys.path.append("./benchmark_cython_module") import benchmark_cython_module def fibonacci(n): if n <= 1: return n return fibonacci(n - 1) + fibonacci(n - 2) @functools32.lru_cache(maxsize=128) def fibonacci_cached(n): if n ...
7,511
https://github.com/gcherian/reladomo/blob/master/reladomo/src/main/java/com/gs/fw/common/mithra/finder/JoinClause.java
Github Open Source
Open Source
Apache-2.0
null
reladomo
gcherian
Java
Code
207
633
/* Copyright 2016 Goldman Sachs. 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, softw...
41,613
https://github.com/renatoDEVNOVA/mkc/blob/master/app/Http/Controllers/NotaPrensaController.php
Github Open Source
Open Source
MIT
null
mkc
renatoDEVNOVA
PHP
Code
1,709
6,005
<?php namespace App\Http\Controllers; use App\NotaPrensa; use Illuminate\Http\Request; use App\PlanMedio; use Illuminate\Support\Str; use App\User; use Validator; use DB; use Storage; use Mail; use App\Mail\NotaPrensa as NotaPrensaMail; class NotaPrensaController extends Controller { /** * Display a listi...
53,772
https://github.com/vmichalak/kotlin/blob/master/compiler/frontend/src/org/jetbrains/kotlin/resolve/LateinitModifierApplicabilityChecker.kt
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,022
kotlin
vmichalak
Kotlin
Code
503
1,850
/* * Copyright 2010-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
46,578
https://github.com/demoitem/cm3/blob/master/m3-db/mysql/src/MySQLRaw.i3
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, LicenseRef-scancode-mit-specification-disclaimer, BSD-4-Clause-UC, LicenseRef-scancode-warranty-disclaimer, BSD-2-Clause
2,014
cm3
demoitem
null
Spoken
2,578
10,433
(******************************************************************************* * This file was automatically generated by SWIG (http://www.swig.org). * Version 2.0.4 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. ********************************...
43,125
https://github.com/apatronl/cs-wikipedia-philosophy-lab-codeU/blob/master/javacs-lab05/src/com/flatironschool/javacs/WikiPhilosophy.java
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, LicenseRef-scancode-public-domain
2,016
cs-wikipedia-philosophy-lab-codeU
apatronl
Java
Code
333
980
package com.flatironschool.javacs; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.jsoup.nodes.Element; import org.jsoup.nodes.Node; import org.jsoup.nodes.TextNode; import org.jsoup.select.Elements; public class WikiPhilosophy { final static WikiFetcher wf = new WikiFetc...
1,015
https://github.com/CS2103JAN2018-W15-B4/main/blob/master/src/test/java/seedu/club/model/member/FieldContainsKeywordsPredicateTest.java
Github Open Source
Open Source
MIT
2,018
main
CS2103JAN2018-W15-B4
Java
Code
1,122
5,262
package seedu.club.model.member; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import static seedu.club.logic.parser.CliSyntax.PREFIX_EMAIL; import static seedu.club.logic.parser.CliSyntax.PREFIX_GROUP; import static seedu.club.logic.parser.CliSyntax.PREFIX_MATRIC_NUMBER; impor...
39,493
https://github.com/Yahasana/d3/blob/master/src/selection/enter-select.js
Github Open Source
Open Source
BSD-3-Clause
2,013
d3
Yahasana
JavaScript
Code
86
250
import "selection"; import "enter"; d3_selection_enterPrototype.select = function(selector) { var m = this.length, subgroups = new Array(m), subgroup, subnode, upgroup, group, node, j, i, n; for (j = -1; ++j < m;) { upgroup = (group = this[j]).update; ...
7,277
https://github.com/pkorenev/ruby-gnome2/blob/master/gtk/src/rbgtkalignment.c
Github Open Source
Open Source
Ruby
2,017
ruby-gnome2
pkorenev
C
Code
153
727
/* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */ /************************************************ rbgtkalignment.c - $Author: mutoh $ $Date: 2004/07/31 05:44:45 $ Copyright (C) 2002-2004 Ruby-GNOME2 Project Team Copyright (C) 1998-2000 Yukihiro Matsumoto, Daisuke Kanda, ...
48,515
https://github.com/lxx1992-hub/Unity-Shaders/blob/master/Assets/Shaders/180-189/184_07_SGEL_Toon_Ramp.shader
Github Open Source
Open Source
MIT
2,020
Unity-Shaders
lxx1992-hub
null
Spoken
136
479
Shader "Custom/180-189/184_07_SGEL_Toon_Ramp" { Properties { _MainTex ("Base (RGB)", 2D) = "white" {} _EmissionMap ("Emission", 2D) = "white" {} _LightDir ("Light direction", Vector) = (1, 1, 1, 1) _RampTex ("Ramp texture", 2D) = "white" {} } SubShader { ...
13,385
https://github.com/askerlab/Alpandia/blob/master/application/views/url_edit.php
Github Open Source
Open Source
Apache-2.0
null
Alpandia
askerlab
PHP
Code
175
811
<!-- page content --> <div class="right_col" role="main"> <div class=""> <div class="row"> <div class="col-md-12 col-sm-12 col-xs-12"> <div class="x_panel"> <div class="x_title"> <h2><span class="fa fa-chevron-left...
36,658
https://github.com/yijunyu/demo/blob/master/datasets/linux-4.11-rc3/drivers/hwmon/jz4740-hwmon.c
Github Open Source
Open Source
BSD-2-Clause, Linux-syscall-note, GPL-2.0-only
2,021
demo
yijunyu
C
Code
379
1,428
/* * Copyright (C) 2009-2010, Lars-Peter Clausen <lars@metafoo.de> * JZ4740 SoC HWMON driver * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at yo...
10,124
https://github.com/Unidata/gempak/blob/master/extlibs/AODT/v64/odtmcidas/navcal/libf2c/d_sinh.c
Github Open Source
Open Source
BSD-3-Clause
2,023
gempak
Unidata
C
Code
24
84
#include "f2c.h" #ifdef KR_headers double sinh(); double d_sinh(x) doublereal *x; #else #undef abs #include "math.h" double d_sinh(doublereal *x) #endif { return( sinh(*x) ); }
47,297
https://github.com/sarahrajabi/badgify/blob/master/src/test/java/solutions/thex/reporeporter/responseWrapper/badge/LogoAsResponseWrapperTests.java
Github Open Source
Open Source
MIT
null
badgify
sarahrajabi
Java
Code
116
527
package solutions.thex.reporeporter.responseWrapper.badge; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.TestInstance; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.http.HttpStatus; import solutions.thex.reporeporter.s...
22,505
https://github.com/langdev/log.langdev.org/blob/master/logviewer/bot.py
Github Open Source
Open Source
MIT
2,014
log.langdev.org
langdev
Python
Code
529
2,358
from __future__ import unicode_literals import logging import hashlib import re import time import io import os.path import datetime import socket import requests import tornado.ioloop import tornado.iostream import tornadio2 from flask import current_app from . import util, parser _log = logging.getLogger(__name_...
19,771
https://github.com/NaturalSolutions/ecoReleve-Data/blob/master/Back/database/Export/Vues/VIndividuEquipementHisto.sql
Github Open Source
Open Source
MIT
2,021
ecoReleve-Data
NaturalSolutions
SQL
Code
33
99
IF EXISTS (SELECT * FROM sys.objects WHERE type = 'V' AND name = 'VIndividuEquipementHisto ') DROP VIEW VIndividuEquipementHisto GO CREATE VIEW VIndividuEquipementHisto AS SELECT * FROM [EcoReleve_ECWP].dbo.Equipment E WHERE E.FK_Individual IS NOT NULL
47,124
https://github.com/toworld-dev/scrum-poker-online/blob/master/src/modules/vote/dto/request/getAllVote.dto.ts
Github Open Source
Open Source
MIT
2,021
scrum-poker-online
toworld-dev
TypeScript
Code
13
30
export class GetAllVoteDto { take = 10; skip = 0; search?: string; }
24,299
https://github.com/4Science/DSpace/blob/master/dspace-api/src/test/java/org/dspace/app/sherpa/SHERPADataProviderTest.java
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, BSD-3-Clause, MPL-1.0, W3C, GPL-1.0-or-later, LicenseRef-scancode-unicode, LGPL-2.1-or-later, LGPL-2.0-or-later, CDDL-1.0, MIT, Apache-2.0, JSON, EPL-1.0, LicenseRef-scancode-public-domain, LicenseRef-scancode-unicode-icu-58
2,023
DSpace
4Science
Java
Code
1,592
3,866
/** * The contents of this file are subject to the license and copyright * detailed in the LICENSE and NOTICE files at the root of the source * tree and available online at * * http://www.dspace.org/license/ */ package org.dspace.app.sherpa; import static org.junit.Assert.assertEquals; import static org.junit.As...
51,615
https://github.com/tom555cat/TLMToolKit/blob/master/Example/TLMToolKit/TLMViewController.h
Github Open Source
Open Source
MIT
2,019
TLMToolKit
tom555cat
Objective-C
Code
28
93
// // TLMViewController.h // TLMToolKit // // Created by tongleiming1989@sina.com on 06/21/2019. // Copyright (c) 2019 tongleiming1989@sina.com. All rights reserved. // @import UIKit; @interface TLMViewController : UIViewController @end
24,070
https://github.com/magdel/MapNav/blob/master/midlets.pro
Github Open Source
Open Source
MIT
2,020
MapNav
magdel
null
Spoken
203
459
# # This ProGuard configuration file illustrates how to process J2ME midlets. # Usage: # java -jar proguard.jar @midlets.pro # # Specify the input jars, output jars, and library jars. #-injars in.jar #-outjars out.jar #-libraryjars ./WTK/lib/midpapi20.jar #-libraryjars ./WTK/lib/cldcapi11.jar # Preverify the c...
20,776
https://github.com/davidjohnoliver/CodeConnections/blob/master/CodeConnections.Shared/Graph/SearchEntry.cs
Github Open Source
Open Source
MIT
2,022
CodeConnections
davidjohnoliver
C#
Code
65
172
#nullable enable using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CodeConnections.Graph { public class SearchEntry { public readonly Node Node; public readonly SearchEntry? Previous; public readonly int Generation; public SearchE...
34,929
https://github.com/AlphaLars/My-first-carousel/blob/master/Website_carousel/js/carousel.js
Github Open Source
Open Source
MIT
null
My-first-carousel
AlphaLars
JavaScript
Code
276
960
const track = document.querySelector(".carousel_track"); const slides = Array.from(track.children); const nextButton = document.querySelector(".carousel_button-right"); const prevButton = document.querySelector(".carousel_button-left"); const dotsNav = document.querySelector(".carousel_nav"); const currentSlide = track...
12,416
https://github.com/huaweicloud/huaweicloud-sdk-java-v3/blob/master/services/koomessage/src/main/java/com/huaweicloud/sdk/koomessage/v1/model/PubDetail.java
Github Open Source
Open Source
Apache-2.0
2,023
huaweicloud-sdk-java-v3
huaweicloud
Java
Code
966
3,949
package com.huaweicloud.sdk.koomessage.v1.model; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.function.Consumer; ...
53,003
https://github.com/wgq-iapcm/Parvoro-/blob/master/3rdparty/diy/cmake/DIYConfigureMPI.cmake
Github Open Source
Open Source
BSD-3-Clause
2,022
Parvoro-
wgq-iapcm
CMake
Code
119
895
cmake_policy(PUSH) if (POLICY CMP0075) cmake_policy(SET CMP0075 NEW) endif() include (CheckTypeSize) if (mpi) find_package(MPI REQUIRED) list(APPEND CMAKE_REQUIRED_INCLUDES ${MPI_CXX_INCLUDE_PATH}) list(APPEND CMAKE_EXTRA_INCLUDE_FILES "mpi.h") list(APPEND CMAKE_REQUIRED_LIBRARIES ${MPI_CXX_LIBRARIES}) e...
10,335
https://github.com/jackypanster/util/blob/master/worker.go
Github Open Source
Open Source
MIT
2,019
util
jackypanster
Go
Code
187
398
package util import ( "log" "time" ) // Job represents the job to be run type Job struct { Do func() error } // Worker represents the worker that executes the job type Worker struct { WorkerPool chan chan Job JobChannel chan Job quit chan bool id int } func NewWorker(workerPool chan chan Job) *...
32,776
https://github.com/jsong00505/LeetCode/blob/master/Algorithms/src/test/java/medium/w/WordSearchTest.java
Github Open Source
Open Source
MIT
2,020
LeetCode
jsong00505
Java
Code
209
552
package medium.w; import org.junit.Before; import org.junit.Test; import static org.junit.Assert.assertEquals; public class WordSearchTest { private WordSearch wordSearch; @Before public void setUp() { wordSearch = new WordSearch(); } @Test public void test1Exist() { // test input char[][] ...
47,108
https://github.com/lyonghwan/siemens-s7-plc/blob/master/node_modules/iso-on-tcp/src/index.js
Github Open Source
Open Source
MIT
null
siemens-s7-plc
lyonghwan
JavaScript
Code
235
589
//@ts-check /* Copyright: (c) 2018-2020, ST-One Ltda. GNU General Public License v3.0+ (see LICENSE or https://www.gnu.org/licenses/gpl-3.0.txt) */ const net = require('net'); const ISOOnTCPParser = require('./parser.js'); const ISOOnTCPSerializer = require('./serializer.js'); const ISOOnTCPClient = require('./cl...
33,517
https://github.com/SethTisue/sconfig/blob/master/sconfig/src/main/scala/org/ekrich/config/impl/Token.scala
Github Open Source
Open Source
Apache-2.0
null
sconfig
SethTisue
Scala
Code
224
539
/** * Copyright (C) 2011-2012 Typesafe Inc. <http://typesafe.com> */ package org.ekrich.config.impl import org.ekrich.config.ConfigException import org.ekrich.config.ConfigOrigin object Token { // this is used for singleton tokens like COMMA or OPEN_CURLY def newWithoutOrigin(tokenType: TokenType, ...
32,070
https://github.com/pihvi/laverca/blob/master/src/fi/laverca/FiComPkcs7.java
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-other-permissive
2,011
laverca
pihvi
Java
Code
786
2,661
package fi.laverca; import java.io.IOException; import java.security.cert.X509Certificate; import java.util.Enumeration; import java.util.LinkedList; import java.util.List; import javax.naming.InvalidNameException; import javax.naming.ldap.LdapName; import javax.naming.ldap.Rdn; import org.apache.commons.logging.Log...
36,209
https://github.com/Kedyn/CSUF-CPSC-323/blob/master/lexer/src/main.cpp
Github Open Source
Open Source
MIT
2,019
CSUF-CPSC-323
Kedyn
C++
Code
60
172
#include <iostream> #include "analyze.hpp" void usage(const char *function_name) { std::cout << "Usage: " << function_name << " filename\n"; } int main(int argc, char *argv[]) { if (argc == 1) { usage(argv[0]); return 1; } else if (argc == 2) { analyze(argv[1]); ...
29,447
https://github.com/Sup123101/AirStrikeVR/blob/master/491P1/Assets/MusicManager.cs
Github Open Source
Open Source
MIT
null
AirStrikeVR
Sup123101
C#
Code
467
1,989
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MusicManager : MonoBehaviour { public bool musicPlaying = false; public int currentMode = 0; // 0 = Menu, 1 = Classic, 2 = Modern, 3 = starFgither private bool chatterOngoing = false; private bool chatterEnabled = f...
32,967
https://github.com/InsightsDev-dev/tajo/blob/master/tajo-algebra/src/main/java/org/apache/tajo/algebra/WindowSpec.java
Github Open Source
Open Source
Apache-2.0
2,022
tajo
InsightsDev-dev
Java
Code
678
1,849
/** * 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...
19,879
https://github.com/tiaan-lg/MQTTnet.TestApp.WinForm/blob/master/MQTTnet.TestApp.WinForm/Form1.Designer.cs
Github Open Source
Open Source
MIT
null
MQTTnet.TestApp.WinForm
tiaan-lg
C#
Code
1,521
7,132
namespace MQTTnet.TestApp.WinForm { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed resourc...
4,707
https://github.com/nhs-digital-gp-it-futures/GPITBuyingCatalogue/blob/master/src/NHSD.GPIT.BuyingCatalogue.ServiceContracts/Organisations/OdsResponse.cs
Github Open Source
Open Source
MIT
null
GPITBuyingCatalogue
nhs-digital-gp-it-futures
C#
Code
20
74
using System.Diagnostics.CodeAnalysis; namespace NHSD.GPIT.BuyingCatalogue.ServiceContracts.Organisations { [ExcludeFromCodeCoverage] public sealed class OdsResponse { public OdsResponseOrganisation Organisation { get; init; } } }
4,907
https://github.com/stMerlHin/flutter_group_button/blob/master/lib/src/radio_group.dart
Github Open Source
Open Source
BSD-3-Clause
2,021
flutter_group_button
stMerlHin
Dart
Code
674
1,798
import 'package:flutter/material.dart'; import 'package:flutter_group_button/src/group_items_alignment.dart'; /// By st merlHin from DexCorp /// A class to ease the creation of [Radio] button with [Text] class RadioGroup extends StatefulWidget { const RadioGroup({ Key? key, this.groupItemsAlignment = GroupIt...
39,073
https://github.com/FlowzPlatform/Flowz/blob/master/JobQue/seneca-job-queue/start-child-worker.js
Github Open Source
Open Source
MIT
2,017
Flowz
FlowzPlatform
JavaScript
Code
684
2,474
var common = require('./common') const config = require('./config') const registerWorker = config.registerWorker const pino = require('pino')(config.pino) const pinoDB = require('pino') const PINO_DB_OPTION = config.pinoDB // TODO: check where is used and set proper options const chokidar = require('chokidar') const fs...
42,678
https://github.com/luiz-star/wscad2020/blob/master/mult_matrix/include.h
Github Open Source
Open Source
MIT
2,021
wscad2020
luiz-star
C++
Code
17
70
#include <stdio.h> #include <stdlib.h> #include <time.h> using namespace std; #include "init.h" #include "verify.h" #include "kernel.h" #include "time_analisys.h"
41,034
https://github.com/mssdvd/aoc/blob/master/2020/day4/main.go
Github Open Source
Open Source
MIT
null
aoc
mssdvd
Go
Code
329
977
package main import ( "fmt" "os" "regexp" "strconv" "strings" ) func check(err error) { if err != nil { panic(err) } } func part1(passwords []string) int { var valid int fields := []string{"byr", "iyr", "eyr", "hgt", "hcl", "ecl", "pid"} for _, password := range passwords { var matches int for _, fie...
24,249
https://github.com/ttincs/guibat/blob/master/actual-sr-access-detector/gator/sootandroid/src/main/java/presto/android/gui/wtg/util/QueryHelper.java
Github Open Source
Open Source
Apache-2.0
null
guibat
ttincs
Java
Code
405
1,348
/* * QueryHelper.java - part of the GATOR project * * Copyright (c) 2018 The Ohio State University * * This file is distributed under the terms described in LICENSE in the * root directory. */ package presto.android.gui.wtg.util; import com.google.common.collect.Lists; import com.google.common.collect.Sets; imp...
52,877
https://github.com/ScalablyTyped/SlinkyTyped/blob/master/r/react-mosaic-component/src/main/scala/typingsSlinky/reactMosaicComponent/mosaicMod/MosaicProps.scala
Github Open Source
Open Source
MIT
2,021
SlinkyTyped
ScalablyTyped
Scala
Code
52
261
package typingsSlinky.reactMosaicComponent.mosaicMod import typingsSlinky.reactMosaicComponent.typesMod.MosaicKey import scala.scalajs.js import scala.scalajs.js.`|` import scala.scalajs.js.annotation._ /* Rewritten from type alias, can be one of: - typingsSlinky.reactMosaicComponent.mosaicMod.MosaicControlledProp...
47,384
https://github.com/impronunciable/hackdash/blob/master/client/app/views/Home/Search.js
Github Open Source
Open Source
MIT
2,021
hackdash
impronunciable
JavaScript
Code
224
757
var template = require('./templates/search.hbs'); module.exports = Backbone.Marionette.ItemView.extend({ //-------------------------------------- //+ PUBLIC PROPERTIES / CONSTANTS //-------------------------------------- className: "landing-search", template: template, ui: { searchbox: "#search" ...
28,642
https://github.com/Derjuju/tw-symfony/blob/master/web/scss/_ajouter-bouteille.scss
Github Open Source
Open Source
MIT
null
tw-symfony
Derjuju
SCSS
Code
130
447
.add-bottle-form { background: #F6F6F6; padding: 50px 0 30px; .data-container { select, textarea, button, label { font-weight: 300; font-size: .8em; } textarea { width: 100%; max-width: 100%; max-height: 230px; min-height: 70px; border: 1px solid #E5E5E5; pa...
5,659
https://github.com/ElSamaritan/blockchain-OLD/blob/master/cmake/CompilerConfiguration.cmake
Github Open Source
Open Source
Apache-2.0
null
blockchain-OLD
ElSamaritan
CMake
Code
818
3,995
# ============================================================================================== # # # # Galaxia Blockchain # # ...
16,549
https://github.com/sankhesh/tomviz/blob/master/tomviz/vtkVolumeScaleRepresentation.cxx
Github Open Source
Open Source
BSD-3-Clause
2,022
tomviz
sankhesh
C++
Code
310
1,521
/* This source file is part of the Tomviz project, https://tomviz.org/. It is released under the 3-Clause BSD License, see "LICENSE". */ #include "vtkVolumeScaleRepresentation.h" #include "vtkAxisActor2D.h" #include "vtkMath.h" #include "vtkObjectFactory.h" #include "vtkPointHandleRepresentation2D.h" #include "vtkP...
28,042
https://github.com/BatDroid/covid-tracker-react-native/blob/master/src/utils/avatar.ts
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,020
covid-tracker-react-native
BatDroid
TypeScript
Code
48
143
import * as AvatarImages from '@assets'; export type AvatarName = | 'profile1' | 'profile2' | 'profile3' | 'profile4' | 'profile5' | 'profile6' | 'profile7' | 'profile8' | 'profile9' | 'profile10'; export const DEFAULT_PROFILE = 'profile1'; export const getAvatarByName = (name: AvatarName) => { ...
34,955
https://github.com/mkschleg/Reproduce.jl/blob/master/src/utils/exp_util.jl
Github Open Source
Open Source
MIT
2,023
Reproduce.jl
mkschleg
Julia
Code
240
1,019
# actual in job utilities function parallel_from_config(config_file::AbstractString; save_path="") experiment = Experiment(config_file, save_path) pre_experiment(experiment) ret = job(experiment) post_experiment(experiment, ret) end # Save setup for the old file system. check_experiment_done(parsed...
6,359
https://github.com/JuniorSHS/Projet-Tech/blob/master/resources/views/admin/dashboard.blade.php
Github Open Source
Open Source
MIT
null
Projet-Tech
JuniorSHS
PHP
Code
68
407
@extends('layouts.master') @section('title') Espace Administrateur @endsection @section('content') <div class="row"> <div class="col-md-12"> <div class="card"> <div class="card-header"> <h4 class="card-title"> Liste utilisateurs</h4> </div> <div class="card-body">...
14,783
https://github.com/lesspointless/Shakal-NG/blob/master/web/assets.py
Github Open Source
Open Source
MIT
null
Shakal-NG
lesspointless
Python
Code
858
4,443
# -*- coding: utf-8 -*- from __future__ import unicode_literals SPRITES = ( { 'name': 'sprites', 'output': 'alpha/images/sprites.png', 'scss_output': 'alpha/scss/_sprites.scss', 'extra_sizes': ((2, '@2x'),), 'width': 400, 'height': 400, 'images': ( { 'name': 'header_shadow', 'src': 'alpha/images/head...
28,336
https://github.com/phaniteja1/FunPredicts/blob/master/app/components/application-header/template.hbs
Github Open Source
Open Source
MIT
null
FunPredicts
phaniteja1
null
Spoken
62
360
<nav class="navbar navbar-expand-lg navbar-light bg-light"> {{#link-to "index" class="nav-brand"}}FunPredicts{{/link-to}} <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarText" aria-controls="navbarText" aria-expanded="false" aria-label="Toggle navigation"> <span class="na...
50,036
https://github.com/logikfabrik/uJetSocial/blob/master/src/Logikfabrik.Umbraco.Jet.Social/CacheWrapperFactory.cs
Github Open Source
Open Source
MIT
2,019
uJetSocial
logikfabrik
C#
Code
60
197
// <copyright file="CacheWrapperFactory.cs" company="Logikfabrik"> // Copyright (c) 2015 anton(at)logikfabrik.se. Licensed under the MIT license. // </copyright> namespace Logikfabrik.Umbraco.Jet.Social { /// <summary> /// The <see cref="CacheWrapperFactory" /> class. /// </summary> public static cl...
53,541
https://github.com/AprilYoungs/Cpp_basic/blob/master/Sortings/Sortings/Fuctions.hpp
Github Open Source
Open Source
Apache-2.0
null
Cpp_basic
AprilYoungs
C++
Code
197
678
// // Fuctions.hpp // Sortings // // Created by April Young on 25/10/2018. // Copyright © 2018 April. All rights reserved. // #ifndef Fuctions_hpp #define Fuctions_hpp #include <iostream> #include <vector> template <typename T> void print(std::vector<T> vec) { for (int i=0; i<vec.size(); ++i) { p...
43,976
https://github.com/deepaksokhal3/amzlinks/blob/master/resources/views/emails/subscriptionAlert.blade.php
Github Open Source
Open Source
MIT
null
amzlinks
deepaksokhal3
PHP
Code
874
3,933
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0;"> <!--[if !mso]><!--> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <!--<![endif]--> <!--[if gte m...
28,599
https://github.com/ohkamanda/FCC/blob/master/Object Oriented and Functional Programming/09 - Waypoint.js
Github Open Source
Open Source
MIT
2,016
FCC
ohkamanda
JavaScript
Code
141
223
/* Waypoint: Sort Arrays with sort You can use the method sort to easily sort the values in an array alphabetically or numerically. Unlike the previous array methods we have been looking at, sort actually alters the array in place. However, it also returns this sorted array. sort can be passed a compare function as ...
40,444
https://github.com/marswang2020/springboot-lab/blob/master/springboot-lab/07-mars-designpattern/src/main/java/mars/gupao/builder/sql/Order.java
Github Open Source
Open Source
MIT
null
springboot-lab
marswang2020
Java
Code
103
283
package mars.gupao.builder.sql; /** * sql排序组件 * @author Tom */ public class Order { private boolean ascending; //升序还是降序 private String propertyName; //哪个字段升序,哪个字段降序 public String toString() { return propertyName + ' ' + (ascending ? "asc" : "desc"); } /** * Constructor for Order. */ protected Order(...
43,941
https://github.com/gitter-badger/modular-css/blob/master/test/results/browserify/avoid-duplicates-local.js
Github Open Source
Open Source
MIT
2,016
modular-css
gitter-badger
JavaScript
Code
9
52
module.exports = { "booga": "mc04cb4cb2_booga", "looga": "mc04cb4cb2_booga mc04cb4cb2_looga" };
28,778
https://github.com/saq7/MeTA/blob/master/src/classify/classifier/knn.cpp
Github Open Source
Open Source
MIT
null
MeTA
saq7
C++
Code
392
1,334
/** * @file knn.cpp * @author Sean Massung */ #include <vector> #include <unordered_map> #include "cpptoml.h" #include "classify/classifier/knn.h" #include "corpus/document.h" #include "index/postings_data.h" #include "index/ranker/ranker_factory.h" namespace meta { namespace classify { const std::string knn::id...
15,141
https://github.com/B09090074/ocs/blob/master/docs/release-notes/ChangeLog-2.3
Github Open Source
Open Source
MIT
2,021
ocs
B09090074
null
Spoken
4,241
34,129
2010-01-18 14:46 asmecher * dbscripts/xml/version.xml, docs/README, docs/dev/RELEASE, docs/release-notes/README-2.3, registry/locales.xml: #3711# Final commits 2010-01-18 13:37 asmecher * plugins/generic/translator/TranslatorAction.inc.php: #5069# Fixed translator plugin typo 2010-01-18 13:34 asmecher...
6,374
https://github.com/htfab/treepram-red/blob/master/verilog/rtl/wb_mux.v
Github Open Source
Open Source
MIT
2,021
treepram-red
htfab
Verilog
Code
438
1,134
// SPDX-License-Identifier: MIT // SPDX-FileCopyrightText: 2021 Tamas Hubai `default_nettype none /* Wishbone multiplexer to process messages from Caravel We use wishbone in classic mode with the simplest possible interface: - all operations complete in a single cycle - input is valid if STB_I && CYC_I is asserted -...
13,407
https://github.com/hiendv/octicons-modular/blob/master/packages/octicons-vue/test/main.es.test.js
Github Open Source
Open Source
MIT
2,021
octicons-modular
hiendv
JavaScript
Code
205
592
import { mount } from '@vue/test-utils' import Octicon from '../es/main.js' describe('Octicon component', () => { const icon = require('octicons-modular/lib/icons/zap') test('invalid', () => { const wrapper = mount(Octicon, { context: { props: { icon: { attrs () {}, ...
23,461
https://github.com/17734027950/leevel/blob/master/ext/leevel/collection/collection.zep.c
Github Open Source
Open Source
MIT
null
leevel
17734027950
C
Code
2,342
12,666
#ifdef HAVE_CONFIG_H #include "../../ext_config.h" #endif #include <php.h> #include "../../php_ext.h" #include "../../ext.h" #include <Zend/zend_operators.h> #include <Zend/zend_exceptions.h> #include <Zend/zend_interfaces.h> #include "kernel/main.h" #include "ext/spl/spl_iterators.h" #include "kernel/operators.h" ...
5,931
https://github.com/DanielPedyna/Cornowser/blob/master/app/src/main/java/io/xdevs23/cornowser/browser/browser/modules/ui/OmniboxControl.java
Github Open Source
Open Source
MIT
2,016
Cornowser
DanielPedyna
Java
Code
45
166
package io.xdevs23.cornowser.browser.browser.modules.ui; import io.xdevs23.cornowser.browser.CornBrowser; public class OmniboxControl { public static boolean isBottom() { return CornBrowser.getBrowserStorage().getOmniboxPosition(); } public static boolean isTop() { return !isBottom(); ...
28,166
https://github.com/dbahat/conventions/blob/master/Conventions/app/src/androidTest/java/amai/org/conventions/events/activities/ProgrammeActivityTests.java
Github Open Source
Open Source
Apache-2.0
2,020
conventions
dbahat
Java
Code
117
658
package amai.org.conventions.events.activities; import android.content.Intent; import androidx.test.core.app.ApplicationProvider; import androidx.test.ext.junit.runners.AndroidJUnit4; import androidx.test.rule.ActivityTestRule; import org.junit.Rule; import org.junit.Test; import org.junit.runner.RunWith; import ja...
9,792
https://github.com/jonathansharman/gynjo/blob/master/src/variable.rs
Github Open Source
Open Source
MIT
2,021
gynjo
jonathansharman
Rust
Code
18
52
use crate::{symbol::Sym, types::Type}; #[derive(Clone, Eq, PartialEq, Debug)] pub struct Variable { pub name: Sym, pub type_: Type, }
38,470
https://github.com/VKCOM/vk-java-sdk/blob/master/sdk/src/main/java/com/vk/api/sdk/queries/messages/MessagesGetConversationsQuery.java
Github Open Source
Open Source
MIT
2,021
vk-java-sdk
VKCOM
Java
Code
534
1,333
// Autogenerated from vk-api-schema. Please don't edit it manually. package com.vk.api.sdk.queries.messages; import com.vk.api.sdk.client.AbstractQueryBuilder; import com.vk.api.sdk.client.VkApiClient; import com.vk.api.sdk.client.actors.GroupActor; import com.vk.api.sdk.client.actors.UserActor; import com.vk.api.sdk....
52,779
https://github.com/mtaghiza/tinyos-main-1/blob/master/tos/sensorboards/mts400/Accel202ReaderP.nc
Github Open Source
Open Source
BSD-3-Clause
2,022
tinyos-main-1
mtaghiza
null
Spoken
416
859
/** Copyright (c) 2009, University of Szeged * 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, this list of condition...
49,788
https://github.com/msgpo/metaverse-vm-graphql-server/blob/master/src/resolvers/contract.resolver.ts
Github Open Source
Open Source
MIT
2,021
metaverse-vm-graphql-server
msgpo
TypeScript
Code
489
1,222
import { ContractModel } from '../models/contracts.model' import { TransactionModel } from '../models/transaction.model' import { utils } from 'ethers' import Cache from 'node-cache' import { LogModel } from '../models/log.model' const abiCache = new Cache({ stdTTL: 3600, checkperiod: 600 }) export const ContractReso...
27,037
https://github.com/SierraNL/MassTransit.ServiceFabric/blob/master/src/WordCount.Service/Consumers/AddWordConsumer.cs
Github Open Source
Open Source
MIT
2,018
MassTransit.ServiceFabric
SierraNL
C#
Code
92
383
using System.Threading.Tasks; using Kevsoft.WordCount.Messages; using MassTransit; using Microsoft.ServiceFabric.Data; using Microsoft.ServiceFabric.Data.Collections; namespace Kevsoft.WordCount.Service.Consumers { public class AddWordConsumer : IConsumer<IAddWord> { private readonly IReliableStateMan...
27,931
https://github.com/open-source-contributions/datagrid/blob/master/tests/Fixtures/ColumnType/FooType.php
Github Open Source
Open Source
MIT
2,018
datagrid
open-source-contributions
PHP
Code
58
160
<?php /** * (c) FSi sp. z o.o. <info@fsi.pl> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace FSi\Component\DataGrid\Tests\Fixtures\ColumnType; use FSi\Component\DataGrid\Column\ColumnAbstractTyp...
13,833
https://github.com/philj56/robot-swing/blob/master/SinglePendulum/pendulum.cpp
Github Open Source
Open Source
MIT
2,016
robot-swing
philj56
C++
Code
320
805
/* Simple damped-driven pendulum solver */ #include <iomanip> #include <iostream> #include <fstream> #include <cmath> #include <gsl/gsl_errno.h> #include <gsl/gsl_odeiv.h> const int columnWidth = 20; // Width of output columns const int precision = 10; // Decimal places to output const double m = 5.2; // Mass of p...
8,236
https://github.com/flow-build/react-sample/blob/master/src/pages/workflows/components/cards-view/index.ts
Github Open Source
Open Source
MIT
null
react-sample
flow-build
TypeScript
Code
4
9
export * from './cards-view'
15,980
https://github.com/senaitesfazgi/reactfront/blob/master/react-ui/src/App.js
Github Open Source
Open Source
MIT
null
reactfront
senaitesfazgi
JavaScript
Code
61
202
import './App.css'; import {Home} from './Home'; import {Department} from './Department'; import {Employee} from './Employee'; import {Navigation} from './Navigation'; import {BrowserRouter, Route, Switch} from 'react-router-dom'; function App() { return ( <BrowserRouter> <div className="container"> <h...
13,827
https://github.com/RuiwenTang/TinyRender/blob/master/src/DDALine.cpp
Github Open Source
Open Source
MIT
2,023
TinyRender
RuiwenTang
C++
Code
9
25
#include "DDALine.h" namespace TRM { } // namespace TRM
48,789
https://github.com/nicolaslattuada/Openfire/blob/master/src/plugins/rayo/src/java/com/jcumulus/server/rtmfp/publisher/C.java
Github Open Source
Open Source
Apache-2.0
2,022
Openfire
nicolaslattuada
Java
Code
169
317
package com.jcumulus.server.rtmfp.publisher; /** * jCumulus is a Java port of Cumulus OpenRTMP * * Copyright 2011 OpenRTMFP * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either versi...
4,320
https://github.com/mochwira/HiringJob/blob/master/src/main/resources/static/js/helper/stresslevel.js
Github Open Source
Open Source
MIT
2,021
HiringJob
mochwira
JavaScript
Code
126
551
$(document).ready(function() { $('#activeStressLevel').val('true'); }); function editStressLevel(param) { console.log(param); var idStressLevel = $('#idStressLevelText' + param).text(); var nameStressLevel = $('#nameStressLevelText' + param).text(); var activeStressLevel = $('#activeStressLevelTex...
7,457
https://github.com/uosorio/heroku_face/blob/master/venv/boost_1_73_0/libs/tti/test/test_has_mem_fun_template_cv_compile.cpp
Github Open Source
Open Source
Apache-2.0
2,020
heroku_face
uosorio
C++
Code
88
525
// (C) Copyright Edward Diener 2019 // Use, modification and distribution are subject to the Boost Software License, // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt). #include "test_has_mem_fun_template.hpp" #include <boost/mpl/assert.hpp> int main() { ...
336
https://github.com/badgerwxo/Java1_2017.10.16/blob/master/src/ru/spec/java1/lec4/WordsCount.java
Github Open Source
Open Source
MIT
null
Java1_2017.10.16
badgerwxo
Java
Code
134
435
package ru.spec.java1.lec4; import java.util.ArrayList; import java.util.Arrays; import java.util.TreeSet; public class WordsCount { public static void main(String[] args) { String s1 = " bla bla bla "; String s2 = " bla bla bla drtb ervt aiuwyet oytwb iu8yt 222 333 4444"; s1 = s1.trim().replaceAll("\\s+", " ...
6,584
https://github.com/amitlemosys/ppal/blob/master/app/Http/Controllers/PayPalController.php
Github Open Source
Open Source
MIT
null
ppal
amitlemosys
PHP
Code
286
1,025
<?php namespace App\Http\Controllers; use App\Order; use App\PayPal; use App\Service; use App\User; use Illuminate\Http\Request; /** * Class PayPalController * @package App\Http\Controllers */ class PayPalController extends Controller { public function form(Request $request, $service_id) { ...
39,122
https://github.com/Sanva/Kinc/blob/master/Backends/Graphics5/Vulkan/Sources/kinc/backend/graphics5/constantbuffer.cpp
Github Open Source
Open Source
Zlib
2,021
Kinc
Sanva
C++
Code
226
1,119
#include "Vulkan.h" #include <kinc/graphics5/constantbuffer.h> #include <assert.h> #include <memory.h> extern VkDevice device; bool memory_type_from_properties(uint32_t typeBits, VkFlags requirements_mask, uint32_t* typeIndex); VkBuffer *Kore::Vulkan::vertexUniformBuffer = nullptr; VkBuffer *Kore::Vulkan::fragmentU...
36,189
https://github.com/johnstonskj/racket-scaffold/blob/master/scaffold/plank-files/scribble-top.scrbl
Github Open Source
Open Source
MIT
2,019
racket-scaffold
johnstonskj
null
Spoken
17
128
#lang scribble/manual @(require racket/file scribble/core) @;{============================================================================} @title[#:version "1.0"]{Package {{content-name}}.} @author[(author+email "{{user-name}}" "{{user-email}}")] {{content-description}} @table-of-contents[] @include-section["{{c...
31,393