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/YouenZeng/LeetCode/blob/master/LeetCode/LeetAgain/GenerateParenthesisSln.cs
Github Open Source
Open Source
MIT
2,019
LeetCode
YouenZeng
C#
Code
175
528
using System; using System.Collections.Generic; using System.Linq; using System.Net.NetworkInformation; using System.Text; namespace LeetCode.LeetAgain { class GenerateParenthesisSln : ISolution { public IList<string> GenerateParenthesis(int n) { //a tree height 6 (n*2) ...
36,551
https://github.com/FcoLopera/scala-stripe/blob/master/core/jvm/src/main/scala/com/outr/stripe/price/Price.scala
Github Open Source
Open Source
MIT
2,022
scala-stripe
FcoLopera
Scala
Code
39
150
package com.outr.stripe.price case class Price(id: String, `object`: String, active: Boolean, billingScheme: Option[String], created: Long, currency: String, livemode: Boolean, lookupKey: Option[Strin...
25,311
https://github.com/thantienduc/Thread-assignment/blob/master/bitmap.cpp
Github Open Source
Open Source
MIT
null
Thread-assignment
thantienduc
C++
Code
433
1,598
#include <stdlib.h> #include <stdio.h> #include <string.h> #include "bitmap.h" using namespace std; struct bitmap { int width; int height; int *data; }; struct bitmap * bitmap_create( int w, int h ) { struct bitmap *m; m = (struct bitmap*) malloc(1); if(!m) return 0; m->data = (int*)malloc(w*h*sizeof(int));...
27,794
https://github.com/JordanField/connectedhomeip/blob/master/src/lib/support/BytesToHex.cpp
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, Apache-2.0
2,021
connectedhomeip
JordanField
C++
Code
589
1,523
/* * * Copyright (c) 2021 Project CHIP Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
1,166
https://github.com/digbiased/t-test/blob/master/store/calculators/t-test/reducer.js
Github Open Source
Open Source
MIT
null
t-test
digbiased
JavaScript
Code
189
511
import initalState from './initialState'; import { SET_NUMBER_OF_SAMPLES, SET_PROPORTIONS_OR_MEANS, SET_CALCULATOR_ERROR, SET_CALCULATION_DATA, SET_OPTIONS, SET_STEP_COMPLETED, SET_RESULTS } from './actionTypes'; export default function ttest(state = initalState, action) { // If state === "undefined" s...
40,829
https://github.com/Oktopost/PHPCoder/blob/master/src/PHPCoder/Tokens/KeyWord/FunctionKeyWordToken.php
Github Open Source
Open Source
MIT
null
PHPCoder
Oktopost
PHP
Code
18
71
<?php namespace PHPCoder\Tokens\KeyWord; use PHPCoder\Tokens\Generic\TextToken; class FunctionKeyWordToken extends TextToken { public function __construct() { parent::__construct('function', false); } }
10,254
https://github.com/cmcimport/laravel/blob/master/app/Favorito.php
Github Open Source
Open Source
MIT
2,023
laravel
cmcimport
PHP
Code
75
216
<?php namespace App; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Notifications\Notifiable; class Favorito extends Authenticatable { protected $table = "favorito"; /** * The attributes that are mass assignable. * * @var a...
7,465
https://github.com/charleenfei/gateway/blob/master/packages/lib/src/utils/formaters.ts
Github Open Source
Open Source
MIT
null
gateway
charleenfei
TypeScript
Code
225
578
const locale = 'en-US'; export const dateToString = value => { try { return new Date(value).toISOString(); } catch (e) { return value; } }; export const extractDate = value => { try { return new Date(value).toISOString().slice(0, 10); } catch (e) { return value; } }; export const formatN...
29,245
https://github.com/markmansur/PackTrack/blob/master/iOS/PackTrack/Packages/View/PackageCell.swift
Github Open Source
Open Source
MIT
2,021
PackTrack
markmansur
Swift
Code
443
1,621
// // PackageCell.swift // PackTrack // // Created by Mark Mansur on 2019-08-12. // Copyright © 2019 Mark Mansur. All rights reserved. // import UIKit import GoogleMaps class PackageCell: UICollectionViewCell { var package: Package? { didSet { nameLabel.text = package?.name tra...
23,335
https://github.com/SabotageAndi/StateOfTestAutomationInDotNet/blob/master/5_HowToHandleInternalDependencies/Logic/DependencyWithSideeffect.cs
Github Open Source
Open Source
Apache-2.0
null
StateOfTestAutomationInDotNet
SabotageAndi
C#
Code
36
121
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Logic { public interface IDependencyWithSideeffect { void DoingSomethingWithASideEffect(); } public class DependencyWithSideeffect : IDependencyWithSideeffect { ...
29,591
https://github.com/jjhegedus/cppwinrt/blob/master/10.0.14393.0/winrt/internal/Windows.Networking.Proximity.2.h
Github Open Source
Open Source
LicenseRef-scancode-generic-cla, MIT
2,017
cppwinrt
jjhegedus
C++
Code
1,224
6,645
// C++ for the Windows Runtime v1.0.161012.5 // Copyright (c) 2016 Microsoft Corporation. All rights reserved. #pragma once #include "Windows.Networking.Proximity.1.h" WINRT_EXPORT namespace winrt { namespace ABI::Windows::Foundation::Collections { #ifndef WINRT_GENERIC_f6d1f700_49c2_52ae_8154_826f9908773c #define...
40,863
https://github.com/iamjesse98/styles.js/blob/master/index.js
Github Open Source
Open Source
MIT
2,015
styles.js
iamjesse98
JavaScript
Code
654
1,583
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('v...
29,160
https://github.com/totodot/artel-lezajsk.pl/blob/master/src/styles/main.scss
Github Open Source
Open Source
MIT
null
artel-lezajsk.pl
totodot
SCSS
Code
198
905
@import './grid.css'; @import './reset.scss'; @import './variables.scss'; @import './svg-colors.scss'; @import './spacing.scss'; //Pages @import './home.scss'; @import './news.scss'; //components @import '../components/banner/banner.scss'; @import '../components/circleArrow/circleArrow.scss'; @import '../components...
4,575
https://github.com/michaelyin/ocropus-git/blob/master/commands/OLD/ocropus-group.cc
Github Open Source
Open Source
Apache-2.0
2,020
ocropus-git
michaelyin
C++
Code
1,789
5,295
// -*- C++ -*- // Copyright 2006-2007 Deutsches Forschungszentrum fuer Kuenstliche Intelligenz // or its licensors, as applicable. // Copyright 1995-2005 by Thomas M. Breuel // // You may not use this file except under the terms of the accompanying license. // // Licensed under the Apache License, Version 2.0 (the "Li...
3,176
https://github.com/correalucasUFSC/lumi/blob/master/client/modules/Loans/Loans.js
Github Open Source
Open Source
MIT
null
lumi
correalucasUFSC
JavaScript
Code
307
1,018
import React, { PropTypes, Component } from 'react'; import { connect } from 'react-redux'; // Import Actions import { fetchData, filterLoans, fetchIndustries } from './LoansActions'; import Gauge from 'react-svg-gauge'; import styles from './Loans.css'; import FilterForm from '../../components/FilterForm'; import Base...
8,801
https://github.com/PureStorage-OpenConnect/terraform-provider-cbs/blob/master/cbs/internal/array/faclient/2.4/models/software_installation_all_of2.go
Github Open Source
Open Source
Apache-2.0
2,021
terraform-provider-cbs
PureStorage-OpenConnect
Go
Code
516
1,212
// Code generated by go-swagger; DO NOT EDIT. package models // This file was generated by the swagger tool. // Editing this file might prove futile when you re-run the swagger generate command import ( "strconv" "github.com/go-openapi/errors" "github.com/go-openapi/strfmt" "github.com/go-openapi/swag" ) // So...
1,417
https://github.com/ih57452/philogl/blob/master/examples/groups/controls.js
Github Open Source
Open Source
MIT
2,012
philogl
ih57452
JavaScript
Code
175
624
function initControls(options) { var currentGroup = $('current-group'), scale = $('scale'), rotate = $('rotate'), aura = $('aura'), offset = $('offset'), hyperbole = $('hyperbole'), descriptions = $$('#group-descriptions > div'), descriptionContainer = $1('.options-body.detai...
30,764
https://github.com/pmackowski/rsocket-playground/blob/master/src/test/java/io/github/zomky/raft/CommitIndexUpdaterTest.java
Github Open Source
Open Source
Apache-2.0
2,019
rsocket-playground
pmackowski
Java
Code
142
763
package io.github.zomky.raft; import io.github.zomky.storage.RaftStorage; import io.github.zomky.storage.log.entry.IndexedLogEntry; import io.github.zomky.storage.log.entry.LogEntry; import io.github.zomky.storage.log.reader.LogStorageReader; import io.github.zomky.storage.meta.Configuration; import org.junit.jupiter....
8,045
https://github.com/wernerholzapfel/molapi/blob/master/src/quizvragen/create-quizvraag.dto.ts
Github Open Source
Open Source
Apache-2.0
null
molapi
wernerholzapfel
TypeScript
Code
38
140
import {IsDefined, IsNumber, IsString} from 'class-validator'; import {Deelnemer} from '../deelnemers/deelnemer.entity'; import {Kandidaat} from '../kandidaten/kandidaat.entity'; import {Quizantwoord} from '../quizantwoorden/quizantwoord.entity'; export class CreateQuizvraagDto { readonly id: string; @IsString...
44,586
https://github.com/Juniper/py-junos-eznc/blob/master/lib/jnpr/junos/factcache.py
Github Open Source
Open Source
Apache-2.0
2,023
py-junos-eznc
Juniper
Python
Code
1,408
3,021
import warnings from pprint import pformat try: from collections.abc import MutableMapping except ImportError: from collections import MutableMapping import jnpr.junos.facts from jnpr.junos.facts import __doc__ as facts_doc import jnpr.junos.exception class _FactCache(MutableMapping): """ A dictiona...
4,406
https://github.com/cssoftwareengineering2animap/backend/blob/master/src/presentation/rest/controllers/http/user/user_controller.ts
Github Open Source
Open Source
MIT
2,020
backend
cssoftwareengineering2animap
TypeScript
Code
153
562
import { injectable, inject } from "tsyringe" import { StatusCodes } from "http-status-codes" import { Request, Response } from "express" import { validateDto } from "../../../../../core/utils" import { CreateUserUseCase, UploadUserPictureUseCase, BlockUserUseCase, CreateUserDto, FileUploadDto, BlockUserDto...
9,732
https://github.com/conradakramer/TheRPG/blob/master/.import/white.png-58a4837a8ca327757c1e988059121e96.md5
Github Open Source
Open Source
MIT
2,018
TheRPG
conradakramer
null
Spoken
2
52
source_md5="b76c285072a05308acd800da8919daca" dest_md5="a452985d64645a99c9b0eaba18640f60"
8,830
https://github.com/RomanKubiak/ctrlr/blob/master/Source/Misc/luabind/src/class_info.cpp
Github Open Source
Open Source
MIT, GPL-2.0-only, BSD-3-Clause
2,022
ctrlr
RomanKubiak
C++
Code
490
1,322
// Copyright (c) 2003 Daniel Wallin and Arvid Norberg // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the "Software"), // to deal in the Software without restriction, including without limitation // the rights to use, copy, modify,...
22,802
https://github.com/jantonv/XCoLab/blob/master/view/src/main/java/org/xcolab/view/pages/proposals/tabs/access/AdvancingAccessAlgorithm.java
Github Open Source
Open Source
MIT
null
XCoLab
jantonv
Java
Code
89
457
package org.xcolab.view.pages.proposals.tabs.access; import org.xcolab.client.contest.pojo.Contest; import org.xcolab.client.contest.pojo.phases.ContestPhase; import org.xcolab.client.proposals.pojo.Proposal; import org.xcolab.view.pages.proposals.permissions.ProposalsPermissions; import org.xcolab.view.pages.proposal...
14,054
https://github.com/NullvaIue/osu-Catcher/blob/master/osu!Catcher/Forms/SettingsForm.Designer.cs
Github Open Source
Open Source
MIT
2,019
osu-Catcher
NullvaIue
C#
Code
388
1,648
namespace osuCatcher { partial class SettingsForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed resources shoul...
36,988
https://github.com/open-mpi/ompi-www/blob/master/community/lists/users/2014/03/23807.php
Github Open Source
Open Source
BSD-3-Clause
2,023
ompi-www
open-mpi
PHP
Code
731
3,578
<? $subject_val = "Re: [OMPI users] incorrect verbose output in bind_downwards"; include("../../include/msg-header.inc"); ?> <!-- received="Tue Mar 11 20:50:07 2014" --> <!-- isoreceived="20140312005007" --> <!-- sent="Tue, 11 Mar 2014 17:49:31 -0700" --> <!-- isosent="20140312004931" --> <!-- name="Ralph Castain" --> ...
11,406
https://github.com/NavneelSinghal/ProjectManagement/blob/master/Trie/TrieNode.java
Github Open Source
Open Source
MIT
null
ProjectManagement
NavneelSinghal
Java
Code
44
124
package Trie; import Util.NodeInterface; import java.util.HashMap; public class TrieNode<T> implements NodeInterface<T> { // public HashMap<Character, TrieNode<T>> map = new HashMap<Character, TrieNode<T>>(); public TrieNode<T> arr[] = new TrieNode[96]; public boolean isend = false; public T value; ...
4,274
https://github.com/crockeo/parsical/blob/master/src/parsical.hpp
Github Open Source
Open Source
MIT
2,017
parsical
crockeo
C++
Code
52
146
// Name: parsical.hpp // // Description: // This header just re-exports a bunch of headers from the rest of the // library. It's meant to be designed such that you '#include <parsical.hpp>' // and you get the whole library. #ifndef _PARSICAL_HPP_ #define _PARSICAL_HPP_ #include "parsical/parsestream.hpp" #inclu...
36,336
https://github.com/maxvonhippel/snake/blob/master/ns-3-dev/src/applications/model/udp-echo-server.cc
Github Open Source
Open Source
BSD-3-Clause
2,021
snake
maxvonhippel
C++
Code
1,431
4,998
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright 2007 University of Washington * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This progra...
24,576
https://github.com/SukhmeetsinghG/blog/blob/master/app/Http/Controllers/Front.php
Github Open Source
Open Source
MIT
null
blog
SukhmeetsinghG
PHP
Code
629
2,297
<?php namespace App\Http\Controllers; //use Illuminate\Http\Request; use App\Brand; use App\Category; use App\Products1; use App\User; use App\Post1; // use App\Http\Controllers\Products1; use App\Http\Controllers\Controller; use Illuminate\Support\Facades\Request; use Illuminate\Support\Facades\Redirect; use Illumin...
39,849
https://github.com/XYGDeveloper/GlobalFrog/blob/master/Common/Payment/WXPayReq.m
Github Open Source
Open Source
MIT
2,019
GlobalFrog
XYGDeveloper
Objective-C
Code
26
77
// // WXPayReq.m // Qqw // // Created by zagger on 16/8/20. // Copyright © 2016年 gao.jian. All rights reserved. // #import "WXPayReq.h" @implementation WXPayReq @end
51,196
https://github.com/cityofaustin/ctxfloods-backend/blob/master/test/community.editor.self.deactivate.reactivate.test.js
Github Open Source
Open Source
MIT
2,019
ctxfloods-backend
cityofaustin
JavaScript
Code
471
1,421
import HttpTransport from 'lokka-transport-http'; import Lokka from 'lokka'; import uuidv4 from 'uuid'; import jwt from 'jsonwebtoken'; import { endpoint } from './endpoints'; import { getToken, anonLokka, getCommunityEditorLokka, getSuperAdminLokka } from './helpers'; describe('When registering, deactivating, and re...
35,154
https://github.com/mountainflaw/sm64_staging/blob/master/levels/rr/areas/1/11/geo.inc.c
Github Open Source
Open Source
CC0-1.0
2,023
sm64_staging
mountainflaw
C
Code
16
116
// 0x0E000738 const GeoLayout rr_geo_000738[] = { GEO_CULLING_RADIUS(4000), GEO_OPEN_NODE(), GEO_DISPLAY_LIST(LAYER_OPAQUE, rr_seg7_dl_0700DBD8), GEO_DISPLAY_LIST(LAYER_ALPHA, rr_seg7_dl_0700DE88), GEO_CLOSE_NODE(), GEO_END(), };
9,076
https://github.com/ZechariaBender/java-sdk/blob/master/src/main/java/com/smartcar/sdk/data/VehicleBatteryCapacity.java
Github Open Source
Open Source
MIT
2,022
java-sdk
ZechariaBender
Java
Code
62
143
package com.smartcar.sdk.data; /** POJO for Smartcar /battery/capacity endpoint */ public class VehicleBatteryCapacity extends ApiData { private double capacity; /** * Returns the battery capacity * * @return battery capacity */ public double getCapacity() { return this.capacity; } /** @ret...
36,683
https://github.com/wesmota/golang-keyvalue-storage/blob/master/go.mod
Github Open Source
Open Source
MIT
2,021
golang-keyvalue-storage
wesmota
Go Module
Code
7
41
module github.com/wesmota/keyvalue-storage go 1.15 require github.com/gorilla/mux v1.8.0
21,243
https://github.com/Lavanyakadali/Holiday_USA/blob/master/HolidayController.js
Github Open Source
Open Source
MIT
2,018
Holiday_USA
Lavanyakadali
JavaScript
Code
12
82
MyApp.controller("HolidayController", ['$scope', '$http', '$location', function ($scope, $http, $route,$location) { $scope.HolidayList=HolidayAPI("2dbee6df-3f4b-4bbb-8969-bb7df61cfd0d"); } ]);
49,022
https://github.com/Gnzdream/NsfPlayer/blob/master/raw-fami/com/zdream/famitracker/FamiTrackerApp.java
Github Open Source
Open Source
Apache-2.0
2,021
NsfPlayer
Gnzdream
Java
Code
156
614
package com.zdream.famitracker; import java.nio.charset.Charset; import com.zdream.famitracker.components.Settings; import com.zdream.famitracker.sound.SoundGen; public class FamiTrackerApp { private static FamiTrackerApp app; public static Charset defCharset; static { defCharset = Charset.forName("UTF-8"...
20,889
https://github.com/HongZhaoHua/jstarcraft-rns/blob/master/src/main/java/com/jstarcraft/rns/model/dl4j/ranking/DeepFMParameter.java
Github Open Source
Open Source
Apache-2.0
2,023
jstarcraft-rns
HongZhaoHua
Java
Code
260
1,062
package com.jstarcraft.rns.model.dl4j.ranking; import java.util.Collections; import java.util.LinkedHashMap; import java.util.Map; import org.deeplearning4j.nn.conf.NeuralNetConfiguration; import org.deeplearning4j.nn.conf.distribution.Distributions; import org.deeplearning4j.nn.conf.layers.FeedForwardLayer; import o...
22,763
https://github.com/mdhooge/temporary-containers/blob/master/test/background.redirects.test.js
Github Open Source
Open Source
MIT
2,019
temporary-containers
mdhooge
JavaScript
Code
692
2,606
preferencesTestSet.map(preferences => { describe(`preferences: ${JSON.stringify(preferences)}`, () => { describe('addons that do redirects in automatic mode', () => { let background; beforeEach(async () => { background = await loadBackground(preferences); }); describe('https everywhere', () =>...
2,227
https://github.com/D-Zaq/appli-polyDessin/blob/master/client/src/app/three-js-home/three-js-home.component.spec.ts
Github Open Source
Open Source
MIT
null
appli-polyDessin
D-Zaq
TypeScript
Code
54
195
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { ThreeJSHomeComponent } from './three-js-home.component'; describe('ThreeJSHomeComponent', () => { let component: ThreeJSHomeComponent; let fixture: ComponentFixture<ThreeJSHomeComponent>; beforeEach(async(() => { TestBed.con...
9,340
https://github.com/jtpils/vtkplotter/blob/master/vtkplotter/addons.py
Github Open Source
Open Source
MIT
2,022
vtkplotter
jtpils
Python
Code
5,256
21,561
""" Additional objects like axes, legends etc.. """ from __future__ import division, print_function import vtkplotter.colors as colors import vtkplotter.shapes as shapes from vtkplotter.actors import Assembly, Actor import vtkplotter.utils as utils import vtkplotter.settings as settings import vtkplotter.docs as docs i...
52,989
https://github.com/tessi-lab/hyPop/blob/master/src/main/java/io/tessilab/oss/hypop/execution/progress/CompositeMonitoring.java
Github Open Source
Open Source
Apache-2.0
2,017
hyPop
tessi-lab
Java
Code
253
781
/* * Copyright 2017 Tessi lab. * * 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 ...
49,637
https://github.com/JetBrains/intellij-community/blob/master/python/testData/findUsages/FunctionHasPyiStub/lib.py
Github Open Source
Open Source
Apache-2.0
2,023
intellij-community
JetBrains
Python
Code
3
16
def fo<caret>o(): print("42")
44,260
https://github.com/egorka13/nc_education_2k21/blob/master/src/assets/styles/common/font.less
Github Open Source
Open Source
MIT
2,021
nc_education_2k21
egorka13
Less
Code
5
15
// подключаем шрифт через font-face
38,729
https://github.com/truthiswill/intellij-community/blob/master/python/testData/refactoring/move/baseClass/after/src/a.py
Github Open Source
Open Source
Apache-2.0
2,020
intellij-community
truthiswill
Python
Code
10
33
from b import B class C(B): def __init__(self): super(C, self).__init__()
27,466
https://github.com/thomasdn/sigal/blob/master/src/sigal/themes/colorbox/static/js/app-with-media-page.js
Github Open Source
Open Source
MIT
2,023
sigal
thomasdn
JavaScript
Code
82
340
$(".gallery").colorbox({ rel:"gallery", transition:"none", maxWidth: "90%", maxHeight: "90%", scalePhotos: true, current: "{current} / {total}", title: function () { title = this.title; if(this.hasAttribute("data-big")) { title += " (full size)".link(this.getAttribute("data-big")); } ...
17,757
https://github.com/City-of-Helsinki/varaamo/blob/master/app/state/selectors/userIdSelector.js
Github Open Source
Open Source
MIT
2,023
varaamo
City-of-Helsinki
JavaScript
Code
11
28
const userIdSelector = state => state.auth && state.auth.userId; export default userIdSelector;
23,693
https://github.com/cuba-platform/documentation/blob/master/content/manual/adoc/en/framework/common_components/infrastructure_interfaces/metadata.adoc
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, CC-BY-4.0
2,022
documentation
cuba-platform
AsciiDoc
Code
137
366
:sourcesdir: ../../../../../source [[metadata]] ===== Metadata ++++ <div class="manual-live-demo-container"> <a href="http://files.cuba-platform.com/javadoc/cuba/7.2/com/haulmont/cuba/core/global/Metadata.html" class="api-docs-btn" target="_blank">API DOCS</a> </div> ++++ `Metadata` interface provides access to ...
1,566
https://github.com/makovalab-psu/HalfDeep/blob/master/kmer_depth.hifi.sh
Github Open Source
Open Source
BSD-3-Clause
2,023
HalfDeep
makovalab-psu
Shell
Code
712
1,909
#!/bin/bash if [ -z $1 ]; then echo "Usage: ./kmer_depth.hifi.sh <ref> <sampleNum>/<numSamples>" echo " Assumes we have <ref> and input.fofn in the current directory," echo " and that <ref> has an associated file listing its contig names," echo " in order" echo " input.fofn will be partitioned into <n...
2,360
https://github.com/castorini/d-bert/blob/master/dbert/distill/data/__init__.py
Github Open Source
Open Source
MIT
2,023
d-bert
castorini
Python
Code
8
12
from .base import * from .dataset import *
16,026
https://github.com/doanantony/valucart-dxb/blob/master/admin/application/views/Deliveryspots/spots_view.php
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,021
valucart-dxb
doanantony
PHP
Code
443
1,843
<div class="content-wrapper" > <!-- Content Header (Page header) --> <section class="content-header"> <h1> Delivery Spots </h1> <ol class="breadcrumb"> <li><a href="#"><i class="fa fa-male"></i>Home</a></li> <li class="active"> Delivery Spots</li> </ol> </sect...
25,874
https://github.com/JoystreamClassic/joystream-desktop/blob/master/src/updater-window/UpdaterStore.js
Github Open Source
Open Source
MIT, LicenseRef-scancode-warranty-disclaimer, LicenseRef-scancode-unknown-license-reference
2,019
joystream-desktop
JoystreamClassic
JavaScript
Code
86
235
import {observable, action, runInAction, computed} from 'mobx' /** * This store is very thin, almost pointless, all the relevant actions * need to be moved in here later, and some liason mechanism connecting them * with main process through IPC. */ class UpdaterStore { @observable state @observable errorMessag...
9,267
https://github.com/AccelByte/accelbyte-services-api/blob/master/leaderboard-sdk/pkg/leaderboardclient/leaderboard_data/get_today_leaderboard_ranking_public_v1_responses.go
Github Open Source
Open Source
MIT
2,022
accelbyte-services-api
AccelByte
Go
Code
569
2,152
// Code generated by go-swagger; DO NOT EDIT. package leaderboard_data // This file was generated by the swagger tool. // Editing this file might prove futile when you re-run the swagger generate command import ( "fmt" "io" "io/ioutil" "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" "github.co...
32,278
https://github.com/E3SM-Project/KGen/blob/master/test/kapp/func/ch/remove_state/kapp_func_ch_remove_state_test.py
Github Open Source
Open Source
BSD-3-Clause
2,020
KGen
E3SM-Project
Python
Code
7
38
from kapp_func_ch_test import KAppFuncCHTest class KAppFuncCHRSTest(KAppFuncCHTest): pass
17,321
https://github.com/GTNewHorizons/OpenModsLib/blob/master/src/main/java/openmods/api/IPlaceAwareTile.java
Github Open Source
Open Source
MIT
2,022
OpenModsLib
GTNewHorizons
Java
Code
47
125
package openmods.api; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.ItemStack; import net.minecraftforge.common.util.ForgeDirection; /** * Custom callback with all information, but called after block is placed and intialized and only for ItemOpenBlock */ public interface IPlaceAwareTile...
18,163
https://github.com/discord-net/Discord.Net/blob/master/src/Discord.Net.Core/Audio/AudioInStream.cs
Github Open Source
Open Source
MIT
2,023
Discord.Net
discord-net
C#
Code
60
146
using System; using System.Threading; using System.Threading.Tasks; namespace Discord.Audio { public abstract class AudioInStream : AudioStream { public abstract int AvailableFrames { get; } public override bool CanRead => true; public override bool CanWrite => true; public ab...
10,987
https://github.com/diegoferraribruno/liberation/blob/master/.import/1f1f0-1f1ec.png-f8d5090d4ed8a447ee24ba4e51faf56f.md5
Github Open Source
Open Source
LicenseRef-scancode-public-domain
2,021
liberation
diegoferraribruno
null
Spoken
2
56
source_md5="875f9b0c97dfbafa09bd055946955e7f" dest_md5="83b62deef1dc7d4e0a2eb142554cc65a"
41,844
https://github.com/billynieto/Simptom/blob/master/Simptom.Framework/Models/IUser.cs
Github Open Source
Open Source
MIT
null
Simptom
billynieto
C#
Code
46
107
using System; using Repository.Framework; namespace Simptom.Framework.Models { public partial interface IUser { } public interface IUserSearch : ISingleSearch { Guid ID { get; set; } string Name { get; set; } } public interface IUsersSearch : IMultipleSearch { string Name { get; s...
13,149
https://github.com/isopov/kubernetes-client-java/blob/master/fluent/src/main/java/io/kubernetes/client/openapi/models/V1RollingUpdateDeploymentBuilder.java
Github Open Source
Open Source
Apache-2.0
2,021
kubernetes-client-java
isopov
Java
Code
180
1,030
package io.kubernetes.client.openapi.models; import io.kubernetes.client.fluent.VisitableBuilder; import java.lang.Object; import java.lang.Boolean; public class V1RollingUpdateDeploymentBuilder extends io.kubernetes.client.openapi.models.V1RollingUpdateDeploymentFluentImpl<io.kubernetes.client.openapi.models.V1Rolli...
3,404
https://github.com/leeduckgo/bsn_app_explorer/blob/master/run.py
Github Open Source
Open Source
MIT
2,020
bsn_app_explorer
leeduckgo
Python
Code
12
49
from app import app app.run(debug=True) ''' if __name__ == '_main_': app.run(host="0.0.0.0",debug=True) '''
37,502
https://github.com/jqr/simple_column_search/blob/master/Rakefile
Github Open Source
Open Source
MIT
2,010
simple_column_search
jqr
Ruby
Code
53
190
#require 'spec/rake/spectask' require 'echoe' Echoe.new 'simple_column_search' do |p| p.description = "Quick and dirty multi column LIKE searches." p.url = "http://github.com/jqr/simple_column_search" p.author = "Elijah Miller" p.email = "elijah.miller@gmail.com" p.retain_g...
31,736
https://github.com/xxyzfd/3Engine/blob/master/src/Engine/Shapes/Square.cpp
Github Open Source
Open Source
MIT
2,017
3Engine
xxyzfd
C++
Code
209
1,027
/* * File Square.cpp in project ThreeEngine * * Copyright (C) Ricardo Rodrigues 2017 - All Rights Reserved */ #include "Square.h" #define VERTICES 0 #define COLORS 1 namespace ThreeEngine { Square::Square() : Vertices{ {{0.0f, 0.0f, 0.0f, 1.0f}, {1.0f, 0.0f, 0.0f, 1.0f}}, {{0.7071f, ...
43,642
https://github.com/xavism/vue-cli-starter/blob/master/src/components/Table.vue
Github Open Source
Open Source
MIT
2,018
vue-cli-starter
xavism
Vue
Code
67
224
<template> <table class="table"> <thead> <tr> <th>Name</th> <th>Side</th> <th>Weapon</th> </tr> </thead> <tbody> <tr v-for="char in chars"> <th> {{ char.name }} </th> <th> {{ char.side }} </th> <th> {{ char.weapon.type }} </th> </tr> ...
10,335
https://github.com/EIDSS/EIDSS-Legacy/blob/master/EIDSS v6/eidss.core/Enums/SessionType.cs
Github Open Source
Open Source
BSD-2-Clause
2,017
EIDSS-Legacy
EIDSS
C#
Code
20
55
namespace eidss.model.Enums { public enum SessionType : long { None = 0x0, AsSession = 0x1, VsSession = 0x2, } }
46,066
https://github.com/all-of-us/workbench/blob/master/ui/src/app/pages/access/identity-help-text.tsx
Github Open Source
Open Source
BSD-3-Clause
2,023
workbench
all-of-us
TSX
Code
351
1,137
import * as React from 'react'; import { AccessModule, Profile } from 'generated/fetch'; import { Button } from 'app/components/buttons'; import { FlexColumn, FlexRow } from 'app/components/flex'; import { getAccessModuleStatusByName, isCompliant, } from 'app/utils/access-utils'; import { openZendeskWidget } from...
11,977
https://github.com/fddc/PowerJob-Console/blob/master/src/components/bar/Sidebar.vue
Github Open Source
Open Source
Apache-2.0
2,022
PowerJob-Console
fddc
Vue
Code
244
1,287
<!-- * 官方文档:https://element.eleme.cn/#/zh-CN/component/menu ,阅读底部属性说明即可 * 该组件内部包括了侧边栏和主显示区域(以router-view的形式声明,在router.js中通过component: () => import('./components/Home')的方式导入) --> <template> <div id="sidebar"> <el-container class="left-container"> <!--侧边栏容器--> <el-aside width="100%" > ...
35,726
https://github.com/schoolofacceleratedlearning/huboard-web/blob/master/app/controllers/api/subscriptions_controller.rb
Github Open Source
Open Source
Unlicense, MIT
2,021
huboard-web
schoolofacceleratedlearning
Ruby
Code
37
125
module Api class SubscriptionsController < ApiController def show if gh.repos("#{params[:user]}/#{params[:repo]}").raw.status != 404 channel = "/#{params[:user]}/#{params[:repo]}".downcase.gsub(".","!") subscription = PrivatePub.subscription channel: channel render json: subscriptio...
20,641
https://github.com/llinmeng/PythonStudy/blob/master/Beginning-Python/10/10-7.py
Github Open Source
Open Source
MIT
null
PythonStudy
llinmeng
Python
Code
25
84
# -*- coding:utf-8 -*- # 为以编号的行进行编号 import fileinput for line in fileinput.input(inplace=1): line = line.rstrip() num = fileinput.lineno() print '%-40s # %2i' % (line, num)
21,828
https://github.com/CDP-Inc/WUMEI/blob/master/src/WUMEI/Models/2020.1/MessageHeader.cs
Github Open Source
Open Source
MIT
null
WUMEI
CDP-Inc
C#
Code
115
256
using System.ComponentModel.DataAnnotations; using Newtonsoft.Json; namespace WUMEI.Models.V2020 { /// <summary> /// The following data elements shall be included in both directions of the messages exchanged in a message based /// system interface. /// </summary> /// <remarks> /// Function ret...
9,627
https://github.com/caotic-co/caos/blob/master/tests/__init__.py
Github Open Source
Open Source
Apache-2.0
null
caos
caotic-co
Python
Code
124
463
""" DO NOT TOUCH This script imports all the test modules available that start with the name test """ import unittest import pkgutil as _pkgutil from typing import List from caos._cli_commands import available_commands from tests.exceptions import MissingCommandsTests suite: unittest.TestSuite = unittest.TestSuite...
15,550
https://github.com/lnls-sol/crio-epics-dev-sup/blob/master/CRIOSup/supWAVEFORMCRIO.cpp
Github Open Source
Open Source
0BSD
null
crio-epics-dev-sup
lnls-sol
C++
Code
326
956
/*############################################################################### # # This software is distributed under the following ISC license: # # Copyright © 2019 BRAZILIAN SYNCHROTRON LIGHT SOURCE <sol@lnls.br> # Dawood Alnajjar <dawood.alnajjar@lnls.br> # # Permission to use, copy, modify, and/or distribute t...
12,877
https://github.com/PankTrue/swaggy-jenkins/blob/master/clients/csharp-nancyfx/generated/src/Org.OpenAPITools/Models/FreeStyleProjectactions.cs
Github Open Source
Open Source
MIT
2,022
swaggy-jenkins
PankTrue
C#
Code
318
952
using System; using System.Collections.Generic; using System.IO; using System.Text; using Sharpility.Extensions; using NodaTime; namespace Org.OpenAPITools..Models { /// <summary> /// FreeStyleProjectactions /// </summary> public sealed class FreeStyleProjectactions: IEquatable<FreeStyleProjectactions...
48,027
https://github.com/JasonFromMar/hhvm/blob/master/hphp/test/quick/method-non-object.php
Github Open Source
Open Source
Zend-2.0, MIT, PHP-3.01
2,019
hhvm
JasonFromMar
Hack
Code
14
37
<?hh // Method call on non-object using FCallObjMethodD $foo = 12; $foo->bar(); echo "Hi.\n";
24,969
https://github.com/hernanmd/pharo/blob/master/src/Monticello.package/MCVersionReader.class/class/openVersionFile..st
Github Open Source
Open Source
MIT
2,019
pharo
hernanmd
null
Spoken
9
23
actions - file openVersionFile: fileName (self versionFromFile: fileName) open
35,160
https://github.com/cebarobot/UCAS-Network-Lab/blob/master/18-http_server_4/tcp_in.c
Github Open Source
Open Source
MIT
2,022
UCAS-Network-Lab
cebarobot
C
Code
823
3,543
#include "tcp.h" #include "tcp_sock.h" #include "tcp_timer.h" #include "log.h" #include "ring_buffer.h" #include <stdlib.h> // update the snd_wnd of tcp_sock // // if the snd_wnd before updating is zero, notify tcp_sock_send (wait_send) static inline void tcp_update_window(struct tcp_sock *tsk, struct tcp_cb *cb) { ...
5,656
https://github.com/rotty/cargo-audit-tags/blob/master/cargo-audit-tags
Github Open Source
Open Source
Apache-2.0, MIT
2,019
cargo-audit-tags
rotty
Python
Code
568
1,791
#!/usr/bin/env python3 # # Copyright © 2019 Andreas Rottmann # # This program is free software, you can redistribute it and/or modify # it under the terms of either the MIT or Apache-2.0 licenses. You # should have received copies of these licenses with this programs; if # not see <https://spdx.org/licenses/MIT.html> a...
14,204
https://github.com/winsmith/bonobo/blob/master/bonobo/examples/nodes/count.py
Github Open Source
Open Source
Apache-2.0
2,017
bonobo
winsmith
Python
Code
39
129
""" Simple example of :func:`bonobo.count` usage. .. graphviz:: digraph { rankdir = LR; stylesheet = "../_static/graphs.css"; BEGIN [shape="point"]; BEGIN -> "range()" -> "count" -> "print"; } """ import bonobo graph = bonobo.Graph(range(42), bonobo.count, print) if __name...
17,133
https://github.com/svija/nncase/blob/master/src/NnCase.Converter.K210/Emulator/ForwardContext.cs
Github Open Source
Open Source
Apache-2.0
2,019
nncase
svija
C#
Code
74
214
using System; using System.Collections.Generic; using System.Text; namespace NnCase.Converter.K210.Emulator { public class ForwardContext { public byte[] KpuRam { get; set; } public byte[] MainRam { get; set; } public Span<byte> GetKpuRamAt(int address) { var offs...
19,663
https://github.com/giko/teavm/blob/master/teavm-classlib/src/main/java/org/teavm/classlib/java/util/TDate.java
Github Open Source
Open Source
Apache-2.0
null
teavm
giko
Java
Code
681
2,025
/* * Copyright 2014 Alexey Andreev. * * 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...
18,074
https://github.com/duchicong/watchpro/blob/master/app/Http/Controllers/PagesController.php
Github Open Source
Open Source
MIT
2,019
watchpro
duchicong
PHP
Code
300
1,953
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Http\Requests; use App\Slide; use App\BlogCategory; use App\Blog; use App\Helper\Cart; use App\LoaiSanPham; use App\Sanpham; use App\User; use DB,Datetime, Redirect,count,paginate,Auth; class PagesController extends Controller { public f...
48,519
https://github.com/jpasqua/blynk-library/blob/master/src/BlynkSimpleEsp32_NimBLE.h
Github Open Source
Open Source
MIT
null
blynk-library
jpasqua
C
Code
382
1,728
/** * @file BlynkSimpleEsp32_NimBLE.h * @author Volodymyr Shymanskyy * @license This project is released under the MIT License (MIT) * @copyright Copyright (c) 2015 Volodymyr Shymanskyy * @date Nov 2017 * @brief * */ #ifndef BlynkSimpleEsp32_NimBLE_h #define BlynkSimpleEsp32_NimBLE_h #ifnd...
16,021
https://github.com/leamiko/Onlinecv/blob/master/database/migrations/2017_11_25_162719_create_students_table.php
Github Open Source
Open Source
MIT
2,017
Onlinecv
leamiko
PHP
Code
103
599
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateStudentsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('students', fun...
1,005
https://github.com/lefarmer/uk_mail/blob/master/spec/soap_service/authentication/endpoint_url_spec.rb
Github Open Source
Open Source
MIT
2,020
uk_mail
lefarmer
Ruby
Code
15
89
require 'spec_helper' require 'shared_examples/soap_service/endpoint_url.rb' describe UKMail::SoapService::Authentication::IUKMAuthenticationService, '#endpoint_url' do let(:service) { UKMail::SoapService::Authentication::IUKMAuthenticationService.new } include_examples "endpoint_url" end
32,088
https://github.com/M2vH/ZippyClippy-Azure-Functions/blob/master/Solution/Mac/DragReceiver.swift
Github Open Source
Open Source
MIT
null
ZippyClippy-Azure-Functions
M2vH
Swift
Code
437
1,456
// // DragReceiver.swift // ZippyClippy // // Created by Robert Horrion on 10/3/19. // Copyright © 2019 Robert Horrion. All rights reserved. // import Cocoa class DragReceiver: NSView { // MARK: - VC Lifecycle override func awakeFromNib() { registerForDraggedTypes([NSPasteboard.PasteboardType.U...
15,624
https://github.com/tcarlsen/the-candidates/blob/master/src/scripts/pages/ritzau/ritzau.coffee
Github Open Source
Open Source
MIT
null
the-candidates
tcarlsen
CoffeeScript
Code
78
265
.controller "RitzauController", ($scope, $rootScope, $http, $timeout, tracker) -> candidates = null offset = 0 $rootScope.order = "name" $rootScope.reverse = false $scope.candidates = [] watch = $scope.$watch "header", (data) -> if data $rootScope.headline = data.ritzau.headline $rootScope...
23,902
https://github.com/HaruMary/taucoinj-ipfs-demo/blob/master/taucoinj-core/src/main/java/org/ethereum/db/RepositoryImpl.java
Github Open Source
Open Source
MIT
2,019
taucoinj-ipfs-demo
HaruMary
Java
Code
1,403
4,991
package org.ethereum.db; import com.fasterxml.jackson.databind.node.JsonNodeFactory; import com.fasterxml.jackson.databind.node.ObjectNode; import org.ethereum.config.SystemProperties; import org.ethereum.core.AccountState; import org.ethereum.core.Block; import org.ethereum.core.Repository; import org.ethereum.dataso...
28,651
https://github.com/mindspore-ai/mindspore/blob/master/tests/mindspore_test_framework/mindspore_test.py
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-proprietary-license, MPL-1.0, OpenSSL, LGPL-3.0-only, LicenseRef-scancode-warranty-disclaimer, BSD-3-Clause-Open-MPI, MIT, MPL-2.0-no-copyleft-exception, NTP, BSD-3-Clause, GPL-1.0-or-later, 0BSD, MPL-2.0, LicenseRef-scancode-free-unknown, AGPL-3.0-only, Libpng, MPL-1.1, IJG, GPL-2.0-onl...
2,023
mindspore
mindspore-ai
Python
Code
393
1,128
# Copyright 2020 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 or agreed to...
21,956
https://github.com/hanlonghxp/bohaotest/blob/master/testadsl.sh
Github Open Source
Open Source
Apache-2.0
null
bohaotest
hanlonghxp
Shell
Code
8
84
#!/bin/sh java -d64 -server -Dadsl-ip=192.168.33.1 -classpath /home/ubuntu203/project/hanlong/boha/:/home/ubuntu203/project/hanlong/boha/adsl-assembly-1.0.0.jar yks.crawler.ADSLTest
27,744
https://github.com/darwindarak/FFTW.jl/blob/master/deps/build.jl
Github Open Source
Open Source
MIT
null
FFTW.jl
darwindarak
Julia
Code
181
595
using LinearAlgebra import Libdl const depsfile = joinpath(@__DIR__, "deps.jl") # If BLAS was compiled with MKL and the user wants MKL-based FFTs, we'll oblige. # In that case, we have to do this little dance to get around having to use BinDeps # for a library that's already linked to Julia. settings = joinpath(first...
4,761
https://github.com/arminsal1/record-app/blob/master/src/core/contactlists/sagas.js
Github Open Source
Open Source
MIT
2,019
record-app
arminsal1
JavaScript
Code
221
635
import { call, fork, takeLatest, put, select } from 'redux-saga/effects' import { push } from 'react-router-redux' import { PEER_CONTACTLIST_ID, ALL_CONTACTLIST_ID } from '@core/constants' import { getApp } from '@core/app' import { fetchContacts, fetchPeers, fetchAllContacts, postContact, deleteContact ...
14,850
https://github.com/V3L35/CoronaWars/blob/master/.import/sprite_082.png-b06c04e15714921d74669a6dec739093.md5
Github Open Source
Open Source
MIT
2,020
CoronaWars
V3L35
null
Spoken
2
58
source_md5="989e2a7e03826b8eb6a2465e0e719acf" dest_md5="5eaef85b4ec1107bea0830da2e5864bf"
45,334
https://github.com/isgasho/conjure-rust-runtime/blob/master/conjure-runtime/src/blocking/request.rs
Github Open Source
Open Source
Apache-2.0
2,021
conjure-rust-runtime
isgasho
Rust
Code
643
1,680
// Copyright 2020 Palantir Technologies, Inc. // // 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...
27,213
https://github.com/venky12131/SmartHotel360-Website/blob/master/Source/SmartHotel360.Website/ClientApp/src/scss/components/_sh-infogrid.scss
Github Open Source
Open Source
MIT
2,022
SmartHotel360-Website
venky12131
SCSS
Code
246
966
@import '../base/variables'; @import '../mixins/site-margins'; .sh-infogrid { $block-padding: 2.75vw; @include site-margins($factor: 1.2); margin: 0 0 5.5rem 0; max-width: 100vw; &-row { display: flex; flex-direction: column; margin-bottom: 4rem; @media screen an...
38,616
https://github.com/eiruba/esp-idf-lib/blob/master/components/hts221/hts221.c
Github Open Source
Open Source
MIT, ISC, BSD-2-Clause, BSD-3-Clause
2,022
esp-idf-lib
eiruba
C
Code
1,258
5,898
/* * Copyright (c) 2021 saasaa <mail@saasaa.xyz> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTH...
43,759
https://github.com/JustinFincher/NodeEditorSwift/blob/master/ShaderNodeEditor/View/NodeValueCustomView.swift
Github Open Source
Open Source
MIT
2,021
NodeEditorSwift
JustinFincher
Swift
Code
35
87
// // NodeValueCustomView.swift // ShaderNodeEditor // // Created by Justin Fincher on 18/3/2019. // Copyright © 2019 ZHENG HAOTIAN. All rights reserved. // import UIKit class NodeValueCustomView: UIView { weak var nodeView : NodeView? }
21,583
https://github.com/satosi-k/formencode/blob/master/formencode/foreach.py
Github Open Source
Open Source
Python-2.0
null
formencode
satosi-k
Python
Code
437
1,111
""" Validator for repeating items. """ from .api import NoDefault, Invalid from .compound import CompoundValidator, from_python __all__ = ['ForEach'] class ForEach(CompoundValidator): """ Use this to apply a validator/converter to each item in a list. For instance:: ForEach(AsInt(), InList([1,...
20,692
https://github.com/rtckit/php-sip/blob/master/src/Header/AuthorizationHeader.php
Github Open Source
Open Source
MIT
2,022
php-sip
rtckit
PHP
Code
23
68
<?php /** * RTCKit\SIP\Header\AuthorizationHeader Class */ declare(strict_types = 1); namespace RTCKit\SIP\Header; /** * Authorization header class */ class AuthorizationHeader extends AbstractAuthHeader { }
29,579
https://github.com/rennis23/appoptics-apm-go/blob/master/v1/ao/client_layer.go
Github Open Source
Open Source
Apache-2.0
2,022
appoptics-apm-go
rennis23
Go
Code
419
909
// Copyright (C) 2016 Librato, Inc. All rights reserved. // AppOptics HTTP instrumentation for Go package ao import ( "context" "github.com/appoptics/appoptics-apm-go/v1/ao/internal/reporter" ) // BeginQuerySpan returns a Span that reports metadata used by AppOptics to filter // query latency heatmaps and charts ...
16,005
https://github.com/wvanderp/TIRDES01_0819509_0901653_0895833_0898649/blob/master/ourGame/ourGame/CursorKeyboardInputController.cs
Github Open Source
Open Source
MIT
2,015
TIRDES01_0819509_0901653_0895833_0898649
wvanderp
C#
Code
91
338
using System; using Microsoft.Xna.Framework.Input; namespace ourGame { class CursorKeyboardInputController : GameInput { KeyboardState state; override public void Update() { state = Keyboard.GetState(); } override public RotationState CurrentRotationState { get { if (state.IsKeyDown(Keys.Left) &...
39,924
https://github.com/maxdow/dataprep/blob/master/src/actions/index.js
Github Open Source
Open Source
MIT
null
dataprep
maxdow
JavaScript
Code
127
288
// TODO // factor this // element could be object (wp , fpl ...) // item could be data from this element export const selectElementAction = (data) => { return { type: "SELECT_ELM", data // {elmtype} } } export const changeView = (data) => { return { type: "CHANGE_VIEW", data // {coords} } } ...
38,781