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/ldruschk/matterbridge/blob/master/vendor/github.com/yaegashi/msgraph.go/beta/RequestWorkbookFunctionsUnichar.go
Github Open Source
Open Source
Apache-2.0
2,020
matterbridge
ldruschk
Go
Code
86
310
// Code generated by msgraph-generate.go DO NOT EDIT. package msgraph import "context" // type WorkbookFunctionsUnicharRequestBuilder struct{ BaseRequestBuilder } // Unichar action undocumented func (b *WorkbookFunctionsRequestBuilder) Unichar(reqObj *WorkbookFunctionsUnicharRequestParameter) *WorkbookFunctionsUnic...
52,814
https://github.com/dogmatiq/configkit/blob/master/applicationconfigurer.go
Github Open Source
Open Source
MIT
2,023
configkit
dogmatiq
Go
Code
533
1,766
package configkit import ( "github.com/dogmatiq/configkit/internal/validation" "github.com/dogmatiq/configkit/message" "github.com/dogmatiq/dogma" ) // applicationConfigurer is an implementation of dogma.ApplicationConfigurer. type applicationConfigurer struct { entityConfigurer app *application } func (c *app...
23,197
https://github.com/pletfix/core/blob/master/tests/Services/ViewTest.php
Github Open Source
Open Source
MIT
2,018
core
pletfix
PHP
Code
192
1,019
<?php namespace Core\Tests\Services; use Core\Services\Collection; use Core\Services\View; use Core\Testing\TestCase; use InvalidArgumentException; class ViewTest extends TestCase { /** * @var View */ private $view; public static function setUpBeforeClass() { View::clearManifestCac...
23,316
https://github.com/zhmu/ananas/blob/master/external/gcc-12.1.0/libgfortran/generated/parity_l1.c
Github Open Source
Open Source
LGPL-2.1-only, GPL-3.0-only, GCC-exception-3.1, GPL-2.0-only, LGPL-3.0-only, LGPL-2.0-or-later, Zlib, LicenseRef-scancode-public-domain
2,022
ananas
zhmu
C
Code
671
1,824
/* Implementation of the PARITY intrinsic Copyright (C) 2010-2022 Free Software Foundation, Inc. Contributed by Tobias Burnus <burnus@net-b.de> This file is part of the GNU Fortran runtime library (libgfortran). Libgfortran is free software; you can redistribute it and/or modify it under the terms of the GNU G...
44,773
https://github.com/EricaSchimmel/ttt-8-turn-bootcamp-prep-000/blob/master/bin/turn
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, LicenseRef-scancode-public-domain
2,019
ttt-8-turn-bootcamp-prep-000
EricaSchimmel
Ruby
Code
50
98
#!/usr/bin/env ruby require_relative '..lib/turn' #Step 1: Create an empty board board = [" ", " ", " ", " ", " ", " ", " ", " ", " "] #Step 2: Greet user and display empty board puts "Welcome to Tic Tac Toe!" display_board(board) #Step 3: Begin Turns turn(board)
47,861
https://github.com/baianat/color-fns/blob/master/test/isValidHex.ts
Github Open Source
Open Source
MIT
2,019
color-fns
baianat
TypeScript
Code
19
121
import { isValidHex } from '../src/isValidHex'; test('validates Hex color strings', () => { expect(isValidHex('#c97f6a')).toBe(true); expect(isValidHex('#ffa')).toBe(true); expect(isValidHex('c97f6a')).toBe(false); expect(isValidHex('#c97f6')).toBe(false); expect(isValidHex('#z3f5fa')).toBe(false); });
50,605
https://github.com/He-Ze/Distributed-System-SYSU/blob/master/作业/作业5/nack-oriented-reliable-multicast-master/norm-1.5r6/protolib/src/java/src/mil/navy/nrl/protolib/ProtoPipe.java
Github Open Source
Open Source
MIT
2,021
Distributed-System-SYSU
He-Ze
Java
Code
136
392
package mil.navy.nrl.protolib; import java.io.IOException; import java.net.SocketException; /** * This class maps to a native instance of a Protolib "ProtoPipe". * (Note this first attempt supports only "ProtoPipe(MESSAGE)" * @author Brian Adamson */ // TODO Clean up all of the Exception throws; we can probably ...
7,181
https://github.com/lanl-ansi/Juniper.jl/blob/master/test/POD_experiment/nous1.jl
Github Open Source
Open Source
MIT
2,023
Juniper.jl
lanl-ansi
Julia
Code
887
4,090
function get_nous1() m = Model() # ----- Variables ----- # @variable(m, objvar) x_Idx = Any[ 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
11
https://github.com/carvalhomb/AdaptiveLix/blob/master/src/exposer/notification.cpp
Github Open Source
Open Source
CC0-1.0
2,015
AdaptiveLix
carvalhomb
C++
Code
48
137
/* * notifcenter.cpp * * Created on: 28 Nov 2015 * Author: maira */ #include "../other/myalleg.h" //needs to come first to include the windows.h header in the beginning #include "gamedata.h" #include "notification.h" void GameEventNotification::load_data(GameData _data) { data = _data; } void GameEventN...
21,434
https://github.com/erezrokah/appsmith/blob/master/app/client/src/pages/AppViewer/viewer/AppViewerSideNavWrapper.tsx
Github Open Source
Open Source
Apache-2.0
2,022
appsmith
erezrokah
TypeScript
Code
77
290
import styled from "styled-components"; export default styled.div` background: ${(props) => props.theme.colors.paneBG}; & button.sidenav-toggle, & button.sidenav-toggle:hover, & button.sidenav-toggle:active { background: ${(props) => props.theme.colors.paneBG}; outline: none; border: none; borde...
10,803
https://github.com/qupath/dataviz/blob/master/src/main/java/net/mahdilamb/dataviz/graphics/Font.java
Github Open Source
Open Source
Apache-2.0, MIT
2,021
dataviz
qupath
Java
Code
599
1,338
package net.mahdilamb.dataviz.graphics; import net.mahdilamb.dataviz.utils.StringUtils; import java.util.Objects; /** * The font characteristics of text. * <p> * The constants are a compromise between the SVG specification * and the AWT constants */ public class Font { /** * A default 12-point san-ser...
21,553
https://github.com/different91988/tudatBundle/blob/master/debug/tudat/Tudat/External/SofaInterface/CTestTestfile.cmake
Github Open Source
Open Source
BSD-3-Clause
null
tudatBundle
different91988
CMake
Code
42
211
# CMake generated Testfile for # Source directory: D:/S/tudat/Tudat/External/SofaInterface # Build directory: D:/S/debug/tudat/Tudat/External/SofaInterface # # This file includes the relevant testing commands required for # testing this directory and lists subdirectories to be tested as well. add_test(test_SofaEarth...
53,618
https://github.com/i-gaven/Just_a_dumper/blob/master/all_headers/微店 - 手机开店用微店-8.6.0(越狱应用)_headers/GLIMEmojiPackageIconButton.h
Github Open Source
Open Source
MIT
2,018
Just_a_dumper
i-gaven
Objective-C
Code
69
263
// // 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 <UIKit/UIControl.h> @class GLIMEmojiPackageData, UIImageView; @interface GLIMEmojiPackageIconButton : UIControl { GLIMEmo...
17,909
https://github.com/eity0323/android-cache-lib/blob/master/cache-library/src/instrumentTest/java/com/vandalsoftware/io/IoUtilsTests.java
Github Open Source
Open Source
Apache-2.0
2,015
android-cache-lib
eity0323
Java
Code
240
630
/* * Copyright (C) 2013 Jonathan Le * * 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...
14,083
https://github.com/tinevez/DeformingMesh3D-plugin/blob/master/src/main/java/deformablemesh/geometry/Triangle3D.java
Github Open Source
Open Source
MIT
2,021
DeformingMesh3D-plugin
tinevez
Java
Code
340
1,079
package deformablemesh.geometry; /** * * An ordered collection of 3 nodes that will be used for calculating geometric properties. * The winding of the triangle should be such that CCW points outwards from the volume * contained within. * * User: msmith * Date: 7/2/13 * Time: 7:56 AM * To change this template...
7,593
https://github.com/jysrfeng/RX-Explorer/blob/master/RX_Explorer/Class/NamedPipeWriteController.cs
Github Open Source
Open Source
Apache-2.0
2,021
RX-Explorer
jysrfeng
C#
Code
160
566
using System; using System.Collections.Concurrent; using System.Text; using System.Threading; namespace RX_Explorer.Class { public class NamedPipeWriteController : NamedPipeControllerBase { private readonly Thread ProcessThread; private readonly ConcurrentQueue<string> MessageQueue = new Concu...
54,218
https://github.com/omerel/RELAY/blob/master/Client/Relay/app/src/main/java/com/relay/relay/system/RelayMessage.java
Github Open Source
Open Source
MIT
null
RELAY
omerel
Java
Code
307
876
package com.relay.relay.system; import android.graphics.Bitmap; import com.relay.relay.Util.ImageConverter; import com.relay.relay.Util.TimeConverter; import java.io.InputStream; import java.util.Calendar; import java.util.UUID; /** * Created by omer on 12/02/2017. * * Message structure in Relay */ public cla...
15,170
https://github.com/Drul1337/DigitalRune/blob/master/Samples/Samples/Samples/Physics/02-SphereStackSample.cs
Github Open Source
Open Source
CC-BY-4.0, MS-PL
2,022
DigitalRune
Drul1337
C#
Code
164
476
using DigitalRune.Geometry; using DigitalRune.Geometry.Shapes; using DigitalRune.Mathematics.Algebra; using DigitalRune.Physics; using DigitalRune.Physics.ForceEffects; namespace Samples.Physics { [Sample(SampleCategory.Physics, "This sample demonstrates how to create a stack of spheres.", "", 2)] pu...
47,332
https://github.com/ratiw/vuetable-example-vueify-bootstrap/blob/master/index.js
Github Open Source
Open Source
MIT
2,018
vuetable-example-vueify-bootstrap
ratiw
JavaScript
Code
557
2,140
var Vue = require('vue') var VueResource = require('vue-resource') var Vuetable = require('vuetable/src/components/Vuetable.vue') var VuetablePagination = require('vuetable/src/components/VuetablePagination.vue') var VuetablePaginationDropdown = require('vuetable/src/components/VuetablePaginationDropdown.vue') var VueE...
11,404
https://github.com/dualword/organicmaps/blob/master/indexer/interval_index.hpp
Github Open Source
Open Source
Apache-2.0
2,022
organicmaps
dualword
C++
Code
595
1,923
#pragma once #include "coding/endianness.hpp" #include "coding/byte_stream.hpp" #include "coding/reader.hpp" #include "coding/varint.hpp" #include "base/assert.hpp" #include "base/buffer_vector.hpp" #include <cstdint> class IntervalIndexBase { public: #pragma pack(push, 1) struct Header { uint8_t m_Version; ...
47,527
https://github.com/shreyas1599/github.dart/blob/master/lib/src/common/util/json.dart
Github Open Source
Open Source
MIT
2,020
github.dart
shreyas1599
Dart
Code
296
609
import 'dart:convert'; import 'package:github/src/common/util/utils.dart'; /// Creates a Model Object from the JSON [input] typedef JSONConverter<S, T> = T Function(S input); /// Internal class for Json encoding /// that should be used instead of `dart:convert`. /// /// It contains methods that ensures that converte...
7,369
https://github.com/daggmano/photo-management-studio/blob/master/src/Client/OSX/PMS-2/Photo Management Studio/Photo Management Studio/TitleCellView.swift
Github Open Source
Open Source
MIT
2,016
photo-management-studio
daggmano
Swift
Code
137
387
// // TitleCell.swift // Photo Management Studio // // Created by Darren Oster on 23/03/2016. // Copyright © 2016 Criterion Software. All rights reserved. // import Cocoa class TitleCellView: NSTableCellView { @IBOutlet weak var outlineView: NSOutlineView! @IBOutlet weak var titleButton: NSButton! ...
10,051
https://github.com/ogomez93/intive-fdv-react-test/blob/master/src/footballPlayers/components/Filters/utils/__tests__/handlers.test.js
Github Open Source
Open Source
MIT
2,018
intive-fdv-react-test
ogomez93
JavaScript
Code
520
1,628
import { onAgeChange, onFilterChange, onNameChange, onPositionChange } from '../handlers'; const mockedSetFilter = jest.fn(); const mockedEvent = { target: { value: 'value' } }; const mockedSetAge = jest.fn(); const mockedSetName = jest.fn(); const mockedSetPosition = jest.fn(); describe('Filters handlers', () => { ...
46,266
https://github.com/aspose-tasks/Aspose.Tasks-for-.NET/blob/master/Examples/CSharp/ExProgressLines.cs
Github Open Source
Open Source
MIT
2,020
Aspose.Tasks-for-.NET
aspose-tasks
C#
Code
567
1,582
namespace Aspose.Tasks.Examples.CSharp { using System; using System.Drawing; using NUnit.Framework; using Saving; using Visualization; [TestFixture] public class ExProgressLines : ApiExampleBase { [Test] public void WorkWithProgressLines() { try ...
23,147
https://github.com/jxSyn/Breathless-v2/blob/master/breathless-master/SDK/ISurface.h
Github Open Source
Open Source
Unlicense
2,019
Breathless-v2
jxSyn
C++
Code
760
2,394
struct Vertex_t { Vector2D m_Position; Vector2D m_TexCoord; Vertex_t() {} Vertex_t(const Vector2D &pos, const Vector2D &coord = Vector2D(0, 0)) { m_Position = pos; m_TexCoord = coord; } void Init(const Vector2D &pos, const Vector2D &coord = Vector2D(0, 0)) {...
39,150
https://github.com/pimbrouwers/generator-express-js-api/blob/master/generators/app/index.js
Github Open Source
Open Source
MIT
2,017
generator-express-js-api
pimbrouwers
JavaScript
Code
31
155
var Generator = require('yeoman-generator'); module.exports = class extends Generator { config() { //config files this.fs.copyTpl(this.templatePath('_package.json'), this.destinationPath('package.json')); this.fs.copyTpl(this.templatePath('_gitignore'), this.destinationPath('.gitignore')); ...
48,006
https://github.com/atsuky/RepoFIBtori/blob/master/Obligatories/Q1/PRO1/P3/P61061/prog1.cc
Github Open Source
Open Source
MIT
2,019
RepoFIBtori
atsuky
C++
Code
130
286
#include <iostream> using namespace std; //P61061 //pre: diversos naturals //post: per cada nombre, escriure el producte dels digits //fins que el producte tingui 1 digit. escriure 10 guions //despres de la sortida de cada nombre int main(){ int n; while (cin >> n) { int m = 1; if (n == 0) { cout << "El pr...
2,702
https://github.com/peeksake/SDO-support/blob/master/Makefile
Github Open Source
Open Source
Apache-2.0
2,020
SDO-support
peeksake
Makefile
Code
541
1,766
SHELL ?= /bin/bash -e # Set this before building the ocs-api binary and sdo-owner-services (for now they use the samme version number) export VERSION ?= 1.8.6 export DOCKER_REGISTRY ?= openhorizon export SDO_DOCKER_IMAGE ?= sdo-owner-services SDO_IMAGE_LABELS ?= --label "vendor=IBM" --label "name=$(SDO_DOCKER_IMAGE)" ...
31,959
https://github.com/aswdz/Duckchat/blob/master/lib/proto/Zaly/Proto/Plugin/DuckChatSiteAdminsResponse.php
Github Open Source
Open Source
MIT
2,021
Duckchat
aswdz
PHP
Code
113
450
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: plugin/duckchat_site_admins.proto namespace Zaly\Proto\Plugin; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * Generated from protobuf message <code>plugin.DuckCha...
48,566
https://github.com/lucmski/twint-docker/blob/master/searchapp/node_modules/@appbaseio/reactivesearch/lib/appbase-js/node_modules/cssstyle/scripts/generate_properties.js
Github Open Source
Open Source
MIT
null
twint-docker
lucmski
JavaScript
Code
726
2,485
'use strict'; var fs = require('fs'); var path = require('path'); var babylon = require('babylon'); var t = require('babel-types'); var generate = require('babel-generator').default; var traverse = require('babel-traverse').default; var resolve = require('resolve'); var camelToDashed = require('../lib/parsers').camel...
45,972
https://github.com/hmrc/mobile-token-proxy/blob/master/test/uk/gov/hmrc/mobiletokenproxy/connectors/GenericConnectorSpec.scala
Github Open Source
Open Source
Apache-2.0
null
mobile-token-proxy
hmrc
Scala
Code
341
1,119
/* * Copyright 2021 HM Revenue & Customs * * 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...
5,173
https://github.com/MollsAndHersh/Schema.NET/blob/master/Source/Schema.NET/core/PayAction.cs
Github Open Source
Open Source
MIT
2,018
Schema.NET
MollsAndHersh
C#
Code
521
1,103
using System; using System.Runtime.Serialization; using Newtonsoft.Json; namespace Schema.NET { /// <summary> /// An agent pays a price to a participant. /// </summary> [DataContract] public partial class PayAction : TradeAction { public interface IPurpose : IWrapper { } public ...
21,798
https://github.com/Apeyronphys/NestJS-GraphQL-PostgresQL/blob/master/src/config/typeorm.config.ts
Github Open Source
Open Source
MIT
2,020
NestJS-GraphQL-PostgresQL
Apeyronphys
TypeScript
Code
59
179
import { TypeOrmModuleOptions } from '@nestjs/typeorm'; import { Student } from '../relations/student.entity'; import { Lesson } from '../relations/lesson.entity'; //import { StudentsToLessons } from '../relations/lesson-student.entity'; import { join, resolve, parse, normalize } from 'path'; export const typeOrmConfi...
25,492
https://github.com/regien/GSKHackathon/blob/master/App/src/actions/constants.js
Github Open Source
Open Source
Apache-2.0
2,022
GSKHackathon
regien
JavaScript
Code
25
86
export const PAGEID_INCREASE = 'PAGEID_INCREASE'; export const PAGEID_DECREASE = 'PAGEID_DECREASE'; export const LOAD_STORY = 'LOAD_STORY'; export const CLOSE_STORY = 'CLOSE_STORY'; export const MOVE_TO_PAGE = 'MOVE_TO_PAGE';
12,898
https://github.com/adkerr/trident-clone/blob/master/storage_drivers/ontap/api/rest/client/object_store/s3_service_collection_get_parameters.go
Github Open Source
Open Source
Apache-2.0
2,021
trident-clone
adkerr
Go
Code
3,054
9,460
// Code generated by go-swagger; DO NOT EDIT. package object_store // This file was generated by the swagger tool. // Editing this file might prove futile when you re-run the swagger generate command import ( "context" "net/http" "time" "github.com/go-openapi/errors" "github.com/go-openapi/runtime" cr "github...
24,415
https://github.com/crazy9001/setinel/blob/master/app/Services/Models/User.php
Github Open Source
Open Source
MIT
null
setinel
crazy9001
PHP
Code
48
148
<?php /** * Created by PhpStorm. * User: PC01 * Date: 9/17/2018 * Time: 4:58 PM */ namespace App\Services\Models; use Cartalyst\Sentinel\Users\EloquentUser as EloquentUser; class User extends EloquentUser { protected $table = 'users'; protected $fillable = [ 'email', 'username', ...
54,118
https://github.com/RiftValleySoftware/chameleon/blob/master/test/test_scripts/05-security_tests.php
Github Open Source
Open Source
MIT
null
chameleon
RiftValleySoftware
PHP
Code
629
3,098
<?php /***************************************************************************************************************************/ /** CHAMELEON Object Abstraction Layer © Copyright 2018, The Great Rift Valley Software Company LICENSE: MIT License Permission is hereby granted, f...
19,347
https://github.com/raselcse33/Laravel-school-management-system/blob/master/resources/views/admin/settings/add_group.blade.php
Github Open Source
Open Source
MIT
null
Laravel-school-management-system
raselcse33
PHP
Code
141
670
@extends('admin.home') @section('headTitle') Group @endsection @section('content') <section role="main" class="content-body"> <div class="row grid-margin"> <div class="col-6"> <div class="card"> <div class="card-body"> @if (Session::has('message')) ...
16,640
https://github.com/ciobanu-marius-catalin/pulse/blob/master/application/views/_templates/9ef88ffb6e22f94a1607eabf8c72fc689a7b0ea3_0.file.authorizations.tpl.php
Github Open Source
Open Source
MIT
null
pulse
ciobanu-marius-catalin
PHP
Code
824
3,892
<?php /* Smarty version 3.1.29, created on 2016-08-01 17:19:43 from "C:\Users\andreea\Documents\NetBeansProjects\pulse\application\views\authorizations\authorizations.tpl" */ if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array ( 'has_nocache_code' => false, 'version' => '3.1.29...
52,417
https://github.com/magmath/kanboard/blob/master/app/Template/analytic/layout.php
Github Open Source
Open Source
MIT
2,016
kanboard
magmath
PHP
Code
29
155
<section id="main"> <?= $this->projectHeader->render($project, 'Listing', 'show') ?> <section class="sidebar-container"> <?= $this->render($sidebar_template, array('project' => $project)) ?> <div class="sidebar-content"> <?= $content_for_sublayout ?> </div> </section> </...
17,953
https://github.com/Mozu/mozu-ios-sdk/blob/master/MozuApi/Clients/Platform/Appdev/MOZUPackageClient.m
Github Open Source
Open Source
MIT
2,015
mozu-ios-sdk
Mozu
Objective-C
Code
116
297
/* * <auto-generated> * This code was generated by a tool. * * Changes to this file may cause incorrect behavior and will be lost if * the code is regenerated. * </auto-generated> */ #import "MOZUPackageClient.h" #import "MOZUPackageURLComponents.h" @implementation MOZUPackageClient // #pragma mar...
49,766
https://github.com/SolovyovAlexander/reindexer/blob/master/cpp_src/core/ft/filters/itokenfilter.h
Github Open Source
Open Source
Apache-2.0
2,022
reindexer
SolovyovAlexander
C
Code
80
302
#pragma once #include <memory> #include <string> #include <vector> #include "core/ft/ftdsl.h" namespace reindexer { class BaseFTConfig; struct SynonymsDsl { SynonymsDsl(FtDSLQuery&& dsl_, const std::vector<size_t>& termsIdx_) : dsl{std::move(dsl_)}, termsIdx{termsIdx_} {} FtDSLQuery dsl; std::vector<size_t> ter...
15,597
https://github.com/theindianappguy/makemyquiz.web.app/blob/master/lib/helper/functions.dart
Github Open Source
Open Source
Apache-2.0
2,022
makemyquiz.web.app
theindianappguy
Dart
Code
180
673
import 'package:shared_preferences/shared_preferences.dart'; import 'package:url_launcher/url_launcher.dart'; class HelperFunctions { static String sharedPreferenceUserLoggedInKey = "USERLOGGEDINKEY"; static String sharedPreferenceUserNameKey = "USERNAMEKEY"; static String sharedPreferenceUserAvatarKey = "USERAV...
6,172
https://github.com/slouching-or-not/slouching-or-not-posenet/blob/master/src/dataset-augmentation.js
Github Open Source
Open Source
MIT
2,018
slouching-or-not-posenet
slouching-or-not
JavaScript
Code
557
1,985
import ModelConstants from './model-constants.js' import DatasetRaw from './dataset-raw.js' import DatasetProcessing from './dataset-processing.js' class DatasetAugmentation { //////////////////////////////////////////////////////////////////////// // ///////////////////////////////////////////////////////////////...
51,146
https://github.com/dalehenrich/metacello-work/blob/master/repository/Metacello-TestsMCA.package/MetacelloConfigCoreAPITestCase.class/instance/baseline119..st
Github Open Source
Open Source
MIT
2,023
metacello-work
dalehenrich
null
Spoken
28
124
baselines baseline119: spec <version: '1.1.9-baseline' imports: #( '1.1.4-baseline' )> spec for: #common do: [ spec project: 'Example Project' overrides: [ spec className: 'MetacelloExampleProjectConfig'; versionString: '1.0-baseline'; preLoadDoIt: #alternatePreloadForCore; yourself.]...
52,756
https://github.com/liangyuRain/mesos/blob/master/support/verify-reviews.py
Github Open Source
Open Source
Apache-2.0
null
mesos
liangyuRain
Python
Code
1,160
3,155
#!/usr/bin/env python3 # # 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 # ...
3,568
https://github.com/pzhristov/DPMJET/blob/master/src/dpmjet/IDT_IPDG2B.f
Github Open Source
Open Source
BSD-3-Clause
2,021
DPMJET
pzhristov
null
Spoken
204
511
INTEGER FUNCTION IDT_IPDG2B(Id,Nn,Mode) C*********************************************************************** C * C conversion of quark numbering scheme * C ...
40,213
https://github.com/thriveweb/sailing-paradise/blob/master/src/components/Select.js
Github Open Source
Open Source
MIT
null
sailing-paradise
thriveweb
JavaScript
Code
176
530
import React, { Component } from 'react' import { ICONArrowDown } from './Icons' import './Select.css' class Select extends Component { constructor(props) { super(props) this.mySelect = React.createRef() this.state = {} } componentDidMount = () => { const { selected } = this.props const cur...
2,169
https://github.com/prodan7799/illumynate/blob/master/app/Models/Provider.php
Github Open Source
Open Source
MIT
null
illumynate
prodan7799
PHP
Code
23
73
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Provider extends Model { // get provider ID public static function getProviderID($provider) { return Provider::whereProvider($provider)->first()->id; } }
1,353
https://github.com/IceskYsl/feedbacks/blob/master/config/routes.rb
Github Open Source
Open Source
MIT
2,013
feedbacks
IceskYsl
Ruby
Code
23
81
# Plugin's routes # See: http://guides.rubyonrails.org/routing.html get 'feedbacks', :to => 'feedbacks#index' get 'feedbacks/my', :to => 'feedbacks#my' put 'feedbacks', :to => 'feedbacks#update' resources :feedbacks
19,529
https://github.com/jmix-framework/jmix/blob/master/jmix-search/search/src/main/java/io/jmix/search/index/mapping/processor/AbstractFieldAnnotationProcessor.java
Github Open Source
Open Source
Apache-2.0
2,023
jmix
jmix-framework
Java
Code
267
616
/* * Copyright 2020 Haulmont. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
5,710
https://github.com/odpi/egeria/blob/master/open-metadata-implementation/view-services/rex-view/rex-view-server/src/main/java/org/odpi/openmetadata/viewservices/rex/server/RexViewRESTServices.java
Github Open Source
Open Source
CC-BY-4.0, Apache-2.0
2,023
egeria
odpi
Java
Code
2,159
7,532
/* SPDX-License-Identifier: Apache-2.0 */ /* Copyright Contributors to the ODPi Egeria project */ /* Copyright Contributors to the ODPi Egeria category. */ package org.odpi.openmetadata.viewservices.rex.server; import org.odpi.openmetadata.commonservices.ffdc.RESTCallLogger; import org.odpi.openmetadata.commonservice...
41,095
https://github.com/artintexo/exkit/blob/master/ekbase/plaza/futaddorderdesc.cpp
Github Open Source
Open Source
MIT
2,021
exkit
artintexo
C++
Code
31
185
#include "futaddorderdesc.h" FutAddOrderDesc::FutAddOrderDesc() : Description("FutAddOrder") { Push(FieldDesc("ext_id", "i4", &clientId)); Push(FieldDesc("broker_code", "c4", &brokerCode)); Push(FieldDesc("client_code", "c3", &clientCode)); Push(FieldDesc("isin", "c25", &isin)); Push(FieldDesc(...
27,312
https://github.com/jhen0409/juniper/blob/master/integration_tests/juniper_tests/src/codegen/derive_input_object.rs
Github Open Source
Open Source
BSD-2-Clause
null
juniper
jhen0409
Rust
Code
415
1,459
use fnv::FnvHashMap; use juniper::{ marker, DefaultScalarValue, FromInputValue, GraphQLInputObject, GraphQLType, GraphQLValue, InputValue, ToInputValue, }; #[derive(GraphQLInputObject, Debug, PartialEq)] #[graphql( name = "MyInput", description = "input descr", scalar = DefaultScalarValue )] struc...
13,037
https://github.com/luventa/vue-koa-boilerplate/blob/master/scripts/utils.js
Github Open Source
Open Source
MIT
2,018
vue-koa-boilerplate
luventa
JavaScript
Code
331
989
'use strict' const path = require('path') const chalk = require('chalk') const config = require('../config') const webpack = require('webpack') const ExtractTextPlugin = require('extract-text-webpack-plugin') exports.assetsPath = _path => { const assetsSubDirectory = config.isDev ? config.dev.assetsSubDirectory...
16,072
https://github.com/janneskoehler/yust_web/blob/master/lib/yust_service.dart
Github Open Source
Open Source
BSD-3-Clause
2,019
yust_web
janneskoehler
Dart
Code
757
2,589
import 'dart:math'; import 'package:firebase/firebase.dart' as fb; import 'package:firebase/firestore.dart'; import 'package:flutter_web/material.dart'; import 'package:intl/intl.dart'; import 'models/yust_doc.dart'; import 'models/yust_doc_setup.dart'; import 'models/yust_exception.dart'; import 'models/yust_user.da...
4,935
https://github.com/onawhim/auth0-authentication-api-debugger-extension/blob/master/server/views/index.js
Github Open Source
Open Source
MIT
null
auth0-authentication-api-debugger-extension
onawhim
JavaScript
Code
2,414
11,220
module.exports = `<html lang="en"> <head> <title>Auth0 - Protocol Debugger</title> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=Edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="shortcut icon" href="https://cdn.auth0.com/styleguide/4.6.13/lib/log...
44,920
https://github.com/yiyuan1840/gbEplus/blob/master/src/main/java/plugins/ashraebaseline/system7/SystemType7.java
Github Open Source
Open Source
MIT
2,019
gbEplus
yiyuan1840
Java
Code
31
85
package main.java.plugins.ashraebaseline.system7; import main.java.plugins.ashraebaseline.HVACSystem; /** * System type 7, all the changes and checks will happens here * * @author Weili * */ public interface SystemType7 extends HVACSystem{ //Marker Interface }
2,750
https://github.com/betagouv/france-chaleur-urbaine/blob/master/src/db/migrations/20230120073426_save-file.ts
Github Open Source
Open Source
etalab-2.0
2,023
france-chaleur-urbaine
betagouv
TypeScript
Code
37
124
import { Knex } from 'knex'; export async function up(knex: Knex): Promise<void> { await knex.schema.table('eligibility_tests', (table) => { table.text('file').notNullable().defaultTo('Not available'); }); } export async function down(knex: Knex): Promise<void> { await knex.schema.table('eligibility_tests',...
4,189
https://github.com/fossabot/vscode-webview-elements/blob/master/src/vscode-table-header.ts
Github Open Source
Open Source
MIT
2,022
vscode-webview-elements
fossabot
TypeScript
Code
61
211
import { LitElement, html, customElement, css, TemplateResult, property, } from 'lit-element'; @customElement('vscode-table-header') export class VscodeTableHeader extends LitElement { @property({reflect: true}) role = 'rowgroup'; static styles = css` :host { background-color: rgba(130, 13...
26,922
https://github.com/MrIkso/sdk-tools/blob/master/android-11/frameworks/native/libs/binder/Binder.cpp
Github Open Source
Open Source
Apache-2.0
2,021
sdk-tools
MrIkso
C++
Code
1,021
3,399
/* * Copyright (C) 2005 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...
8,698
https://github.com/cmckni3/angular-deep-dive-demo/blob/master/src/app/employees/models/employee.ts
Github Open Source
Open Source
Unlicense
2,018
angular-deep-dive-demo
cmckni3
TypeScript
Code
11
22
export class Employee { public name: string; public title: string; }
31,371
https://github.com/pswzyu/wikipedia_indexer/blob/master/src/edu/buffalo/cse/ir/wikiindexer/tokenizer/rules/StemmerDefault.java
Github Open Source
Open Source
Unlicense
null
wikipedia_indexer
pswzyu
Java
Code
7
34
package edu.buffalo.cse.ir.wikiindexer.tokenizer.rules; public class StemmerDefault { }
36,884
https://github.com/fallending-test/android-ndk-unittest/blob/master/chapter3/app/src/androidTest/java/com/example/myndk/MainActivityUnitTest.kt
Github Open Source
Open Source
MIT
2,019
android-ndk-unittest
fallending-test
Kotlin
Code
39
196
package com.example.myndk import androidx.test.ext.junit.runners.AndroidJUnit4 import androidx.test.rule.ActivityTestRule import kotlinx.android.synthetic.main.activity_main.* import org.junit.Assert import org.junit.Rule import org.junit.Test import org.junit.runner.RunWith @RunWith(AndroidJUnit4::class) class Main...
18,402
https://github.com/roymacdonald/ofxDynamixel/blob/master/src/gui/ofxDynamixelControlTables.cpp
Github Open Source
Open Source
MIT
2,019
ofxDynamixel
roymacdonald
C++
Code
33
116
// // ofxDynamixelControlTables.cpp // example // // Created by Roy Macdonald on 7/26/18. // // #include "ofxDynamixelControlTables.h" namespace ofxDynamixel { DXLBaseControlTable::DXLBaseControlTable(){ add<uint16_t>(modelNumber , 0 , "modelNumber" , true , true, "info/"...
44,992
https://github.com/rmartin488/hrext07-my-cruddy-app/blob/master/app/app.js
Github Open Source
Open Source
MIT
null
hrext07-my-cruddy-app
rmartin488
JavaScript
Code
320
1,281
$(document).ready(function(){ var familiarOptions = ['None', 'Slightly', 'Somewhat', 'Moderately', 'Extremely']; var languageOptions = ['Chai', 'CSS', 'GitHub', 'HTML', 'JavaScript', 'jQuery', 'Mocha', 'Terminal', 'Underscore']; var familiarity = function() { for (var i = 0; i < familiarOptions.length; i++) ...
15,261
https://github.com/iwillspeak/feersum/blob/master/test/Feersum.Tests/EvalTests.fs
Github Open Source
Open Source
MIT
2,023
feersum
iwillspeak
null
Spoken
586
1,655
module EvalTests open Xunit open Feersum.CompilerServices.Eval open Feersum.CompilerServices.Syntax open Feersum.CompilerServices.Syntax.Parse open SyntaxUtils open SyntaxFactory open Feersum.CompilerServices.Utils let feeri = eval >> Result.unwrap >> cilExternalRepr let private tryReadSingle expr = match read...
28,194
https://github.com/OpenSourceConsulting/osc-style/blob/master/example/src/main.js
Github Open Source
Open Source
MIT
null
osc-style
OpenSourceConsulting
JavaScript
Code
14
59
// Load app style import 'bootstrap/dist/css/bootstrap.css' import '@/styles/index.scss' import 'highlight.js/styles/atom-one-light.css' // Scripts import './scripts'
50,799
https://github.com/benscholler/laravel-cachet/blob/master/src/Exceptions/CachetException.php
Github Open Source
Open Source
ISC
2,015
laravel-cachet
benscholler
PHP
Code
9
27
<?php namespace Nikkiii\Cachet\Exceptions; class CachetException extends \Exception { }
38,820
https://github.com/ScalablyTyped/Distribution/blob/master/t/tensorflow__tfjs-core/src/main/scala/typings/tensorflowTfjsCore/distKernelNamesMod/FromPixelsInputs.scala
Github Open Source
Open Source
MIT
2,023
Distribution
ScalablyTyped
Scala
Code
109
363
package typings.tensorflowTfjsCore.distKernelNamesMod import typings.std.HTMLCanvasElement import typings.std.HTMLImageElement import typings.std.HTMLVideoElement import typings.std.ImageBitmap import typings.std.ImageData import typings.tensorflowTfjsCore.distTypesMod.PixelData import org.scalablytyped.runtime.StObje...
17,802
https://github.com/dwang159/pintos-hkw/blob/master/src/shell/execute.c
Github Open Source
Open Source
MIT-Modern-Variant, LicenseRef-scancode-unknown-license-reference, MIT
2,014
pintos-hkw
dwang159
C
Code
677
1,879
#include "execute.h" /* * Calls dup2 to overwrite stdin, stdout, stderr. Returns true on success * and false if errors are encountered. If the provied in/out/err values * are the same as STDIN/OUT/ERR_FILENO, then nothing happens. */ int dup2_stdfiles(int in, int out, int err) { if (dup2(in, STDIN_FILENO) < 0 ...
33,250
https://github.com/filecoin-project/slate/blob/master/node_common/monitor.js
Github Open Source
Open Source
MIT
2,023
slate
filecoin-project
JavaScript
Code
505
1,607
import * as Social from "~/node_common/social"; import * as Arrays from "~/common/arrays"; import * as Logging from "~/common/logging"; //things taht could be combined into this: //update search (searchmanager) //send websocket update (viewermanager) //send slack message (Social.sendSlackMessage) //create activity //u...
7,796
https://github.com/hammeritout/Python-Projects/blob/master/computesquare.py
Github Open Source
Open Source
bzip2-1.0.6
null
Python-Projects
hammeritout
Python
Code
55
112
""" File: computssquare.py Illustrates the definition of a main function. """ def main(): """ The main funciton for this script.""" number = float(input("Enter a number:")) result = square(number) print("The square of", number, "is", result) def square(x): """ Returns the square of x. """ retu...
31,373
https://github.com/MADnetML/MAD-Project/blob/master/main.py
Github Open Source
Open Source
MIT
2,021
MAD-Project
MADnetML
Python
Code
793
3,557
import os import argparse import sys import numpy as np from tqdm import tqdm from scipy.signal import convolve import matplotlib.pyplot as plt import torch from model import MADNet, MADNet2 from stored_dataset import QPIDataSet from custom_losses import IndividualLoss from torch.optim import Adam import torch.nn as ...
19,204
https://github.com/Loptt/functional-programming/blob/master/Racket/seclargest.rkt
Github Open Source
Open Source
MIT
2,019
functional-programming
Loptt
null
Spoken
50
125
#lang racket (define (seclargest x l s) (if (null? x) s (if (> (car x) l) (seclargest (cdr x) (car x) l) (if (> (car x) s) (seclargest (cdr x) l (car x)) (seclargest (cdr x) l s) ) ) ) ) (seclargest '(2 1 3 4 2) 0 0)
46,117
https://github.com/LuisParraPulido/project-react-01/blob/master/src/components/About.jsx
Github Open Source
Open Source
MIT
2,020
project-react-01
LuisParraPulido
JavaScript
Code
56
207
import React from 'react'; import '../styles/components/About.css'; const About = ({ phone, website, email, address }) => ( <div className='About-title'> <div className='About-item'> <img src='' alt='' /> <h4>{phone}</h4> </div> <div className='About-item'> <img src='' alt='' /> <...
12,298
https://github.com/Quppy/pointycastle/blob/master/test/test/registry_tests.dart
Github Open Source
Open Source
MIT
null
pointycastle
Quppy
Dart
Code
240
889
// Copyright (c) 2013-present, the authors of the Pointy Castle project // This library is dually licensed under LGPL 3 and MPL 2.0. // See file LICENSE for more information. library pointycastleold.test.test.registry_tests; import "package:pointycastleold/pointycastle.dart"; import "package:test/test.dart"; import ...
20,688
https://github.com/jweese/thrax2/blob/master/scripts/score
Github Open Source
Open Source
MIT
2,019
thrax2
jweese
Perl
Code
371
1,263
#!/usr/bin/perl -w use strict; my %word_count; my %source_word_count; my %target_word_count; my %rule_count; my %source_count; my %target_count; my %source_terminals; my %target_terminals; while (<>) { chomp; $rule_count{$_}++; } foreach (keys %rule_count) { my $count = $rule_count{$_}; my ($lhs,$src,$tgt,$a...
46,916
https://github.com/mikecalendo/astradb-nextjs/blob/master/pages/api/astradb.js
Github Open Source
Open Source
Apache-2.0
2,022
astradb-nextjs
mikecalendo
JavaScript
Code
39
159
const { createAstraClient } = require("@astrajs/client"); let astraClient = null; export default async function handler(req, res) { if (!astraClient) { astraClient = await createAstraClient({ astraDatabaseId: process.env.ASTRA_DB_ID, astraDatabaseRegion: process.env.ASTRA_DB_REGION, applicatio...
35,985
https://github.com/diandiande/VMovie/blob/master/vmovie/src/main/java/com/rock/vmovie/ui/cache/activity/CacheActivity.java
Github Open Source
Open Source
Apache-2.0
2,016
VMovie
diandiande
Java
Code
33
122
package com.rock.vmovie.ui.cache.activity; import com.rock.teachlibrary.base.BaseActivity; import com.rock.vmovie.R; public class CacheActivity extends BaseActivity { @Override public int getLayoutResId() { return R.layout.activity_cache; } @Override protected void initPresenter() { ...
24,599
https://github.com/SAP/kubernetes-deployment-orchestrator/blob/master/cmd/package.go
Github Open Source
Open Source
Apache-2.0
2,021
kubernetes-deployment-orchestrator
SAP
Go
Code
109
344
package cmd import ( "os" "path" "github.com/k14s/starlark-go/starlark" "github.com/spf13/cobra" ) var helmFormat bool var packageCmd = &cobra.Command{ Use: "package [chart]", Short: "package kdo chart", Long: ``, Args: cobra.ExactArgs(1), Run: func(cmd *cobra.Command, args []string) { exit(pkg(args...
50,542
https://github.com/andy2046/gopie/blob/master/pkg/deadline/deadline.go
Github Open Source
Open Source
Apache-2.0
2,021
gopie
andy2046
Go
Code
115
251
// Package deadline implements Deadline pattern. package deadline import ( "errors" "time" ) // ErrTimeout is the error for deadline timeout. var ErrTimeout = errors.New("time out executing function") // Deadline represents the deadline. type Deadline struct { timeout time.Duration } // New returns a new Deadlin...
50,790
https://github.com/gwt-jelement/gwt-jelement/blob/master/src/main/java/gwt/jelement/clipboard/DataTransferItemList.java
Github Open Source
Open Source
MIT
2,018
gwt-jelement
gwt-jelement
Java
Code
162
372
/* * Copyright 2017 Abed Tony BenBrahim <tony.benrahim@10xdev.com> * and Gwt-JElement project contributors. * * 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.o...
1,934
https://github.com/ivanagui2/hermesmail-code/blob/master/Hermes/Hermes/CntrItem.h
Github Open Source
Open Source
BSD-3-Clause-Clear
2,019
hermesmail-code
ivanagui2
C
Code
396
817
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Copyright 2019 HERMES Team // // Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following condi...
35,098
https://github.com/Kantxapp/KantxApp/blob/master/vendor/alexpechkarev/geometry-library/PolyUtil.php
Github Open Source
Open Source
MIT
2,017
KantxApp
Kantxapp
PHP
Code
1,658
4,285
<?php namespace GeometryLibrary; /* * Copyright 2013 Google Inc. * * https://github.com/googlemaps/android-maps-utils/blob/master/library/src/com/google/maps/android/PolyUtil.java * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Licen...
53,196
https://github.com/jingshenSN2/SlabHelper/blob/master/src/main/java/sn2/slabhelper/mixin/MixinPlayerManager.java
Github Open Source
Open Source
MIT
null
SlabHelper
jingshenSN2
Java
Code
80
459
package sn2.slabhelper.mixin; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.injection.At; import org.spongepowered.asm.mixin.injection.Inject; import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; import net.minecraft.network.ClientConnection; import net.minecraft.server.P...
24,748
https://github.com/beocom/dhqlax_mso.fallujah/blob/master/support/modules/pxs_satcom_oa/console_interface_show.sqf
Github Open Source
Open Source
Apache-2.0
null
dhqlax_mso.fallujah
beocom
SQF
Code
33
113
//init //call PXS_showInterface; //set distance PXS_ViewDistance = viewDistance; setViewDistance 10000; //create camera of satellite view PXS_ConsoleCamera = "camera" camcreate [0,0,0]; PXS_ConsoleCamera cameraEffect ["internal","back"]; //show interface showCinemaBorder false; [2] call PXS_adjustCamera; createDialo...
2,166
https://github.com/XZeoi/vue-music-app/blob/master/src/views/common/MusicPlayer.vue
Github Open Source
Open Source
MIT
null
vue-music-app
XZeoi
Vue
Code
752
3,022
<template> <div v-show="songList.length > 0"> <div class="music-player" v-show="fullScreen"> <div class="tool-bar"> <span class="iconfont icon-down" @click="downClick"></span> </div> <div class="cover-part"> <img :src="songData.picUrl" alt="" /> <div class="time-progress-...
1,337
https://github.com/Mjusick/rest-api-introduction-app/blob/master/rest_introduction_app/api/fundamentals/successful.py
Github Open Source
Open Source
MIT
null
rest-api-introduction-app
Mjusick
Python
Code
449
1,611
from faker import Faker from faker.providers import person from fastapi import APIRouter from starlette import status from starlette.responses import JSONResponse from rest_introduction_app.api.fundamentals.core.responses import get_response, post_response, put_response from rest_introduction_app.api.fundamentals.mode...
11,801
https://github.com/mlengse/e-logistik/blob/master/simpus-api/models/malarias.js
Github Open Source
Open Source
MIT
2,020
e-logistik
mlengse
JavaScript
Code
169
678
/* jshint indent: 2 */ module.exports = function(sequelize, DataTypes) { return sequelize.define('malarias', { 'id': { type: DataTypes.INTEGER(10), allowNull: false, primaryKey: true, primaryKey: true, comment: "null", autoIncrement: true }, 'visit_id': { type: D...
25,861
https://github.com/mwalliczek/bumon/blob/master/src/SumConnectionIdentifier.h
Github Open Source
Open Source
Apache-2.0
null
bumon
mwalliczek
C
Code
136
294
/* * Copyright (c) 2019 Matthias Walliczek * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
31,424
https://github.com/YuriSiman/openweathermap-flutter/blob/master/app/lib/swagger/model/forecast_get_response.dart
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,020
openweathermap-flutter
YuriSiman
Dart
Code
144
470
part of swagger.api; class ForecastGetResponse { String cod = null; num message = null; num cnt = null; List<ForecastGetResponseList> list = []; ForecastGetResponseCity city = null; ForecastGetResponse(); @override String toString() { return 'ForecastGetResponse[cod=$cod, mes...
4,761
https://github.com/kant/Always-be-learning/blob/master/Patterns/shared_library/cmake/options.cmake
Github Open Source
Open Source
Unlicense
null
Always-be-learning
kant
CMake
Code
121
765
include(${CMAKE_CURRENT_LIST_DIR}/colors.cmake) include(${CMAKE_CURRENT_LIST_DIR}/prefix.cmake) macro(SetOptionNames) set(prefix "") GetProjectPrefix(prefix) set(opt_werror ${prefix}_WERROR) set(opt_tests ${prefix}_TESTS) set(opt_coverage ${prefix}_COVERAGE) set(opt...
49,276
https://github.com/tonyredondo/TWCore2.Diagnostics.Client/blob/master/src/app/views/diagnostics/viewgroup.component.ts
Github Open Source
Open Source
MIT
null
TWCore2.Diagnostics.Client
tonyredondo
TypeScript
Code
1,599
5,195
import { ActivatedRoute, Params, Router } from '@angular/router'; import { Component, OnInit, ViewChild, Input, ChangeDetectorRef, ChangeDetectionStrategy } from '@angular/core'; import { QueryService } from '../../services/api/api/query.service'; import { environment } from '../../../environments/environment'; import ...
14,624
https://github.com/WaterYuanData/IPC/blob/master/myipc/src/main/aidl/com/yuan/myipc/IIPCService.aidl
Github Open Source
Open Source
Apache-2.0
2,019
IPC
WaterYuanData
null
Spoken
25
83
// IPCService.aidl package com.yuan.myipc; // Declare any non-default types here with import statements import com.yuan.myipc.model.Request; import com.yuan.myipc.model.Response; interface IIPCService { Response send(in Request request); }
4,972
https://github.com/Lapish/Reminders/blob/master/Reminders.Core/Services/ReminderService.cs
Github Open Source
Open Source
MIT
2,021
Reminders
Lapish
C#
Code
303
1,169
using DynamicData; using Reminders.Core.Models; using Reminders.Core.Repositories.Interfaces; using Reminders.Core.Services.Interfaces; using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace Reminders.Core.Services { public class Reminder...
4,053
https://github.com/denpufa/PetFera/blob/master/docs/html/class_anfibio_exotico.js
Github Open Source
Open Source
MIT
null
PetFera
denpufa
JavaScript
Code
15
114
var class_anfibio_exotico = [ [ "AnfibioExotico", "class_anfibio_exotico.html#a6f62d4cbdc244038c3b108a7fbfb818d", null ], [ "~AnfibioExotico", "class_anfibio_exotico.html#a2615151a98a1713a0d8c65d97bccd813", null ] ];
46,692
https://github.com/lyx32609/yunmeiyi2/blob/master/frontend/controllers/Flight1Controller.php
Github Open Source
Open Source
BSD-3-Clause
null
yunmeiyi2
lyx32609
PHP
Code
820
6,062
<?php namespace frontend\controllers; use Yii; use yii\base\InvalidParamException; use yii\web\BadRequestHttpException; use yii\web\Controller; use yii\filters\VerbFilter; use yii\filters\AccessControl; use common\models\LoginForm; use frontend\models\PasswordResetRequestForm; use frontend\models\ResetPasswordForm; us...
43,261
https://github.com/xtforgame/azrmui/blob/master/core/FormInputs/FormImagesInput/uploadContext.js
Github Open Source
Open Source
MIT
2,021
azrmui
xtforgame
JavaScript
Code
555
1,661
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = exports.isImageUploaded = exports.uploadImage = exports.createHandleUploadFunction = exports.getObservableInfo = exports.observableInfo = void 0; var _react = _interopRequireDefault(require("react")); var _axios = _inter...
4,706
https://github.com/aytona/AdvancedGraphics/blob/master/Lab5/Engine/Engine/textclass.cpp
Github Open Source
Open Source
MIT
null
AdvancedGraphics
aytona
C++
Code
836
2,689
#include "textclass.h" TextClass::TextClass() { m_Font = 0; m_FontShader = 0; m_sentence1 = 0; m_sentence2 = 0; } TextClass::TextClass(const TextClass& other) { } TextClass::~TextClass() { } bool TextClass::Initialize(ID3D11Device* device, ID3D11DeviceContext* deviceContext, HWND hwnd, int screen...
3,124