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/L00144438/Mock-Application/blob/master/BuildTools/Order Entry/AppSrc/Vendor.sl | Github Open Source | Open Source | MIT | null | Mock-Application | L00144438 | null | Spoken | 201 | 542 | Use DFClient.pkg
Use Windows.pkg
Use cDbCJGridPromptList.pkg
Use cVendorDataDictionary.dd
Cd_Popup_Object Vendor_sl is a dbModalPanel
Set Label to "Vendor List"
Set Size to 132 238
Set Location to 4 5
Set piMinSize to 132 238
Object oVendorDataDictionary is a cVendorDataDictionary
End_Obj... | 50,836 |
https://github.com/uhayat/corto/blob/master/test/store/src/ValueCast.c | Github Open Source | Open Source | MIT | 2,021 | corto | uhayat | C | Code | 1,949 | 8,879 | /* This is a managed file. Do not delete this comment. */
#include <include/test.h>
void test_ValueCast_tc_castBinaryBool(
test_ValueCast this)
{
corto_word w = 10;
corto_value left = corto_value_ptr(&w, corto_word_o);
corto_value out = corto_value_ptr(NULL, NULL);
corto_int16 ret = corto_value_c... | 10,463 |
https://github.com/kss39/AssessmentModel-KotlinNative/blob/master/iosApp/iosApp/SceneDelegate.swift | Github Open Source | Open Source | Apache-2.0 | null | AssessmentModel-KotlinNative | kss39 | Swift | Code | 601 | 1,020 | //
// SceneDelegate.swift
// iosApp
//
// Copyright © 2019 Sage Bionetworks. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copy... | 37,868 |
https://github.com/losuarezburgoa/buzyPlus/blob/master/terzaghiCorrToolBox/expandtrdplginterval.m | Github Open Source | Open Source | BSD-2-Clause | 2,019 | buzyPlus | losuarezburgoa | null | Spoken | 487 | 1,286 | ## Copyright (C) 2018 Ludger O. Suarez-Burgoa
## -*- texinfo -*-
## @deftypefn {} {@var{expandedIntValArray} =} expandtrdplginterval (@var{intValArray}, @var{intValSense})
## Example 1:
## Given an interval (of two parts) in that begins in the East with 70 in plunge
## and ends in the West with 10 in plunge, i.e. int... | 40,887 |
https://github.com/branham-player/indexer/blob/master/.gitignore | Github Open Source | Open Source | MIT | 2,019 | indexer | branham-player | Ignore List | Code | 4 | 20 | node_modules/
condensed.json
full.json
months.json
| 1,368 |
https://github.com/Rockingmai/snips-action-weather/blob/master/src/utils/index.ts | Github Open Source | Open Source | MIT | null | snips-action-weather | Rockingmai | TypeScript | Code | 32 | 58 | export * from './camelize'
export * from './logger'
export * from './message'
export * from './translation'
export * from './string'
export * from './time'
export * from './weather'
export * from './location' | 45,129 |
https://github.com/JacobsonMT/baseCode/blob/master/src/ubic/basecode/util/RegressionTesting.java | Github Open Source | Open Source | Apache-2.0 | 2,017 | baseCode | JacobsonMT | Java | Code | 1,344 | 2,776 | /*
* The baseCode project
*
* Copyright (c) 2006 University of British Columbia
*
* 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... | 36,600 |
https://github.com/xmlking/gulp-ng-recipes/blob/master/gulp/tslint.ts | Github Open Source | Open Source | MIT | 2,016 | gulp-ng-recipes | xmlking | TypeScript | Code | 65 | 222 | import * as gulp from 'gulp';
import * as tslint from 'gulp-tslint';
import * as iff from 'gulp-if';
import * as cached from 'gulp-cached';
import bs from './server';
import * as config from 'config';
let src = config.get<string>('scripts.src');
gulp.task('tslint', () => {
bs.notify('This message will only la... | 20,974 |
https://github.com/vatt849/LibMinecraft/blob/master/LibMinecraft/Model/Items/SignPostItem.cs | Github Open Source | Open Source | MIT | 2,021 | LibMinecraft | vatt849 | C# | Code | 87 | 262 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LibMinecraft.Model.Blocks;
using LibMinecraft.Model.Entities;
namespace LibMinecraft.Model.Items
{
public class SignPostItem : Item
{
public override short ItemID
{
get { return 323; }
... | 1,531 |
https://github.com/callumhutchy/java-runtime-decompiler/blob/master/runtime-decompiler/src/main/java/org/jrd/backend/communication/JrdAgent.java | Github Open Source | Open Source | BSD-3-Clause | null | java-runtime-decompiler | callumhutchy | Java | Code | 12 | 35 | package org.jrd.backend.communication;
public interface JrdAgent {
public String submitRequest(final String request);
}
| 9,097 |
https://github.com/jammi/rsnc/blob/master/support/lib/build/file_text.js | Github Open Source | Open Source | MIT | 2,023 | rsnc | jammi | JavaScript | Code | 65 | 225 | const {readFileSync} = require('fs');
const pathSetup = require('path_setup');
const textTemplate = readFileSync(
pathSetup.relativeToRoot(
'support/lib/build/templates/file_text_template.js'
)).toString('utf8');
const parseText = bundle => {
const stringifiedText = JSON.stringify(
bundle.data.toString('... | 49,481 |
https://github.com/tekezo/onikiri2/blob/master/benchmark/SPECCPU2017_INT_SPEED/verify/clean_631.deepsjeng_s-test.sh | Github Open Source | Open Source | Zlib, LicenseRef-scancode-unknown-license-reference | 2,019 | onikiri2 | tekezo | Shell | Code | 7 | 50 | echo rm -f ../run/631.deepsjeng_s/test/input/test.out
rm -f ../run/631.deepsjeng_s/test/input/test.out
| 52,568 |
https://github.com/hapekituarangi/saddle-up/blob/master/seeds/seedProducts.js | Github Open Source | Open Source | MIT | 2,016 | saddle-up | hapekituarangi | JavaScript | Code | 232 | 692 |
exports.seed = function(knex, Promise) {
return Promise.join(
// Deletes ALL existing entries
knex('products').del(),
// Inserts seed entries
knex('products').insert({
name: 'Optimus Prime',
price: 80000.00,
url: 'http://tfwiki.net/mediawiki/images2/thumb/3/37/Optimusg1.jpg/350px-O... | 49,881 |
https://github.com/lefflo/shopster/blob/master/controllers/ProductController.js | Github Open Source | Open Source | MIT | 2,021 | shopster | lefflo | JavaScript | Code | 256 | 840 | const Product = require("../models/ProductModel");
exports.add = (req, res) => {
if (req.isAuthenticated()) {
const product = new Product(req.body);
const sendDatas = product.create();
if (sendDatas) {
res.redirect("/products/add");
} else {
res.send("Error");
}
} else {
res.sta... | 7,912 |
https://github.com/shunohishi/L96/blob/master/sub_setting_kfcc.f90 | Github Open Source | Open Source | MIT | 2,023 | L96 | shunohishi | Fortran Free Form | Code | 69 | 287 | !------------------------------------------------------------------
! Make parameter "a"
!------------------------------------------------------------------
!
! eo_cor=a*ef+eo_orig
!
! eo_cor(orig): correlated (original) observation error
! ef: forecast error
!
!---------------------------------------------------... | 9,394 |
https://github.com/JaldinProgrammer/VeterinariaProject/blob/master/app/Models/treatment.php | Github Open Source | Open Source | MIT | 2,021 | VeterinariaProject | JaldinProgrammer | PHP | Code | 53 | 214 | <?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class treatment extends Model
{
use HasFactory;
protected $fillable = [
'diagnostic',
'initdate',
'enddate',
'pet_id',
'visit',
'price... | 31,372 |
https://github.com/Groogy/boleite/blob/master/src/boleite/graphics/text/formatter.cr | Github Open Source | Open Source | Zlib | 2,021 | boleite | Groogy | Crystal | Code | 42 | 113 | class Boleite::Text
class Formatter
@rules = [] of FormatRule
def add(rule, color) : self
@rules << FormatRule.new rule, color
self
end
def format(text, default) : Array(Colorf)
colors = Array.new text.size, default
@rules.each do |rule|
rule.apply_rule text, colors
... | 8,560 |
https://github.com/singlag888/lacode/blob/master/app/Http/Controllers/HomeController.php | Github Open Source | Open Source | MIT | 2,019 | lacode | singlag888 | PHP | Code | 38 | 153 | <?php
namespace App\Http\Controllers;
use App\Models\Notice;
use App\Repositories\MemberRepository;
use Illuminate\Http\Request;
use App\Libs\Merchant\Models\MerchantGame;
use App\Libs\Merchant\Models\MerchantRelation;
class HomeController extends Controller
{
//
public function index()
{
return v... | 34,303 |
https://github.com/okteto/okteto/blob/master/pkg/cmd/build/errors_test.go | Github Open Source | Open Source | Apache-2.0 | 2,023 | okteto | okteto | Go | Code | 640 | 1,852 | package build
import (
"fmt"
"testing"
"errors"
oktetoErrors "github.com/okteto/okteto/pkg/errors"
"github.com/stretchr/testify/assert"
)
func Test_getErrorMessage(t *testing.T) {
imageTag := "example/image:latest"
tests := []struct {
name string
err error
tag string
expected error
}{... | 50,825 |
https://github.com/narrowdesign/p5ycho/blob/master/smokerings/sketch.js | Github Open Source | Open Source | MIT | 2,022 | p5ycho | narrowdesign | JavaScript | Code | 152 | 481 | let sketch = function(p) {
let ox = p.random(10000);
let oy = p.random(10000);
let oz = p.random(10000);
p.setup = function(){
p.createCanvas(800, 800);
p.strokeWeight(2);
p.stroke(0,30);
p.smooth();
p.noFill();
}
p.draw = function() {
p.clear();
p.translate(p.width / 2, ... | 19,565 |
https://github.com/we11cheng/CustomCategory/blob/master/KSDatePicker/KSDatePicker.h | Github Open Source | Open Source | MIT | 2,018 | CustomCategory | we11cheng | Objective-C | Code | 41 | 137 | //
// KSDatePicker.h
// Bespeak
//
// Created by kong on 16/3/4.
// Copyright © 2016年 孔. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "KSDatePickerAppearance.h"
@interface KSDatePicker : UIView
@property (nonatomic, strong, readonly)KSDatePickerAppearance* appearance;
- (void)reloadAppearance;
- (vo... | 15,630 |
https://github.com/SjonHortensius/pfsense/blob/master/src/usr/local/captiveportal/radius_authentication.inc | Github Open Source | Open Source | BSD-2-Clause | 2,016 | pfsense | SjonHortensius | PHP | Code | 713 | 2,050 | <?php
/* vim: set expandtab tabstop=4 shiftwidth=4: */
/*
Copyright (c) 2006, Jonathan De Graeve <jonathan.de.graeve@imelda.be>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1.... | 35,556 |
https://github.com/hlz2516/Heyday-Website/blob/master/Heyday-Website/ViewModels/LoginDto.cs | Github Open Source | Open Source | Apache-2.0 | 2,021 | Heyday-Website | hlz2516 | C# | Code | 50 | 216 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace Heyday_Website.ViewModels
{
public class LoginDto
{
[Display(Name ="邮箱地址")]
[EmailAddress(ErrorMessage ="邮箱格式不正确")]
public string Emai... | 42,343 |
https://github.com/lazyoft/ninjagoat/blob/master/scripts/registry/IViewModelRegistry.ts | Github Open Source | Open Source | Apache-2.0 | 2,016 | ninjagoat | lazyoft | TypeScript | Code | 72 | 269 | import RegistryEntry from "./RegistryEntry";
import AreaRegistry from "./AreaRegistry";
import IViewModel from "../viewmodels/IViewModel";
import ViewModelContext from "../registry/ViewModelContext";
import {INewable} from "inversify";
import * as Rx from "rx";
interface IViewModelRegistry {
master<T>(construct: I... | 28,885 |
https://github.com/danja/angular-rdf/blob/master/public/data/sheldon.ttl | Github Open Source | Open Source | Apache-2.0 | null | angular-rdf | danja | Turtle | Code | 83 | 746 |
<http://localhost:8080/data/person/sheldon-cooper> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Person> .
<http://localhost:8080/data/person/sheldon-cooper> <http://schema.org/additionalName> "Lee" .
<http://localhost:8080/data/person/sheldon-cooper> <http://schema.org/address> _:b4 .
<http://l... | 36,059 |
https://github.com/SAP/fosstars-rating-core/blob/master/src/main/java/com/sap/oss/phosphor/fosstars/model/value/PackageManager.java | Github Open Source | Open Source | Apache-2.0 | 2,023 | fosstars-rating-core | SAP | Java | Code | 25 | 88 | package com.sap.oss.phosphor.fosstars.model.value;
/**
* The enum contains package managers.
*/
public enum PackageManager {
MAVEN, GRADLE,
NPM, YARN, DOTNET, PIP, RUBYGEMS, COMPOSER, GOMODULES,
OTHER
}
| 12,130 |
https://github.com/monciego/TypeScript/blob/master/tests/cases/fourslash/getJavaScriptSyntacticDiagnostics18.ts | Github Open Source | Open Source | Apache-2.0 | 2,019 | TypeScript | monciego | TypeScript | Code | 49 | 109 | /// <reference path="fourslash.ts" />
// @allowJs: true
// @Filename: a.js
////class C {
//// x; // Regular property declaration allowed
//// static y; // static allowed
//// public z; // public not allowed
////}
// @Filename: b.js
////class C {
//// x: number; // Types not allowed
////}
verify.baselineS... | 17,959 |
https://github.com/jukanntenn/Cpp-Primer-Plus-6th-exercises/blob/master/Chapter6/Exercise7/main.cpp | Github Open Source | Open Source | MIT | 2,022 | Cpp-Primer-Plus-6th-exercises | jukanntenn | C++ | Code | 111 | 277 | #include <iostream>
#include <cctype>
#include <cstring>
int main()
{
using namespace std;
cout << "Enter words (q to quit):\n";
char word[20];
int vowels = 0;
int consonants = 0;
int others = 0;
cin >> word;
while (strlen(word) != 1 || word[0] != 'q')
{
if (isalpha(word[0... | 13,777 |
https://github.com/marco-c/gecko-dev-wordified/blob/master/third_party/libwebrtc/modules/video_coding/codecs/interface/libvpx_interface.cc | Github Open Source | Open Source | BSD-3-Clause, LicenseRef-scancode-unknown-license-reference | 2,023 | gecko-dev-wordified | marco-c | C++ | Code | 1,831 | 6,778 | /
*
*
Copyright
(
c
)
2018
The
WebRTC
project
authors
.
All
Rights
Reserved
.
*
*
Use
of
this
source
code
is
governed
by
a
BSD
-
style
license
*
that
can
be
found
in
the
LICENSE
file
in
the
root
of
the
source
*
tree
.
An
additional
intellectual
property
rights
grant
can
be
found
*
in
the
file
PATENTS
.
All
contributing... | 38,650 |
https://github.com/vbursucianu/liquid-dsp/blob/master/src/equalization/tests/eqrls_rrrf_autotest.c | Github Open Source | Open Source | MIT | 2,019 | liquid-dsp | vbursucianu | C | Code | 433 | 1,168 | /*
* Copyright (c) 2007 - 2015 Joseph Gaeddert
*
* 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, mer... | 28,950 |
https://github.com/prismaposaddkomputer/prisma-pos/blob/master/application/modules/par_report_income_user/views/report_annual.php | Github Open Source | Open Source | MIT | 2,019 | prisma-pos | prismaposaddkomputer | PHP | Code | 126 | 814 | <div class="content-header">
<a class="btn btn-success pull-right" target="_blank" href="<?=base_url()?>par_report_income_user/report_annual_pdf/<?=$year?>/<?=$user_id?>"><i class="fa fa-file-pdf-o"></i> Download PDF</a>
<h4><i class="fa fa-<?=$access->module_icon?>"></i> <?=$title?></h4>
</div>
<div class="content... | 39,663 |
https://github.com/BrianMcGough/IUMediaHelperApps/blob/master/Packager.Test/Models/FileModels/FileModelTests.cs | Github Open Source | Open Source | Apache-2.0 | 2,019 | IUMediaHelperApps | BrianMcGough | C# | Code | 461 | 2,312 | using Common.Models;
using NUnit.Framework;
using Packager.Models.FileModels;
namespace Packager.Test.Models.FileModelTests
{
[TestFixture]
public abstract class AbstractObjectFileModelTests
{
private IFileUsage ExpectedFileUsage { get; set; }
private string ExpectedExtension { get; set; }... | 38,463 |
https://github.com/dagronf/DSFPagerControl/blob/master/Sources/DSFPagerControl/private/theme/DSFThemeManager+ChangeDetector.swift | Github Open Source | Open Source | MIT | 2,021 | DSFPagerControl | dagronf | Swift | Code | 150 | 454 | //
// DSFThemeChangeDetector.swift
//
// Created by Darren Ford on 21/6/21.
//
// let themeCapture = DSFThemeManager.ChangeDetector()
//
// themeCapture.themeChangeCallback = { [weak self] theme, change in
// self?.doSomething(theme)
// }
#if os(macOS)
import AppKit
extension DSFThemeManager {
/// Det... | 16,097 |
https://github.com/hyperledger/aries-cloudagent-python/blob/master/aries_cloudagent/vc/ld_proofs/crypto/key_pair.py | Github Open Source | Open Source | LicenseRef-scancode-dco-1.1, Apache-2.0 | 2,023 | aries-cloudagent-python | hyperledger | Python | Code | 119 | 284 | """Base key pair class."""
from abc import ABC, abstractmethod, abstractproperty
from typing import List, Optional, Union
class KeyPair(ABC):
"""Base key pair class."""
@abstractmethod
async def sign(self, message: Union[List[bytes], bytes]) -> bytes:
"""Sign message(s) using key pair."""
@... | 29,236 |
https://github.com/mgeekin/numerical_utils/blob/master/vectorized_meshgrid/dom2grid.m | Github Open Source | Open Source | BSD-2-Clause | 2,013 | numerical_utils | mgeekin | MATLAB | Code | 61 | 160 | function [X, Y, Z] = dom2grid(domain, resolution)
% shorthand for domain2meshgrid
%
% For details see domain2meshgrid
%
%about
%-----
% 2013.05.14 (c) Ioannis Filippidis
% See also domain2meshgrid.
switch nargout
case {0, 1}
X = domain2meshgrid(domain, resolution);
case 2
[X, Y] = domain2meshgr... | 49,244 |
https://github.com/KimJoochan/sungul/blob/master/application/controllers/Action.php | Github Open Source | Open Source | MIT | null | sungul | KimJoochan | PHP | Code | 1,004 | 4,438 | <?php
defined('BASEPATH') or exit('No direct script access allowed');
class Action extends CI_Controller
{
function __construct()
{
parent::__construct();
$this->load->model('login_model');
$this->load->model('organi_model');
$this->load->model('scholar_model');
$this->load->model('schedule_model');
$thi... | 36,733 |
https://github.com/talbotp/mass-spect-knime/blob/master/msk_dev/src/msk/node/viz/clusterViewer/ClusterViewerNodeFactory.java | Github Open Source | Open Source | MIT | null | mass-spect-knime | talbotp | Java | Code | 105 | 352 | package msk.node.viz.clusterViewer;
import org.knime.core.node.NodeDialogPane;
import org.knime.core.node.NodeFactory;
import org.knime.core.node.NodeView;
/**
* <code>NodeFactory</code> for the "ClusterViewer" Node.
* Node used to visualize clusters in KNIME.
*
* @author Andrew P Talbot
*/
public class ClusterV... | 52,264 |
https://github.com/licetus/shirong-admin/blob/master/src/views/loans/index.vue | Github Open Source | Open Source | MIT | null | shirong-admin | licetus | Vue | Code | 531 | 2,322 | <template>
<section>
<Card class="table-card">
<Row class="margin-bottom-20" type="flex" justify="space-between">
<Col>
<Button type="primary" @click="onClickNewLoan">新增贷款</Button>
</Col>
<Col>
<Row type="flex">
<Col>
<Input v-model="search.val" placeholder="请输入搜索内容..." @on-ente... | 7,356 |
https://github.com/artemious7/ObservableComputations/blob/master/src/ObservableComputations.Test/GroupingTests.cs | Github Open Source | Open Source | MIT | 2,022 | ObservableComputations | artemious7 | C# | Code | 705 | 2,521 | // Copyright (c) 2019-2021 Buchelnikov Igor Vladimirovich. All rights reserved
// Buchelnikov Igor Vladimirovich licenses this file to you under the MIT license.
// The LICENSE file is located at https://github.com/IgorBuchelnikov/ObservableComputations/blob/master/LICENSE
using System;
using System.Collections.Gener... | 46,293 |
https://github.com/king/tratt-api/blob/master/src/main/java/com/king/tratt/Operator.java | Github Open Source | Open Source | Apache-2.0 | 2,019 | tratt-api | king | Java | Code | 422 | 1,094 | // (C) king.com Ltd 2016
// https://github.com/king/tratt-api
// License: Apache 2.0, https://raw.github.com/king/PROJECT/LICENSE-APACHE
package com.king.tratt;
class Operator {
public enum Type {
PRE, MIDDLE, GROUPING_START, GROUPING_END, ARRAY_START, ARRAY_END, ARRAY_DELIMITER, STRING_SIGN, FUNCTION_STA... | 22,008 |
https://github.com/xlogix/leapjs/blob/master/.eslintrc.js | Github Open Source | Open Source | MIT | 2,021 | leapjs | xlogix | JavaScript | Code | 142 | 806 | const path = require('path');
module.exports = {
env: {
node: true,
mocha: true,
},
parser: '@typescript-eslint/parser',
parserOptions: {
project: [
'./packages/access-control/tsconfig.json',
'./packages/common/tsconfig.json',
'./packages/core/tsconfig.json',
'./packages/cru... | 19,636 |
https://github.com/jansesun/billiards-league/blob/master/template/wiki.pug | Github Open Source | Open Source | MIT | 2,017 | billiards-league | jansesun | null | Spoken | 327 | 1,419 | ac:layout-section(ac:type="single")
ac:layout-cell
h1 数据统计
p
span 累计参赛人数 #{totalNum} 累计参赛人数 #{partcipantNum}
ac:structured-macro(ac:macro-id="19fea689-29b1-479f-ab38-1b0dc058e006" ac:name="chart" ac:schema-version="1")
ac:parameter(ac:name="stacked") true
ac:parameter(ac:name="rangeAxisT... | 37,686 |
https://github.com/LuaLS/lua-language-server/blob/master/meta/3rd/love2d/library/love/sound.lua | Github Open Source | Open Source | MIT | 2,023 | lua-language-server | LuaLS | Lua | Code | 767 | 1,769 | ---@meta
---
---This module is responsible for decoding sound files. It can't play the sounds, see love.audio for that.
---
---
---[Open in Browser](https://love2d.org/wiki/love.sound)
---
---@class love.sound
love.sound = {}
---
---Attempts to find a decoder for the encoded sound data in the specified file.
---
---
... | 755 |
https://github.com/ric2b/Vivaldi-browser/blob/master/chromium/chrome/browser/supervised_user/supervised_user_features/supervised_user_features.cc | Github Open Source | Open Source | BSD-3-Clause | 2,022 | Vivaldi-browser | ric2b | C++ | Code | 232 | 766 | // Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/supervised_user/supervised_user_features/supervised_user_features.h"
#include <string>
#include "base/check.h"
#include "base/check_op.h"
#include "ba... | 32,015 |
https://github.com/balajivenkatesh/mattermost-mobile/blob/master/app/actions/views/threads.ts | Github Open Source | Open Source | Apache-2.0 | 2,022 | mattermost-mobile | balajivenkatesh | TypeScript | Code | 79 | 275 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
import {ViewTypes} from '@constants';
export function updateThreadLastViewedAt(threadId: string, lastViewedAt: number) {
return {
type: ViewTypes.THREAD_LAST_VIEWED_AT,
data: {
... | 17,095 |
https://github.com/KieranVieira/e-commerce-mobile/blob/master/src/navigation/Cart/index.tsx | Github Open Source | Open Source | MIT | null | e-commerce-mobile | KieranVieira | TypeScript | Code | 274 | 715 | import React, { useCallback, useMemo } from 'react';
import { useDispatch } from 'react-redux';
import { getCart } from '../../redux/selectors/cart';
import { CartItem } from '../../redux/reducers/cart';
import {
Screen,
ProductsContainer,
CartProduct,
TotalContainer,
TotalTop,
TotalItem,
Checkout
}... | 38,966 |
https://github.com/nariaki3551/cmaplap/blob/master/src/ug_cmaplap/cmapLapParaPackedVectorMpi.cpp | Github Open Source | Open Source | MIT | null | cmaplap | nariaki3551 | C++ | Code | 820 | 2,748 | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* */
/* This file is part of the program and software framework */
/* CMAP-LAP --- Configurable Massively Parallel Solver for Lattice Problems */
... | 6,475 |
https://github.com/Andreas237/AndroidPolicyAutomation/blob/master/ExtractedJars/Health_com.huawei.health/smali_classes8/o/esv$8$1.smali | Github Open Source | Open Source | MIT | 2,019 | AndroidPolicyAutomation | Andreas237 | Smali | Code | 100 | 409 | .class Lo/esv$8$1;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroid/view/View$OnClickListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lo/esv$8;->b(Ljava/lang/Object;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
acce... | 35,739 |
https://github.com/Qi4j/qi4j-libraries/blob/master/constraints/src/main/java/org/qi4j/library/constraints/annotation/MaxLength.java | Github Open Source | Open Source | Apache-2.0 | 2,020 | qi4j-libraries | Qi4j | Java | Code | 26 | 134 | package org.qi4j.library.constraints.annotation;
import org.qi4j.api.constraint.ConstraintDeclaration;
import org.qi4j.api.constraint.Constraints;
import org.qi4j.library.constraints.MaxLengthConstraint;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
@ConstraintDeclaration
@Reten... | 39,471 |
https://github.com/HexedHero/TAB/blob/master/shared/src/main/java/me/neznamy/tab/shared/command/WidthCommand.java | Github Open Source | Open Source | Apache-2.0 | null | TAB | HexedHero | Java | Code | 713 | 2,047 | package me.neznamy.tab.shared.command;
import me.neznamy.tab.api.TabPlayer;
import me.neznamy.tab.api.chat.EnumChatFormat;
import me.neznamy.tab.api.chat.IChatBaseComponent;
import me.neznamy.tab.shared.TAB;
import me.neznamy.tab.shared.TabConstants;
import java.util.ArrayList;
import java.util.Arrays;
import java.ut... | 30,434 |
https://github.com/yelenagotraining/JavaAutomationFrameworkNoModules/blob/master/src/test/java/com/framework/MyFirstUITestRefactored.java | Github Open Source | Open Source | MIT | 2,020 | JavaAutomationFrameworkNoModules | yelenagotraining | Java | Code | 153 | 794 | package com.framework;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.chrome.ChromeOptions;
import java.ut... | 25,841 |
https://github.com/wangjiegulu/MVPArchitecture/blob/master/app/src/main/java/com/wangjie/mvparchitecture/base/BaseFrameLayout.java | Github Open Source | Open Source | Apache-2.0 | 2,019 | MVPArchitecture | wangjiegulu | Java | Code | 193 | 823 | package com.wangjie.mvparchitecture.base;
import android.annotation.TargetApi;
import android.content.Context;
import android.os.Build;
import android.util.AttributeSet;
import android.widget.FrameLayout;
import com.wangjiegulu.mvparchitecture.library.contract.OnViewerDestroyListener;
import com.wangjiegulu.mvparchit... | 22,879 |
https://github.com/foss2cyber/Incident-Playbook/blob/master/Incident-Response/Tools/cyphon/cyphon/sifter/datasifter/datacondensers/models.py | Github Open Source | Open Source | LicenseRef-scancode-proprietary-license, GPL-3.0-only, LicenseRef-scancode-unknown-license-reference, GPL-1.0-or-later, LicenseRef-scancode-warranty-disclaimer, LicenseRef-scancode-other-copyleft, MIT | 2,021 | Incident-Playbook | foss2cyber | Python | Code | 253 | 562 | # -*- coding: utf-8 -*-
# Copyright 2017-2019 ControlScan, Inc.
#
# This file is part of Cyphon Engine.
#
# Cyphon Engine is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, version 3 of the License.
#
# Cyphon En... | 43,589 |
https://github.com/jmegonzalez/royale-asjs/blob/master/frameworks/projects/Core/src/main/royale/org/apache/royale/utils/net/IDynamicPropertyWriter.as | Github Open Source | Open Source | ECL-2.0, Apache-2.0 | 2,022 | royale-asjs | jmegonzalez | null | Spoken | 336 | 605 | ////////////////////////////////////////////////////////////////////////////////
//
// 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 license... | 4,502 |
https://github.com/bgoonz/UsefulResourceRepo2.0/blob/master/_REPO/MICROSOFT/react-native-windows/packages/sample-apps/windows/SampleLibraryCPP/CircleViewManagerCPP.cpp | Github Open Source | Open Source | MIT | 2,022 | UsefulResourceRepo2.0 | bgoonz | C++ | Code | 157 | 589 | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#include "pch.h"
#include "CircleViewManagerCpp.h"
using namespace winrt;
using namespace Microsoft::ReactNative;
using namespace Windows::Foundation;
using namespace Windows::Foundation::Collections;
using namespace Windows::UI::Xaml;
using... | 7,874 |
https://github.com/Muril0Barbosa/Mini-Desafios/blob/master/Desafio 1/vuetodolist/src/App.vue | Github Open Source | Open Source | MIT | null | Mini-Desafios | Muril0Barbosa | Vue | Code | 41 | 129 | <template>
<div id="app">
<router-view/>
</div>
</template>
<script>
import Todo from './components/Todo'
import Login from './components/Login'
export default {
name: 'app',
components:{
Login
},
data () {
return {
msg: 'Welcome to Your Vue.js App'
}
}
}
</script>
<style lang="s... | 44,112 |
https://github.com/strigazi/athena/blob/master/Control/AthenaKernel/src/StorableConversions.cxx | Github Open Source | Open Source | Apache-2.0 | 2,020 | athena | strigazi | C++ | Code | 268 | 558 | /*
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
*/
/** @file AthenaKernel/src/StorableConversions.cxx
* @brief convert to and from a SG storable
* $Id: StorableConversions.cxx,v 1.2 2008-04-08 16:05:32 ssnyder Exp $
* @author ATLAS Collaboration
**/
#include "AthenaKernel/StorableCon... | 28,205 |
https://github.com/harbur/www.kubernetic.com/blob/master/components/Footer.tsx | Github Open Source | Open Source | MIT | null | www.kubernetic.com | harbur | TypeScript | Code | 61 | 235 | import React from "react"
import { HeartIcon } from "./Icons"
export default function Footer() {
return (
<div className="border-t border-gray-300 border-dashed p-8 pb-6 md:pb-10">
<div className="text-center italic text-xs text-gray-700">
<div className="inline-flex">© <a rel="noopener" targe... | 5,309 |
https://github.com/BraveJa/linphone-android/blob/master/app/src/main/java/org/linphone/PhoneStateChangedReceiver.java | Github Open Source | Open Source | Apache-2.0 | 2,019 | linphone-android | BraveJa | Java | Code | 185 | 464 | package org.linphone;
/*
PhoneStateReceiver.java
Copyright (C) 2017 Belledonne Communications, Grenoble, France
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (... | 42,071 |
https://github.com/fengjixuchui/rdpfuzz/blob/master/rdpfuzz-winafl/cmake-3.16.0/Modules/Compiler/GNU-OBJC.cmake | Github Open Source | Open Source | Apache-2.0, BSD-3-Clause, LicenseRef-scancode-unknown-license-reference | 2,021 | rdpfuzz | fengjixuchui | CMake | Code | 9 | 89 | include(Compiler/GNU)
__compiler_gnu(OBJC)
if(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.2)
set(CMAKE_CXX_COMPILE_OPTIONS_VISIBILITY_INLINES_HIDDEN "-fvisibility-inlines-hidden")
endif()
| 21,312 |
https://github.com/eluinstra/serialport-parser-msp-v2/blob/master/src/MspParser.ts | Github Open Source | Open Source | MIT | null | serialport-parser-msp-v2 | eluinstra | TypeScript | Code | 245 | 1,123 | import { crc8_dvb_s2 } from "./Msp"
export enum MspState {
MSP_IDLE,
MSP_HEADER_START,
MSP_HEADER_X,
MSP_HEADER_V2_NATIVE,
MSP_PAYLOAD_V2_NATIVE,
MSP_CHECKSUM_V2_NATIVE,
MSP_COMMAND_RECEIVED,
MSP_ERROR_RECEIVED
}
export interface MspMsgState {
state: MspState,
flag: number,
cmd: number,
length... | 16,688 |
https://github.com/kabochya/orion/blob/master/orion-server/src/main/java/com/pinterest/orion/core/actions/kafka/PreferredLeaderElectionAction.java | Github Open Source | Open Source | Apache-2.0 | 2,022 | orion | kabochya | Java | Code | 184 | 562 | /*******************************************************************************
* Copyright 2020 Pinterest, 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.apac... | 27,198 |
https://github.com/Bfindlay/espresso-paste/blob/master/node_modules/rethinkdbdash/test/tls.js | Github Open Source | Open Source | MIT | 2,016 | espresso-paste | Bfindlay | JavaScript | Code | 337 | 1,094 | var config = require('./config.js');
var clientConfig = JSON.parse(JSON.stringify(config)); // clone object
clientConfig.port = 10000 + Math.floor(Math.random()*1000);
clientConfig.ssl = true;
var tls = require('tls');
var net = require('net');
var fs = require('fs');
var path = require('path');
var tlsOpts = {
// S... | 5,245 |
https://github.com/microsoftgraph/msgraph-beta-sdk-dotnet/blob/master/src/Microsoft.Graph/Generated/RoleManagement/Exchange/ResourceNamespaces/Item/ResourceActions/Item/ResourceScope/ResourceScopeRequestBuilder.cs | Github Open Source | Open Source | MIT | 2,023 | msgraph-beta-sdk-dotnet | microsoftgraph | C# | Code | 990 | 3,138 | // <auto-generated/>
using Microsoft.Graph.Beta.Models.ODataErrors;
using Microsoft.Graph.Beta.Models;
using Microsoft.Kiota.Abstractions.Serialization;
using Microsoft.Kiota.Abstractions;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Threading;
using S... | 6,054 |
https://github.com/congnx172440/btl_nhung/blob/master/resources/views/quanly/chamcong/SuaChamCong.blade.php | Github Open Source | Open Source | MIT | null | btl_nhung | congnx172440 | PHP | Code | 145 | 790 | @extends('quanly.layout.Index')
@section('content')
<div class="col-sm-4">
<a href="quanly/chamcong/chon/{{$taikhoan->id_cong_ty}}">
<button type="button" class="btn btn-info add-new">Quay lại</button>
</a>
</div>
<div class="text-center">
<h1 class="h4 text-gray-900 mb-4... | 39,965 |
https://github.com/Refugee-Stories-BW-PTCT/front-end/blob/master/client/src/component/stories/StoryList.js | Github Open Source | Open Source | MIT | null | front-end | Refugee-Stories-BW-PTCT | JavaScript | Code | 279 | 969 | import React, { useState, useEffect } from "react";
import { fetchStoriesData } from "../../actions/fetchStories";
import { useSelector, useDispatch } from "react-redux";
import Story from "./Story";
import styled from "styled-components";
import { Grid } from "@material-ui/core";
import { api } from "../../utils/api"... | 36,559 |
https://github.com/bangyen/dashboard/blob/master/example/website-recreation/src/Navigation.tsx | Github Open Source | Open Source | MIT | null | dashboard | bangyen | TypeScript | Code | 39 | 169 | import { Navbar, Alignment, Button } from "@blueprintjs/core";
function Navigation(){
return(
<Navbar className="bp3-dark">
<Navbar.Group align={Alignment.LEFT}>
<Navbar.Heading>FemtoNet</Navbar.Heading>
<Button className="bp3-minimal" text="Home"/>
... | 19,394 |
https://github.com/chenyuhan1/Learning_record/blob/master/js/closure/demo.js | Github Open Source | Open Source | Apache-2.0 | null | Learning_record | chenyuhan1 | JavaScript | Code | 76 | 311 | var data = [];
for(var i = 0; i < 3; i++) {
data[i] = (function(i) {
return function() {
console.log(i)
}
})(i)
}
for(var i = 0; i < 5; i++){
setTimeout((function(i){
return function(){
console.log(i)
}
})(i), 1000)
}
// (function(){})()在里面的函数将会立即执行, 当需要赋值的时候使用函数然后返回一个需要的东来使用闭包
le... | 37,392 |
https://github.com/joshwingreene/project-p0/blob/master/PizzaWorld.Domain/Abstracts/AEntity.cs | Github Open Source | Open Source | MIT | 2,021 | project-p0 | joshwingreene | C# | Code | 40 | 85 | using System;
namespace PizzaWorld.Domain.Abstracts
{
public abstract class AEntity
{
public long EntityId { get; set; }
protected AEntity()
{
//EntityId = DateTime.Now.Ticks; // commented out bc sql has a way of creating unique IDs by default
}
}
} | 11,931 |
https://github.com/michelzanini/appglu-androidsdk/blob/master/appglu-android-sdk/src/main/java/com/appglu/android/UserApi.java | Github Open Source | Open Source | Apache-2.0 | 2,013 | appglu-androidsdk | michelzanini | Java | Code | 336 | 1,061 | /*******************************************************************************
* Copyright 2013 AppGlu, 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... | 21,845 |
https://github.com/ydc201211/adminUI/blob/master/base/plugins/ext6/KitchenSink/view/grid/CustomerGrid.js | Github Open Source | Open Source | Apache-2.0 | null | adminUI | ydc201211 | JavaScript | Code | 271 | 941 | /**
* This example uses the `Ext.grid.plugin.SubTable` plugin to display associated records
* in tabular form below grid rows. The plugin is configured with an `association` property
* which specifies which associated record collection to display and a `columns` property
* specifying which fields from the associate... | 41,573 |
https://github.com/simejisan/osip-web-app/blob/master/front-end/src/containers/SideNav/index.js | Github Open Source | Open Source | MIT | null | osip-web-app | simejisan | JavaScript | Code | 164 | 635 | import React from 'react';
import {connect} from 'react-redux';
import {withRouter} from 'react-router-dom';
import Drawer from '@material-ui/core/Drawer';
import SidenavContent from './SidenavContent';
import UserInfo from 'components/UserInfo';
import {COLLAPSED_DRAWER, FIXED_DRAWER, HORIZONTAL_NAVIGATION, MINI_DRAWE... | 30,062 |
https://github.com/rajis31/laravel-sandbox/blob/master/app/Mail/TestEmail.php | Github Open Source | Open Source | MIT | null | laravel-sandbox | rajis31 | PHP | Code | 64 | 225 | <?php
namespace App\Mail;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
class TestEmail extends Mailable
{
use Queueable, SerializesModels;
/**
* Create a new message instance.
*
* @return void
... | 20,021 |
https://github.com/andebor/Office365-REST-Python-Client/blob/master/tests/test_outlook_calendar.py | Github Open Source | Open Source | MIT | null | Office365-REST-Python-Client | andebor | Python | Code | 132 | 617 | from tests.outlook_case import OutlookClientTestCase
class TestOutlookCalendar(OutlookClientTestCase):
def test1_create_event(self):
event_payload = {
"Subject": "Discuss the Calendar REST API",
"Body": {
"ContentType": "HTML",
"Content": "I think it... | 27,058 |
https://github.com/rotty3000/remote-component-test/blob/master/packages/redux-essentials-example-app-master/src/index.js | Github Open Source | Open Source | MIT | 2,021 | remote-component-test | rotty3000 | JavaScript | Code | 75 | 285 | import React from 'react'
import ReactDOM from 'react-dom'
import styles from './index.css'
import primitiveui from './primitiveui.css'
import App from './App'
import store from './app/store'
import { Provider } from 'react-redux'
class WebComponent extends HTMLElement {
constructor() {
super();
t... | 43,226 |
https://github.com/heiko-braun/wildfly-swarm-1/blob/master/fractions/zipkin-jaxrs/src/main/java/org/wildfly/swarm/jaxrs/btm/ZipkinFraction.java | Github Open Source | Open Source | Apache-2.0 | 2,017 | wildfly-swarm-1 | heiko-braun | Java | Code | 245 | 890 | /**
* Copyright 2015-2016 Red Hat, Inc, and individual 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.org/licenses/LICENSE-2.0
*
* Unless require... | 27,751 |
https://github.com/dooney/Aumum-Android/blob/master/app/src/main/java/com/aumum/app/mobile/events/NewChatMessageEvent.java | Github Open Source | Open Source | Apache-2.0 | null | Aumum-Android | dooney | Java | Code | 15 | 41 | package com.aumum.app.mobile.events;
/**
* Created by Administrator on 7/01/2015.
*/
public class NewChatMessageEvent {
}
| 34,640 |
https://github.com/SAP/fundamental-ngx/blob/master/libs/core/src/lib/toolbar/toolbar.component.scss | Github Open Source | Open Source | Apache-2.0 | 2,023 | fundamental-ngx | SAP | SCSS | Code | 20 | 88 | @import 'fundamental-styles/dist/toolbar';
.fd-toolbar > * {
flex-shrink: 0;
}
fdk-dynamic-portal {
&:not(:last-of-type) {
[fd-toolbar-item] {
margin-bottom: 0.25rem;
}
}
}
| 43,879 |
https://github.com/satanTime/ng-mocks/blob/master/libs/ng-mocks/src/lib/mock-builder/promise/init-module.ts | Github Open Source | Open Source | MIT | 2,023 | ng-mocks | satanTime | TypeScript | Code | 57 | 179 | import { ModuleWithProviders } from '@angular/core';
import { Type } from '../../common/core.types';
import ngMocksUniverse from '../../common/ng-mocks-universe';
import { BuilderData } from './types';
export default (def: Type<any>, defProviders: BuilderData['defProviders']): Type<any> | ModuleWithProviders<any> =>... | 34,308 |
https://github.com/LieonShelly/AlgorithmList/blob/master/BinarySearch.playground/Contents.swift | Github Open Source | Open Source | MIT | null | AlgorithmList | LieonShelly | Swift | Code | 378 | 549 | //: Playground - noun: a place where people can play
import UIKit
var str = "Hello, playground"
/*
The classic way to speed this up is to use a binary search. The trick is to keep splitting the array in half until the value is found.
For an array of size n, the performance is not O(n) as with linear search but o... | 29,212 |
https://github.com/shalousun/smart-doc-maven-plugin/blob/master/src/main/java/com/smartdoc/util/MojoUtils.java | Github Open Source | Open Source | Apache-2.0 | 2,023 | smart-doc-maven-plugin | shalousun | Java | Code | 965 | 3,166 | /*
* smart-doc https://github.com/smart-doc-group/smart-doc
*
* Copyright (C) 2018-2023 smart-doc
*
* 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.... | 36,993 |
https://github.com/atomicfinance/react-native-cfddlc/blob/master/ios/lib/cfdcore/cfdcore_coin.h | Github Open Source | Open Source | MIT | 2,020 | react-native-cfddlc | atomicfinance | C | Code | 368 | 1,003 | // Copyright 2019 CryptoGarage
/**
* @file cfdcore_coin.h
*
* @brief Coin (UTXO) related class definition.
*/
#ifndef CFD_CORE_INCLUDE_CFDCORE_CFDCORE_COIN_H_
#define CFD_CORE_INCLUDE_CFDCORE_CFDCORE_COIN_H_
#include <string>
#include <vector>
#include "cfdcore/cfdcore_bytedata.h"
#include "cfdcore/cfdcore_commo... | 35,636 |
https://github.com/melzareix/met-portfolio/blob/master/app/utils/strings.js | Github Open Source | Open Source | MIT | 2,017 | met-portfolio | melzareix | JavaScript | Code | 223 | 561 | const Strings = {
// General
INVALID_ROUTE: 'Invalid Route, Please check API Documentation for valid routes.',
// Signup Errors
INCOMPLETE_INFORMATION: 'Please fill out all the required information.',
NON_GUC_MAIL: 'Please enter a Valid GUC mail.',
PASSWORD_MISMATCH: 'Password and password conf... | 42,068 |
https://github.com/davidjohnoliver/CodeConnections/blob/master/CodeConnections.Shared/Presentation/OutputLevel.cs | Github Open Source | Open Source | MIT | 2,022 | CodeConnections | davidjohnoliver | C# | Code | 28 | 80 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CodeConnections.Presentation
{
public enum OutputLevel
{
None = 0,
Normal = 10,
Diagnostic = 20
}
}
| 43,108 |
https://github.com/balintfodor/Build3D/blob/master/src/test/multidim_image_platform_test.cpp | Github Open Source | Open Source | MIT | null | Build3D | balintfodor | C++ | Code | 4,320 | 20,416 | #include "catch.hpp"
#include <chrono>
#include <core/multidim_image_platform/MultiDimImage.hpp>
#include <iomanip>
using namespace core::multidim_image_platform;
using namespace std;
SCENARIO("indexing test", "[core/multidim_image_platform]")
{
using namespace core::multidim_image_platform::detail;
REQUIR... | 26,363 |
https://github.com/schaefer007/pubg-dotnet/blob/master/src/pubg-dotnet/Models/Match/PubgTeam.cs | Github Open Source | Open Source | MIT | 2,021 | pubg-dotnet | schaefer007 | C# | Code | 16 | 39 | namespace Pubg.Net
{
public class PubgTeam
{
//TODO: Revisit when docs are more complete
}
}
| 31,019 |
https://github.com/Anthv96A/belts-and-leaders/blob/master/src/components/containers/log-achievement/index.js | Github Open Source | Open Source | Apache-2.0 | 2,020 | belts-and-leaders | Anthv96A | JavaScript | Code | 6 | 16 | export { default } from './log-achievement.component';
| 5,498 |
https://github.com/xushicheng/stb/blob/master/src/platform/telecom/config/index.ts | Github Open Source | Open Source | MIT | 2,019 | stb | xushicheng | TypeScript | Code | 75 | 179 | import { ConfigApi } from "./config.api";
import { ConfigBasic } from "./config.basic";
import { initMain } from "./config.tool";
import { Cookie } from "./cookie";
import { Key } from "./key";
import { Player, PlayerType } from "./player";
import { Authentication } from "./config.join.auth";
import { Order } from "./c... | 29,113 |
https://github.com/xiangxugit/contractimportorexport/blob/master/src/android/QuotedPrintable.java | Github Open Source | Open Source | Apache-2.0 | null | contractimportorexport | xiangxugit | Java | Code | 287 | 736 | package io.ionic.starter;
import java.io.UnsupportedEncodingException;
import android.util.Log;
public class QuotedPrintable {
private static byte HT = 0x09; // \t
private static byte LF = 0x0A; // \n
private static byte CR = 0x0D; // \r
/**
* A method to decode quoted printable ... | 18,152 |
https://github.com/synergynet/synergynet2.1/blob/master/SynergySpace2.1/src_functionaltests/org/ankh/unfall/media/shaders/atmosphere.frag.glsl | Github Open Source | Open Source | BSD-2-Clause | 2,017 | synergynet2.1 | synergynet | GLSL | Code | 267 | 682 | /*
This file is part of jME Planet Demo.
jME Planet Demo is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation.
jME Planet Demo is distributed in the hope that it will be useful,
but WI... | 30,023 |
https://github.com/phobon/synesthetic/blob/master/components/Icons/Play.tsx | Github Open Source | Open Source | MIT | 2,022 | synesthetic | phobon | TypeScript | Code | 63 | 231 | import { Vector, VectorProps } from '~primitives/vector'
export const Play = ({ width, height, ...props }: VectorProps) => (
<Vector width={width} height={height} viewBox='0 0 16 16' {...props}>
<path
fillRule='evenodd'
clipRule='evenodd'
d='M4 5.00133V10.8433C4 11.5912 4.79096 12.0744 5.45641 ... | 1,357 |
https://github.com/isitinschi/sneakerate.com/blob/master/sneakerate/src/main/java/com/sneakerate/web/controller/sneaker/SneakerController.java | Github Open Source | Open Source | Apache-2.0 | null | sneakerate.com | isitinschi | Java | Code | 135 | 610 | package com.sneakerate.web.controller.sneaker;
import com.sneakerate.web.controller.AbstractController;
import com.sneakerate.web.domain.Question;
import com.sneakerate.web.domain.Sneaker;
import com.sneakerate.web.service.feed.FeedService;
import com.sneakerate.web.service.vote.SidebarVoteService;
import org.slf4j.Lo... | 31,009 |
https://github.com/smaakage85/recorder/blob/master/man/compress_detailed_tests.Rd | Github Open Source | Open Source | MIT | 2,019 | recorder | smaakage85 | R | Code | 51 | 142 | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/helper_functions.R
\name{compress_detailed_tests}
\alias{compress_detailed_tests}
\title{Compress Results of Detailed Tests}
\usage{
compress_detailed_tests(dt)
}
\arguments{
\item{dt}{\code{list} results of detailed tests.}
}
\value{
\code{l... | 38,060 |
https://github.com/hmrc/self-assessment-accounts-api/blob/master/test/v2/models/response/retrieveBalanceAndTransactions/FinancialDetailsSpec.scala | Github Open Source | Open Source | Apache-2.0 | 2,023 | self-assessment-accounts-api | hmrc | Scala | Code | 175 | 390 | /*
* Copyright 2023 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... | 44,522 |
https://github.com/gvhung/flashdevelop/blob/master/PluginCore/SharpZipLib/Zip/ZipExtraData.cs | Github Open Source | Open Source | MIT | 2,020 | flashdevelop | gvhung | C# | Code | 3,541 | 8,440 | //
// ZipExtraData.cs
//
// Copyright 2004-2007 John Reilly
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
//... | 46,531 |
https://github.com/tpetricek/datadiff/blob/master/man/sample_cols.Rd | Github Open Source | Open Source | MIT | 2,019 | datadiff | tpetricek | R | Code | 151 | 329 | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sample_cols.R
\name{sample_cols}
\alias{sample_cols}
\title{Choose column indices at random}
\usage{
sample_cols(df, condition = is.numeric, exclude_cols = integer(0),
size = 1)
}
\arguments{
\item{df}{A data frame.}
\item{condition}{A pre... | 14,565 |
https://github.com/carpproject/pencil/blob/master/src/scala/com/arm/carp/frontends/pencil/PencilFrontEnd.scala | Github Open Source | Open Source | MIT | 2,015 | pencil | carpproject | Scala | Code | 401 | 841 | /*
* Copyright (c) 2013-2014, ARM Limited
*
* 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, merge, p... | 28,961 |
https://github.com/googleads/googleads-displayvideo-examples/blob/master/java/v1/src/main/java/com/google/displayvideo/api/samples/CreateInsertionOrder.java | Github Open Source | Open Source | Apache-2.0 | 2,022 | googleads-displayvideo-examples | googleads | Java | Code | 478 | 1,626 | // Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in w... | 51,955 |
https://github.com/chrishajduk84/computer-vision/blob/master/modules/targetanalysis/include/object_list.h | Github Open Source | Open Source | BSD-2-Clause | 2,017 | computer-vision | chrishajduk84 | C++ | Code | 359 | 676 | /*
This file is part of WARG's computer-vision
Copyright (c) 2015, Waterloo Aerial Robotics Group (WARG)
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of so... | 40,466 |
https://github.com/sebastieno/sebastienollivier.fr/blob/master/Blog.Web/Startup.cs | Github Open Source | Open Source | MIT | 2,018 | sebastienollivier.fr | sebastieno | C# | Code | 257 | 1,325 | using System.Collections.Generic;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Blog.Data;
using System.Globalization;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using Blog.Domain.Queries;
using Blog.Dom... | 8,556 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.