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/StupidTrees/CloudLiter-kotlin/blob/master/app/src/main/java/com/stupidtree/cloudliter/data/source/websource/service/ConversationService.kt
Github Open Source
Open Source
MIT
2,021
CloudLiter-kotlin
StupidTrees
Kotlin
Code
115
590
package com.stupidtree.cloudliter.data.source.websource.service import androidx.lifecycle.LiveData import com.stupidtree.component.web.ApiResponse import com.stupidtree.cloudliter.data.model.Conversation import com.stupidtree.cloudliter.data.model.AccessibilityInfo import com.stupidtree.cloudliter.ui.chat.read.ReadUse...
40,103
https://github.com/jrahm/Radiation/blob/master/assets/autoload/script/vim.py
Github Open Source
Open Source
BSD-2-Clause
2,016
Radiation
jrahm
Python
Code
14
26
def command( st ): pass def eval( st ): return "" vars = {}
51,865
https://github.com/GooGee/Code-Builder/blob/master/src/asset/code/Statement.ts
Github Open Source
Open Source
MIT
2,021
Code-Builder
GooGee
TypeScript
Code
85
171
const list: number[] = [1, 2, 3] list.find((item) => item === 0) list.forEach((item) => { return }) do { break } while (false) for (let index = 0; index < list.length; index += 1) { } for (const item of list) { } function add(aaa: number, bbb: number) { return aaa + bbb } if (!true) { } else { } try ...
44,815
https://github.com/ari99/housing_prices_dl4j/blob/master/src/main/java/dl/dl/dataloading/datamaker/SubmissionDataMaker.java
Github Open Source
Open Source
Unlicense
null
housing_prices_dl4j
ari99
Java
Code
276
1,163
package dl.dl.dataloading.datamaker; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Map; import java.util.TreeMap; import org.apache.spark.sql.Dataset; import org.apache.spark.sql.Encoders; import org.apache.spark.sql.Row; import org.datavec.ap...
2,826
https://github.com/cspanring/ember-cli-trackjs/blob/master/app/instance-initializers/configure-trackjs.js
Github Open Source
Open Source
MIT
2,017
ember-cli-trackjs
cspanring
JavaScript
Code
65
199
import Ember from 'ember'; import ErrorHandler from '../utils/error-handler'; export function initialize(app) { // Guard against Ember.onerror hiding test failures // http://raytiley.com/posts/ember-onerror-troll if ( Ember.testing ) { return; } const instance = app.lookup ? app : app.container; const trac...
40,423
https://github.com/va-fursenko/micro/blob/master/lib/class.View.php
Github Open Source
Open Source
MIT
2,017
micro
va-fursenko
PHP
Code
132
380
<?php /** * Templates manager (PHP 5 >= 5.6.0) * Special thanks to: all, http://www.php.net * Copyright (c) viktor Belgorod, 2016-2016 * Email vinjoy@bk.ru * Version 1.0.0 * * This library is free software; you can redistribute it and/or * modify it under the terms of the MIT License (MIT...
8,334
https://github.com/RepoForks/summer_school/blob/master/app/src/main/java/com/luseen/yandexsummerschool/ui/widget/AnimatedTextView.java
Github Open Source
Open Source
Apache-2.0
2,017
summer_school
RepoForks
Java
Code
111
492
package com.luseen.yandexsummerschool.ui.widget; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.content.Context; import android.util.AttributeSet; import android.view.animation.Interpolator; import com.luseen.yandexsummerschool.utils.AnimationUtils; /** * Create...
35,773
https://github.com/mposa/drake/blob/master/automotive/maliput/geometry_base/segment.cc
Github Open Source
Open Source
BSD-3-Clause
2,019
drake
mposa
C++
Code
130
502
#include "drake/automotive/maliput/geometry_base/segment.h" #include "drake/common/drake_throw.h" namespace drake { namespace maliput { namespace geometry_base { const api::Junction* Segment::do_junction() const { return junction_; } void Segment::AttachToJunction(Passkey<Junction>, ...
18,299
https://github.com/louispan/javascript-extras/blob/master/example/webpack.common.js
Github Open Source
Open Source
BSD-3-Clause
2,018
javascript-extras
louispan
JavaScript
Code
36
135
const HtmlWebpackPlugin = require('html-webpack-plugin') module.exports = { entry: ["./src/index.js"], output: { filename: "bundle.js", publicPath: "/", path: __dirname + "/dist", }, plugins: [ new HtmlWebpackPlugin({ title: 'javascript-extras', f...
41,631
https://github.com/warotarock/manual_tracing_tool/blob/master/src/tools/edit_points.ts
Github Open Source
Open Source
MIT
2,021
manual_tracing_tool
warotarock
TypeScript
Code
301
1,184
import { List } from '../base/conversion'; import { VectorStrokeGroup, VectorStroke, VectorPoint, LinePointModifyFlagID, } from '../base/data'; import { ToolEnvironment, ToolMouseEvent, } from '../base/tool'; import { CommandBase } from '../base/command'; import { Selector_LinePoint_BrushSelect, ISelector_B...
48,981
https://github.com/ava-labs/spacesvm-js/blob/master/src/components/LifelineDialog/LifelineDialog.tsx
Github Open Source
Open Source
BSD-3-Clause
2,022
spacesvm-js
ava-labs
TypeScript
Code
711
2,539
import { Twemoji } from 'react-emoji-render' import { AiOutlineRedo } from 'react-icons/ai' import { IoAdd, IoCloseCircleOutline, IoRemove } from 'react-icons/io5' import { useParams } from 'react-router-dom' import { Box, Button, Dialog, DialogContent, Fade, Grid, IconButton, styled, Tooltip, Typography, us...
6,440
https://github.com/alethiaQ/ruby-enumerables-generalized-map-and-reduce-lab-online-web-prework/blob/master/lib/my_code.rb
Github Open Source
Open Source
LicenseRef-scancode-public-domain, LicenseRef-scancode-unknown-license-reference
2,019
ruby-enumerables-generalized-map-and-reduce-lab-online-web-prework
alethiaQ
Ruby
Code
52
153
def map(source_array) i = 0 new_arr = [] while i < source_array.length new_arr.push(yield(source_array[i])) i += 1 end new_arr end def reduce(source_array, starting_point=nil) if starting_point total = starting_point i = 0 else total = source_array[0] i = 1 end ...
6,996
https://github.com/farrajota/fastrcnn-example-torch/blob/master/options.lua
Github Open Source
Open Source
MIT
2,017
fastrcnn-example-torch
farrajota
Lua
Code
801
2,485
--[[ Fast-RCNN Torch7 implementation. Options script. ]] projectDir = projectDir or './' local options = {} function options.parse(arg) local cmd = torch.CmdLine() cmd:text() cmd:text(' ***************************************************************') cmd:text(' Torch-7 Fast-RCNN script.') cm...
2,184
https://github.com/atao91/taozky/blob/master/resources/views/pages/setting.blade.php
Github Open Source
Open Source
MIT
2,020
taozky
atao91
Blade
Code
215
1,213
@extends('layouts.app') @section('title', '个人设置') @section('content') <link rel="stylesheet" href="https://res.wx.qq.com/open/libs/weui/0.3.0/weui.css" /> <!-- 网站内容主体开始 --> <div class="mission"> <!-- 返回上一级 --> <div class="nav-left"> <div class="weui-cell"> <div class="weui-cell__bd"> ...
42,671
https://github.com/abossard/iot_demo_app/blob/master/IoTDemo/IoTDemo/Concepts/DataMap/ColorChooser.swift
Github Open Source
Open Source
MIT
null
iot_demo_app
abossard
Swift
Code
97
255
import Foundation import UIKit class ColorChooser { var availableColors:[UIColor] = [.green, .blue, .orange, .yellow, .brown, .purple, .red, .white] var lastUsedColorIndex = 0 var keyedIndices: [String: Int] = [:] init() { } func getColor(forKey key: String?) -> UIColor? { guard let ...
12,684
https://github.com/condep/condep-dsl-operations-aws/blob/master/src/ConDep.Dsl.Operations.Aws/Ec2/Model/AwsStartOptionsValues.cs
Github Open Source
Open Source
LicenseRef-scancode-generic-cla, BSD-2-Clause, BSD-3-Clause
2,018
condep-dsl-operations-aws
condep
C#
Code
24
90
namespace ConDep.Dsl.Operations.Aws.Ec2.Model { internal class AwsStartOptionsValues : AwsSimpleOperationOptionsValues { private string bootstrapId; public AwsStartOptionsValues(string bootstrapId) : base(bootstrapId) { this.bootstrapId = bootstrapId; } } }
47,314
https://github.com/MilovanTomasevic/Design-Patterns-in-Go/blob/master/src/4_BehavioralPatterns/8_State/handmade.go
Github Open Source
Open Source
MIT
2,021
Design-Patterns-in-Go
MilovanTomasevic
Go
Code
217
648
package state import ( "bufio" "fmt" "os" "strconv" ) type State int const ( OffHook State = iota Connecting Connected OnHold OnHook ) func (s State) String() string { switch s { case OffHook: return "OffHook" case Connecting: return "Connecting" case Connected: return "Connected" case O...
15,617
https://github.com/objcio/S01E164-paths-and-shapes/blob/master/Badge/ContentView.swift
Github Open Source
Open Source
MIT
null
S01E164-paths-and-shapes
objcio
Swift
Code
136
438
// // ContentView.swift // Badge // // Created by Chris Eidhof on 01.08.19. // Copyright © 2019 Chris Eidhof. All rights reserved. // import SwiftUI struct BadgeShape: Shape { func path(in rect: CGRect) -> Path { Path { p in p.move(to: rect.origin) p.addLine(to: CGPoint(x: rect...
12,439
https://github.com/paranoid91/geotourist/blob/master/app/Http/routes.php
Github Open Source
Open Source
MIT
null
geotourist
paranoid91
PHP
Code
240
2,358
<?php //main pages Route::get("/", "PagesController@index"); Route::post("/", "PagesController@saveMail"); Route::get("contact", "PagesController@contact"); Route::get("tours-gallery", "PagesController@toursGallery"); Route::get("events-gallery", "PagesController@eventsGallery"); Route::get("gallery", "PagesController...
3,460
https://github.com/Geovanny27/dotnetrdf/blob/master/dotnetrdf-master/Testing/unittest/Query/Aggregates/CountDistinctAggregateTests.cs
Github Open Source
Open Source
MIT
null
dotnetrdf
Geovanny27
C#
Code
258
569
/* dotNetRDF is free and open source software licensed under the MIT License ----------------------------------------------------------------------------- Copyright (c) 2009-2012 dotNetRDF Project (dotnetrdf-developer@lists.sf.net) Permission is hereby granted, free of charge, to any person obtaining a copy of this ...
2,496
https://github.com/michau132/workshopJS-25/blob/master/src/actions/actionCreators.js
Github Open Source
Open Source
MIT
null
workshopJS-25
michau132
JavaScript
Code
43
140
import { UPDATE_QUESTION_VALUE, CLEAR_QUESTION_VALUE, GET_QUESTIONS_FROM_DATABASE } from "."; export const getQuestionsFromDatabase = (questions) => ({ type: GET_QUESTIONS_FROM_DATABASE, questions }) export const updateQuestionValue = (id, newValue) => ({ type: UPDATE_QUESTION_VALUE, id, newValue ...
37,956
https://github.com/fossabot/extjs-reactjs-examples/blob/master/28-charting/h-pie-chart/src/App.js
Github Open Source
Open Source
MIT
2,021
extjs-reactjs-examples
fossabot
JavaScript
Code
32
93
import React from 'react'; import {PieChart, Pie} from 'recharts'; import data from './data'; export default () => { return ( <PieChart width={350} height={300} data={data}> <Pie data={data} dataKey="uv" fill="#8884d8" label/> </PieChart> ); };
39,426
https://github.com/greeduomacro/vivre-uo/blob/master/Scripts/Customs/XML Spawner/XmlAttachments/XmlInt.cs
Github Open Source
Open Source
BSD-2-Clause
null
vivre-uo
greeduomacro
C#
Code
178
460
using System; using Server; using Server.Items; using Server.Network; using Server.Mobiles; namespace Server.Engines.XmlSpawner2 { public class XmlInt : XmlAttachment { private TimeSpan m_Duration = TimeSpan.FromSeconds(30.0); // default 30 sec duration private int m_Value = 10; // ...
44,598
https://github.com/msobolev/cisos/blob/master/admin/company-master-append-nonPrimary.php
Github Open Source
Open Source
MIT
2,017
cisos
msobolev
PHP
Code
504
2,571
<?php // Final correct file to append values in company DB when one column is not company_id // completed on 17 March 2015 require('includes/include_top.php'); $action = (isset($_GET['action']) ? $_GET['action'] : ''); $msg = (isset($_GET['msg'])) ? msg_decode($_GET['msg']) : ''; $error_list = (isset($_GET['error_...
29,680
https://github.com/sgholamian/log-aware-clone-detection/blob/master/LACCPlus/Camel/2449_1.java
Github Open Source
Open Source
MIT
null
log-aware-clone-detection
sgholamian
Java
Code
119
365
//,temp,VertxPlatformHttpConsumer.java,276,305,temp,DefaultHttpBinding.java,308,339 //,3 public class xxx { private void populateAttachments(Set<FileUpload> uploads, Message message) { for (FileUpload upload : uploads) { final String name = upload.name(); final String fileName = uplo...
841
https://github.com/definitelyandy/o2/blob/master/examples/facebookexternalinterceptordemo/fbdemo.h
Github Open Source
Open Source
BSD-2-Clause
2,022
o2
definitelyandy
C
Code
66
253
#ifndef FBDEMO_H #define FBDEMO_H #include <QObject> #include "o2facebook.h" #include "webwindow.h" class FBDemo : public QObject { Q_OBJECT public: explicit FBDemo(QObject *parent = 0); signals: void extraTokensReady(const QVariantMap &extraTokens); void linkingFailed(); void linkingSucceeded(...
47,405
https://github.com/rajeev-oneness/postcode/blob/master/app/Http/Controllers/StripePaymentController.php
Github Open Source
Open Source
MIT
null
postcode
rajeev-oneness
PHP
Code
139
624
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Stripe;use Session;use App\Model\StripeTransaction; class StripePaymentController extends Controller { public function stripeView(Request $req) { $data = [ 'redirectUrl' => '', //redirect URL will be here 'price' => 1...
42,260
https://github.com/jpmorgen/ssg/blob/master/ssg_blob_phase.pro
Github Open Source
Open Source
MIT
2,018
ssg
jpmorgen
null
Spoken
266
705
;+ ; NAME: ; ; PURPOSE: ; ; CATEGORY: ; ; CALLING SEQUENCE: ; ; DESCRIPTION: ; ; INPUTS: ; ; OPTIONAL INPUTS: ; ; KEYWORD PARAMETERS: ; ; OUTPUTS: ; ; OPTIONAL OUTPUTS: ; ; COMMON BLOCKS: ; Common blocks are ugly. Consider using package-specific system ; variables. ; ; SIDE EFFECTS: ; ; RESTRICTIONS: ; ; PROCEDU...
18,646
https://github.com/GeorgiNik/OnlineSpreadsheet/blob/master/Web/OnlineSpreadsheet.Web.Application/Infrastructure/AuthorizeUserAttribute.cs
Github Open Source
Open Source
MIT
null
OnlineSpreadsheet
GeorgiNik
C#
Code
124
423
namespace OnlineSpreadsheet.Web.Application.Infrastructure { using System.Web; using System.Web.Mvc; using System.Web.Routing; using OnlineSpreadsheet.Data.Common; using OnlineSpreadsheet.Data.Models; public class AuthorizeUserAttribute : AuthorizeAttribute { public AccessRequest A...
10,375
https://github.com/hanhx001/offline_tools/blob/master/src/main/java/com/hhx/offline_tools/encode/Atomic/AtomicArrayType.java
Github Open Source
Open Source
Apache-2.0
2,020
offline_tools
hanhx001
Java
Code
153
924
/** * */ package com.hhx.offline_tools.encode.Atomic; import java.util.concurrent.atomic.AtomicIntegerArray; import java.util.concurrent.atomic.AtomicLongArray; import java.util.concurrent.atomic.AtomicReferenceArray; /** * 原子更新数组类型类 * * 1、AtomicIntegerArray 原子更新整数类型里的元素 * 2、AtomicLongArray 原子更新长整型...
9,640
https://github.com/BugGirls/camprecruit/blob/master/out/artifacts/camprecruit_war_exploded/fe/assets/js/jqPaginator.min.js
Github Open Source
Open Source
Apache-2.0
2,021
camprecruit
BugGirls
JavaScript
Code
637
2,133
/*! jqPaginator-1.2.0 * http://jqPaginator.keenwon.com */ !function (a) { "use strict"; a.jqPaginator = function (b, c) { if (!(this instanceof a.jqPaginator))return new a.jqPaginator(b, c); var d = this; return d.$container = a(b), d.$container.data("jqPaginator", d), d.init = functi...
32,355
https://github.com/baudoliver7/industria-elec/blob/master/images de composants/InstallationGraphique/mainwindow.cpp
Github Open Source
Open Source
MIT
null
industria-elec
baudoliver7
C++
Code
206
1,295
#include "mainwindow.h" #include "ui_mainwindow.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); m_scale = 0.5; m_scene = new QGraphicsScene(); m_item = new Composant(QPixmap(":images/rectangle.png"),0, new QGraphicsScene(), m_scene)...
32,317
https://github.com/NegriLuca/pigasus/blob/master/python/utils/manager.py
Github Open Source
Open Source
MIT
2,021
pigasus
NegriLuca
Python
Code
19
56
# -*- coding: UTF-8 -*- class context(object): def __init__(self): pass def __enter__(self): pass def __exit__(self, type, value, tb): pass
36,685
https://github.com/spring-projects/spring-boot/blob/master/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/export/humio/HumioProperties.java
Github Open Source
Open Source
Apache-2.0
2,023
spring-boot
spring-projects
Java
Code
314
708
/* * Copyright 2012-2022 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
11,441
https://github.com/Nosille/iviz/blob/master/iviz_msgs/iviz_msgs/srv/GetFile.cs
Github Open Source
Open Source
MIT
2,021
iviz
Nosille
C#
Code
513
1,439
using System.Runtime.Serialization; namespace Iviz.Msgs.IvizMsgs { [DataContract (Name = "iviz_msgs/GetFile")] public sealed class GetFile : IService { /// <summary> Request message. </summary> [DataMember] public GetFileRequest Request { get; set; } /// <summary> Response ...
10,417
https://github.com/aws/aws-sdk-js-v3/blob/master/clients/client-verifiedpermissions/src/VerifiedPermissions.ts
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,023
aws-sdk-js-v3
aws
TypeScript
Code
1,716
5,514
// smithy-typescript generated code import { createAggregatedClient } from "@smithy/smithy-client"; import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types"; import { CreateIdentitySourceCommand, CreateIdentitySourceCommandInput, CreateIdentitySourceCommandOutput, } from "./commands/CreateIdent...
25,197
https://github.com/pageseeder/wo-bastille/blob/master/src/main/java/org/pageseeder/bastille/psml/PSMLCache.java
Github Open Source
Open Source
Apache-2.0
null
wo-bastille
pageseeder
Java
Code
395
862
/* * Copyright 2015 Allette Systems (Australia) * http://www.allette.com.au * * 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...
36,413
https://github.com/zapic/icfpc2018-kontur-ru/blob/master/lib/Strategies/Features/Async/AsyncTicker.cs
Github Open Source
Open Source
MIT
2,018
icfpc2018-kontur-ru
zapic
C#
Code
72
236
using System; using System.Linq; namespace lib.Strategies.Features.Async { public class AsyncTicker { private readonly Func<StrategyTask<bool>> run; private StrategyTask<bool> task; public AsyncTicker(Func<StrategyTask<bool>> run) { this.run = run; } ...
38,895
https://github.com/yk0310/griddb_nosql/blob/master/java_client/src/com/toshiba/mwcloud/gs/TimestampUtils.java
Github Open Source
Open Source
Apache-2.0
null
griddb_nosql
yk0310
Java
Code
715
2,099
/* Copyright (c) 2012 TOSHIBA CORPORATION. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agr...
39,025
https://github.com/rajpersram/cas-ggircs/blob/master/test/unit/table_fuel_test.sql
Github Open Source
Open Source
Apache-2.0
null
cas-ggircs
rajpersram
SQL
Code
562
3,597
set client_encoding = 'utf-8'; set client_min_messages = warning; create extension if not exists pgtap; reset client_min_messages; begin; select * from no_plan(); insert into swrs_extract.ghgr_import (xml_file) values ($$ <ReportData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <RegistrationData> <Org...
20,683
https://github.com/BlvckBytes/MCLBot/blob/master/src/main/java/me/blvckbytes/bottesting/botgoals/BGExecuteCommand.java
Github Open Source
Open Source
MIT
2,020
MCLBot
BlvckBytes
Java
Code
105
284
package me.blvckbytes.bottesting.botgoals; import com.github.steveice10.mc.protocol.packet.ingame.client.ClientChatPacket; import me.blvckbytes.bottesting.MCBot; import me.blvckbytes.bottesting.utils.SimpleCallback; public class BGExecuteCommand extends BotGoal { public BGExecuteCommand( Object... params ) { s...
48,671
https://github.com/gustavopoli/M220P/blob/master/mflix-python/tests/test_user_management.py
Github Open Source
Open Source
MIT
null
M220P
gustavopoli
Python
Code
138
579
import pytest from mflix.db import delete_user, get_user_session, get_user, add_user, \ login_user, logout_user test_user = { 'name': 'Magical Mr. Mistoffelees', 'email': 'magicz@cats.com', 'password': 'somehashedpw', 'jwt': 'someneatjwt' } @pytest.mark.user_management def test_registration(clien...
14,506
https://github.com/brightdigit/GampKit/blob/master/Sources/GampKit/Controllers/AnalyticsURLSession.swift
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,022
GampKit
brightdigit
Swift
Code
208
527
import Foundation #if canImport(FoundationNetworking) import FoundationNetworking #endif public struct AnalyticsURLSession: Session { public typealias RequestType = URLRequest /** Base URL for the request. */ public let url: URL /** Cache policy for URLRequest. */ public let cachePolicy: URL...
8,588
https://github.com/zoepfister/2nd-semester/blob/master/Algorithmen und Datenstrukturen/PS4/CustomIterator/src/Animal.java
Github Open Source
Open Source
MIT
2,017
2nd-semester
zoepfister
Java
Code
41
114
import java.util.ArrayList; import java.util.Iterator; public class Animal implements Iterable<String> { private ArrayList<String> animal = new ArrayList<String>(); public Animal(ArrayList animal) { this.animal = animal; } public ArrayList getAnimal() { return animal; } @Ove...
7,614
https://github.com/jjuiddong/Web-NodeEditor/blob/master/Src/practice/ui3/src/context_menu.ts
Github Open Source
Open Source
MIT
null
Web-NodeEditor
jjuiddong
TypeScript
Code
870
2,400
// // 2020-06-28, jjuiddong // context menu class // - menu item // // 2020-07-13 // - TypeScript Refactoring // import Config from './config' import Util from './util' //-------------------------------------------------------------------------------- // MenuItem class MenuItem { contextMenu: ContextMenu | null =...
16,945
https://github.com/RVTR/rvtrx-api-booking/blob/master/aspnet/RVTR.Booking.Domain/Models/GuestModel.cs
Github Open Source
Open Source
MIT
2,020
rvtrx-api-booking
RVTR
C#
Code
54
149
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace RVTR.Booking.Domain.Models { public class GuestModel : AEntity, IValidatableObject { public int? BookingModelId { get; set; } [Required] public string FirstName { get; set; } [Required] public string LastNa...
19,490
https://github.com/tektoncd/experimental/blob/master/notifiers/github-app/pkg/controller/url.go
Github Open Source
Open Source
Apache-2.0
2,023
experimental
tektoncd
Go
Code
166
380
// Copyright 2020 The Tekton Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
27,211
https://github.com/astrimsdh/bootstrap-4/blob/master/assets/js/script.js
Github Open Source
Open Source
MIT
2,020
bootstrap-4
astrimsdh
JavaScript
Code
197
795
const konten = document.querySelector('.tab-content') let url = '' $(document).ready(function(){ $('.nav').on('click', function(e){ if (e.target.hash == "#table") { url = 'latihan-table.html' }else if(e.target.hash == "#alert"){ url = 'latihan1.html' }else if(e.target.hash == "#badge"){ ...
48,297
https://github.com/catalogartenw/catalogarte/blob/master/app/routes.php
Github Open Source
Open Source
MIT
2,014
catalogarte
catalogartenw
PHP
Code
73
360
<?php /* |-------------------------------------------------------------------------- | Application Routes |-------------------------------------------------------------------------- | | Here is where you can register all of the routes for an application. | It's a breeze. Simply tell Laravel the URIs it should respond ...
24,761
https://github.com/AppleTTT/MacExample/blob/master/SlidesMagic/SlidesMagic/Models/ImageDirectoryLoader.swift
Github Open Source
Open Source
MIT
2,020
MacExample
AppleTTT
Swift
Code
527
1,520
// // ImageDirectoryLoader.swift // SlidesMagic // // Created by ATM on 2017/11/6. // Copyright © 2017年 QYCloud. All rights reserved. // import Foundation class ImageDirectoryLoader: NSObject { private var imageFiles = [ImageFile]() private(set) var numberOfSections = 1 var singleSectionMode = tr...
40,062
https://github.com/Team-on/UnityGameTemplate/blob/master/GameTemplate/Assets/Plugins/UserReporting/Scripts/Client/UserReport.cs
Github Open Source
Open Source
MIT
2,022
UnityGameTemplate
Team-on
C#
Code
791
2,388
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Unity.Cloud.UserReporting { /// <summary> /// Represents a user report. /// </summary> public class UserReport : UserReportPreview { #region Nested Types /// <summary> /// Provi...
13,032
https://github.com/purushpsm147/DevCore/blob/master/src/app/TSA/SGRE.TSA.Services/Services/IWtgCatalogueService.cs
Github Open Source
Open Source
MIT
2,021
DevCore
purushpsm147
C#
Code
31
141
using SGRE.TSA.Models; using System.Collections.Generic; using System.Threading.Tasks; namespace SGRE.TSA.Services.Services { public interface IWtgCatalogueService { Task<(bool IsSuccess, IEnumerable<WtgCatalogue> wtgCatalogueResult)> GetWtgCatalogueAsync(); Task<(bool IsSuccess, WtgCatalogue ...
17,041
https://github.com/ScottSobel/EDA/blob/master/man/body_ui.Rd
Github Open Source
Open Source
MIT
2,021
EDA
ScottSobel
R
Code
32
83
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ui_body.R \name{body_ui} \alias{body_ui} \title{Body UI} \usage{ body_ui() } \value{ HTML for app body } \description{ Body UI }
42,458
https://github.com/dinusv/papergrapherqml/blob/master/qml/tools/EyeDropperTool.qml
Github Open Source
Open Source
MIT
2,021
papergrapherqml
dinusv
null
Spoken
65
253
import QtQuick 2.3 import QtQuick.Layouts 1.12 import paper 1.0 import "EyeDropperToolControl.js" as EyeDropperToolControl Tool{ id: root toolLabel: 'EyeDropper' infoBarContent: Item{ anchors.fill: parent Text{ id: selectionInfo anchors.verticalCenter: parent.vert...
9,697
https://github.com/SebastianMittelstaedt/colormap-explorer/blob/master/src/main/java/colormaps/impl/PColorBased.java
Github Open Source
Open Source
Apache-2.0
2,015
colormap-explorer
SebastianMittelstaedt
Java
Code
288
668
/* * Copyright 2014 Fraunhofer IGD * * 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...
19,242
https://github.com/hk-r/px2-pretty-html/blob/master/tests/mainTest.php
Github Open Source
Open Source
MIT
null
px2-pretty-html
hk-r
PHP
Code
169
767
<?php /** * Test for hk-r/px2-pretty-html * * $ cd (project dir) * $ composer test */ class mainTest extends PHPUnit_Framework_TestCase{ /** * setup */ public function setup(){ } /** * Pretty test */ public function testStandardPretty(){ // $output = $this->passthru( [ 'php', __DIR__.'/te...
25,835
https://github.com/jagilpe/bdd-pact-microservices/blob/master/ng-frontend/e2e/pact/init-pact.step.ts
Github Open Source
Open Source
MIT
2,021
bdd-pact-microservices
jagilpe
TypeScript
Code
84
268
import { defineSupportCode } from 'cucumber'; import * as Provider from 'pact'; import * as path from 'path'; import { API_BACKEND_PORT } from '../../src/environments/environment.e2e'; export let apiBackend: Provider.PactProvider; defineSupportCode(({ AfterAll, BeforeAll, After }) => { apiBackend = Provider({ ...
3,950
https://github.com/philippeback/RestTalk/blob/master/packages/RestTalk.package/RestTalkTests.class/instance/testFindIssue.st
Github Open Source
Open Source
MIT
2,017
RestTalk
philippeback
null
Spoken
6
27
testing-api testFindIssue (jira issue: 'TV-11') inspect.
20,955
https://github.com/lunadream/einDa-CN/blob/master/visibility.js
Github Open Source
Open Source
Artistic-2.0
null
einDa-CN
lunadream
JavaScript
Code
66
279
function set_expand_visible(toggle_name, vis_name) { var vis_element = document.getElementById(vis_name); var toggle_element = document.getElementById(toggle_name); vis_element.style.display = ''; toggle_element.innerHTML = "-"; toggle_element.className = "expand_toggle_neg"; } function set_expand_hidden(toggle_n...
16,443
https://github.com/tinglof/disksignup/blob/master/public/js/controller.js
Github Open Source
Open Source
MIT
2,014
disksignup
tinglof
JavaScript
Code
115
615
angular.module("root").controller('loginController', ["$scope", "$sanitize", "$location", "Authenticate", "Flash", "UserService", function($scope, $sanitize, $location, Authenticate, Flash, UserService){ $scope.login = function(){ var credentials = { 'email': $sanitize($scope.email), 'password': $sanitize(...
3,110
https://github.com/gilemos/software-product-sprint-or-my-portfolio/blob/master/portfolio/src/main/webapp/pear.js
Github Open Source
Open Source
Apache-2.0
null
software-product-sprint-or-my-portfolio
gilemos
JavaScript
Code
92
315
/** Getting the comments */ function getComments() { fetch('/data').then(response => response.json()).then((comments) => { const commentElement = document.getElementById('commentCell'); comments.forEach((comment) => { commentElement.appendChild(createListElement(comment)); }) ...
39,633
https://github.com/ergebnis/environment-variables/blob/master/src/ReadOnlyVariables.php
Github Open Source
Open Source
MIT
2,021
environment-variables
ergebnis
PHP
Code
234
675
<?php declare(strict_types=1); /** * Copyright (c) 2020-2021 Andreas Möller * * For the full copyright and license information, please view * the LICENSE.md file that was distributed with this source code. * * @see https://github.com/ergebnis/environment-variables */ namespace Ergebnis\Environment; final cla...
27,796
https://github.com/smartrplace/ogema/blob/master/src/drivers/homematic-xmlrpc-hl/src/main/java/org/ogema/drivers/homematic/xmlrpc/hl/events/HomeMaticEventMessages.java
Github Open Source
Open Source
Apache-2.0, EPL-1.0
2,023
ogema
smartrplace
Java
Code
236
618
/** * Copyright 2011-2018 Fraunhofer-Gesellschaft zur Förderung der angewandten Wissenschaften e.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/licens...
43,552
https://github.com/joe2hpimn/dg16.oss/blob/master/orca/gporca/libgpopt/src/operators/CCNFConverter.cpp
Github Open Source
Open Source
Apache-2.0
2,017
dg16.oss
joe2hpimn
C++
Code
768
3,116
//--------------------------------------------------------------------------- // Greenplum Database // Copyright 2012 EMC Corp. // // @filename: // CCNFConverter.cpp // // @doc: // Implementation of CNF converter // // @owner: // // // @test: // // //-----------------------------------------------------------------...
44,183
https://github.com/ivillicana/hvx/blob/master/client/src/components/neighborhood/CommentShow.js
Github Open Source
Open Source
MIT
2,018
hvx
ivillicana
JavaScript
Code
32
126
import React from 'react' const CommentShow = props => { return( <div className="row rounded comment pt-2 mb-2"> <div className="col-md-5"> {props.comment.content} {props.comment.user_name && <p><small className="text-muted">—{props.comment.user_name} ({props.comment.user_location})</small><...
42,962
https://github.com/Shizuku622/EveryoneOnCampus/blob/master/IM/easemob-sdk-3.7.4/examples/EaseIm3.0/app/src/main/java/com/hyphenate/easeim/common/interfaceOrImplement/OnResourceParseCallback.java
Github Open Source
Open Source
Apache-2.0
null
EveryoneOnCampus
Shizuku622
Java
Code
85
301
package com.hyphenate.easeim.common.interfaceOrImplement; import androidx.annotation.Nullable; /** * 用于解析Resource<T>,减少重复代码 * hideErrorMsg默认为false,即默认情况是会展示错误信息 * @param <T> */ public abstract class OnResourceParseCallback<T> { public boolean hideErrorMsg; public OnResourceParseCallback() {} /** ...
48,038
https://github.com/cmaughan/mgfx/blob/master/mgfx_core/graphics3d/device/DX12/geometryDX12.cpp
Github Open Source
Open Source
MIT
2,022
mgfx
cmaughan
C++
Code
226
1,485
#include "mgfx_core.h" #include "deviceDX12.h" #include "geometryDX12.h" #include "bufferDX12.h" #include "file/media_manager.h" #include "graphics3d/camera/camera.h" using namespace Microsoft::WRL; using namespace Graphics; namespace Mgfx { GeometryDX12::GeometryDX12(DeviceDX12* pDevice) : m_pDevice(pDevice) { ...
24,623
https://github.com/WonJunior/CodeGraph/blob/master/style/node.less
Github Open Source
Open Source
MIT
2,022
CodeGraph
WonJunior
Less
Code
449
1,448
// ::parameter container .param-container { width: 100%; color: #030303; top: 50%; position: absolute; transform: translateY(-50%); font-size: 13px; font-weight: 500; box-sizing: border-box; } .param-label { box-sizing: border-box; width: 100%; display: inline-block; color: #1b1b1b; } .left > .p...
25,109
https://github.com/elliotwoods/VVVV.Packs.Image/blob/master/src/nodes/plugins/Image/OpenCV/src/Calibration/CalibrateCamera.cs
Github Open Source
Open Source
MIT
2,021
VVVV.Packs.Image
elliotwoods
C#
Code
392
1,814
#region usings using System; using System.ComponentModel.Composition; using System.Drawing; using System.Threading; using VVVV.PluginInterfaces.V1; using VVVV.PluginInterfaces.V2; using VVVV.Utils.VMath; using VVVV.Core.Logging; using Emgu.CV; using Emgu.CV.Structure; using Emgu.CV.CvEnum; using ThreadState = System...
8,567
https://github.com/MirandaMario/mts/blob/master/resources/views/ventas/venta/ticket/create.blade.php
Github Open Source
Open Source
MIT
null
mts
MirandaMario
PHP
Code
241
1,365
@extends('layouts.admin') @section('title','Nuevo TICKET') @section('contenido') <link rel="stylesheet" href="{{asset('css/jquery.dataTables.min.css')}}"> <link rel="stylesheet" href="{{asset('css/estilo.css')}}"> @include('partial.error') <div class="row" {{-- style=" {{ config('constantes.FONT') }}" --}}> {!!Form...
52,185
https://github.com/vietthang/amcl/blob/master/version22/js/FP.js
Github Open Source
Open Source
Apache-2.0
2,021
amcl
vietthang
JavaScript
Code
768
3,001
/* 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 ...
1,708
https://github.com/ScalablyTyped/ScalajsReactTyped/blob/master/o/office-ui-fabric-react/src/main/scala/typingsJapgolly/officeUiFabricReact/libComponentsLayerLayerHostMod.scala
Github Open Source
Open Source
MIT
2,022
ScalajsReactTyped
ScalablyTyped
Scala
Code
155
532
package typingsJapgolly.officeUiFabricReact import japgolly.scalajs.react.facade.React.RefHandle import org.scalajs.dom.HTMLDivElement import typingsJapgolly.officeUiFabricReact.libComponentsLayerLayerHostDottypesMod.ILayerHost import typingsJapgolly.officeUiFabricReact.libComponentsLayerLayerHostDottypesMod.ILayerHos...
10,816
https://github.com/kennethmyhra/spark/blob/master/src/Spark/Views/Home/Index.cshtml
Github Open Source
Open Source
BSD-3-Clause
2,018
spark
kennethmyhra
C#
Code
198
781
 <div class="jumbotron"> <h1> <span class="title">Spark</span> <span class="fhir">Fhir</span> <span class="subtitle">server</span> </h1> <h2><b>C#</b> Reference Implementation for HL7 FHIR</h2> <h4>Endpoint: </h4> <h3 class="endpoint"> @Settings.Endpoint </h3> <...
12,999
https://github.com/KennethWhite/MutatingStringsBrainTeaser/blob/master/MutatingStrings/MutatingStrings/Tests.cs
Github Open Source
Open Source
MIT
2,016
MutatingStringsBrainTeaser
KennethWhite
C#
Code
61
237
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace MutatingStrings { [TestClass] public class Tests { [TestMethod] public void MutateTheImmutable() { const string WhoAmI = "Kevin"; Assert.AreEqual("Kevin", WhoAmI); CauseIdentityCrisis...
23,988
https://github.com/MrSliddes/SLIDDES-Unity-Screenshot/blob/master/Editor/Resolution.cs
Github Open Source
Open Source
MIT
null
SLIDDES-Unity-Screenshot
MrSliddes
C#
Code
139
315
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace SLIDDES.Screenshot { /// <summary> /// Resolution class for a screenshot /// </summary> public class Resolution { public int X { get { return size.x; } } public int Y { get { return size.y; } }...
19,206
https://github.com/DXYyang/SDP/blob/master/sourcedata/xalan-j-xalan-j_2_5_0/src/org/apache/xalan/templates/AbsPathChecker.java
Github Open Source
Open Source
Apache-2.0, BSD-2-Clause, Apache-1.1
2,019
SDP
DXYyang
Java
Code
640
1,180
/* * The Apache Software License, Version 1.1 * * * Copyright (c) 2002-2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of...
36,796
https://github.com/calstateteach/cst-ce-hours/blob/master/views/admin/invalidHash.pug
Github Open Source
Open Source
MIT
2,018
cst-ce-hours
calstateteach
null
Spoken
20
55
doctype html HTML(lang="en") HEAD TITLE CE Verification Error BODY H1 CE Verification Error P Received invalid request hash SMALL=(new Date()).toString()
20,224
https://github.com/bmkramer/OADOI_API_R/blob/master/DOI_queries_OADOI_API_v1_pullrequest.R
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,017
OADOI_API_R
bmkramer
R
Code
744
1,862
#this script uses the OADOI API to get information on online availability (gold and green Open Access) #of academic articles, identified by their DOI, as well as publisher policies on archiving. #OADOI API information: https://oadoi.org/api #OAIDOI documentation: https://oadoi.org/about #input and output #this scrip...
44,194
https://github.com/mankeyl/elasticsearch/blob/master/server/src/test/java/org/elasticsearch/search/aggregations/support/MultiValuesSourceFieldConfigTests.java
Github Open Source
Open Source
Apache-2.0
null
elasticsearch
mankeyl
Java
Code
270
971
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0 and the Server Side Public License, v 1; you may not use this file except * in compliance with, at your election, the Elastic License 2.0 or the Server...
31,302
https://github.com/bufferswap/ViralityEngine/blob/master/support/vumbra/src/common-structs.lisp
Github Open Source
Open Source
MIT
2,022
ViralityEngine
bufferswap
Common Lisp
Code
20
108
(in-package #:vumbra.common) (defstruct mesh-attrs (mesh/pos :vec3) (mesh/normal :vec3) (mesh/tangent :vec4) (mesh/color :vec4) (mesh/uv1 :vec2) (mesh/uv2 :vec2) (mesh/joints :vec4) (mesh/weights :vec4))
14,318
https://github.com/lotabout/hexo-theme-noise/blob/master/layout/index.pug
Github Open Source
Open Source
MIT
2,022
hexo-theme-noise
lotabout
null
Spoken
187
842
extends base.pug block title title= config.title + " | " + config.subtitle block main //- Blog title and subtitle header.wrapper.header .container.blog-title a#logo.title(href=url_for('.'))= config.title span.subtitle= config.subtitle label#toggle-menu(for="menu", onclick) ...
51,934
https://github.com/ericpauley/Alice/blob/master/src/main/java/edu/cmu/cs/stage3/image/codec/ByteArraySeekableStream.java
Github Open Source
Open Source
BSD-2-Clause
2,012
Alice
ericpauley
Java
Code
1,202
2,434
/* * Copyright (c) 1999-2003, Carnegie Mellon University. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * 1. Redistributions of source code must retain the above copyright * notic...
29,382
https://github.com/yundantianchang/M_intrinsics/blob/master/md/rewind.7fortran.man
Github Open Source
Open Source
MIT
2,021
M_intrinsics
yundantianchang
null
Spoken
319
763
NAME REWIND(7f) - [FORTRAN:FILE_POSITIONING] rewind specified sequential access I/O unit SYNOPSIS REWIND file-unit-number REWIND ( [UNIT=]file-unit-number][,IOMSG=iomsg-variable] & & [,IOSTAT=scalar-int-variable][,ERR=label] ) DESCRIPTION Execution of a REWIND statement causes the file connected ...
1,123
https://github.com/Mohammed-Alsaied/coronamedical/blob/master/resources/views/admin/healedpatient.blade.php
Github Open Source
Open Source
MIT
null
coronamedical
Mohammed-Alsaied
PHP
Code
170
969
@extends('admin.layout.dashboard') @section('title','المرضى الذي تم شفائهم') @section('content') <div class="content"> <div class="container-fluid"> <div class="row"> <div class="col-md-12"> <div class="card"> ...
13,028
https://github.com/aplbrain/saber/blob/master/saber/i2g/examples/I2G_gala/i2g_gala.cwl
Github Open Source
Open Source
Apache-2.0
2,022
saber
aplbrain
null
Spoken
208
633
# Copyright 2019 The Johns Hopkins University Applied Physics Laboratory # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required ...
36,168
https://github.com/earthsiege2/borland-cpp-ide/blob/master/SOURCE/Indy/idintercept.pas
Github Open Source
Open Source
Unlicense, FSFAP, Apache-1.1
2,022
borland-cpp-ide
earthsiege2
Pascal
Code
163
553
unit IdIntercept; interface uses Classes, IdBaseComponent, IdSocketHandle; type TIdConnectionIntercept = class(TIdBaseComponent) protected FBinding: TIdSocketHandle; FOnConnect: TNotifyEvent; FRecvHandling: Boolean; FSendHandling: Boolean; FIsClient: Boolean; public procedure Connec...
33,697
https://github.com/hamza-elouakili/Design-to-Code-part-2/blob/master/app/jade/components/baseContent.jade
Github Open Source
Open Source
MIT
2,017
Design-to-Code-part-2
hamza-elouakili
null
Spoken
175
564
.default-teaser fieldset.top legend Default Teaser p. Click on the teasertext of image to edit it. These will be used by default whenever you want to publish your article, of course you can customize them for each specific publication .content__teaserbox ...
42,582
https://github.com/metakeule/scaffold/blob/master/lib/scaffold/doc.go
Github Open Source
Open Source
MIT
2,022
scaffold
metakeule
Go
Code
521
806
// Copyright (c) 2015 Marc René Arns. All rights reserved. // Use of this source code is governed by a MIT // license that can be found in the LICENSE file. /* Package scaffold provides file and directory generation based on templates. A template must be UTF8 without byte order marker and have \n (linefeed) as line t...
22,955
https://github.com/chrisglass/lxd/blob/master/lxd/api_internal.go
Github Open Source
Open Source
Apache-2.0
null
lxd
chrisglass
Go
Code
474
1,696
package main import ( "fmt" "io/ioutil" "net/http" "strconv" "strings" "github.com/gorilla/mux" "gopkg.in/yaml.v2" "github.com/lxc/lxd/shared" "github.com/lxc/lxd/shared/osarch" log "gopkg.in/inconshreveable/log15.v2" ) var apiInternal = []Command{ internalReadyCmd, internalShutdownCmd, internalContai...
20,053
https://github.com/bcgit/bc-java/blob/master/prov/src/test/java/org/bouncycastle/jce/provider/test/CertUniqueIDTest.java
Github Open Source
Open Source
Apache-2.0, MIT, LicenseRef-scancode-unknown-license-reference
2,023
bc-java
bcgit
Java
Code
373
1,755
package org.bouncycastle.jce.provider.test; import java.math.BigInteger; import java.security.KeyFactory; import java.security.KeyPair; import java.security.PrivateKey; import java.security.PublicKey; import java.security.Security; import java.security.cert.X509Certificate; import java.security.spec.RSAPrivateCrtKeySp...
15,783
https://github.com/L1nS/MyLibraryKotlin2/blob/master/BaseLibrary/src/main/java/com/imyyq/mvvm/utils/AppUtil.kt
Github Open Source
Open Source
Apache-2.0
2,021
MyLibraryKotlin2
L1nS
Kotlin
Code
553
1,936
package com.imyyq.mvvm.utils import android.app.Activity import android.app.ActivityManager import android.content.Context import android.content.ContextWrapper import android.content.Intent import android.content.pm.PackageInfo import android.content.pm.PackageManager import android.content.pm.ResolveInfo import andr...
51,136
https://github.com/night-sculler/ferry/blob/master/spi-demo/src/main/java/com/night/sculler/spi/demo/BaseExtensionInterface.java
Github Open Source
Open Source
MIT
2,021
ferry
night-sculler
Java
Code
27
107
package com.night.sculler.spi.demo; import com.night.sculler.spi.MavenExtensionLoader; import com.night.sculler.spi.SPI; /** * @author houlongjie * @version 1.0 * @date 2021/11/25 */ @SPI(extensionLoader = MavenExtensionLoader.class) public interface BaseExtensionInterface { void sayHello(); }
30,257
https://github.com/Scarsz/Configuralize/blob/master/src/test/java/github/scarsz/configuralize/test/MappedClassTest.java
Github Open Source
Open Source
Unlicense
2,021
Configuralize
Scarsz
Java
Code
188
721
package github.scarsz.configuralize.test; import github.scarsz.configuralize.DynamicConfig; import github.scarsz.configuralize.ParseException; import github.scarsz.configuralize.Source; import github.scarsz.configuralize.mapping.MappingFunction; import github.scarsz.configuralize.mapping.Option; import org.junit.After...
24,462
https://github.com/937447974/YJCocoa/blob/master/YJCocoa/Classes/System/Dispatch/YJDispatchFlow.swift
Github Open Source
Open Source
MIT
2,021
YJCocoa
937447974
Swift
Code
175
542
// // YJDispatchFlow.swift // YJCocoa // // HomePage:https://github.com/937447974/YJCocoa // YJ技术支持群:557445088 // // Created by 阳君 on 2019/5/30. // Copyright © 2016-现在 YJCocoa. All rights reserved. // import UIKit public typealias YJDispatchFlowBlock = (_ data: Any?) -> Any? /// 调度流 open class YJDispatchFlow: ...
22,943
https://github.com/upfluence/ember-upf-utils/blob/master/app/components/split-overlay-area/component.js
Github Open Source
Open Source
MIT
2,017
ember-upf-utils
upfluence
JavaScript
Code
6
29
export { default } from '@upfluence/ember-upf-utils/components/split-overlay-area/component';
51,532
https://github.com/LLNL/legion/blob/master/language/src/regent/ast_util.t
Github Open Source
Open Source
Apache-2.0
2,018
legion
LLNL
null
Spoken
915
3,190
-- Copyright 2018 Stanford University -- -- 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 agree...
6,683
https://github.com/marcosinger/mongoid_taggable/blob/master/spec/mongoid/taggable_spec.rb
Github Open Source
Open Source
Apache-2.0
2,013
mongoid_taggable
marcosinger
Ruby
Code
589
1,755
# Copyright (c) 2010 Wilker Lúcio <wilkerlucio@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 # # Unless required by applicable l...
49,839
https://github.com/lapin-b/server/blob/master/database/user_test.go
Github Open Source
Open Source
MIT
null
server
lapin-b
Go
Code
205
1,141
package database import ( "github.com/gotify/server/model" "github.com/stretchr/testify/assert" ) func (s *DatabaseSuite) TestUser() { assert.Nil(s.T(), s.db.GetUserByID(55), "not existing user") assert.Nil(s.T(), s.db.GetUserByName("nicories"), "not existing user") jmattheis := s.db.GetUserByID(1) assert.NotN...
27,117
https://github.com/rimmartin/cctbx_project/blob/master/mmtbx/bulk_solvent/bulk_solvent.cpp
Github Open Source
Open Source
BSD-3-Clause-LBNL
2,022
cctbx_project
rimmartin
C++
Code
93
466
#include <mmtbx/bulk_solvent/bulk_solvent.h> #include <cctbx/xray/targets.h> namespace mmtbx { namespace bulk_solvent { double fu_star(sym_mat3<double> const& u_star, cctbx::miller::index<> const& mi) { double arg = -0.25 * (u_star[0]*mi[0]*mi[0] + u_star[1]*mi[1]*mi[1] +...
13,606
https://github.com/onap/ccsdk-features/blob/master/sdnr/wt/data-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/database/elasticsearch/EsDataObjectReaderWriter2.java
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-warranty-disclaimer, CC-BY-4.0, LicenseRef-scancode-unknown-license-reference
2,023
ccsdk-features
onap
Java
Code
1,657
4,324
/* * ============LICENSE_START======================================================= * ONAP : ccsdk features * ================================================================================ * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. * All rights reserved. * =======================...
7,478