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/hgkdzbf6/vpp/blob/master/mock/policycache/cache_mock.go
Github Open Source
Open Source
Apache-2.0
2,021
vpp
hgkdzbf6
Go
Code
355
1,057
package policycache import ( "github.com/ligato/cn-infra/datasync" nsmodel "github.com/contiv/vpp/plugins/ksr/model/namespace" podmodel "github.com/contiv/vpp/plugins/ksr/model/pod" policymodel "github.com/contiv/vpp/plugins/ksr/model/policy" "github.com/contiv/vpp/plugins/policy/cache" ) // MockPolicyCache is ...
18,314
https://github.com/tongxin3267/alabo/blob/master/src/01.framework/01-Alabo/Tables/Domain/Services/SmsService.cs
Github Open Source
Open Source
MIT
null
alabo
tongxin3267
C#
Code
395
1,374
using Alabo.Datas.UnitOfWorks; using Alabo.Domains.Enums; using Alabo.Domains.Services; using Alabo.Extensions; using Alabo.Helpers; using Alabo.Tables.Dtos; using System; using System.IO; using System.Net; using System.Security.Cryptography; using System.Text; using Convert = System.Convert; namespace Alabo.Tables.D...
9,443
https://github.com/Kingkon963/roomie/blob/master/next.config.js
Github Open Source
Open Source
MIT
null
roomie
Kingkon963
JavaScript
Code
32
99
/* eslint-disable linebreak-style */ const aliases = require('./alias-config'); module.exports = { webpack(config) { const { alias } = config.resolve; // eslint-disable-next-line no-param-reassign config.resolve.alias = { ...alias, ...aliases, }; return config; }, };
1,471
https://github.com/zinoojs/dreamjob/blob/master/resources/views/backend/users/index.blade.php
Github Open Source
Open Source
MIT
null
dreamjob
zinoojs
PHP
Code
255
1,234
@extends('layouts.master') @section('title','register') @section('content') <div class="row"> <div class="col-md-3"> <div class="container"> <nav class="nav flex-column mt-2"> <div class="pic text-center ml-2 mb-4"> <img src="{{asset('...
16,823
https://github.com/AAI-USZ/FixJS/blob/master/input/100+/before/c5b10b37a92b70a71d340f4898309fac80ab4139_15_1.js
Github Open Source
Open Source
MIT
2,022
FixJS
AAI-USZ
JavaScript
Code
37
133
function changeListener(path, op, edit, syncId){ _.assertLength(path, 0); if(syncId === this.getEditingId()){ return stub;//TODO deal with local/global priority } if(op === 'set'){ this.obj = edit.value; return this.emit(edit, 'set') }else{ _.errout('-TODO implement op: ' + JSON.stringify(edit)); } ...
36,747
https://github.com/SpaceMages/extension-notifications/blob/master/project/common/ExternalInterface.cpp
Github Open Source
Open Source
MIT
null
extension-notifications
SpaceMages
C++
Code
118
494
#ifndef IPHONE #define IMPLEMENT_API #endif #if defined(HX_WINDOWS) || defined(HX_MACOS) || defined(HX_LINUX) #define NEKO_COMPATIBLE #endif #include <hx/CFFI.h> #include "Notifications.h" #include <stdio.h> //-------------------------------------------------- // Change this to match your extension's ID //----------...
11,822
https://github.com/uoyoCsharp/MiCake.ThridParty/blob/master/src/MiCake.Mapster/MapsterPersistentObjectMapConfig.cs
Github Open Source
Open Source
MIT
null
MiCake.ThridParty
uoyoCsharp
C#
Code
84
405
using Mapster; using MiCake.Core.Util; using MiCake.DDD.Domain; using MiCake.DDD.Extensions.Store; using MiCake.DDD.Extensions.Store.Mapping; using System; using System.Linq.Expressions; namespace MiCake.Mapster { /// <summary> /// <see cref="IPersistentObjectMapConfig{TDomainEntity, TPersistentObject}"/> imp...
7,286
https://github.com/Xicilia/OpenTouhou/blob/master/src/Board.h
Github Open Source
Open Source
Apache-2.0
null
OpenTouhou
Xicilia
C
Code
24
94
#include <SFML/Graphics.hpp> #include "Hitbox.h" #ifndef BOARD_H #define BOARD_H class Board { public: Hitbox BoardHitBox; Board() {}; Board(sf::Vector2f Size, sf::Vector2f Position); sf::RectangleShape BoardShape; }; #endif
6,517
https://github.com/coreanq/cardview/blob/master/lib/speech.cpp
Github Open Source
Open Source
MIT
null
cardview
coreanq
C++
Code
745
2,237
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the examples of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:BSD$ ** You may use this file under the terms of the BSD license as follow...
17,664
https://github.com/ybpinto/isonu.org/blob/master/script.js
Github Open Source
Open Source
LicenseRef-scancode-public-domain
2,015
isonu.org
ybpinto
JavaScript
Code
402
1,817
$(document).ready(function() { var ipas = [["Aashrey Tiku", "bio", "pics/aashreytiku.png"], ["Alex Lee", "bio", "pics/alexlee.png"], ["Arjun Jaykrishna", "bio", "pics/banana.png"], ["Arleen Li", "bio", "pics/arleenli.png"], ["Aruj Chaudhry", "bio", "pics/arujchaudhry.png"], ["Dajana Jakovina"...
39,618
https://github.com/philfleck/body-based-ar-tk/blob/master/ARApplication/Shared/ObjData.cs
Github Open Source
Open Source
MIT
2,020
body-based-ar-tk
philfleck
C#
Code
371
1,227
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using Urho; using Windows.ApplicationModel; namespace BodyAR { class ObjData { public struct ObjectData { public string na...
29,321
https://github.com/ceekay1991/AliPayForDebug/blob/master/AliPayForDebug/AliPayForDebug/AlipayWallet_Headers/OpTypeRpcIdManager.h
Github Open Source
Open Source
MIT
2,021
AliPayForDebug
ceekay1991
C
Code
99
423
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard. // #import <objc/NSObject.h> @class NSMutableDictionary, NSString; @interface OpTypeRpcIdManager : NSObject { NSMutableDictionary *_...
272
https://github.com/wplong11/swift-nio/blob/master/Sources/NIOPosix/IO.swift
Github Open Source
Open Source
Apache-2.0
2,022
swift-nio
wplong11
Swift
Code
131
266
//===----------------------------------------------------------------------===// // // This source file is part of the SwiftNIO open source project // // Copyright (c) 2017-2021 Apple Inc. and the SwiftNIO project authors // Licensed under Apache License v2.0 // // See LICENSE.txt for license information // See CONTRIB...
27,651
https://github.com/YangJiao0817/flowgate/blob/master/flowgate-api/src/test/java/com/vmware/flowgate/controller/SDDCSoftwareControllerTest.java
Github Open Source
Open Source
BSD-2-Clause
2,021
flowgate
YangJiao0817
Java
Code
1,622
9,230
/** * Copyright 2019 VMware, Inc. * SPDX-License-Identifier: BSD-2-Clause */ package com.vmware.flowgate.controller; import static org.mockito.ArgumentMatchers.any; import static org.springframework.restdocs.mockmvc.MockMvcRestDocumentation.document; import static org.springframework.restdocs.mockmvc.MockMvcRestDocu...
3,448
https://github.com/jacobkurien03/S9-Mini-Project/blob/master/backend/routes/productRoutes.js
Github Open Source
Open Source
MIT
null
S9-Mini-Project
jacobkurien03
JavaScript
Code
133
528
import express from 'express'; import { deleteProduct, getAllProducts, getProductById, createProduct, updateProduct, createProductReview, getTopProducts, createCategory, getCategory, getCategoryById, deleteCategory, updateCategory } from '../controllers/productControllers.js'; import {createWishlist, getWi...
39,515
https://github.com/arr-ai/hash/blob/master/go.mod
Github Open Source
Open Source
Apache-2.0, BSD-3-Clause
2,021
hash
arr-ai
Go Module
Code
11
74
module github.com/arr-ai/hash go 1.13 require ( github.com/stretchr/testify v1.4.0 golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e )
35,553
https://github.com/KaartGroup/tasking-manager/blob/master/server/services/users/user_service.py
Github Open Source
Open Source
BSD-2-Clause
2,020
tasking-manager
KaartGroup
Python
Code
1,094
4,169
from cachetools import TTLCache, cached from flask import current_app from functools import reduce import dateutil.parser import datetime from sqlalchemy import text from server import db from server.models.dtos.user_dto import UserDTO, UserOSMDTO, UserFilterDTO, UserSearchQuery, UserSearchDTO, \ UserStatsDTO fro...
19,357
https://github.com/gridap/PETSc.jl/blob/master/src/petsc_com.jl
Github Open Source
Open Source
MIT
null
PETSc.jl
gridap
Julia
Code
195
693
# common functions (initialization, destruction etsc) function __init__() # initialize MPI first so Petsc won't finalize it if !MPI.Initialized() MPI.Init() end for i=1:3 if have_petsc[i] PetscInitialize(petsc_type[i]) end end # we want Petsc to return errors to us, rather than using i...
39,247
https://github.com/TataDvd/Git/blob/master/2012/Tempo2012/Tempo2012.UI.WPF/Views/ContoView.xaml.cs
Github Open Source
Open Source
MIT
2,020
Git
TataDvd
C#
Code
180
735
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Navigati...
34,923
https://github.com/kyle-github/littlesmalltalk/blob/master/src/smalltalk/system/ParserNode.st
Github Open Source
Open Source
BSD-3-Clause
2,022
littlesmalltalk
kyle-github
null
Spoken
80
171
" class definition for ParserNode " +Object subclass: #ParserNode variables: #( lineNum ) classVariables: #( ) " class methods for ParserNode " =ParserNode at: l | ret | ret <- super new. self in: ret at: 1 put: l. ^ ret ! =ParserNode new self error: 'Must use at: for creation' ! " instance methods fo...
29,403
https://github.com/EqualiserCoinProject/BarterDEX/blob/master/main.js
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,018
BarterDEX
EqualiserCoinProject
JavaScript
Code
473
1,153
const electron = require('electron'), app = electron.app, BrowserWindow = electron.BrowserWindow, path = require('path'), url = require('url'), os = require('os'), spawn = require('child_process').spawn, exec = require('child_process').exec, { Menu } = require('electron'), portscanner = require('ports...
24,913
https://github.com/mveselov/CodeWars/blob/master/tests/beta_tests/test_data_reverse.py
Github Open Source
Open Source
MIT
2,017
CodeWars
mveselov
Python
Code
110
283
import unittest from katas.beta.data_reverse import data_reverse class DataReverseTestCase(unittest.TestCase): def test_equals(self): self.assertEqual(data_reverse( [1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0]), [1, ...
21,615
https://github.com/yutaka-m/underwater-drone-v3/blob/master/scripts/server_boot.sh
Github Open Source
Open Source
MIT
null
underwater-drone-v3
yutaka-m
Shell
Code
71
428
#/bin/sh -x cd /home/pi/underwater-drone sudo -u pi git pull origin master sudo -u pi /usr/bin/python3 /home/pi/.local/bin/ds4drv --led 00ffff --daemon #/home/pi/mjpg-streamer/mjpg-streamer-experimental/mjpg_streamer -o "/home/pi/mjpg-streamer/mjpg-streamer-experimental/output_file.so -f /home/pi/mjpg-streamer/mjpg-...
34,298
https://github.com/menonon/JobSchedulerAbstractionSystem/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,014
JobSchedulerAbstractionSystem
menonon
Ignore List
Code
9
35
*.o *.d *~ build*/ sgks* *.pyc \#*\# .\#* data/user/*
11,652
https://github.com/lnvu/dibooking/blob/master/js/tda-common.js
Github Open Source
Open Source
MIT
2,019
dibooking
lnvu
JavaScript
Code
83
286
window.ga = function() {} function formatNumber(num) { var parts = (num + '').toString().split('.'); parts[0] = parts[0].replace(/\B(?=(\d{3})+(?!\d))/g, ','); return parts.join('.'); } function is_empty(obj) { const objType = typeof(obj) if(objType === 'undefined' || obj === null) { return true; } if(ob...
10,638
https://github.com/Chhekur/androidjs-sdk/blob/master/webview/app-debug/smali/android/support/v4/media/session/MediaSessionCompat$MediaSessionImplApi19.smali
Github Open Source
Open Source
MIT
2,019
androidjs-sdk
Chhekur
Smali
Code
404
2,316
.class Landroid/support/v4/media/session/MediaSessionCompat$MediaSessionImplApi19; .super Landroid/support/v4/media/session/MediaSessionCompat$MediaSessionImplApi18; .source "MediaSessionCompat.java" # annotations .annotation build Landroid/support/annotation/RequiresApi; value = 0x13 .end annotation .annotation...
15,592
https://github.com/joaquinromero/ontimize-web-ng2/blob/master/tools/manual_typings/manual.typings.d.ts
Github Open Source
Open Source
Apache-2.0
2,017
ontimize-web-ng2
joaquinromero
TypeScript
Code
24
89
/// <reference path="connect-livereload.d.ts" /> /// <reference path="karma.d.ts" /> /// <reference path="merge-stream.d.ts" /> /// <reference path="open.d.ts" /> /// <reference path="slash.d.ts" /> /// <reference path="tiny-lr.d.ts" />
37,222
https://github.com/pravgupt/aws-sdk-js-v3/blob/master/clients/node/client-ssm-node/types/_PatchStatus.ts
Github Open Source
Open Source
Apache-2.0
null
aws-sdk-js-v3
pravgupt
TypeScript
Code
116
330
/** * <p>Information about the approval status of a patch.</p> */ export interface _PatchStatus { /** * <p>The approval status of a patch (APPROVED, PENDING_APPROVAL, EXPLICIT_APPROVED, EXPLICIT_REJECTED).</p> */ DeploymentStatus?: | "APPROVED" | "PENDING_APPROVAL" | "EXPLICIT_APPROVED" | "E...
24,922
https://github.com/LykkeCity/Lykke.Workflow/blob/master/src/Lykke.Workflow/GraphvizGenerator.cs
Github Open Source
Open Source
MIT
null
Lykke.Workflow
LykkeCity
C#
Code
227
860
using System; using System.Collections.Generic; using System.Linq; namespace Lykke.Workflow { internal class GraphvizGenerator<TContext> : IWorkflowVisitor<TContext, string> { private readonly INodesResolver<TContext> m_Nodes; private readonly List<IGraphNode<TContext>> m_Visited = new List<IG...
39,781
https://github.com/deepakddixit/monarch/blob/master/ADS/geode-core/src/test/java/io/ampool/monarch/table/MTableRegionCretionDUnitTests.java
Github Open Source
Open Source
Apache-2.0
2,020
monarch
deepakddixit
Java
Code
915
3,231
/* * Copyright (c) 2017 Ampool, Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
10,053
https://github.com/danog/gojekyll/blob/master/plugins/github_metadata.go
Github Open Source
Open Source
MIT
null
gojekyll
danog
Go
Code
422
1,631
package plugins import ( "bytes" "context" "fmt" "os" "os/exec" "regexp" "strings" "github.com/google/go-github/github" "github.com/danog/gojekyll/config" "github.com/danog/liquid" "golang.org/x/oauth2" ) func init() { register("jekyll-github-metadata", jekyllGithubMetadataPlugin{}) } // jekyllGithubMet...
42,503
https://github.com/thienkimlove/quippy/blob/master/app/Http/routes.php
Github Open Source
Open Source
MIT
null
quippy
thienkimlove
PHP
Code
120
830
<?php /* |-------------------------------------------------------------------------- | Routes File |-------------------------------------------------------------------------- | | Here is where you will register all of the routes in an application. | It's a breeze. Simply tell Laravel the URIs it should respond to | an...
28,706
https://github.com/adigitalnative/thing/blob/master/app/views/sitemap/index.xml.builder
Github Open Source
Open Source
Apache-2.0
2,018
thing
adigitalnative
Ruby
Code
21
98
xml.instruct! xml.urlset :xmlns => 'http://www.sitemaps.org/schemas/sitemap/0.9' do xml.url do xml.loc root_url xml.changefreq 'weekly' end xml.url do xml.loc about_url xml.changefreq 'weekly' end end
9,562
https://github.com/Alireza29675/NerdPitch/blob/master/routes/api.js
Github Open Source
Open Source
BSD-3-Clause
null
NerdPitch
Alireza29675
JavaScript
Code
17
51
const express = require('express'); const router = express.Router(); const ApiController = require('../server/ApiController'); router.post('/subscribe', ApiController.subscribe); module.exports = router;
49,147
https://github.com/t7tech/Controle-Financeiro/blob/master/src/T7.ControleFinanceiro.UI/Areas/OAuth/Views/Register/Index.cshtml
Github Open Source
Open Source
MIT
null
Controle-Financeiro
t7tech
C#
Code
348
1,913
@{ Layout = "~/Views/Shared/_ExternalLayout.cshtml"; } @section scripts{ <script src="~/app/data/oauth/register.factory.js"></script> <script src="~/app/components/oauth/register.controller.js"></script> } <div class="app-right-section"> <div class="app-brand"><span class="highlight">Simplio</span> A...
49,223
https://github.com/alphagov/di-authentication-api/blob/master/frontend-api/src/main/java/uk/gov/di/authentication/frontendapi/lambda/SendNotificationHandler.java
Github Open Source
Open Source
MIT
2,021
di-authentication-api
alphagov
Java
Code
724
4,025
package uk.gov.di.authentication.frontendapi.lambda; import com.amazonaws.services.lambda.runtime.Context; import com.amazonaws.services.lambda.runtime.RequestHandler; import com.amazonaws.services.lambda.runtime.events.APIGatewayProxyRequestEvent; import com.amazonaws.services.lambda.runtime.events.APIGatewayProxyRes...
30,428
https://github.com/muryoimpl/buoys/blob/master/test/buoys_test.rb
Github Open Source
Open Source
MIT
2,023
buoys
muryoimpl
Ruby
Code
20
85
# frozen_string_literal: true require 'test_helper' class BuoysTest < ActiveSupport::TestCase test '.buoy_file_paths' do assert_equal [Rails.root.join('config', 'buoys', '**', '*.rb')], Buoys.buoy_file_paths end end
24,734
https://github.com/DFE-Digital/login.dfe.public-api/blob/master/test/app/users/getApprovers.test.js
Github Open Source
Open Source
MIT
2,023
login.dfe.public-api
DFE-Digital
JavaScript
Code
634
2,376
jest.mock('./../../../src/infrastructure/config', () => require('./../../utils').mockConfig()); jest.mock('./../../../src/infrastructure/logger', () => require('./../../utils').mockLogger()); jest.mock('./../../../src/infrastructure/organisations'); jest.mock('./../../../src/infrastructure/access'); jest.mock('./../../...
48,990
https://github.com/ulrikstrid/ligo/blob/master/vendors/tezos-modded/src/bin_client/test/test_contracts.sh
Github Open Source
Open Source
MIT, LicenseRef-scancode-free-unknown
2,019
ligo
ulrikstrid
Shell
Code
380
975
#!/bin/bash set -e set -o pipefail test_dir="$(cd "$(dirname "$0")" && echo "$(pwd -P)")" source $test_dir/test_lib.inc.sh "$@" start_node 1 activate_alpha $client -w none config update bake key1=foo key2=bar $client gen keys $key1 $client gen keys $key2 printf "\n\n" # Assert all contracts typecheck if [ ! $N...
9,042
https://github.com/conan-io/examples/blob/master/features/lockfiles/intro/pkgb/src/greet.cpp
Github Open Source
Open Source
MIT
2,023
examples
conan-io
C++
Code
22
76
#include <iostream> #include "hellob.h" int main(){ helloB(); #ifdef NDEBUG std::cout << "Greetings Release!" <<std::endl; #else std::cout << "Greetings Debug!" <<std::endl; #endif }
24,154
https://github.com/aryrabelo/give-me-poc/blob/master/config/routes.rb
Github Open Source
Open Source
MIT
2,018
give-me-poc
aryrabelo
Ruby
Code
288
848
# frozen_string_literal: true require 'sidekiq/web' require './lib/sidekiq_constraint' Rails.application.routes.draw do scope module: :web do scope as: :bootcamp, module: :bootcamp, constraints: { subdomain: 'bootcamp' } do namespace :wizard do resources :screenings, only: %i[index update] ...
29,434
https://github.com/ace-han/taroify/blob/master/packages/core/src/tree-select/tree-select-tab.scss
Github Open Source
Open Source
MIT
2,021
taroify
ace-han
SCSS
Code
8
48
@import "./variables"; .#{$component-prefix}tree-select-tab { padding: var(--tree-select-tab-padding, $tree-select-tab-padding); }
48,617
https://github.com/digitalmusiclab/grail_web_crawler/blob/master/manifests/musicbrainz/index.js
Github Open Source
Open Source
Apache-2.0
2,018
grail_web_crawler
digitalmusiclab
JavaScript
Code
14
47
'use strict'; exports.Api = require('./api'); exports.Loaders = require('./loaders'); exports.Models = require('./models'); exports.Processors = require('./processors');
43,270
https://github.com/zirain/playground/blob/master/go/wasm-extensions/autocomplete-authority/go.mod
Github Open Source
Open Source
MIT
2,023
playground
zirain
Go Module
Code
7
54
module github.com/zirain/extensions/autocomplete-authority go 1.17 require github.com/tetratelabs/proxy-wasm-go-sdk v0.16.0
51,416
https://github.com/rahul-bedarkar/LetMeCreate/blob/master/include/letmecreate/click/lin_hall.h
Github Open Source
Open Source
BSD-3-Clause
2,017
LetMeCreate
rahul-bedarkar
C
Code
80
230
/** * @file lin_hall.h * @author Francois Berder * @date 2016 * @copyright 3-clause BSD */ #ifndef __LETMECREATE_CLICK_LIN_HALL_H__ #define __LETMECREATE_CLICK_LIN_HALL_H__ #ifdef __cplusplus extern "C"{ #endif #include <stdint.h> #include <letmecreate/click/export.h> /** * @brief Read measurement from LIN Ha...
1,010
https://github.com/Jee-King/STNet/blob/master/videoanalyst/engine/tester/tester_impl/got10k.py
Github Open Source
Open Source
MIT
2,022
STNet
Jee-King
Python
Code
327
1,367
# -*- coding: utf-8 -* import copy import os.path as osp from loguru import logger import torch import torch.multiprocessing as mp from videoanalyst.evaluation.got_benchmark.experiments import ExperimentGOT10k from ..tester_base import TRACK_TESTERS, TesterBase from .utils.got_benchmark_helper import PipelineTracke...
4,945
https://github.com/Accelerider/Accelerider.Windows/blob/master/Source/Accelerider.Windows.Modules.NetDisk/ViewModels/Dialogs/DownloadDialog.vm.cs
Github Open Source
Open Source
MIT
2,022
Accelerider.Windows
Accelerider
C#
Code
230
846
using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Windows.Forms; using System.Windows.Input; using Accelerider.Windows.Infrastructure; using Accelerider.Windows.Resources.I18N; using Unity; using MaterialDesignThemes.Wpf; namespace Accelerider.Windows.Modules.Net...
47,821
https://github.com/ijp/GyojiBot/blob/master/game/moves/move.py
Github Open Source
Open Source
MIT
2,020
GyojiBot
ijp
Python
Code
26
66
from game.stats import Stat class Move: name: str stats = [] def __init__(self, technique_name: str, primary: Stat, secondary: Stat): self.name = technique_name self.stats = [primary, secondary]
32,816
https://github.com/Kneelawk/HelloOpenCV/blob/master/src/launcher/java/org/kneelawk/helloopencv/HelloOpenCVLaunch.java
Github Open Source
Open Source
MIT
null
HelloOpenCV
Kneelawk
Java
Code
83
433
package org.kneelawk.helloopencv; import java.io.File; import java.io.IOException; import org.kneelawk.helloopencv.CPControl3.AndEntryFilter; import org.kneelawk.helloopencv.CPControl3.DirectoryEntryFilter; import org.kneelawk.helloopencv.CPControl3.NameContainsEntryFilter; public class HelloOpenCVLaunch { public s...
6,700
https://github.com/scale-lab/PVTsensors/blob/master/Microcontroller/FPGA/tb/mem_dpi/mem_dpi.c
Github Open Source
Open Source
Apache-2.0
2,021
PVTsensors
scale-lab
C
Code
548
1,782
#include "svdpi.h" #include <unistd.h> #include <stdio.h> #include <stdlib.h> #include <errno.h> #include <netinet/in.h> #include <arpa/inet.h> #include <fcntl.h> #include "dpiheader.h" // messages look like this: // WE(1-BIT)|0(3-BIT)|BE(4-BIT)|ADDR (32-bit)|WDATA(32-BIT) int mem_check_con(); uint8_t mem_got_con...
39,039
https://github.com/Christiaanben/stayenjoy/blob/master/js/codeJquery.js
Github Open Source
Open Source
Apache-2.0
null
stayenjoy
Christiaanben
JavaScript
Code
11
61
$(document).ready(function () { $(".containerDisplay").click(function () { if($(".navbar-collapse").is(":visible")){ $('.navbar-collapse').collapse("toggle"); } }); });
41,703
https://github.com/v-a-s-a/pgc_bipolar_conditional_analysis/blob/master/tutorials/index_variant_conditional_analysis.ipynb
Github Open Source
Open Source
MIT
2,017
pgc_bipolar_conditional_analysis
v-a-s-a
Jupyter Notebook
Code
905
2,530
{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Introduction\n", "\n", "This is a short tutorial for conducting a conditional analysis using PLINK2 and Ricopili. It is based on the analysis done for the PGC 2017 Bipolar GWAS project.\n", "\n", "The full `snakemake`...
21,326
https://github.com/CCTLib/cctlib/blob/master/docs/html/structRegInfo.js
Github Open Source
Open Source
MIT
2,022
cctlib
CCTLib
JavaScript
Code
15
84
var structRegInfo = [ [ "count", "structRegInfo.html#a902edd5f2bbbf418e56ef95b6f9ed652", null ], [ "regs", "structRegInfo.html#aa3b5ef76a7b9879d4e3094bdd5f8237a", null ] ];
44,858
https://github.com/farhanrully/DistributionApp/blob/master/app/Models/RestokModel.php
Github Open Source
Open Source
MIT
null
DistributionApp
farhanrully
PHP
Code
23
98
<?php namespace App\Models; use CodeIgniter\Model; class RestokModel extends Model { protected $table = 'restok'; protected $useTimestamps = true; protected $allowedFields = ['created_at','updated_at','nama','stoklama','restok','stokbaru','harga','biaya','aset_tambahan','aset']; }
8,042
https://github.com/gazeti/aleph/blob/master/aleph/static/js/services/Authz.js
Github Open Source
Open Source
MIT
2,017
aleph
gazeti
JavaScript
Code
76
291
import aleph from '../aleph'; aleph.factory('Authz', ['$rootScope', function($rootScope) { var collection = function(right, collection_id) { if ($rootScope.session.permissions && $rootScope.session.permissions[right]) { return $rootScope.session.permissions[right].indexOf(collection_id) != -1; } r...
21,743
https://github.com/gfoidl/GitHub-Actions/blob/master/pr_title_check/node_modules/alsatian/dist/core/spying/index.js
Github Open Source
Open Source
MIT
null
GitHub-Actions
gfoidl
JavaScript
Code
73
366
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var any_argument_1 = require("./any-argument"); exports.Any = any_argument_1.Any; var create_function_spy_1 = require("./create-function-spy"); exports.createFunctionSpy = create_function_spy_1.createFunctionSpy; var function_spy_1 = require("...
8,911
https://github.com/patrikduch/microservices-in-dotnet-book-second-edition/blob/master/Chapter10/ShoppingCart/ShoppingCart/ShoppingCart.cs
Github Open Source
Open Source
MIT
2,021
microservices-in-dotnet-book-second-edition
patrikduch
C#
Code
133
450
namespace ShoppingCart.ShoppingCart { using System; using System.Collections.Generic; using System.Linq; using EventFeed; public class ShoppingCart { private readonly HashSet<ShoppingCartItem> items = new HashSet<ShoppingCartItem>(); public int? Id { get; } public int UserId { get; } publi...
28,591
https://github.com/heleyboo/toeicln/blob/master/app/Http/Requests/UpdateDocumentRequest.php
Github Open Source
Open Source
MIT
2,021
toeicln
heleyboo
PHP
Code
95
223
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class UpdateDocumentRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** *...
16,128
https://github.com/gcd-cloud-research/eaas_front/blob/master/src/components/NewTaskForm/FileForm/index.js
Github Open Source
Open Source
CC0-1.0
null
eaas_front
gcd-cloud-research
JavaScript
Code
259
976
import React, { useState } from 'react'; import Typography from "@mui/material/Typography"; import Button from '@mui/material/Button'; import FileUploadIcon from '@mui/icons-material/FileUpload'; import List from '@mui/material/List'; import ListItem from '@mui/material/ListItem'; import ListItemAvatar from '@mui/mater...
36,436
https://github.com/CEAZAmet/CEAZA-M2/blob/master/Examples/CM_M2_TEST.ino
Github Open Source
Open Source
MIT
2,021
CEAZA-M2
CEAZAmet
C++
Code
214
637
/* * This sketch shows how to activate or deactivate the power sources available in * CEAZA M2 board for CEAZA MEGA systrem through a LED power pilot on/off pattern. * M2 board have 4 firmware controlled power nodes for precise energy management aplications. * The power nodes are: * - SW/VIN: Is a controlled Vin t...
17,542
https://github.com/danstoyanov/CSharp-Advanced/blob/master/Generics/Generics Exercise Problems/P06_Generic_Count_Method_Double/Box.cs
Github Open Source
Open Source
MIT
null
CSharp-Advanced
danstoyanov
C#
Code
61
171
using System; using System.Collections.Generic; namespace P06_Generic_Count_Method_Double { public class Box<T> where T : IComparable { public Box(List<T> values) { this.Values = values; } public List<T> Values { get; set; } = new List<T>(); public int Val...
19,206
https://github.com/mindentropy/s3c2440-mdk/blob/master/src/os/memctl.c
Github Open Source
Open Source
Apache-2.0
2,017
s3c2440-mdk
mindentropy
C
Code
82
395
#include "memctl.h" void config_bwscon() { /* Configure BWSCON */ writereg32(BWSCON_REG(MEM_BA), DW7_RESERVED|DW6_32b|DW5_RESERVED|DW4_RESERVED| DW3_RESERVED|DW2_RESERVED|DW1_RESERVED); } void sdram_init() { config_bwscon(); /* Configure BANKCON6/BANKCON7 */ writereg32(BANKCON6_REG(MEM_BA),MT_SYNC_DRAM...
27,894
https://github.com/tfatykhov/node-red-contrib-freeboard/blob/master/freeboard/assets/less/import/responsive.less
Github Open Source
Open Source
Apache-2.0, MIT
2,017
node-red-contrib-freeboard
tfatykhov
Less
Code
569
1,864
/* Higher than 1200 (desktop devices) ====================================================================== */ @media (min-width: 1200px) { #content { .box-shadow(-3px -1px 2px rgba(0,0,0,0.95)); filter: none; padding: 25px; margin: -25px 0 0 0; } footer { margin: 0px -15px; padding: 10px 20px; pos...
34,259
https://github.com/Babusona27/temple_app/blob/master/resources/views/admin/reports/inventoryreport.blade.php
Github Open Source
Open Source
MIT
null
temple_app
Babusona27
PHP
Code
455
2,089
@extends('admin.layout') @section('content') <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> {{ trans('labels.Inventory Report') }} <small>{{ trans('labels.Inventory Report') }}...</small> </h1> <ol class="breadcrumb"> <li><a href="{{ URL::to('...
5,704
https://github.com/NeoSolutionsAdmin/ProjectAlexa/blob/master/Planillas/Planillas/View.ascx
Github Open Source
Open Source
MIT
2,019
ProjectAlexa
NeoSolutionsAdmin
null
Spoken
182
826
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="View.ascx.cs" Inherits="Christoc.Modules.Planillas.View" %> <span>Mes:</span> <select id="month"> <option value="00"></option> <option value="01">Enero</option> <option value="02">Febrero</option> <option value="03">Marzo</option> <optio...
15,692
https://github.com/keithbennett/SDF_C/blob/master/include/stack_allocator.h
Github Open Source
Open Source
BSD-2-Clause
2,023
SDF_C
keithbennett
C
Code
133
506
/* * SDF (Self-Describing Format) Software Library * Copyright (c) 2014-2016, SDF Development Team * * Distributed under the terms of the BSD 3-clause License. * See the LICENSE file for details. */ /** @internal @file stack_allocator.h @brief Declarations for the SDF stack allocator helper routines. ...
4,149
https://github.com/stackotter/ecs/blob/master/Sources/FirebladeECS/CodingStrategy.swift
Github Open Source
Open Source
MIT
2,022
ecs
stackotter
Swift
Code
61
157
// // CodingStrategy.swift // FirebladeECS // // Created by Christian Treffs on 05.08.20. // public protocol CodingStrategy { func codingKey<C>(for componentType: C.Type) -> DynamicCodingKey where C: Component } public struct DynamicCodingKey: CodingKey { public var intValue: Int? public var stringValu...
389
https://github.com/Emakina-RS/ereminder/blob/master/ereminder.api/helpers/encryptionHelper.js
Github Open Source
Open Source
MIT
null
ereminder
Emakina-RS
JavaScript
Code
63
213
'use string' const crypto = require('crypto'); const algorithm = 'aes-128-cbc'; const password = 'testpassword'; exports.Encrypt = function(text) { var ciper = crypto.createCipher(algorithm, password); var crypted = ciper.update(text, 'utf8', 'hex') crypted += ciper.final('hex'); return crypted; } e...
9,683
https://github.com/winfredwyw/knight/blob/master/hooks/build.js
Github Open Source
Open Source
Apache-2.0
2,018
knight
winfredwyw
JavaScript
Code
73
247
module.exports = function(ctx) { const fs = ctx.requireCordovaModule('fs'); const path = ctx.requireCordovaModule('path'); const deferral = ctx.requireCordovaModule('q').defer(); // 是否可以执行cordova命令 let isPass = true; // 依赖www资源 try { fs.statSync(path.join(__dirname, '../www')); ...
39,779
https://github.com/edx/edx-app-ios/blob/master/Source/SpinnerView.swift
Github Open Source
Open Source
Apache-2.0
2,021
edx-app-ios
edx
Swift
Code
254
790
// // SpinnerView.swift // edX // // Created by Akiva Leffert on 6/3/15. // Copyright (c) 2015 edX. All rights reserved. // import UIKit public class SpinnerView: UIView { public enum Size { case small case medium case large } public enum Color { case primary ...
14,588
https://github.com/daiwaka/jiji2/blob/master/sample_agents/src/statistical_arbitrage_agent.rb
Github Open Source
Open Source
MIT
2,020
jiji2
daiwaka
Ruby
Code
1,180
4,570
# frozen_string_literal: true require 'quandl' require 'lru_redux' # === 統計的裁定取引エージェント class StatisticalArbitrageAgent include Jiji::Model::Agents::Agent def self.description <<-STR 統計的裁定取引エージェント STR end # UIから設定可能なプロパティの一覧 def self.property_infos [ Property.new('pairs', ...
15,268
https://github.com/HolyMeekrob/WordleTracker/blob/master/WordleTracker.Svc.Tests/Group/CreateGroupTests.cs
Github Open Source
Open Source
MIT
null
WordleTracker
HolyMeekrob
C#
Code
212
765
using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using WordleTracker.Data.Models; using Xunit; namespace WordleTracker.Svc.Tests; public class CreateGroupTests : DbTests { private static User GetUser(string userId) => new() { Id = userId, Name = user...
13,255
https://github.com/VenDive/generator-create-rr/blob/master/app/templates/resources/ant/atoms/Button/index.js
Github Open Source
Open Source
MIT
2,020
generator-create-rr
VenDive
JavaScript
Code
62
180
/* eslint-disable react/jsx-props-no-spreading */ import React from 'react'; import PropTypes from 'prop-types'; import { Button, } from 'antd'; import styles from './Button.module.css'; const InputWrap = (props) => { const { className, children, } = props; return ( <Button {...props} className={`$...
22,664
https://github.com/michaelacook/to-do-api/blob/master/test/integration/lib/listItem.get.test.js
Github Open Source
Open Source
MIT
2,021
to-do-api
michaelacook
JavaScript
Code
147
516
const request = require("supertest") const app = require("../../../app") const { assert } = require("chai") module.exports = () => { describe("GET list-items route", () => { it("returns 200 OK and a listItem object on the happy path", (done) => { request(app) .get("/list-items/1") .auth("mc...
12,905
https://github.com/bobbylemm/cc-api/blob/master/src/modules/order/orderController.ts
Github Open Source
Open Source
MIT
null
cc-api
bobbylemm
TypeScript
Code
102
234
import { Request, Response } from 'express'; import OrderRepo, { Order } from './orderRepository' export default class OrderController { private readonly repo: OrderRepo; constructor() { this.repo = new OrderRepo(); } public createOrder = async (req: Request, res: Response) => { cons...
32,768
https://github.com/croz-ltd/klokwrk-project/blob/master/lib/klokwrk-lib-validation-validator/src/main/groovy/org/klokwrk/lib/validation/validator/RandomUuidFormatConstraintValidator.groovy
Github Open Source
Open Source
Apache-2.0
2,022
klokwrk-project
croz-ltd
Groovy
Code
249
630
/* * SPDX-License-Identifier: Apache-2.0 * * Copyright 2020-2021 CROZ d.o.o, 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.apach...
25,147
https://github.com/pandopia/IFCPHP/blob/master/reader/IFCPHP/IFC4/Entity/IfcStructuralLoadSingleDisplacement.php
Github Open Source
Open Source
MIT
null
IFCPHP
pandopia
PHP
Code
162
659
<?php namespace IFCPHP\IFC4\Entity; use IFCPHP\IFC4 as IFC; class IfcStructuralLoadSingleDisplacement extends IfcStructuralLoadStatic{ static public $elementName = 'IFCSTRUCTURALLOADSINGLEDISPLACEMENT'; static public $params = [ [ 'name' => 'Name', 'class' => 'Type\IfcLabel', 'type' => 'object', 'op...
35,690
https://github.com/skandhas/mrubybind/blob/master/codegen/gen_template.rb
Github Open Source
Open Source
MIT
2,013
mrubybind
skandhas
Ruby
Code
289
1,043
MAX_PARAM = 6 HEADER = <<EOD // This file is generated from gen_template.rb \#define ARG(i) Type<P##i>::get(args[i]) \#define CHECK(i) Type<P##i>::check(args[i]) EOD FUNC_TMPL = <<EOD // void f(%PARAMS%); template<%CLASSES0%> struct Binder<void (*)(%PARAMS%)> { static mrb_value call(mrb_state* mrb, void* p, mrb...
4,789
https://github.com/e965/civsoc-appeal-constructor/blob/master/src/components/Pages/Main/MainPage.scss
Github Open Source
Open Source
MIT
null
civsoc-appeal-constructor
e965
SCSS
Code
154
566
@import '../../../styles/Imports'; .page { &--index { padding: 0 20px; &__tagline { font-size: 3.75em; span { white-space: nowrap; } } &__about, &__examples { margin-top: 40px; } &__about { ...
33,860
https://github.com/therealfnadeau/uabot/blob/master/scenariolib/event_fakesearch.go
Github Open Source
Open Source
Apache-2.0
2,017
uabot
therealfnadeau
Go
Code
146
380
// Package scenariolib handles everything need to execute a scenario and send all // information to the usage analytics endpoint package scenariolib import ( "encoding/json" "errors" "github.com/coveo/go-coveo/search" ) // ============== FAKE SEARCH EVENT ====================== // =================================...
2,038
https://github.com/kwnie/scribble-stadium-fe/blob/master/src/components/pages/AudioBook/index.js
Github Open Source
Open Source
MIT
2,021
scribble-stadium-fe
kwnie
JavaScript
Code
8
15
export { default as AudioBook } from './AudioBookContainer';
7,156
https://github.com/PronDmytro/Street-Fighter/blob/master/src/constants/controls.js
Github Open Source
Open Source
MIT
2,021
Street-Fighter
PronDmytro
JavaScript
Code
27
116
export const controls = { PlayerOneAttack: 'KeyA', PlayerOneBlock: 'KeyD', PlayerTwoAttack: 'KeyJ', PlayerTwoBlock: 'KeyL', PlayerOneCriticalHitCombination: ['KeyQ', 'KeyW', 'KeyE'], PlayerTwoCriticalHitCombination: ['KeyU', 'KeyI', 'KeyO'] }; export const GAME_CONTROL_KEYS = Object.values(controls).flat(2...
31,975
https://github.com/deissnerk/external-dns-management/blob/master/test/integration/remoteAccess_test.go
Github Open Source
Open Source
Apache-2.0
null
external-dns-management
deissnerk
Go
Code
655
2,474
/* * Copyright 2022 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Licen...
33,459
https://github.com/PengHuAnZhi/pRpc/blob/master/prpc-core/src/main/java/com/phz/prpc/netty/handler/RpcResponseMessageHandler.java
Github Open Source
Open Source
MIT
2,022
pRpc
PengHuAnZhi
Java
Code
145
692
package com.phz.prpc.netty.handler; import com.phz.prpc.netty.message.RpcResponseMessage; import io.netty.channel.ChannelHandler; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.SimpleChannelInboundHandler; import io.netty.util.concurrent.Promise; import lombok.extern.slf4j.Slf4j; import java.u...
36,875
https://github.com/iesdonana/libros/blob/master/commands/UsuariosController.php
Github Open Source
Open Source
2,021
libros
iesdonana
PHP
Code
80
230
<?php namespace app\commands; use app\models\Pendientes; use app\models\Usuarios; use yii\console\Controller; use yii\console\ExitCode; /** * Comandos relacionados con los usuarios. */ class UsuariosController extends Controller { /** * Borra los usuarios no activados antes de 48 horas. * * @par...
39,344
https://github.com/VikasSukhija/Downloads/blob/master/DownloadSPOFiles.ps1
Github Open Source
Open Source
MIT
2,023
Downloads
VikasSukhija
PowerShell
Code
216
684
<# .NOTES =========================================================================== Created on: 6/22/2022 12:01 PM Created by: Vikas Sukhija (http://techwizard.cloud) Organization: Filename: DownloadSPOFiles.ps1 ==============================================================...
51,185
https://github.com/Shirakumo/cl-mixed/blob/master/extensions/cl-mixed-alsa.asd
Github Open Source
Open Source
Zlib
2,022
cl-mixed
Shirakumo
Common Lisp
Code
54
277
#| This file is a part of cl-mixed (c) 2017 Shirakumo http://tymoon.eu (shinmera@tymoon.eu) Author: Nicolas Hafner <shinmera@tymoon.eu> |# (asdf:defsystem cl-mixed-alsa :version "1.0.0" :license "zlib" :author "Nicolas Hafner <shinmera@tymoon.eu>" :maintainer "Nicolas Hafner <shinmera@tymoon.eu>" :descrip...
48,984
https://github.com/orbitalimpact/qiciengine/blob/master/editorservice/cmd/REVERT_SCENE_TO_REVISION.js
Github Open Source
Open Source
MIT
2,016
qiciengine
orbitalimpact
JavaScript
Code
49
147
/** * @author weism * copyright 2015 Qcplay All Rights Reserved. * * 保存场景 */ M.COMMAND.registerCmd({ name : 'REVERT_SCENE_TO_REVISION', main : function(socket, cookie, data) { var name = data.state; var version = data.version; if (!/\.state$/.test(name)) name = name + ...
21,470
https://github.com/jmegner/udemy_the_web_developer_bootcamp/blob/master/section16_188_color_toggle_exercise/toggle.js
Github Open Source
Open Source
Unlicense
null
udemy_the_web_developer_bootcamp
jmegner
JavaScript
Code
22
65
var btn = document.querySelector("button"); btn.addEventListener("click", () => { var style = document.body.style; style.backgroundColor = style.backgroundColor != "purple" ? "purple" : "white"; });
9,633
https://github.com/minhvuong96/nhasachhpbook/blob/master/resources/views/admin/pages/add_user.blade.php
Github Open Source
Open Source
MIT
null
nhasachhpbook
minhvuong96
PHP
Code
201
983
@extends('admin.master') @section('title') Thêm Thành Viên - HPBOOK ADMIN @endsection @section('content') <div class="content"> <div class="container-fluid"> <div class="row"> <div class="col-12"> <div class="page-title-box"> <ol c...
7,932
https://github.com/willysutopo/providexpert/blob/master/app/lib/BraintreeManager.php
Github Open Source
Open Source
MIT
2,014
providexpert
willysutopo
PHP
Code
229
905
<?php // // Braintree Manager // /* testing CC Number 4111111111111111 4012888888881881 BRAINTREE PHP SDK EXTREMLY SIMPLE AND EASY FOR USAGE */ class BraintreeManager{ protected $config = array( 'merchantId' => "hkjcnw6bcqwcxxbx", 'publicKey' => "2bgz27xf24295zwz", 'privateKey' => "b7af749f44e1a07e231ce...
46,734
https://github.com/destromon/inkings/blob/master/app/views/page/footer.blade.php
Github Open Source
Open Source
MIT
2,014
inkings
destromon
Blade
Code
7
15
<hr/> Copyright &copy; 2014. All Rights Reserved.
51,157
https://github.com/openmpp/docker/blob/master/ompp-run-debian-10/Dockerfile
Github Open Source
Open Source
MIT
2,023
docker
openmpp
Dockerfile
Code
313
983
# Docker image to run openM++ models on Debian stable # # Examples of build and arguments default values: # docker build -t openmpp/openmpp-run:debian-10 . # docker build -t openmpp/openmpp-run:debian-10 --build-arg OMPP_USER=ompp . # docker build -t openmpp/openmpp-run:debian-10 --build-arg OMPP_GROUP=ompp . # ...
46,347
https://github.com/vatelzh/daos/blob/master/src/control/lib/ipmctl/nvm.go
Github Open Source
Open Source
Apache-2.0
2,021
daos
vatelzh
Go
Code
574
1,417
// // (C) Copyright 2018-2020 Intel 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 la...
51,240
https://github.com/xXD4rkC0d3rXx/cocoscreator3-zjt/blob/master/engine/bin/.cache/dev/editor/transform-cache/fs/cocos/3d/lights/index.js
Github Open Source
Open Source
MIT
2,021
cocoscreator3-zjt
xXD4rkC0d3rXx
JavaScript
Code
132
458
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _exportNames = { DirectionalLight: true, Light: true, SphereLight: true, SpotLight: true }; Object.defineProperty(exports, "DirectionalLight", { enumerable: true, get: function () { return _directionalLightComponent.Dire...
19,716
https://github.com/shakhawatfci/FNS/blob/master/FNS/resources/views/admin/menu/create_menu.blade.php
Github Open Source
Open Source
MIT
2,018
FNS
shakhawatfci
Blade
Code
190
925
@extends('admin.master.master') <!-- Small boxes (Stat box) --> @section('content') <div class="row"> <div class="col-md-6 col-md-offset-3"> <div class="box box-info"> <div class="box-header with-border"> <h3 class="box-title">Create Menu</h3> </div> ...
25,656
https://github.com/xsoheilalizadeh/StackExchange.Metrics/blob/master/src/StackExchange.Metrics/Infrastructure/BufferedHttpMetricHandler.cs
Github Open Source
Open Source
MIT
2,022
StackExchange.Metrics
xsoheilalizadeh
C#
Code
680
1,931
using System; using System.Buffers; using System.IO; using System.IO.Compression; using System.Net; using System.Net.Http; using System.Net.Http.Headers; using System.Threading.Tasks; namespace StackExchange.Metrics.Infrastructure { /// <summary> /// Abstract implementation of <see cref="BufferedMetricHandl...
18,010
https://github.com/nbattel/DataStructuresAndAlgorithms/blob/master/Test.cpp
Github Open Source
Open Source
MIT
null
DataStructuresAndAlgorithms
nbattel
C++
Code
94
252
#include <iostream> #include <string> #include "List.h" #include "OrderedList.h" using namespace std; int main(char argc, char* argv[]) { int a, b; List<int> Test(10); Test.insert(1,20); a = Test.getLength(); b = Test.retreive(1); cout << "Length: " << a << endl; cout << "Inserted number: " << b << endl; int...
38,541
https://github.com/bizwell/Pangu/blob/master/joindata-app-template/__rootArtifactId__-app-kernel/src/main/java/com/joindata/archetype/App.java
Github Open Source
Open Source
Apache-2.0
2,021
Pangu
bizwell
Java
Code
28
131
package com.joindata.archetype; import com.joindata.inf.boot.Bootstrap; import com.joindata.inf.boot.annotation.JoindataWebApp; import com.joindata.inf.common.support.disconf.EnableDisconf; @JoindataWebApp(id = "APP.TEST", version = "1.0.0") @EnableDisconf public class App { public static void main(String[] args)...
38,708
https://github.com/HackerFoo/vtr-verilog-to-routing/blob/master/vpr/src/timing/clb_delay_calc.inl
Github Open Source
Open Source
MIT
2,018
vtr-verilog-to-routing
HackerFoo
C++
Code
345
1,627
#include "clb_delay_calc.h" #include "globals.h" /* * ClbDelayCalc */ inline ClbDelayCalc::ClbDelayCalc() : intra_lb_pb_pin_lookup_(g_vpr_ctx.device().block_types, g_vpr_ctx.device().num_block_types) {} inline float ClbDelayCalc::clb_input_to_internal_sink_delay(const ClusterBlockId block_id, const int pin_in...
48,753