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/GuoSuiming/mindspore/blob/master/mindspore/ccsrc/backend/optimizer/graph_kernel/depend_formater.cc
Github Open Source
Open Source
Apache-2.0
2,021
mindspore
GuoSuiming
C++
Code
483
1,697
/** * Copyright 2021 Huawei Technologies Co., Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
7,616
https://github.com/Juuro/Dreamapp-Website/blob/master/sites/silverstripe/cms/code/CMSMenuItem.php
Github Open Source
Open Source
BSD-3-Clause
2,012
Dreamapp-Website
Juuro
PHP
Code
131
287
<?php /** * A simple CMS menu item * * @package cms * @subpackage content */ class CMSMenuItem extends Object { /** * The (translated) menu title * @var string $title */ public $title; /** * Relative URL * @var string $url */ public $url; /** * Parent controller class name * @var string $...
28,368
https://github.com/arcus-smart-home/arcusandroid/blob/master/app/src/main/java/arcus/app/common/error/type/ServiceLevelType.java
Github Open Source
Open Source
Apache-2.0
2,020
arcusandroid
arcus-smart-home
Java
Code
148
424
/* * Copyright 2019 Arcus Project. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
14,384
https://github.com/SocialGouv/egapro/blob/master/packages/app/src/design-system/base/ContentWithChapter.tsx
Github Open Source
Open Source
Apache-2.0
2,023
egapro
SocialGouv
TSX
Code
35
88
import { clsx } from "clsx"; import { type PropsWithChildren } from "react"; import styles from "./ContentWithChapter.module.css"; export const ContentWithChapter = ({ children, className }: PropsWithChildren<{ className?: string }>) => ( <div className={clsx(styles.section, className)}>{children}</div> );
20,648
https://github.com/JhordhanCarlos/RentaShare/blob/master/src/views/telaAlugando.ejs
Github Open Source
Open Source
MIT
2,019
RentaShare
JhordhanCarlos
EJS
Code
112
1,038
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Alugando...</title> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/...
5,457
https://github.com/1170197998/Objective_C-DEMO/blob/master/FoldTableView/FoldTableView/Models/CellModel.m
Github Open Source
Open Source
Apache-2.0
2,017
Objective_C-DEMO
1170197998
Objective-C
Code
26
71
// // CellModel.m // FoldTableView // // Created by ShaoFeng on 16/7/29. // Copyright © 2016年 Cocav. All rights reserved. // #import "CellModel.h" @implementation CellModel @end
8,930
https://github.com/zaimon/HengFarm/blob/master/app/Http/Requests/ProjectRequest.php
Github Open Source
Open Source
MIT
null
HengFarm
zaimon
PHP
Code
114
465
<?php namespace App\Http\Requests; use App\Http\Requests\Request; use App\Projects; class ProjectRequest extends Request { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get t...
30,927
https://github.com/mraksoll4/reptiloidscoin/blob/master/src/qt/reptiloidscoincheckbox.cpp
Github Open Source
Open Source
MIT
2,020
reptiloidscoin
mraksoll4
C++
Code
71
290
// Copyright (c) 2019 The Blocknet developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <qt/reptiloidscoincheckbox.h> #include <qt/reptiloidscoinguiutil.h> ReptiloidsCoinCheckBox::ReptiloidsCoinCheckBox(const QSt...
49,368
https://github.com/asmfadholi/sikap-menpan/blob/master/src/components/TableColumns/index.tsx
Github Open Source
Open Source
MIT
null
sikap-menpan
asmfadholi
TypeScript
Code
155
486
import React from "react"; import LocationCol from "./components/LocationCol"; import StatusCol from "./components/StatusCol"; import NameCol from "./components/NameCol"; import PeriodeCol from "./components/PeriodeCol"; import AudienceCol from "./components/AudienceCol"; type TableColumnsArg = { status?: boolean; a...
37,055
https://github.com/berkansasmaz/runtime/blob/master/src/mono/mono/mini/mini-arm.c
Github Open Source
Open Source
MIT
2,022
runtime
berkansasmaz
C
Code
20,000
61,375
/** * \file * ARM backend for the Mono code generator * * Authors: * Paolo Molaro (lupus@ximian.com) * Dietmar Maurer (dietmar@ximian.com) * * (C) 2003 Ximian, Inc. * Copyright 2003-2011 Novell, Inc (http://www.novell.com) * Copyright 2011 Xamarin, Inc (http://www.xamarin.com) * Licensed under the MIT license. See LICE...
41,222
https://github.com/DirtyyDogg/mauwmauwFIEL/blob/master/packages/terminal/src/browser/base/terminal-service.ts
Github Open Source
Open Source
Classpath-exception-2.0, EPL-2.0, GPL-2.0-only, MIT, Unlicense, ISC, LGPL-2.1-or-later, Apache-2.0, LicenseRef-scancode-public-domain, GPL-2.0-or-later, BSD-2-Clause, BSD-3-Clause, LGPL-2.0-or-later, AFL-2.1, Unicode-TOU, LicenseRef-scancode-generic-export-compliance, GPL-1.0-or-later, EPL-1.0, MPL-2.0, Autoconf-except...
2,019
mauwmauwFIEL
DirtyyDogg
TypeScript
Code
217
499
/******************************************************************************** * Copyright (C) 2018 Red Hat, Inc. and others. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v. 2.0 which is available at * http://www.eclipse.org/legal/epl-2.0. *...
51,599
https://github.com/Tiththa/hhvm/blob/master/hphp/test/slow/traits/2107.php
Github Open Source
Open Source
PHP-3.01, Zend-2.0
2,019
hhvm
Tiththa
PHP
Code
41
109
<?php trait T { public static function foo() { $bt = debug_backtrace(); echo $bt[0]['function'] . "\n"; } } class C { use T { T::foo as public bar1; T::foo as public bar2; } } <<__EntryPoint>> function main_2107() { C::bar1(); C::bar2(); }
11,081
https://github.com/rubyworks/rebecca/blob/master/source/templates/index.handlebars
Github Open Source
Open Source
BSD-3-Clause, MIT, BSD-2-Clause
2,012
rebecca
rubyworks
null
Spoken
72
349
<!-- template: index --> <!-- @scope Rebecca.documentation --> <div id="alphabetical-index"> <h1>Alphabetical Index</h1> {{#if documents.length}} <div> <h2>Documents</h2> <div class="multi-column listing"> {{#documents}} <div class="item file"> <a href="{{calc_href id}}">{{name}...
531
https://github.com/dcdc-io/Advocat/blob/master/pwa/src/server.js
Github Open Source
Open Source
MIT
2,020
Advocat
dcdc-io
JavaScript
Code
172
579
require("dotenv").config() import * as fuxor from 'fuxor' import * as pouchdbSecurity from '../../pouchdb-security' fuxor.add('pouchdb-security', pouchdbSecurity) import slouchdbSecurity from '../../slouchdb-security' import PouchDB from 'pouchdb' import express from 'express' import expressPouchdb from 'express-pou...
24,996
https://github.com/jnthn/intellij-community/blob/master/platform/platform-tests/testSrc/com/intellij/execution/PtyCommandLineTest.java
Github Open Source
Open Source
Apache-2.0
2,019
intellij-community
jnthn
Java
Code
158
473
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.execution; import com.intellij.execution.configurations.GeneralCommandLine; import com.intellij.execution.configurations.PtyCommandLine; import com.intellij....
25,535
https://github.com/ak110/dotfiles/blob/master/bin/mvdir.py
Github Open Source
Open Source
MIT
null
dotfiles
ak110
Python
Code
67
340
#!/usr/bin/env python3 """ディレクトリをマージするスクリプト。""" import argparse import pathlib import logging logger = logging.getLogger(__name__) def _main(): try: import better_exceptions better_exceptions.hook() except BaseException: pass parser = argparse.ArgumentParser() parser.add_argu...
7,951
https://github.com/Eadgyth/Programming-Editor/blob/master/src/eg/syntax/SyntaxSearcher.java
Github Open Source
Open Source
MIT
2,021
Programming-Editor
Eadgyth
Java
Code
3,138
8,165
package eg.syntax; import javax.swing.text.SimpleAttributeSet; import java.util.List; import java.util.ArrayList; //--Eadgyth--/ import eg.utils.LinesFinder; import eg.document.styledtext.StyledText; import eg.document.styledtext.Attributes; /** * The search and highlighting of text elements */ public class Synta...
33,279
https://github.com/sidney-reis/IWS-hackathon-2018-vegan/blob/master/api/models/ChallengeModel.js
Github Open Source
Open Source
MIT
2,018
IWS-hackathon-2018-vegan
sidney-reis
JavaScript
Code
12
46
const mongoose = require('mongoose'); const ChallengeSchema = require('../Schemas/Challenge'); module.exports = mongoose.model('ChallengeModel', ChallengeSchema);
22,933
https://github.com/RohitLakra299/webkriti/blob/master/controllers/tempCodeRunnerFile.js
Github Open Source
Open Source
MIT
null
webkriti
RohitLakra299
JavaScript
Code
6
21
req.session.loggedin = true; req.session.username = username;
15,862
https://github.com/hzbdesigner/loopring.js/blob/master/src/loopring.js
Github Open Source
Open Source
Apache-2.0
2,018
loopring.js
hzbdesigner
JavaScript
Code
109
244
/* Copyright 2017 Loopring Project Ltd (Loopring Foundation). 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 ...
43,007
https://github.com/theorangeclock/yanzhi/blob/master/lib/utils.js
Github Open Source
Open Source
MIT
2,015
yanzhi
theorangeclock
JavaScript
Code
87
211
/**! * yanzhi - lib/utils.js */ 'use strict'; /** * Module dependencies. */ var thunkify = require('thunkify-wrap'); var config = require('../config'); var bcrypt = require('bcrypt'); thunkify(bcrypt, ['hash', 'compare']); /** * use bcrypt to hash the string * @param {String} str * @return {String} */ exp...
40,612
https://github.com/Webstrates/Webstrates/blob/master/helpers/HttpRequestController.js
Github Open Source
Open Source
Apache-2.0
2,022
Webstrates
Webstrates
JavaScript
Code
3,940
11,519
'use strict'; const archiver = require('archiver'); const crypto = require('crypto'); const fs = require('graceful-fs'); const jsonmlTools = require('jsonml-tools'); const htmlToJsonML = require('html-to-jsonml'); const mime = require('mime-types'); const multer = require('multer'); const os = require('os'); const req...
16,596
https://github.com/kmilo17pet/qlibs/blob/master/qltisys.c
Github Open Source
Open Source
MIT
2,022
qlibs
kmilo17pet
C
Code
843
1,860
/*! * @file qltisys.c * @author J. Camilo Gomez C. * @note This file is part of the qTools distribution. **/ #include "qltisys.h" static float qLTISys_DiscreteUpdate( qLTISys_t * const sys, const float u ); static float qLTISys_ContinuosUpdate( qLTISys_t * const sys, ...
17,852
https://github.com/gnormal/gnorm/blob/master/database/drivers/mysql/gnorm/tables/tables.go
Github Open Source
Open Source
Apache-2.0
2,022
gnorm
gnormal
Go
Code
327
1,279
// Code generated by gnorm, DO NOT EDIT! package tables import ( "database/sql" "github.com/go-sql-driver/mysql" "gnorm.org/gnorm/database/drivers/mysql/gnorm" ) // Row represents a row from 'TABLES'. type Row struct { TableCatalog string // TABLE_CATALOG TableSchema string // TABLE_SCHEMA...
12,834
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/common_runtime/collective_test_util.cc
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-generic-cla, BSD-2-Clause
2,023
tensorflow
tensorflow
C++
Code
1,288
4,897
/* Copyright 2021 The TensorFlow Authors. 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 applicable law or a...
50,875
https://github.com/m-zakeri/benchmark/blob/master/make_1.4/make/inputs/sdir-cov11/lib-src/pop.h
Github Open Source
Open Source
MIT
null
benchmark
m-zakeri
C
Code
375
877
/* pop.h: Header file for the "pop.c" client POP3 protocol. Copyright (c) 1991,1993 Free Software Foundation, Inc. Written by Jonathan Kamens, jik@security.ov.com. This file is part of GNU Emacs. GNU Emacs is free software; you can redistribute it and/or modify it under the terms of the GNU General Public Licen...
33,754
https://github.com/josedafonsecajr/enemyapi/blob/master/database/factories/EnemyPhotoFactory.php
Github Open Source
Open Source
MIT
null
enemyapi
josedafonsecajr
PHP
Code
70
219
<?php namespace Database\Factories; use App\Models\EnemyPhoto; use App\Models\Enemy; use Illuminate\Database\Eloquent\Factories\Factory; class EnemyPhotoFactory extends Factory { /** * The name of the factory's corresponding model. * * @var string */ protected $model = EnemyPhoto::class; ...
38,556
https://github.com/compas/grasp/blob/master/src/lib/libdvd90/iniest.f90
Github Open Source
Open Source
MIT, CC-BY-4.0
2,023
grasp
compas
Fortran Free Form
Code
586
1,946
SUBROUTINE INIEST(N, NB, NIV, HMX, JCOL, IROW, BASIS, IBLOCK, JBLOCK) !----------------------------------------------------------------------- ! Routine for providing initial estimates from the diagonal ! of the matrix. This way was used by Dvdson in atomic structure ! calculations. It should be use...
18,138
https://github.com/Gainsight/px-react-native-sdk/blob/master/lib/PXGeodetails.d.ts
Github Open Source
Open Source
MIT
null
px-react-native-sdk
Gainsight
TypeScript
Code
32
99
export declare class PXGeodetails { countryCode: string; countryName: string; stateCode: string; stateName: string; city: string; street: string; continent: string; postalCode: string; regionName: string; timeZone: string; latitude: number; longitude: number; toJson()...
47,643
https://github.com/grape-inc/Fenicotaxi/blob/master/public/js/Eventos/NominaDetalle.js
Github Open Source
Open Source
MIT
null
Fenicotaxi
grape-inc
JavaScript
Code
179
649
$(document).ready(function () { ConfigurarTablas(); }); function ConfigurarTablas() { $('#TablaNominaDetalle').DataTable({ dom: 'Bfrtip', "autoWidth": true, buttons: [ { extend: 'excel', text: 'Exportar a excel', title: "Fenico...
7,176
https://github.com/rejtg21/activitylog/blob/master/src/Spatie/Activitylog/Handlers/DefaultLaravelHandler.php
Github Open Source
Open Source
MIT
2,016
activitylog
rejtg21
PHP
Code
104
301
<?php namespace Spatie\Activitylog\Handlers; use Log; class DefaultLaravelHandler implements ActivitylogHandlerInterface { /** * Log activity in Laravels log handler. * * @param string $text * @param $userId * @param array $attributes * * @return bool */ public functi...
42,847
https://github.com/apache/geode/blob/master/geode-http-service/src/test/java/org/apache/geode/management/internal/InternalHttpServiceJunitTest.java
Github Open Source
Open Source
BSD-3-Clause, MIT, Apache-2.0, LicenseRef-scancode-public-domain, BSD-2-Clause, LicenseRef-scancode-unknown
2,023
geode
apache
Java
Code
287
914
/* * 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 ...
19,137
https://github.com/runnin86/sml-h5/blob/master/src/app.js
Github Open Source
Open Source
MIT
null
sml-h5
runnin86
JavaScript
Code
122
428
import Vue from 'vue' import VueRouter from 'vue-router' import VueResource from 'vue-resource' import routerConfig from './router' import pullToRefresh from './directives/pullToRefresh' import infiniteScroll from './directives/infiniteScroll' import * as filters from './filters' import app from './main' // debug Vue....
7,168
https://github.com/KR8T3R/h2o-3/blob/master/h2o-py/tests/testdir_hdfs/pyunit_INTERNAL_XGBoostEstimation.py
Github Open Source
Open Source
Apache-2.0
2,018
h2o-3
KR8T3R
Python
Code
208
818
from __future__ import print_function import sys sys.path.insert(1,"../../") import h2o from tests import pyunit_utils from h2o.estimators.xgboost import H2OXGBoostEstimator #---------------------------------------------------------------------- # Purpose: Smoke-test basic XGBoost operation under Hadoop. #------------...
44,788
https://github.com/cfmcdonald-78/Hexcrawler/blob/master/src/mob/hero.py
Github Open Source
Open Source
MIT
null
Hexcrawler
cfmcdonald-78
Python
Code
801
3,160
''' Created on Aug 11, 2012 @author: Chris ''' import mob.unit as unit, mob.trait as trait import hexcrawl.reputation as reputation, hexcrawl.income as income import mob.item as item #from util.tools import max_in_list import core.event_manager as event_manager from core.event_manager import Event import random NUM_E...
52,268
https://github.com/jhz-duanmeng/alibabacloud-java-sdk/blob/master/rds-20140815/src/main/java/com/aliyun/rds20140815/models/GrantOperatorPermissionRequest.java
Github Open Source
Open Source
Apache-2.0
2,020
alibabacloud-java-sdk
jhz-duanmeng
Java
Code
113
373
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.rds20140815.models; import com.aliyun.tea.*; public class GrantOperatorPermissionRequest extends TeaModel { @NameInMap("DBInstanceId") @Validation(required = true) public String DBInstanceId; @NameInMap("ExpiredTime") @Vali...
42,890
https://github.com/baishui1818/go-zero-looklook/blob/master/deploy/goctl/1.3.0-cli/model/field.tpl
Github Open Source
Open Source
MIT
2,022
go-zero-looklook
baishui1818
null
Spoken
6
27
{{.name}} {{.type}} {{.tag}} {{if .hasComment}}// {{.comment}}{{end}}
35,160
https://github.com/Sinchaohao/RongSys/blob/master/sx-broad/src/main/java/com/ruoyi/broad/domain/Recivedmessages.java
Github Open Source
Open Source
2,020
RongSys
Sinchaohao
Java
Code
214
752
package com.ruoyi.broad.domain; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.ruoyi.common.base.BaseEntity; /** * 短信接收记录表 recivedmessages * * @author 张超 * @date 2019-01-11 */ public class Recivedmessages extends BaseEntity { private st...
41,308
https://github.com/krexspace/Vulkan/blob/master/enginebase/gltfloader.cpp
Github Open Source
Open Source
MIT
2,020
Vulkan
krexspace
C++
Code
1,067
3,869
#include "gltfloader.hpp" /* Vulkan glTF scene class */ VulkanglTFScene::~VulkanglTFScene() { // Release all Vulkan resources allocated for the model vkDestroyBuffer(vulkanDevice->logicalDevice, vertices.buffer, nullptr); vkFreeMemory(vulkanDevice->logicalDevice, vertices.memory, nullptr); vkDestroyBuffer(vulkanD...
431
https://github.com/mio31/Terasology/blob/master/src/main/java/org/terasology/logic/mod/Mod.java
Github Open Source
Open Source
Apache-2.0
2,012
Terasology
mio31
Java
Code
191
442
/* * Copyright 2012 Benjamin Glatzel <benjamin.glatzel@me.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...
48,356
https://github.com/jwc225/airbnb-singapore-visualization/blob/master/app.R
Github Open Source
Open Source
MIT
2,021
airbnb-singapore-visualization
jwc225
R
Code
23
59
# Load Shiny library("shiny") # Source the ui and server (set wdir to root first) source("app_ui.R") source("app_server.R") shinyApp(ui = ui, server = server)
45,909
https://github.com/RenaKunisaki/StarFoxAdventures/blob/master/modelviewer/programs/SfaModel/shaders/dlist.vert
Github Open Source
Open Source
MIT
2,023
StarFoxAdventures
RenaKunisaki
GLSL
Code
61
183
#version 330 in vec3 vtx; in vec2 texCoord; in uint color; in int polyIdx; out VertexAttrib { vec3 vtx; vec2 texCoord; uint color; int polyIdx; } vertex; //out vec4 fragColor; //out vec2 fragTexCoord; void main() { //gl_Position = vec4(vert, 1.0); //gl_Position = vec4(vert, 0, 1); vertex.vtx ...
36,891
https://github.com/deerflow/laravel-tshirts/blob/master/resources/views/index.blade.php
Github Open Source
Open Source
MIT
2,021
laravel-tshirts
deerflow
Blade
Code
185
865
@extends('layouts.app') @section('title', 'Build your t-shirt') @section('body') <form method="POST" action="{{ route('historic.new') }}" enctype="multipart/form-data"> @csrf <h2 class="pt-2">Choose a T-shirt</h2> <div class="row my-4"> @foreach($tshirts as $tshirt) ...
15,580
https://github.com/leocth/Lucuma/blob/master/src/main/kotlin/net/oskarstrom/lucuma/insn/Instruction.kt
Github Open Source
Open Source
MIT
null
Lucuma
leocth
Kotlin
Code
51
182
package net.oskarstrom.lucuma.insn import net.oskarstrom.lucuma.Fixture import net.oskarstrom.lucuma.insn.target.Target interface Instruction { fun start(oldChannels: UByteArray) {} fun render(channels: UByteArray, speed: Double) {} fun stop() {} fun getDuration(): Int fun findFixtures(target: T...
32,620
https://github.com/mriekkin/tetra/blob/master/tetra/src/main/java/tetra/logic/Direction.java
Github Open Source
Open Source
MIT
null
tetra
mriekkin
Java
Code
318
688
package tetra.logic; /** * Perpendicular directions in the plane. Tetris operates in a cartesian * coordinate system where the possible translations are up, down, left and * right. These are also the only possible orientations since rotations are * constrained at 90&deg; angles. */ public enum Direction { UP...
32,341
https://github.com/Kittyfisto/Isabel/blob/master/Isabel/Commands/SpeechCommandTemplate.cs
Github Open Source
Open Source
MIT
null
Isabel
Kittyfisto
C#
Code
85
211
using System.Runtime.Serialization; using Isabel.Speech.Recognition; namespace Isabel.Commands { [DataContract] public sealed class SpeechCommandTemplate : AbstractCommandTemplate { /// <summary> /// The word, sentence, etc... to be spoken by a <see cref="ISpeechSynthesisEngine" />. /// </summary> [D...
3,132
https://github.com/belqati/SearchGitHub/blob/master/app.js
Github Open Source
Open Source
MIT
null
SearchGitHub
belqati
JavaScript
Code
96
246
// Instantiate github class from github.js const github = new Github; // instantiate UI const ui = new UI; // Search input const searchUser = document.querySelector('#searchUser'); // Search input event listener searchUser.addEventListener('keyup', (e) => { // Get input text from event object const userText = e.t...
44,480
https://github.com/tomatocake7270/EMSB-Intl-Cs-MVC/blob/master/EMSB-Intl-Cs-MCV/Views/Admission/Step2.cshtml
Github Open Source
Open Source
MIT
null
EMSB-Intl-Cs-MVC
tomatocake7270
C#
Code
363
1,707
@{ ViewBag.Title = "Admission Step 2"; Layout = "~/Views/Shared/_Layout.cshtml"; } <div class="text-center"> <div class="container text-center my-3 border-bottom border-primary pb-1"> <div class="d-flex justify-content-center"> <div class="media mx-3"> <img src="/Assets/Images/admissio...
20,042
https://github.com/NullVoxPopuli/ember-jquery-mobile/blob/master/addon/components/jqm-listdivider.js
Github Open Source
Open Source
MIT
2,016
ember-jquery-mobile
NullVoxPopuli
JavaScript
Code
18
70
import JqmComponent from './jqm-component'; import layout from '../templates/components/jqm-ulistview'; export default JqmComponent.extend({ layout: layout, tagName: 'li', role: 'list-divider' });
36,054
https://github.com/zhuangbiaowei/libgit2.cr/blob/master/spec/tag_spec.cr
Github Open Source
Open Source
MIT
2,020
libgit2.cr
zhuangbiaowei
Crystal
Code
97
503
require "./spec_helper" describe Git::Tag do repo = FixtureRepo.from_libgit2("testrepo.git") it "should read a tag" do oid = "7b4384978d2493e851f9cca7858815fac9b10980" obj = repo.lookup_tag(oid) obj.oid.to_s.should eq(oid) # assert_equal :tag, obj.type obj.message.should eq("This is a very si...
11,882
https://github.com/tiobe/pmd/blob/master/pmd-jsp/src/main/java/net/sourceforge/pmd/lang/jsp/rule/AbstractJspRule.java
Github Open Source
Open Source
BSD-3-Clause, Apache-2.0
2,023
pmd
tiobe
Java
Code
489
1,849
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.jsp.rule; import java.util.List; import net.sourceforge.pmd.RuleContext; import net.sourceforge.pmd.lang.LanguageRegistry; import net.sourceforge.pmd.lang.ast.Node; import net.sourceforge.pmd.lang...
53,225
https://github.com/smikhaylov3/premium-property-finder/blob/master/src/components/map/__snapshots__/index.test.js.snap
Github Open Source
Open Source
MIT
2,020
premium-property-finder
smikhaylov3
null
Spoken
31
180
// Jest Snapshot v1, https://goo.gl/fbAQLP exports[`renders correctly 1`] = ` <div className="mapouter" > <div className="gmap_canvas" > <iframe frameBorder="0" height="500" id="gmap_canvas" marginHeight="0" marginWidth="0" scrolling="no" src="https://maps.google...
20,732
https://github.com/LinqLover/squeak-tracebugger/blob/master/packages/TraceDebuggerBenchmarks.package/TDBBenchmark.class/instance/privatePreparationTime..st
Github Open Source
Open Source
MIT
2,022
squeak-tracebugger
LinqLover
null
Spoken
6
20
accessing privatePreparationTime: aDuration preparationTime := aDuration
24,274
https://github.com/bluehands/Funicular-Switch/blob/master/Source/Tests/FunicularSwitch.Generators.Test/Snapshots/Run_match_method_generator.For_enum_type.02.verified.cs
Github Open Source
Open Source
MIT
2,023
Funicular-Switch
bluehands
C#
Code
218
864
//HintName: FunicularSwitch.Test.testMatchExtension.g.cs #pragma warning disable 1591 using System; using System.Threading.Tasks; namespace FunicularSwitch.Test { public static partial class MatchExtension { public static T Match<T>(this FunicularSwitch.Test.test test, Func<T> eins, Func<T> zwei) => test switch...
43,397
https://github.com/armunro/WarpDeck/blob/master/WarpDeck.Plugins/Actions/Launcher/LauncherActionModel.cs
Github Open Source
Open Source
MIT
null
WarpDeck
armunro
C#
Code
43
125
using System.Collections.Generic; using WarpDeck.Domain.Key; namespace WarpDeck.Plugins.Actions.Launcher { public class LauncherActionModelModel : ActionModelModel { public string AppPath { get; set; } public string Arguments { get; set; } public override void MapParameters(Dictionary<...
23,922
https://github.com/wcomartin/PlexWatchAndroid/blob/master/test/features/settings/data/datasources/register_device_data_source_test.dart
Github Open Source
Open Source
MIT
2,018
PlexWatchAndroid
wcomartin
Dart
Code
337
1,345
// @dart=2.9 import 'package:flutter_test/flutter_test.dart'; import 'package:mockito/mockito.dart'; import 'package:tautulli_remote/core/api/tautulli_api/tautulli_api.dart' as tautulli_api; import 'package:tautulli_remote/core/device_info/device_info.dart'; import 'package:tautulli_remote/features/onesignal/data/...
26,832
https://github.com/christianvogt/fabric8-ui/blob/master/packages/planner/src/app/reducers/space.reducer.ts
Github Open Source
Open Source
Apache-2.0
null
fabric8-ui
christianvogt
TypeScript
Code
64
168
import { State } from '@ngrx/store'; import { ActionReducer } from '@ngrx/store'; import * as SpaceActions from './../actions/space.actions'; import { initialState, SpaceState } from '../states/space.state'; export type Action = SpaceActions.All; export const SpaceReducer: ActionReducer<SpaceState> = (state = initia...
11,389
https://github.com/jparkerweb/Bivariate/blob/master/app_modules/_lockReference.js
Github Open Source
Open Source
MIT
2,022
Bivariate
jparkerweb
JavaScript
Code
72
259
// ------------------------------- // -- Lock/Unlock the Reference -- // ------------------------------- let lockReference = function lockReference(lockIt) { let cmd = require('node-cmd') let touch = require('./_touchFile') let blank = require('./_blankLine') return new Promise(function(resolve, reject) { if(loc...
9,896
https://github.com/gibbss21/Cayley/blob/master/game_theory/senatemain.py
Github Open Source
Open Source
MIT
null
Cayley
gibbss21
Python
Code
115
324
import Cayley as cy import Cayley.game_theory as cg from Cayley.change_me import timesteps import csv def main(): print("Enter 'Linear', 'Limited', or 'Complete' for model type.") model = input('Model: ').lower() const = float(input("Input proportionality constant for beta and phi: ")) if model == 'lim...
6,416
https://github.com/dotnet9/dotnet9.com/blob/master/src/Dotnet9.Web/Views/Shared/Public/QueryForm.cshtml
Github Open Source
Open Source
MIT
2,022
dotnet9.com
dotnet9
C#
Code
57
236
<form method="get" asp-controller="BlogPost" asp-action="Query" role="form" name="searchform" id="searchform"> <input name="keyboard" id="keyboard" class="input_text" value="请输入关键字词" style="color: rgb(153, 153, 153);" onfocus="if (value == '请输入关键字词') { this.style.color = '#000';value = '' }" onblur="if (value == '...
4,349
https://github.com/houbie/lesscss/blob/master/src/main/java/com/github/houbie/lesscss/builder/CompilationUnit.java
Github Open Source
Open Source
Apache-2.0
2,020
lesscss
houbie
Java
Code
1,034
2,268
/* * Copyright (c) 2013 Houbrechts IT * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
51,680
https://github.com/nvuillam/cspell/blob/master/integration-tests/src/outputHelper.ts
Github Open Source
Open Source
MIT
2,021
cspell
nvuillam
TypeScript
Code
160
440
import { red, green, cyan } from 'chalk'; import { format } from 'util'; export interface ExecOutput { code: number; stdout: string; stderr: string; elapsedTime?: number; } export function formatExecOutput(output: ExecOutput): string { const { code, stdout, stderr, elapsedTime } = output; con...
25,915
https://github.com/jasmine1226/reverse-each-word-online-web-prework/blob/master/reverse_each_word.rb
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, LicenseRef-scancode-public-domain
2,019
reverse-each-word-online-web-prework
jasmine1226
Ruby
Code
32
89
def reverse_each_word(string) array = string.split(" ") reversed_string = "" array.collect do |word| reversed_string = reversed_string + word.reverse if array.index(word)+1 < array.length reversed_string = reversed_string + " " end end return reversed_string end
41,301
https://github.com/folio-org/ui-quick-marc/blob/master/src/queries/useAuthoritySourceFiles/index.js
Github Open Source
Open Source
Apache-2.0
2,023
ui-quick-marc
folio-org
JavaScript
Code
8
20
export { default as useAuthoritySourceFiles } from './useAuthoritySourceFiles';
42,362
https://github.com/cjies/gulp-starter-kit/blob/master/gulp/tasks/json.js
Github Open Source
Open Source
MIT
2,016
gulp-starter-kit
cjies
JavaScript
Code
57
196
// ************************************* // // JSON Task // // ************************************* import config from '../config'; import gulp from 'gulp'; import plumber from 'gulp-plumber'; import gulpif from 'gulp-if'; import jsonminify from 'gulp-jsonminify'; import browserSync from 'browser-sync'; import hand...
45,845
https://github.com/fangpeng1006/JCheck/blob/master/JCheck-Web/src/main/webapp/index.jsp
Github Open Source
Open Source
Apache-2.0
2,020
JCheck
fangpeng1006
null
Spoken
25
147
<%@ page contentType="text/html; charset=UTF-8" %> <html> <body> <script type="text/javascript"> function changeImage(img) { img.src=img.src+'?'+new Date().getTime() } </script> <h2>Hello World!</h2> 用户名:<input/><br/> 密码:<input/><br/> 验证码:<input/><img src="/JCheck_Web_war/image" onclick="changeImage(thi...
33,154
https://github.com/Guymer/fortranlib/blob/master/tests/test08.F90
Github Open Source
Open Source
Apache-2.0
2,023
fortranlib
Guymer
Fortran Free Form
Code
179
652
PROGRAM test08 ! Import modules ... USE ISO_FORTRAN_ENV USE mod_safe, ONLY: func_integrate_array, sub_allocate_array IMPLICIT NONE ! Declare variables ... REAL(kind = REAL64) :: eps REAL(kind = REAL64), ALLOCATABLE, DIMENSION(:) ...
30,080
https://github.com/SAP/openui5/blob/master/src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons/v5/outdent.js
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,023
openui5
SAP
JavaScript
Code
124
497
sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/asset-registries/Icons"], function (_exports, _Icons) { "use strict"; Object.defineProperty(_exports, "__esModule", { value: true }); _exports.pathData = _exports.ltr = _exports.default = _exports.accData = void 0; const name = "outdent"; co...
3,670
https://github.com/piougy/CzechIdMng/blob/master/Realization/frontend/czechidm-core/src/components/basic/ToggleSwitch/ToggleSwitch.js
Github Open Source
Open Source
MIT
2,021
CzechIdMng
piougy
JavaScript
Code
214
702
import React from 'react'; import classNames from 'classnames'; import Joi from 'joi'; import Switch from 'react-toggle-switch'; // import AbstractFormComponent from '../AbstractFormComponent/AbstractFormComponent'; import Tooltip from '../Tooltip/Tooltip'; /** * ToggleSwitch component * * @author Vít Švanda * @ex...
39,472
https://github.com/alvaropeon/ExpenseClient/blob/master/app/shared/file-uploader/fileUploaderValidators.js
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, Apache-2.0
2,016
ExpenseClient
alvaropeon
JavaScript
Code
76
257
var uploadModule = angular.module('hpFileUpload', []); uploadModule .directive('fileSize', function(){ return { require: 'ngModel', link: function(scope, element, attr, ngModel){ var maxSize = attr.fileSize; ngModel.$validators.fileSize = function(mod...
26,462
https://github.com/atselevich/beastie/blob/master/src/Beastie.Net.Extensions/Extensions/NameValueCollectionExtensions.cs
Github Open Source
Open Source
MIT
null
beastie
atselevich
C#
Code
1,057
2,869
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Text; namespace Beastie.Net.Extensions.Extensions { public static class NameValueCollectionExtensions { #region Public Methods and Operators /// <summary> /// Take...
12,781
https://github.com/ScalablyTyped/ScalajsReactTyped/blob/master/j/javascript-obfuscator/src/main/scala/typingsJapgolly/javascriptObfuscator/iobfuscatedcodeMod/IObfuscatedCode.scala
Github Open Source
Open Source
MIT
2,022
ScalajsReactTyped
ScalablyTyped
Scala
Code
70
386
package typingsJapgolly.javascriptObfuscator.iobfuscatedcodeMod import japgolly.scalajs.react.Callback import japgolly.scalajs.react.CallbackTo import typingsJapgolly.javascriptObfuscator.iinitializableMod.IInitializable import scala.scalajs.js import scala.scalajs.js.`|` import scala.scalajs.js.annotation._ trait IO...
42,508
https://github.com/JetBrains/android/blob/master/android/src/com/android/tools/idea/welcome/wizard/ConsoleHighlighter.java
Github Open Source
Open Source
Apache-2.0
2,023
android
JetBrains
Java
Code
804
2,383
/* * Copyright (C) 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
51,704
https://github.com/bizhuka/aqo/blob/master/src/zaqo_editor_old_cli_comp_alv.prog.abap
Github Open Source
Open Source
Apache-2.0
2,022
aqo
bizhuka
null
Spoken
976
3,939
*&---------------------------------------------------------------------* *&---------------------------------------------------------------------* CLASS lcl_table_comp_alv IMPLEMENTATION. METHOD get_instance. IF iv_level IS INITIAL. iv_level = sy-dynnr - 300 + 1. ENDIF. ro_instance ?= lcl_nested_in...
34,231
https://github.com/sshyran/axonometric-projection/blob/master/source/Core.js
Github Open Source
Open Source
MIT
2,014
axonometric-projection
sshyran
JavaScript
Code
49
92
/** * Defines the Axonometric Projection namespace for all the awesomeness to exist upon. * @author Matthew Wagerfield */ var AP = AP || {}; /** * Returns the type of Array that is avaialble. * @type {Float32Array|Array} */ AP.Array = typeof Float32Array === 'function' ? Float32Array : Array;
51,865
https://github.com/x3ro/tinyos-legacy/blob/master/tinyos-1.x/tools/java/net/tinyos/sim/MouseHandler.java
Github Open Source
Open Source
Intel
2,015
tinyos-legacy
x3ro
Java
Code
1,029
3,250
// $Id: MouseHandler.java,v 1.8 2004/10/21 22:26:38 selfreference Exp $ /* tab:2 * * * "Copyright (c) 2000 and The Regents of the University * of California. All rights reserved. * * Permission to use, copy, modify, and distribute this software and * its documentation for any purpose, without fee, and...
36,370
https://github.com/icann/rdap-conformance-tool/blob/master/validator/src/test/java/org/icann/rdapconformance/validator/schemavalidator/SchemaValidatorVcardArrayInDomainTest.java
Github Open Source
Open Source
Apache-2.0
2,022
rdap-conformance-tool
icann
Java
Code
118
560
package org.icann.rdapconformance.validator.schemavalidator; import static org.assertj.core.api.Assertions.assertThat; import com.jayway.jsonpath.JsonPath; import java.io.IOException; import java.util.List; import java.util.Map; import org.json.JSONArray; import org.json.JSONObject; import org.testng.annotations.Test...
32,714
https://github.com/dionisiydk/Spec/blob/master/src/Spec2-Morphic-Examples/SpLinkPresenter.extension.st
Github Open Source
Open Source
MIT
2,022
Spec
dionisiydk
null
Spoken
48
133
Extension { #name : #SpLinkPresenter } { #category : #'*Spec2-Morphic-Examples' } SpLinkPresenter class >> example [ <sampleInstance> | example | example := self new url: 'https://pharo.org'; label: 'Pharo website'; extent: 200 @ 20; openWithSpec; yourself. example withWindowDo: [ :w | w title: 'Link p...
24,618
https://github.com/mateusfs/Project-Steward/blob/master/steward/lib/model/base/BaseEmployeeClosure.php
Github Open Source
Open Source
MIT
2,018
Project-Steward
mateusfs
PHP
Code
403
1,372
<?php /** * Classe Base da tabela [employee_closure] * * Modelo criado utilizando a classe "WeeGenerate" desenvolvido por <Juan Carlos Monestel> * * ATEN��O: * - Implementa��es dever�o ser realizadas no modelo EmployeeClosure * * SERVER_ADDR: ::1 * REMOTE_ADDR: ::1 * * @author Juan Carlos Monestel <juancm86...
24,993
https://github.com/cshireman/TextFieldEffects/blob/master/TextFieldEffects/Classes/HoshiTextField.swift
Github Open Source
Open Source
MIT
null
TextFieldEffects
cshireman
Swift
Code
1,365
3,955
// // HoshiTextField.swift // TextFieldEffects // // Created by Raúl Riera on 24/01/2015. // Copyright (c) 2015 Raul Riera. All rights reserved. // import UIKit /** An HoshiTextField is a subclass of the TextFieldEffects object, is a control that displays an UITextField with a customizable visual effect around t...
13,137
https://github.com/StefanIvanovIvanov/SoftUni/blob/master/C# MVC Frameworks - ASP.NET Core/FunApp/src/Services/FunApp.Services.DataServices/JokesService.cs
Github Open Source
Open Source
MIT
2,021
SoftUni
StefanIvanovIvanov
C#
Code
166
630
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using FunApp.Data.Common; using FunApp.Data.Models; using FunApp.Services.Mapping; using FunApp.Services.Models.Home; using FunApp.Services.Models.Jokes; using Remotion.Linq.Utilities; namespace FunApp....
49,908
https://github.com/anthonyaxenov/atol-online/blob/master/tests/AtolOnline/Tests/Entities/SupplierTest.php
Github Open Source
Open Source
MIT
2,022
atol-online
anthonyaxenov
PHP
Code
428
1,794
<?php /* * Copyright (c) 2020-2021 Антон Аксенов (Anthony Axenov) * * This code is licensed under MIT. * Этот код распространяется по лицензии MIT. * https://github.com/anthonyaxenov/atol-online/blob/master/LICENSE */ namespace AtolOnline\Tests\Entities; use AtolOnline\{ Entities\Supplier, Exceptions\In...
13,292
https://github.com/BradKnowles/classes/blob/master/csharp/labs/03_types/after/TypeTests/TypeLogic/IntChanger.cs
Github Open Source
Open Source
CC-BY-4.0
2,021
classes
BradKnowles
C#
Code
36
93
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace TypeLogic { public class IntChanger { public void Change(int x) { x += 1; } public void Change(ref int x) { x += 1; } } }
14,685
https://github.com/mono-company/jungle-docs/blob/master/content/scss/_c-filtering-notification.scss
Github Open Source
Open Source
MIT
2,019
jungle-docs
mono-company
SCSS
Code
46
148
/* ========================================================================== Component: c-filtering-notification ========================================================================== */ .c-filtering-notification { display: flex; background-color: #E4F1F1; // TODO COLOR not in colors @Wolfr border: 1px...
9,184
https://github.com/abdelrahman-212/Kopy/blob/master/database/factories/AddressFactory.php
Github Open Source
Open Source
BSD-2-Clause
null
Kopy
abdelrahman-212
PHP
Code
55
231
<?php /** @var \Illuminate\Database\Eloquent\Factory $factory */ use App\Models\Address; use Faker\Generator as Faker; $factory->define(Address::class, function (Faker $faker) { return [ 'name' => $faker->word, 'street' => $faker->streetName, 'building_number' => $faker->buildingNumber, ...
44,707
https://github.com/zhh2005757/slambook2_in_Docker/blob/master/cmake-3.17.5/Tests/RunCMake/XcodeProject/use_cmath.cpp
Github Open Source
Open Source
BSD-3-Clause, MIT
2,021
slambook2_in_Docker
zhh2005757
C++
Code
9
30
#include <cmath> bool foo(double arg) { return std::isfinite(arg); }
35,132
https://github.com/Marc-Velay/wp_velay_baker_front/blob/master/src/app/app-routing.module.ts
Github Open Source
Open Source
MIT
2,017
wp_velay_baker_front
Marc-Velay
TypeScript
Code
182
466
import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; import { DashboardComponent } from './dashboard/dashboard.component'; import { ItemsComponent } from './items/items.component'; import { ItemDetailComponent } from './item-detail/item-detail.component'...
36,780
https://github.com/triplekill/pkgsrc-wip/blob/master/chromium/patches/patch-third__party_WebKit_Source_WebKit_chromium_src_WebViewImpl.cpp
Github Open Source
Open Source
BSD-3-Clause
2,015
pkgsrc-wip
triplekill
C++
Code
355
1,211
$NetBSD$ --- third_party/WebKit/Source/WebKit/chromium/src/WebViewImpl.cpp.orig 2011-04-13 08:12:09.000000000 +0000 +++ third_party/WebKit/Source/WebKit/chromium/src/WebViewImpl.cpp @@ -130,7 +130,7 @@ #if OS(WINDOWS) #include "RenderThemeChromiumWin.h" #else -#if OS(LINUX) || OS(FREEBSD) +#if OS(LINUX) || OS(BSD) ...
28,692
https://github.com/isipcasinillo/ColorApp/blob/master/controllers/home-routes.js
Github Open Source
Open Source
MIT
2,022
ColorApp
isipcasinillo
JavaScript
Code
179
608
const router = require('express').Router(); const User = require('../models/User') const Pallete = require('../models/Pallete') // const {} = require('./models'); // 'localhost:3001/' // router.get('/', async (req, res) => { try { res.render('home'); } catch (err) { // returns error res.status...
38,539
https://github.com/loicpennequin/React-NodeJS-MySQL-skeleton/blob/master/src/server/models/UserModel.js
Github Open Source
Open Source
MIT
2,018
React-NodeJS-MySQL-skeleton
loicpennequin
JavaScript
Code
103
264
/** * The user model. * * @author Daria <lo.pennequin@gmail.com> */ 'use strict'; const path = require('path'); const sql = require(path.join(__dirname, '../services/database.js')); const logger = require('winston'); const bcrypt = require('bcrypt'); const passport = require('passport'); const jwt ...
4,664
https://github.com/dnlvgt/rktiq/blob/master/man/assert_sample.Rd
Github Open Source
Open Source
CC0-1.0, LicenseRef-scancode-unknown-license-reference
2,020
rktiq
dnlvgt
R
Code
346
1,023
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/sample.R \name{assert_sample} \alias{assert_sample} \title{Argumente-Check (Sampling-Funktionen)} \usage{ assert_sample( n = 1, int_start = lubridate::origin, int_end = lubridate::origin + 1, offtime = NULL, event_length_in_sec = 1,...
40,074
https://github.com/yanmc/variationanalysis/blob/master/somatic/src/main/java/org/campagnelab/dl/somatic/learning/domains/predictions/IsMutatedBasePrediction.java
Github Open Source
Open Source
Apache-2.0
2,017
variationanalysis
yanmc
Java
Code
27
116
package org.campagnelab.dl.somatic.learning.domains.predictions; import org.campagnelab.dl.varanalysis.protobuf.BaseInformationRecords; /** * Created by fac2003 on 12/5/16. */ public class IsMutatedBasePrediction extends IsMutatedPrediction { public <BaseInformation> void inspectRecord(BaseInformationRecords.Ba...
23,372
https://github.com/DerexScript/stock/blob/master/app/Http/Controllers/HomeController.php
Github Open Source
Open Source
MIT
2,021
stock
DerexScript
PHP
Code
37
112
<?php namespace App\Http\Controllers; use App\Models\Category; use App\Models\Product; class HomeController extends Controller { public function home() { $products = Product::with(["category", "type", "user"])->get(); $categories = Category::all(); return view('home', ['title' => 'Hom...
17,274
https://github.com/marpilacuan/programacion-distribuida/blob/master/test-contenedor-03/src/com/distribuida/componentes/impl/CuentaBancariaImpl.java
Github Open Source
Open Source
Apache-2.0
2,017
programacion-distribuida
marpilacuan
Java
Code
94
254
package com.distribuida.componentes.impl; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class CuentaBancariaImpl { private Logger logger = LoggerFactory.getLogger( CuentaBancariaImpl.class ); private String numero; public String getNumero() { return numero; } public void setNumero(Strin...
38,463
https://github.com/canonical-robots/elfin_robot/blob/master/elfin_ethercat_driver/include/elfin_ethercat_driver/elfin_ethercat_client.h
Github Open Source
Open Source
BSD-3-Clause
2,020
elfin_robot
canonical-robots
C++
Code
540
1,815
/* Created on Mon Oct 16 10:52:07 2017 @author: Cong Liu Software License Agreement (BSD License) Copyright (c) 2017 - 2018, Han's Robot Co., Ltd. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:...
32,782
https://github.com/apache/ambari/blob/master/ambari-web/app/controllers/main/admin/highAvailability/resourceManager/step3_controller.js
Github Open Source
Open Source
GPL-1.0-or-later, GPL-2.0-or-later, OFL-1.1, MS-PL, AFL-2.1, GPL-2.0-only, Python-2.0, Apache-2.0, BSD-2-Clause, MIT, BSD-3-Clause, LicenseRef-scancode-free-unknown
2,023
ambari
apache
JavaScript
Code
756
2,704
/** * 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...
39,769
https://github.com/fengjixuchui/Anubis/blob/master/Anubis/GUI.h
Github Open Source
Open Source
MIT
null
Anubis
fengjixuchui
C
Code
32
130
#pragma once #include <d3d9.h> #include <stdbool.h> #ifdef __cplusplus extern "C" { #endif bool GUI_handleInput(HWND, UINT, WPARAM, LPARAM); void GUI_init(IDirect3DDevice9*); void GUI_render(void); void GUI_invalidateDeviceObjects(void); void GUI_createDeviceObjects(void); extern bool isGuiOpen; #ifdef __cpluspl...
12,659
https://github.com/uavs3/uavs3d/blob/master/source/decore/arm64/intra_pred_chroma_arm64.S
Github Open Source
Open Source
BSD-3-Clause, BSD-2-Clause
2,023
uavs3d
uavs3
Unix Assembly
Code
3,785
16,581
/************************************************************************************** * Copyright (c) 2018-2022 ["Peking University Shenzhen Graduate School", * "Peng Cheng Laboratory", and "Guangdong Bohua UHD Innovation Corporation"] * * All rights reserved. * * Redistribution and use in source and binary f...
13,224
https://github.com/flutter/devtools/blob/master/packages/devtools_app/lib/src/screens/memory/panes/profile/profile_view.dart
Github Open Source
Open Source
BSD-3-Clause
2,023
devtools
flutter
Dart
Code
1,591
5,866
// Copyright 2022 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:devtools_app_shared/ui.dart'; import 'package:flutter/material.dart'; import 'package:vm_service/vm_service.dart'; import '../../../../sh...
39,228
https://github.com/Gregory94/LaanLab-SATAY-DataAnalysis/blob/master/python_scripts/python_modules/essential_genes_names.py
Github Open Source
Open Source
Apache-2.0
2,020
LaanLab-SATAY-DataAnalysis
Gregory94
Python
Code
222
699
# ============================================================================= # To import the functions, type: # import sys # sys.path.insert(1,r'full\path\to\this\file') # from essential_genes import list_known_essentials # ============================================================================= def ...
52,663