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/topfreegames/libpitaya/blob/master/deps/nanopb-0.4.6/tests/regression/issue_547/SConscript
Github Open Source
Open Source
MIT, Zlib
2,023
libpitaya
topfreegames
Python
Code
59
218
# Regression test for issue #547: # Buffer overflow when encoding bytes with size set to 65535 Import("env") env.NanopbProto("test.proto") # Define the compilation options opts = env.Clone() opts.Append(CPPDEFINES = {'PB_FIELD_32BIT': 1}) # Build new version of core strict = opts.Clone() strict.Append(CFLAGS = stri...
13,470
https://github.com/subterraneanflowerblog/webgl2-gpgpu/blob/master/basics/fragment_shader.glsl
Github Open Source
Open Source
Unlicense
2,020
webgl2-gpgpu
subterraneanflowerblog
GLSL
Code
16
42
#version 300 es precision highp float; out vec4 fragmentColor; void main() { fragmentColor = vec4(1.0); }
34,803
https://github.com/adius/browsers/blob/master/Casks/opera16-0-1196-62.rb
Github Open Source
Open Source
MIT
2,015
browsers
adius
Ruby
Code
20
165
cask :v1 => 'opera16-0-1196-62' do version '16.0.1196.62' sha256 'ac920816227c416528698b18830ffa52b7c59e307b76e18236aa9552a97b31f5' url "http://ftp.opera.com/pub/opera/desktop/#{version}/mac/Opera_#{version}_Setup.dmg" name 'Opera' homepage 'http://www.opera.com/docs/changelogs/unified/1600/' license :grat...
3,736
https://github.com/StealthStartupLabs/textusm/blob/master/server/pkg/repository/repository_firestore.go
Github Open Source
Open Source
MIT
2,020
textusm
StealthStartupLabs
Go
Code
192
718
package repository import ( "context" "errors" "cloud.google.com/go/firestore" "github.com/harehare/textusm/pkg/item" uuid "github.com/satori/go.uuid" "google.golang.org/api/iterator" "google.golang.org/grpc" "google.golang.org/grpc/codes" ) type FirestoreRepository struct { client *firestore.Client } func...
4,372
https://github.com/looker/lookerbot/blob/master/src/listeners/data_action_listener.ts
Github Open Source
Open Source
MIT
2,023
lookerbot
looker
TypeScript
Code
270
808
import * as path from "path" import * as _ from "underscore" import config from "../config" import { LookQueryRunner } from "../repliers/look_query_runner" import { ReplyContext } from "../reply_context" import { Listener } from "./listener" const datauri = require("datauri") const slackIcon = new datauri(path.resolve...
24,943
https://github.com/fhornain/patternfly-react-seed_1/blob/master/node_modules/@patternfly/react-icons/dist/umd/icons/solar-panel-icon.js
Github Open Source
Open Source
MIT
null
patternfly-react-seed_1
fhornain
JavaScript
Code
163
748
(function (global, factory) { if (typeof define === "function" && define.amd) { define(["exports", "../createIcon"], factory); } else if (typeof exports !== "undefined") { factory(exports, require("../createIcon")); } else { var mod = { exports: {} }; factory(mod.exports, global.createIc...
42,422
https://github.com/Sealarn/react-native-3d-model-view/blob/master/android/src/main/java/se/bonniernews/rn3d/RN3DViewManager.java
Github Open Source
Open Source
MIT
2,019
react-native-3d-model-view
Sealarn
Java
Code
290
1,231
/** * Created by johankasperi 2018-02-05. */ package se.bonniernews.rn3d; import android.content.Context; import android.support.annotation.Nullable; import android.support.annotation.NonNull; import android.view.ViewGroup; import com.facebook.infer.annotation.Assertions; import com.facebook.react.module.annotatio...
26,946
https://github.com/t36campbell/angular-ecomm/blob/master/src/app/components/products/products.component.ts
Github Open Source
Open Source
MIT
null
angular-ecomm
t36campbell
TypeScript
Code
49
169
import { Component, OnInit } from '@angular/core'; import { FirestoreService } from '../../services/firestore.service'; @Component({ selector: 'app-products', templateUrl: './products.component.html', styleUrls: ['./products.component.scss'] }) export class ProductsComponent implements OnInit{ constructor(pri...
14,344
https://github.com/starkos/premake-next/blob/master/core/modules/field/tests/list_field_tests.lua
Github Open Source
Open Source
BSD-3-Clause
2,021
premake-next
starkos
Lua
Code
245
904
local Field = require('field') local ListFieldTests = test.declare('ListFieldTests', 'field') local testField function ListFieldTests.setup() testField = Field.register({ name = 'testField', kind = 'list:string' }) end function ListFieldTests.teardown() Field.remove(testField) end --- -- Default value is ...
35,834
https://github.com/morgdalaine/arc-doom-ttrpg/blob/master/character-sheet/ARC/source/app/components/mobile/bonds.sass
Github Open Source
Open Source
MIT
null
arc-doom-ttrpg
morgdalaine
Sass
Code
39
153
@media only screen and (max-width: 540px) .relationship-container grid-template-columns: 2fr 1fr .major-bond label input[type=checkbox] @include square @media only screen and (max-width: 445px) .relationship-container grid-template-columns: 1fr .bond-levels justify-items: center ...
10,701
https://github.com/activey/reactor/blob/master/reactor-lib/reactor-jira/src/main/java/org/reactor/jira/response/format/JiraIssueFormatter.java
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,016
reactor
activey
Java
Code
35
152
package org.reactor.jira.response.format; import org.reactor.jira.model.JiraIssue; import org.reactor.response.list.ListElementFormatter; import static java.lang.String.format; public class JiraIssueFormatter implements ListElementFormatter<JiraIssue> { @Override public String formatListElement(long element...
29,992
https://github.com/sattishv/jvm-log-analyzer/blob/master/settings.gradle
Github Open Source
Open Source
MIT
2,017
jvm-log-analyzer
sattishv
Gradle
Code
3
16
rootProject.name = 'jvm-log-analyzer'
12,364
https://github.com/Luxcium/iexjs/blob/master/src/js/refdata/symbols/equities.js
Github Open Source
Open Source
Apache-2.0
null
iexjs
Luxcium
JavaScript
Code
563
1,409
"use strict"; /* *************************************************************************** * * Copyright (c) 2021, the iexjs authors. * * This file is part of the iexjs library, distributed under the terms of * the Apache License 2.0. The full license can be found in the LICENSE file. * */ Object.defineProper...
45,874
https://github.com/jogi-k/tea5767/blob/master/tea5767stationscanner.py
Github Open Source
Open Source
MIT
2,021
tea5767
jogi-k
Python
Code
949
3,646
#!/usr/bin/python3 # -*- coding: utf-8 -*- """ Programmer: Dipto Pratyaksa for LinuxCircle.com August 2015. Tech: Python 3, SMBUS, i2C, TEA5767 FM Radio, Raspberry Pi 2 Project:Raspberry Pi Voice command robot via FM transmitter and receiver Module: Tea 5767 Station Scanner Future wish list: - Save strong stations i...
713
https://github.com/mruz/framework/blob/master/build/php7/ice/flash.zep.h
Github Open Source
Open Source
BSD-3-Clause
2,022
framework
mruz
C
Code
357
2,168
extern zend_class_entry *ice_flash_ce; ZEPHIR_INIT_CLASS(Ice_Flash); PHP_METHOD(Ice_Flash, setOptions); PHP_METHOD(Ice_Flash, __construct); PHP_METHOD(Ice_Flash, getOption); PHP_METHOD(Ice_Flash, getMessages); PHP_METHOD(Ice_Flash, getMessage); PHP_METHOD(Ice_Flash, message); PHP_METHOD(Ice_Flash, success); PHP_METH...
36,818
https://github.com/rbieniek/BGP4J/blob/master/lib/common-config/src/test/java/org/bgp4j/config/nodes/impl/RoutingProcessorConfigurationParserTest.java
Github Open Source
Open Source
Apache-2.0
2,021
BGP4J
rbieniek
Java
Code
98
462
/** * */ package org.bgp4j.config.nodes.impl; import junit.framework.Assert; import org.apache.commons.configuration.XMLConfiguration; import org.bgp4j.config.ConfigTestBase; import org.bgp4j.config.nodes.RoutingInstanceConfiguration; import org.bgp4j.config.nodes.RoutingProcessorConfiguration; import org.junit.Af...
8,459
https://github.com/timriley/amc-rails-template/blob/master/amc-rails-template.rb
Github Open Source
Open Source
MIT
2,009
amc-rails-template
timriley
Ruby
Code
1,154
4,320
app_name = ask('Application name (eg. <name>.amc.org.au):') plugin 'exception_notifier', :git => 'git://github.com/rails/exception_notification.git' plugin 'thinking-sphinx', :git => 'git://github.com/freelancing-god/thinking-sphinx' if yes?('Thinking Sphinx plugin?') plugin 'proxy_ping', :git => 'git://...
3,416
https://github.com/smogon/pokemon-showdown/blob/master/server/tournaments/index.ts
Github Open Source
Open Source
MIT
2,023
pokemon-showdown
smogon
TypeScript
Code
9,142
33,674
import {Elimination} from './generator-elimination'; import {RoundRobin} from './generator-round-robin'; import {Utils} from '../../lib'; import {SampleTeams, teamData} from '../chat-plugins/sample-teams'; import {PRNG} from '../../sim/prng'; export interface TournamentRoomSettings { allowModjoin?: boolean; allowSc...
4,848
https://github.com/ALEXGUOQ/TTMAudioUnitHelper/blob/master/TTMAudioUnitHelper/TTMAudioUnitHelper+PlayFile.h
Github Open Source
Open Source
MIT
2,018
TTMAudioUnitHelper
ALEXGUOQ
C
Code
107
262
// // TTMAudioUnitHelper+PlayFile.h // OverDubMock // // Created by shuichi on 13/03/01. // Copyright (c) 2013年 Shuichi Tsutsumi. All rights reserved. // #import "TTMAudioUnitHelper.h" @interface TTMAudioUnitHelper (PlayFile) typedef struct { BOOL isStereo; // set to true if t...
2,084
https://github.com/ArcticWarriors/scouting-app/blob/master/ScoutingWebsite/Scouting2013/view/submissions/add_team_pictures.py
Github Open Source
Open Source
MIT
2,018
scouting-app
ArcticWarriors
Python
Code
19
114
from BaseScouting.views.base_views import BaseAddTeamPictureView from Scouting2013.model.reusable_models import Team, TeamPictures class AddTeamPictureView2013(BaseAddTeamPictureView): def __init__(self): BaseAddTeamPictureView.__init__(self, Team, TeamPictures, 'Scouting2013/static', 'Scouting2013/robot_...
42,632
https://github.com/spr1ngd/UChart/blob/master/UChart/Assets/UChart/Scripts/Solutions/HeatMap/Shaders/HeatMap2D.shader
Github Open Source
Open Source
MIT
2,022
UChart
spr1ngd
GLSL
Code
366
1,268
 Shader "UChart/HeatMap/HeatMap2D" { Properties { [Toggle(BOOL_DISCRETE)] _Discrete("Discrete",int) = 1 [Toggle(BOOL_DRAWLINE)] _DrawLine("DrawLine",int) = 1 _ColorRamp ("Color Ramp",2D) = "white"{} _Alpha ("Alpha",range(0,1)) = 1.0 _Width ("Width",range(0,200)) = 200 _Height ("Height",range(0,200)...
14,556
https://github.com/yhlovexlx/weibo/blob/master/src/com/hyc/www/util/Md5Utils.java
Github Open Source
Open Source
Apache-2.0
2,019
weibo
yhlovexlx
Java
Code
183
466
/* * Copyright (c) 2019. 黄钰朝 * * 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 i...
35,640
https://github.com/leafoflegend/MemeMagic/blob/master/babelify.js
Github Open Source
Open Source
MIT
2,020
MemeMagic
leafoflegend
JavaScript
Code
8
23
// This enables babel in node. require('babel-register'); require('./app');
4,015
https://github.com/AlexNesvat/frag/blob/master/routes/web.php
Github Open Source
Open Source
MIT
null
frag
AlexNesvat
PHP
Code
92
474
<?php /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | routes are loaded by the RouteServiceProvider within a group which | ...
40,353
https://github.com/CaryChamplin/List15Project/blob/master/List15Project/ContentView.swift
Github Open Source
Open Source
MIT
null
List15Project
CaryChamplin
Swift
Code
327
1,101
//============================================================================== // ContentView.swift // // List15Project // Created by Champlin Technologies LLC on 2021/10/06. // Copyright © 2021 Champlin Technologies LLC. All rights reserved. //=====================================================================...
34,998
https://github.com/1and1/camunda-bpm-platform/blob/master/webapps/cycle/cycle/src/test/java/org/camunda/bpm/cycle/web/service/resource/diagram/BpmnDiagramServiceTest.java
Github Open Source
Open Source
Apache-2.0
2,019
camunda-bpm-platform
1and1
Java
Code
176
1,035
package org.camunda.bpm.cycle.web.service.resource.diagram; import static org.mockito.BDDMockito.given; import static org.fest.assertions.api.Assertions.*; import javax.inject.Inject; import javax.ws.rs.WebApplicationException; import javax.ws.rs.core.Response; import org.camunda.bpm.cycle.connector.ConnectorNodeTyp...
45,370
https://github.com/kiskovi97/URPTemplatePackage/blob/master/Runtime/UI/ButtonsController.cs
Github Open Source
Open Source
MIT
null
URPTemplatePackage
kiskovi97
C#
Code
46
190
using UnityEngine; using UnityEngine.EventSystems; using UnityEngine.InputSystem; namespace URPTemplate.UI { public class ButtonsController : MonoBehaviour { public GameObject firstButton; private void Start() { EventSystem.current.SetSelectedGameObject(null); ...
22,766
https://github.com/paluh/marlowe-cardano/blob/master/marlowe-playground-client/src/Blockly/Internal.purs
Github Open Source
Open Source
Apache-2.0
null
marlowe-cardano
paluh
PureScript
Code
1,786
3,536
module Blockly.Internal ( AlignDirection(..) , Arg(..) , BasicBlockDefinition , BlockDefinition(..) , ElementId(..) , GridConfig , Pair(..) , XML(..) , addBlockTypes , addChangeListener , block , blockType , centerOnBlock , clearUndoStack , clearWorkspace , connect , connectToOutput ...
23,814
https://github.com/SmartsquareGmbH/kickway/blob/master/src/test/kotlin/de/smartsquare/kickchain/kickway/elo/EloRatingRepositoryTest.kt
Github Open Source
Open Source
MIT
null
kickway
SmartsquareGmbH
Kotlin
Code
149
570
package de.smartsquare.kickchain.kickway.elo import org.amshove.kluent.shouldEqual import org.junit.Test import org.junit.runner.RunWith import org.springframework.beans.factory.annotation.Autowired import org.springframework.boot.test.autoconfigure.jdbc.AutoConfigureTestDatabase import org.springframework.boot.test.a...
42,819
https://github.com/gaoht/house/blob/master/java/classes/com/baidu/trace/model/CoordType.java
Github Open Source
Open Source
Apache-2.0
2,020
house
gaoht
Java
Code
37
143
package com.baidu.trace.model; public enum CoordType { static { gcj02 = new CoordType("gcj02", 1); bd09ll = new CoordType("bd09ll", 2); } private CoordType() {} } /* Location: /Users/gaoht/Downloads/zirom/classes-dex2jar.jar!/com/baidu/trace/model/CoordType.class * Java compiler vers...
28,507
https://github.com/qdrant/qdrant/blob/master/src/tonic/mod.rs
Github Open Source
Open Source
Apache-2.0
2,023
qdrant
qdrant
Rust
Code
512
2,612
mod api; mod api_key; mod logging; mod tonic_telemetry; use std::io; use std::net::{IpAddr, SocketAddr}; use std::sync::Arc; use ::api::grpc::models::VersionInfo; use ::api::grpc::qdrant::collections_internal_server::CollectionsInternalServer; use ::api::grpc::qdrant::collections_server::CollectionsServer; use ::api:...
23,569
https://github.com/ornata/llvm-project/blob/master/llvm/lib/Target/AMDGPU/AMDGPUMFMAClustering.cpp
Github Open Source
Open Source
Apache-2.0
null
llvm-project
ornata
C++
Code
526
2,037
//===--- AMDGPUMFMAClusting.cpp - AMDGPU MFMA Clustering -------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===-------------------------------...
2,005
https://github.com/fangjinuo/agileway/blob/master/agileway-codec/src/main/java/com/jn/agileway/codec/serialization/xml/javabeans/JavaBeansXmlCodec.java
Github Open Source
Open Source
Apache-2.0
2,022
agileway
fangjinuo
Java
Code
201
619
package com.jn.agileway.codec.serialization.xml.javabeans; import com.jn.agileway.codec.AbstractCodec; import com.jn.langx.codec.CodecException; import com.jn.langx.util.reflect.type.Primitives; import java.beans.XMLDecoder; import java.beans.XMLEncoder; import java.io.BufferedInputStream; import java.io.BufferedOutp...
2,362
https://github.com/icbat/RFTools/blob/master/src/main/java/mcjty/rftools/BlockInfo.java
Github Open Source
Open Source
MIT
null
RFTools
icbat
Java
Code
196
558
package mcjty.rftools; import javax.annotation.Nullable; import mcjty.lib.varia.EnergyTools; import net.minecraft.tileentity.TileEntity; import net.minecraft.util.EnumFacing; import net.minecraft.util.math.BlockPos; public class BlockInfo { private BlockPos coordinate; private long storedPower; private l...
35,076
https://github.com/motiv-woorti-app/woorti-ios/blob/master/Teste1/UI/ProductionMockup/MainContent/MyTrips/Generics/GenericModeOfTransportPickerCollectionViewCell.swift
Github Open Source
Open Source
Apache-2.0
null
woorti-ios
motiv-woorti-app
Swift
Code
1,267
4,959
// (C) 2017-2020 - The Woorti app is a research (non-commercial) application that was // developed in the context of the European research project MoTiV (motivproject.eu). The // code was developed by partner INESC-ID with contributions in graphics design by partner // TIS. The Woorti app development was one of the out...
6,809
https://github.com/yzy98/v-master/blob/master/application/views/video_card.php
Github Open Source
Open Source
MIT
null
v-master
yzy98
PHP
Code
102
407
<div class="container sorted-videos mt-md-4"> <div class="sorted-video card mb-3 shadow"> <div class="row no-gutters"> <div class="col-md-4"> <a href="<?php echo base_url(); ?>video/show_video/<?php echo $v_id; ?>"> <video width="350"> <source src="<?php echo str_replace("/var/...
16,582
https://github.com/eugeneilyin/mdi-norm/blob/master/src/FilledShoppingBasket.js
Github Open Source
Open Source
MIT
2,019
mdi-norm
eugeneilyin
JavaScript
Code
40
131
import React from 'react' import { Icon } from './Icon' import { bp, rb } from './fragments' export const FilledShoppingBasket = /*#__PURE__*/ props => <Icon {...props}> <path d={"M17.21 9l-4.38-6.56c-.19-.28-.51-.42-.83-.42-.32 0-.64.14-.83.43" + rb + "M9 9l3-4.4L15 9zm3 8" + bp}/> </Icon>
23,876
https://github.com/chenjy16/gts/blob/master/gts-core/src/test/java/com/wf/gts/core/client/ClientInstanceTest.java
Github Open Source
Open Source
MIT
2,021
gts
chenjy16
Java
Code
397
2,248
package com.wf.gts.core.client; import java.util.ArrayList; import java.util.Collections; import java.util.List; import org.junit.Test; import com.alibaba.fastjson.JSON; import com.wf.gts.common.beans.TransGroup; import com.wf.gts.common.beans.TransItem; import com.wf.gts.common.enums.TransRoleEnum; import com.wf.gts...
6,065
https://github.com/marshallflax/mmlc-experiments/blob/master/views/admin/equations.ejs
Github Open Source
Open Source
BSD-3-Clause
2,015
mmlc-experiments
marshallflax
EJS
Code
192
676
<h1 class="page-header">Equations</h1> <% if (typeof equations != 'undefined') { %> <% var limit = 10; var pages = Math.ceil(numEquations/10); var currentPage = 1; var next = 1 + limit; var back = 1 - limit; %> <% if (numEquations > limit) { %> <nav> <ul class="pagination"> <% for (var i = 1; i <= pages; ...
9,671
https://github.com/WinBuilds/VTK/blob/master/Windows/VS2017/vtkOgg/vtkOgg.cpp
Github Open Source
Open Source
BSD-3-Clause
null
VTK
WinBuilds
C++
Code
5
28
#include "vtkOgg.h" vtkOgg::vtkOgg() { }
29,368
https://github.com/lucsoft/oc2/blob/master/src/main/java/li/cil/oc2/common/bus/device/item/package-info.java
Github Open Source
Open Source
CC0-1.0
2,021
oc2
lucsoft
Java
Code
2
17
package li.cil.oc2.common.bus.device.item;
45,833
https://github.com/ajlopez/RustScript/blob/master/samples/simple/factorial1.rs
Github Open Source
Open Source
MIT
2,021
RustScript
ajlopez
Rust
Code
40
89
fn factorial(n) { if n == 1 { 1 } else { n * factorial(n - 1) } } fn main() { let mut n = 1; while n <= 10 { println!(factorial(n)); n = n + 1; } }
32,366
https://github.com/Miaoliye/shardingsphere/blob/master/shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/text/distsql/rdl/impl/CreateEncryptRuleBackendHandler.java
Github Open Source
Open Source
Apache-2.0
null
shardingsphere
Miaoliye
Java
Code
348
1,460
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
21,419
https://github.com/JadssDev/JadAPI/blob/master/API/src/main/java/dev/jadss/jadapi/management/nms/NMSException.java
Github Open Source
Open Source
MIT
null
JadAPI
JadssDev
Java
Code
23
61
package dev.jadss.jadapi.management.nms; /** * An exception to NMS behavior. */ public class NMSException extends RuntimeException { public NMSException(String errorMSG) { super(errorMSG); } }
35,645
https://github.com/ajinkya-dhamnaskar/airavata/blob/master/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/SSHUtils.java
Github Open Source
Open Source
Apache-2.0
2,016
airavata
ajinkya-dhamnaskar
Java
Code
1,823
4,842
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
3,479
https://github.com/elizabethandrews/llvm/blob/master/mlir/lib/TableGen/SideEffects.cpp
Github Open Source
Open Source
Apache-2.0
2,022
llvm
elizabethandrews
C++
Code
133
520
//===- SideEffects.cpp - SideEffect classes -------------------------------===// // // Part of the MLIR Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
42,404
https://github.com/ubaaiiii/sppd/blob/master/app/Controllers/Data.php
Github Open Source
Open Source
MIT
null
sppd
ubaaiiii
PHP
Code
90
414
<?php namespace App\Controllers; class Data extends BaseController { public function pegawai($tipe = null, $id = null) { $modelnya = model('App\Models\M_pegawai', false); if ($tipe == "save") { $data = array( 'id_anggota' => strtoupper($this->request->getPost('id-anggota')), 'anggota' => ucwords($...
47,894
https://github.com/mgsgo/M-FPD3-QUAD-CAM-UVC/blob/master/rev110/example_FPGA_USB3.0_UVC/python_capture/cap1920x1080x30fps_display1920x1080x1.py
Github Open Source
Open Source
BSD-2-Clause
2,020
M-FPD3-QUAD-CAM-UVC
mgsgo
Python
Code
30
148
import cv2 capture = cv2.VideoCapture(0) #fourcc = cv2.VideoWriter_fourcc(*'mp4v') capture.set(cv2.CAP_PROP_FRAME_WIDTH, 1920) capture.set(cv2.CAP_PROP_FRAME_HEIGHT, 1080) while True: ret, frame = capture.read() image = frame.copy() cv2.imshow("video1", image) if cv2.waitKey(1) > 0: break capture.release() cv...
32,418
https://github.com/CZDanol/PHPkryciJmena/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,018
PHPkryciJmena
CZDanol
Ignore List
Code
3
31
.idea/ syn2015-freq-distrib.xlsx syn2015-freq-distrib(1).csv
26,270
https://github.com/usadavidj/madlib-project/blob/master/src/components/input.js
Github Open Source
Open Source
MIT
null
madlib-project
usadavidj
JavaScript
Code
25
63
import React, { Component } from 'react'; const Input = (title) => { return ( <div className="input"> <input></input> <p>{title}</p> </div> ) } export default Input;
41,835
https://github.com/hariPrasad525/Nitya_Annaccounting/blob/master/src/com/nitya/accounter/web/client/ui/settings/WareHouseView.java
Github Open Source
Open Source
Apache-2.0
null
Nitya_Annaccounting
hariPrasad525
Java
Code
675
3,616
package com.nitya.accounter.web.client.ui.settings; import java.util.List; import com.google.gwt.user.client.ui.Label; import com.nitya.accounter.web.client.AccounterAsyncCallback; import com.nitya.accounter.web.client.core.AccounterCoreType; import com.nitya.accounter.web.client.core.ClientAddress; import com.nitya....
3,405
https://github.com/pomadchin/aergia/blob/master/benchmark/src/main/scala/com/azavea/raster/LazyRasterBench100.scala
Github Open Source
Open Source
Apache-2.0
null
aergia
pomadchin
Scala
Code
188
735
package com.azavea.raster import geotrellis.raster._ import org.openjdk.jmh.annotations._ import org.openjdk.jmh.infra.Blackhole import java.util.concurrent.TimeUnit @BenchmarkMode(Array(Mode.AverageTime)) @State(Scope.Benchmark) @OutputTimeUnit(TimeUnit.MILLISECONDS) class LazyRasterBench100 { import LazyTile._ ...
40,695
https://github.com/yongmin86k/project__jobhopper/blob/master/imports/ui/pages/index.js
Github Open Source
Open Source
MIT
null
project__jobhopper
yongmin86k
JavaScript
Code
32
47
export { default as Home } from "./Home"; export { default as Post } from "./Post"; export { default as Profile } from "./Profile"; export { default as Jobs } from "./Jobs";
37,864
https://github.com/Wollacy/Python/blob/master/FormatacaoTexto.py
Github Open Source
Open Source
MIT
null
Python
Wollacy
Python
Code
16
70
## Formatação de Texto nome=input('Digite seu m=nome completo: ') print(nome.upper()) print(nome.lower()) nome2=nome.strip() print(len(nome2)-nome2.count(' ')) print(nome2.find(' '))
48,723
https://github.com/songwenas12/csp-drl/blob/master/or-tools-6.7.2-customized/examples/data/rcpsp/multi_mode_max_delay/mm_j20/psp43.sch
Github Open Source
Open Source
Apache-2.0
2,021
csp-drl
songwenas12
Eagle
Code
828
1,684
20 5 2 0 0 1 9 2 1 5 6 7 4 3 9 8 [0 0] [0 0] [0 0] [0 0] [0 0] [0 0] [0 0] [0 0] [0 0] 1 2 6 18 19 20 15 17 16 [-2 10 -4 12] [18 -6 -4 -1] [19 -2 1 6] [12 8 0 8] [-4 -4 2 12] [7 20 13 14] 2 2 3 16 17 14 [11 0 -8 17] [0 -2 30 24] [7 7 2 10] 3 2 2 16 13 [-1 1 21 16] [0 1 8 11] 4 2 6 20 17 18 19 15 16 [0 5 13 14] [-1 4 -3...
41,809
https://github.com/frankie13/documentation/blob/master/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/multi/options.rb
Github Open Source
Open Source
Apache-2.0
2,022
documentation
frankie13
Ruby
Code
368
933
module Ethon class Multi # This module contains the logic and knowledge about the # available options on multi. module Options # Sets max_total_connections option. # # @example Set max_total_connections option. # easy.max_total_conections = $value # # @param [ Strin...
32,440
https://github.com/TheSledgeHammer/2.11BSD/blob/master/contrib/gnu/gdb/dist/gas/testsuite/gas/bpf/alu32.s
Github Open Source
Open Source
BSD-3-Clause
2,021
2.11BSD
TheSledgeHammer
GAS
Code
166
676
# Tests for the ALU eBPF instructions .text add32 %r2, 666 add32 %r3, -666 add32 %r4, 0x7eadbeef add32 %r5, %r6 sub32 %r2, 666 sub32 %r3, -666 sub32 %r4, 0x7eadbeef sub32 %r5, %r6 mul32 %r2, 666 mul32 %r3, -666 mul32 %r4, 0x...
8,593
https://github.com/novakge/project-parsers/blob/master/data/mmlibplus/Jall73_5.mm
Github Open Source
Open Source
MIT
2,021
project-parsers
novakge
Objective-C++
Code
1,663
3,487
jobs (incl. supersource/sink ): 52 RESOURCES - renewable : 4 R - nonrenewable : 2 N - doubly constrained : 0 D ************************************************************************ PRECEDENCE RELATIONS: jobnr. #modes #successors successors 1 1 6 2 3 4 5 6 7 2 3 5 14 12 1...
31,555
https://github.com/ToKiNoBug/Fractal_Designer/blob/master/doc/doxygen/html/search/all_3.js
Github Open Source
Open Source
MIT
2,022
Fractal_Designer
ToKiNoBug
JavaScript
Code
9
224
var searchData= [ ['col_3',['col',['../class_interpreter.html#a54299e17e9310d3e8be4496e297e05bf',1,'Interpreter']]], ['create_5fimage_5finfo_4',['Create_Image_Info',['../class_create___image___info.html',1,'']]], ['create_5fimage_5ftask_5',['Create_Image_Task',['../class_create___image___task.html',1,'']]], ['c...
13,762
https://github.com/KalimeroMK/geoprom/blob/master/app/wp-content/plugins/redux-framework/extendify-sdk/src/components/icons/library/support.js
Github Open Source
Open Source
MIT
null
geoprom
KalimeroMK
JavaScript
Code
56
257
/** * WordPress dependencies */ import { SVG, Circle } from '@wordpress/primitives' const layouts = ( <SVG width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> <Circle cx="12" cy="12" r="7.25...
11,929
https://github.com/CS2103AUG2016-W11-C1/linenux/blob/master/src/main/java/linenux/command/parser/EditArgumentParser.java
Github Open Source
Open Source
MIT
2,019
linenux
CS2103AUG2016-W11-C1
Java
Code
1,007
2,288
package linenux.command.parser; import java.util.ArrayList; import linenux.command.result.CommandResult; import linenux.control.TimeParserManager; import linenux.model.Task; import linenux.util.ArrayListUtil; import linenux.util.Either; //@@author A0127694U /** * Parses new details of task to be edited. */ public ...
47,841
https://github.com/codyroux/lean0.1/blob/master/tests/lean/simp8.lean
Github Open Source
Open Source
Apache-2.0
2,019
lean0.1
codyroux
Lean
Code
50
122
variables a b c d e f : Nat rewrite_set simple add_rewrite Nat::add_assoc Nat::add_comm Nat::add_left_comm Nat::distributer Nat::distributel : simple (* local t = parse_lean("f + (c + f + d) + (e * (a + c) + (d + a))") local t2, pr = simplify(t, "simple") print(t) print("====>") print(t2) *)
43,575
https://github.com/sprucehq/clr-icons-react/blob/master/src/ClrBriefcase.tsx
Github Open Source
Open Source
MIT
null
clr-icons-react
sprucehq
TypeScript
Code
40
550
import * as React from "react"; const ClrBriefcase: React.SFC = () => ( <svg version="1.1" viewBox="0 0 36 36" preserveAspectRatio="xMidYMid meet" xmlns="http://www.w3.org/2000/svg" focusable="false" role="img" xmlnsXlink="http://www.w3.org/1999/xlink" > <path d="M32,28a0,0,0,0,1,0,...
4,557
https://github.com/honeyballs/microservice-zeebe/blob/master/project-administration/src/main/kotlin/com/example/projectadministration/services/employee/EmployeeService.kt
Github Open Source
Open Source
MIT
null
microservice-zeebe
honeyballs
Kotlin
Code
110
505
package com.example.projectadministration.services.employee import com.example.projectadministration.model.dto.EmployeeDto import com.example.projectadministration.model.employee.Employee import com.example.projectadministration.repositories.ProjectRepository import com.example.projectadministration.repositories.emplo...
21,200
https://github.com/ThePMO/upod/blob/master/app/src/mobi/upod/android/app/NavigationDrawerItemViewHolder.scala
Github Open Source
Open Source
MIT
null
upod
ThePMO
Scala
Code
59
262
package mobi.upod.android.app import mobi.upod.android.widget.GroupViewHolder import android.view.View import de.wcht.upod.R import mobi.upod.android.view.Helpers.RichView class NavigationDrawerItemViewHolder(view: View) extends GroupViewHolder[LabeledNavigationDrawerEntryWithIcon] { private val iconView = view.c...
9,742
https://github.com/diffblue-assistant/herd/blob/master/herd-code/herd-dao/src/main/java/org/finra/herd/dao/impl/Ec2OnDemandPricingDaoImpl.java
Github Open Source
Open Source
Apache-2.0
2,021
herd
diffblue-assistant
Java
Code
288
1,048
/* * Copyright 2015 herd 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 required by applicable law or agreed to in ...
14,490
https://github.com/isabella232/if_warden/blob/master/IronFoundry.Warden.Protocol/Messages.cs
Github Open Source
Open Source
Apache-2.0
2,015
if_warden
isabella232
C#
Code
11,604
38,388
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------------...
31,944
https://github.com/NicoloTartaggia/API_uqido_okr/blob/master/API/src/functions/metrics/delete.ts
Github Open Source
Open Source
MIT
null
API_uqido_okr
NicoloTartaggia
TypeScript
Code
83
265
import * as firebase from "firebase"; const db = firebase.firestore(); const cors = require('cors')({origin: true}); //DELETE request //Delete document data in metrics collection if it exists. // @ts-ignore const metricsDelete = (req, res) => { cors(req, res, () =>{ const docRef = db.collection("metrics").doc(r...
17,042
https://github.com/tenie/SQLucky/blob/master/app/src/main/java/net/tenie/lib/db/h2/H2Db.java
Github Open Source
Open Source
Apache-2.0
2,022
SQLucky
tenie
Java
Code
756
2,714
package net.tenie.lib.db.h2; import java.io.File; import java.io.IOException; import java.sql.Connection; import java.sql.DatabaseMetaData; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import java.util.concurrent.atomic.AtomicInteger; import org.apache.com...
27,412
https://github.com/pacmancoder/rustzx/blob/master/rustzx-core/src/zx/tape/empty.rs
Github Open Source
Open Source
MIT
2,022
rustzx
pacmancoder
Rust
Code
68
210
use crate::{zx::tape::TapeImpl, Result}; pub struct Empty; impl TapeImpl for Empty { fn can_fast_load(&self) -> bool { false } fn next_block_byte(&mut self) -> Result<Option<u8>> { Ok(None) } fn next_block(&mut self) -> Result<bool> { Ok(false) } fn current_bit(&...
17,597
https://github.com/puneet1999/Ryujinx/blob/master/Ryujinx.HLE/HOS/Services/Hid/Types/SharedMem/Touchscreen/TouchScreenStateData.cs
Github Open Source
Open Source
MIT
2,021
Ryujinx
puneet1999
C#
Code
49
129
namespace Ryujinx.HLE.HOS.Services.Hid { struct TouchScreenStateData { public ulong SampleTimestamp; #pragma warning disable CS0169 uint _padding; #pragma warning restore CS0169 public uint TouchIndex; public uint X; public uint Y; public uint DiameterX; p...
42,606
https://github.com/LENSS/Hadoop-MDFS/blob/master/src/hdfs/org/apache/hadoop/mdfs/comm/network/edu/tamu/lenss/mdfs/models/MDFSFileInfo.java
Github Open Source
Open Source
Apache-2.0
null
Hadoop-MDFS
LENSS
Java
Code
446
1,598
package edu.tamu.lenss.mdfs.models; import java.io.Serializable; import java.io.IOException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Set; import java.util.HashSet; import java.io.DataInput; import java.io.DataOutput; import org.apache.hadoop.io.Writable; import org.apache.hadoop.io....
40,420
https://github.com/xsw911213/sjz610-admin/blob/master/src/views/MeetingIntroduce.vue
Github Open Source
Open Source
MIT
null
sjz610-admin
xsw911213
Vue
Code
471
1,699
<template> <section style="position:relative;"> <div class="phone"> <div class="header"> <p>会议介绍示例</p> </div> <div v-if="img" class="img-demo"> <img :src="img" alt> </div> <el-upload v-else class="avatar-uploader" action="//up.qbox.me/" ...
21,473
https://github.com/sputnik-maps/maps-express/blob/master/src/proxy_handler.h
Github Open Source
Open Source
MIT
2,019
maps-express
sputnik-maps
C
Code
143
569
#pragma once #include <proxygen/lib/http/HTTPConnector.h> #include <proxygen/lib/http/session/HTTPTransaction.h> #include <proxygen/httpserver/ResponseHandler.h> #include "session_wrapper.h" class ProxyHandler : public proxygen::HTTPTransactionHandler, private proxygen::HTTPConnector::Callback ...
25,939
https://github.com/alexmario74/think-a-book/blob/master/src/store/index.js
Github Open Source
Open Source
MIT
null
think-a-book
alexmario74
JavaScript
Code
75
216
const register = new Map(); const store = { withActions(actions) { actions.forEach(([action, handler]) => { let handlers = register.get(action); if (!handlers) { handlers = []; } handlers.push(handler); register.set(action, handle...
14,512
https://github.com/apdevzhang/SwiftUI-Example/blob/master/SwiftUIExample/3 - Controls and Indicators/3.3 - Pickers/ColorPickerExamplePage.swift
Github Open Source
Open Source
Unlicense
null
SwiftUI-Example
apdevzhang
Swift
Code
61
173
// // ColorPickerExamplePage.swift // SwiftUIExample // // Created by BANYAN on 2022/2/22. // import SwiftUI // iOS 14.0+ struct ColorPickerExamplePage: View { @State private var bgColor = Color(.sRGB, red: 0.98, green: 0.9, blue: 0.2) var body: some View { VStack { ...
50,728
https://github.com/thinker1990/SICP-Exercises/blob/master/chapter01/1_07.scm
Github Open Source
Open Source
MIT
2,019
SICP-Exercises
thinker1990
Scheme
Code
90
232
#lang sicp (define (sqrt x) (sqrt-iter 1.0 x)) (define (sqrt-iter guess x) (if (good-enough? (improve guess x) guess) (improve guess x) (sqrt-iter (improve guess x) x))) (define (improve guess x) (average guess (/ x guess))) (define (average x y) (/ (+ x y) 2)) (define (good-enough? new-guess o...
10,197
https://github.com/13140438775/yii_loan_market/blob/master/backend/views/product-tag/_form.php
Github Open Source
Open Source
BSD-3-Clause
null
yii_loan_market
13140438775
PHP
Code
286
1,196
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model common\models\ProductTag */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="common-form-container"> <?php $form = ActiveForm::begin([ 'options' => [ 'class' => 'common-form' ] ...
23,289
https://github.com/CrackerCat/hdcms/blob/master/Modules/Edu/Http/Controllers/Space/FollowerController.php
Github Open Source
Open Source
MIT
2,021
hdcms
CrackerCat
PHP
Code
36
150
<?php namespace Modules\Edu\Http\Controllers\Space; use Illuminate\Http\Request; use Illuminate\Http\Response; use Illuminate\Routing\Controller; use App\Models\User; use Modules\Edu\Entities\User as EntitiesUser; class FollowerController extends Controller { public function index(User $user) { $followers = ...
44,829
https://github.com/Leemoonsoo/ktun/blob/master/Dockerfile
Github Open Source
Open Source
MIT
2,019
ktun
Leemoonsoo
Dockerfile
Code
17
45
FROM node:8.12.0-alpine WORKDIR /root ADD index.js package.json LICENSE /root/ RUN npm install && npm link CMD ktun
30,571
https://github.com/joellord/blog/blob/master/src/components/pageheader.js
Github Open Source
Open Source
MIT
null
blog
joellord
JavaScript
Code
72
240
import PropTypes from "prop-types" import React from "react" const PageHeader = ({ image, title, subtitle, isSmall }) => ( <header className="intro-header" style={{ backgroundImage: `url('${image}')` }}> <div className="container"> <div className="row"> <div className="col-lg-8 col-lg-offset-2 col-...
4,965
https://github.com/bhishanpdl/Programming/blob/master/Python/interesting/show_progress_bar.py
Github Open Source
Open Source
MIT
2,019
Programming
bhishanpdl
Python
Code
51
148
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Author : Bhishan Poudel; Physics PhD Student, Ohio University # Date : Oct 05, 2016 # Last update : # # # Imports from __future__ import division, unicode_literals, print_function import time,sys for i in range(100+1): time.sleep(0.1) sys.stdout.wr...
29,102
https://github.com/RicardsGraudins/Weather-Fisher-API/blob/master/WorldTidesForecast/WorldTidesForecast/Models/WorldTidesExtremeDBService.cs
Github Open Source
Open Source
Apache-2.0
null
Weather-Fisher-API
RicardsGraudins
C#
Code
887
3,477
using System; using System.Linq; using System.Net; using System.Threading.Tasks; using Microsoft.Azure.Documents; using Microsoft.Azure.Documents.Client; using static WorldTidesForecast.Data.WorldTidesExtremes; namespace WorldTidesForecast.Models { public class WorldTidesExtremeDBService { //Replace E...
21,005
https://github.com/mapbox/nepomuk/blob/master/test/gtfs/accessibility.cc
Github Open Source
Open Source
MIT
2,021
nepomuk
mapbox
C++
Code
34
229
#include "gtfs/accessibility.hpp" // make sure we get a new main function here #define BOOST_TEST_MAIN #include <boost/test/unit_test.hpp> using namespace nepomuk; BOOST_AUTO_TEST_CASE(construct_time) { BOOST_CHECK(gtfs::accessibility::Wheelchair::INHERIT_OR_NONE == gtfs::accessibility::makeWheel...
37,660
https://github.com/simoarpe/libgdx-shaders/blob/master/shaders/src/main/java/de/qx/shaders/ShaderManager.java
Github Open Source
Open Source
Apache-2.0
2,015
libgdx-shaders
simoarpe
Java
Code
1,039
3,070
package de.qx.shaders; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.assets.AssetManager; import com.badlogic.gdx.assets.loaders.resolvers.LocalFileHandleResolver; import com.badlogic.gdx.graphics.*; import com.badlogic.gdx.graphics.glutils.FrameBuffer; import com.badlogic.gdx.graphics.glutils.ShaderProgram; im...
23,346
https://github.com/binakot/Rubik-Cube/blob/master/Rubik Cube/Assets/Scripts/Core/Model/Events/CubeSolvedEventArgs.cs
Github Open Source
Open Source
MIT
2,021
Rubik-Cube
binakot
C#
Code
15
48
using System; namespace Assets.Scripts.Core.Model.Events { [Serializable] public sealed class CubeSolvedEventArgs : EventArgs { } }
47,361
https://github.com/NBComrade/php-algorithms-implementation/blob/master/src/sort/heap.php
Github Open Source
Open Source
MIT
2,018
php-algorithms-implementation
NBComrade
PHP
Code
192
440
<?php function heapSort(array &$arr) { $n = count($arr); // Build heap (rearrange array) for ($i = $n / 2 - 1; $i >= 0; $i--) { heapify($arr, $n, $i); } // One by one extract an element from heap for ($i= $n-1; $i >= 0; $i--) { // Move current root to end $temp = $arr[...
34,213
https://github.com/ydshieh/ml-cvnets/blob/master/setup.py
Github Open Source
Open Source
LicenseRef-scancode-apple-excl
2,021
ml-cvnets
ydshieh
Python
Code
157
676
# # For licensing see accompanying LICENSE file. # Copyright (C) 2020 Apple Inc. All Rights Reserved. # import os import sys from setuptools import find_packages, setup if sys.version_info < (3, 6): sys.exit("Sorry, Python >= 3.6 is required for cvnets.") if sys.platform == "darwin": extra_compile_args = ["-...
16,478
https://github.com/csgf/semantic-search-app/blob/master/app/controllers/DetailWindow.js
Github Open Source
Open Source
Apache-2.0
null
semantic-search-app
csgf
JavaScript
Code
1,882
7,279
var args = arguments[0] || {}; var expandLbl = { left : "15dp", text : "Show more info...", font : {fontSize:"14sp"}, color : "#838383" }; var expandIV = { right : "5dp", top : "-2dp", width : "42dp", height : "25dp", image : "/images/expand.png" }; var reduceIV = { right : "5dp", top : "-2dp", width : "42...
32,928
https://github.com/schinmayee/nimbus/blob/master/applications/physbam/physbam-lib/External_Libraries/Archives/boost/tools/build/v2/test/core_d12.py
Github Open Source
Open Source
BSD-3-Clause
2,021
nimbus
schinmayee
Python
Code
66
237
#!/usr/bin/python # This tests correct handling of "-d1" and "-d2" options. import BoostBuild t = BoostBuild.Tester(pass_toolset=0) t.write("file.jam", """ actions a { } actions quietly b { } ALWAYS all ; a all ; b all ; """) t.run_build_system("-ffile.jam -d0", stdout="") t.run_build_system("-ffile.jam -d...
3,196
https://github.com/charmingcheng/vue3-admin-1/blob/master/src/views/HomePage/components/PartOne.vue
Github Open Source
Open Source
MIT
2,021
vue3-admin-1
charmingcheng
Vue
Code
220
759
<template> <div class="part-one-area"> <section class="one-item" v-for="(item, index) in obj" :key="index"> <span class="left-area"> {{item.label}} <br /> {{item.value}} </span> <span class="right-area"> <div class="icon-box"> {{item.icon}} </div...
17,936
https://github.com/ozipi/data-point/blob/master/lib/entity-types/entity-schema/factory.test.js
Github Open Source
Open Source
Apache-2.0
null
data-point
ozipi
JavaScript
Code
47
173
/* eslint-env jest */ 'use strict' const Factory = require('./factory') test('Factory#create', () => { const obj = Factory.create({ schema: { properties: { foo: { type: 'number' }, bar: { type: 'string' } } }, options: { v5: false } }) expect(obj).toHavePropert...
22,918
https://github.com/zengweicheng666/vaultclient/blob/master/src/rendering/vcWaterRenderer.cpp
Github Open Source
Open Source
MIT
2,020
vaultclient
zengweicheng666
C++
Code
550
2,995
#include "vcWaterRenderer.h" #include "udChunkedArray.h" #include "gl/vcShader.h" #include "gl/vcRenderShaders.h" #include "gl/vcMesh.h" #include "gl/vcTexture.h" #include "vcCamera.h" #include "vcTriangulate.h" struct vcWaterVolume { vcMesh *pMesh; int vertCount; udDouble2 min, max; udDouble4x4 origin; }...
37,293
https://github.com/erisir/FIJI/blob/master/src-plugins/Archipelago_Plugins/src/main/java/edu/utexas/archipelago/segmentation/BatchWekaSegmentation.java
Github Open Source
Open Source
Naumen, Condor-1.1, MS-PL
2,022
FIJI
erisir
Java
Code
1,110
3,528
package edu.utexas.archipelago.segmentation; import edu.utexas.archipelago.image.ImageBlockDeblock; import edu.utexas.clm.archipelago.Cluster; import edu.utexas.clm.archipelago.FijiArchipelago; import edu.utexas.clm.archipelago.data.Duplex; import edu.utexas.clm.archipelago.data.FileChunk; import ij.IJ; import ij.Ima...
36,867
https://github.com/nickgros/SynapseWebClient/blob/master/src/test/java/org/sagebionetworks/web/unitclient/presenter/TeamSearchPresenterTest.java
Github Open Source
Open Source
Apache-2.0
2,022
SynapseWebClient
nickgros
Java
Code
287
1,665
package org.sagebionetworks.web.unitclient.presenter; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import static org.mockito.Matchers.any; import static org.mockito.Matchers.anyInt; import static org.mockito.Matchers.anyString; import static org.mockito.Mockito.times; import s...
9,456
https://github.com/JormaWuorio/Painonhallinta-main/blob/master/test_kysymys.py
Github Open Source
Open Source
CC0-1.0
null
Painonhallinta-main
JormaWuorio
Python
Code
34
113
# Kysymysmodulin testit # Modulien ja kirjastojen lataukset import kysymys # Syöte OK def test_kysymys_ok(): assert kysymys.kysy_liukuluku("Syötä arvo", 10, 100) == [0, 'Syöte OK', ] # Syötteessä tietotyyppivirhe # Alle alarajan # Yli ylärajan
21,374
https://github.com/Cloker98/Projeto-Final_PI_II/blob/master/christianblog/christianblog/src/main/java/com/spring/christianblog/service/ChristianblogService.java
Github Open Source
Open Source
Apache-2.0
2,021
Projeto-Final_PI_II
Cloker98
Java
Code
19
75
package com.spring.christianblog.service; import com.spring.christianblog.model.Post; import java.util.List; public interface ChristianblogService { List<Post> findAll(); Post findById(long id); Post save(Post post); }
46,524
https://github.com/chsurajkumar4/Digital-Copyright-System/blob/master/My Copyright System/My Copyright System/Form1.cs
Github Open Source
Open Source
Net-SNMP, Xnet
null
Digital-Copyright-System
chsurajkumar4
C#
Code
140
454
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Configuration; namespace My_Copyright_System { public partial class Form1 : Form { ...
40,050
https://github.com/SplinterGP/OpenDream/blob/master/OpenDreamRuntime/Objects/DreamObject.cs
Github Open Source
Open Source
MIT
2,021
OpenDream
SplinterGP
C#
Code
369
1,145
using OpenDreamRuntime.Procs; using OpenDreamShared.Dream; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace OpenDreamRuntime.Objects { public class DreamObject { public DreamRuntime Runtime { get; } public DreamObjectDefinition ObjectDefi...
15,687
https://github.com/electronic33/ag-ui-react/blob/master/tw-plugins/core/src/classes/checkbox.js
Github Open Source
Open Source
MIT
2,021
ag-ui-react
electronic33
JavaScript
Code
145
635
const { rgba } = require('polished'); const CheckboxBaseClasses = (theme) => ({ '.label-right-container': { display: 'flex', flexDirection: 'row-reverse', alignItems: 'center', }, '.label-left-container': { display: 'flex', alignItems: 'center', }, '.label-top-container': { display: '...
5,485