hexsha stringlengths 40 40 | size int64 5 1.05M | ext stringclasses 98
values | lang stringclasses 21
values | max_stars_repo_path stringlengths 3 945 | max_stars_repo_name stringlengths 4 118 | max_stars_repo_head_hexsha stringlengths 40 78 | max_stars_repo_licenses listlengths 1 10 | max_stars_count int64 1 368k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 3 945 | max_issues_repo_name stringlengths 4 118 | max_issues_repo_head_hexsha stringlengths 40 78 | max_issues_repo_licenses listlengths 1 10 | max_issues_count int64 1 134k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 3 945 | max_forks_repo_name stringlengths 4 135 | max_forks_repo_head_hexsha stringlengths 40 78 | max_forks_repo_licenses listlengths 1 10 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 5 1.05M | avg_line_length float64 1 1.03M | max_line_length int64 2 1.03M | alphanum_fraction float64 0 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cdb753dcb80d3944ed5fc268afb6b7d497ac5ce1 | 3,816 | rs | Rust | src/window.rs | Jezza/tmux-interface-rs | af6b156088dba52163ee3909134fe1968b48f2b8 | [
"MIT"
] | null | null | null | src/window.rs | Jezza/tmux-interface-rs | af6b156088dba52163ee3909134fe1968b48f2b8 | [
"MIT"
] | null | null | null | src/window.rs | Jezza/tmux-interface-rs | af6b156088dba52163ee3909134fe1968b48f2b8 | [
"MIT"
] | null | null | null | use std::time::Duration;
use crate::TmuxInterfaceError;
pub const WINDOW_VARS_SEPARATOR: &str = "'";
// XXX: mb make all fields optional
// FIXME: regex name can be anything, and other keys should be checked better
pub const WINDOW_VARS_REGEX_VEC: [&str; 24] = [
"window_activity",
"window_activity_flag",
... | 35.663551 | 95 | 0.579927 |
f42f0f7f2567693d022d056741d250295fda758c | 751 | asm | Assembly | hangout/byte-example.asm | netguy204/cmsc313_examples | 9c4806c5643b414d0bc7bc0e6cd175fd7342453f | [
"Unlicense"
] | 1 | 2021-07-08T01:34:43.000Z | 2021-07-08T01:34:43.000Z | hangout/byte-example.asm | netguy204/cmsc313_examples | 9c4806c5643b414d0bc7bc0e6cd175fd7342453f | [
"Unlicense"
] | null | null | null | hangout/byte-example.asm | netguy204/cmsc313_examples | 9c4806c5643b414d0bc7bc0e6cd175fd7342453f | [
"Unlicense"
] | 8 | 2016-07-25T14:30:46.000Z | 2021-12-04T07:54:27.000Z | [SECTION .data]
;;; Here we declare initialized data. For example: messages, prompts,
;;; and numbers that we know in advance
array: db 2, 3, 4, 5, 6
[SECTION .bss]
;;; Here we declare uninitialized data. We're reserving space (and
;;; potentially associating names with that space) that our code
;;; will use as it e... | 32.652174 | 69 | 0.61518 |
84df794770bc7aa3f4cfcfd3bc24d914d5af03fb | 2,196 | c | C | src/gs-entbase/server/env_shake.c | keilaoko/nuclide | d2e55dfa0f53546754e63e1dd65f7cce4d3144db | [
"ISC"
] | null | null | null | src/gs-entbase/server/env_shake.c | keilaoko/nuclide | d2e55dfa0f53546754e63e1dd65f7cce4d3144db | [
"ISC"
] | null | null | null | src/gs-entbase/server/env_shake.c | keilaoko/nuclide | d2e55dfa0f53546754e63e1dd65f7cce4d3144db | [
"ISC"
] | null | null | null | /*
* Copyright (c) 2016-2020 Marco Hladik <marco@icculus.org>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS"... | 26.780488 | 82 | 0.729053 |
4c395db385a1586a317537fbb33084b943ba96ba | 20,105 | php | PHP | resources/views/common/template.blade.php | sanbangarh309/Ueibi | 1ae141fc12c368740108eda6b568e2a1cf5bde1d | [
"MIT"
] | null | null | null | resources/views/common/template.blade.php | sanbangarh309/Ueibi | 1ae141fc12c368740108eda6b568e2a1cf5bde1d | [
"MIT"
] | 1 | 2021-10-05T21:22:51.000Z | 2021-10-05T21:22:51.000Z | resources/views/common/template.blade.php | sanbangarh309/Ueibi | 1ae141fc12c368740108eda6b568e2a1cf5bde1d | [
"MIT"
] | null | null | null | @extends('app')
@section('css')
<link rel="stylesheet" href="/css/card.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.10/css/select2.min.css" />
<style>
.save_row i {
font-size: 30px;
color: black;
}
textarea {
width: 106px;
}
</style>
@stop
@section('content')
<div id="char... | 40.863821 | 1,496 | 0.524447 |
d919d4909418b6dc6deb7ece3629448485a8ad54 | 748 | asm | Assembly | oeis/073/A073706.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/073/A073706.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/073/A073706.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A073706: a(n) = Sum_{ d divides n } (n/d)^(3d).
; Submitted by Jamie Morken(s2)
; 1,9,28,129,126,1458,344,8705,20413,49394,1332,1104114,2198,2217546,16305408,33820673,4914,532253187,6860,2392632274,10500716072,8591716802,12168,422182489826,30517593751,549760658274,7625984925160,8809941860898,24390,245361397851308,297... | 35.619048 | 498 | 0.77139 |
b6fb746ad4a8753842447031ba47f530de6a3281 | 3,302 | kt | Kotlin | riskscorechecker/src/main/java/uk/nhs/riskscorechecker/RiskScoreChecker.kt | klinker41/riskscore-kt-public | 31e7235d807b5701fee138ff8ca38b2174edad59 | [
"MIT"
] | null | null | null | riskscorechecker/src/main/java/uk/nhs/riskscorechecker/RiskScoreChecker.kt | klinker41/riskscore-kt-public | 31e7235d807b5701fee138ff8ca38b2174edad59 | [
"MIT"
] | null | null | null | riskscorechecker/src/main/java/uk/nhs/riskscorechecker/RiskScoreChecker.kt | klinker41/riskscore-kt-public | 31e7235d807b5701fee138ff8ca38b2174edad59 | [
"MIT"
] | null | null | null | package uk.nhs.riskscorechecker
import com.google.protobuf.util.JsonFormat
import uk.nhs.riskscore.RiskScoreCalculator
import uk.nhs.riskscore.RiskScoreCalculatorConfiguration.Companion.exampleConfiguration
import uk.nhs.riskscore.ScanInstance
import uk.nhs.support.InstanceName
import uk.nhs.support.RiskScoreValue
imp... | 40.268293 | 97 | 0.547547 |
0a2e4749614be12b96839545127f8b7988b28dfa | 283 | ts | TypeScript | app/ui/src/app/common/openapi/openapi.module.spec.ts | dlabaj/syndesis-react-poc | 80a9d17c636b9be326ba694f0df17c02b84af342 | [
"Apache-2.0"
] | 4 | 2018-11-19T20:48:52.000Z | 2018-12-04T09:53:45.000Z | app/ui/src/app/common/openapi/openapi.module.spec.ts | dlabaj/syndesis-react-poc | 80a9d17c636b9be326ba694f0df17c02b84af342 | [
"Apache-2.0"
] | 359 | 2019-04-10T15:44:34.000Z | 2019-06-14T07:47:44.000Z | app/ui/src/app/common/openapi/openapi.module.spec.ts | dlabaj/syndesis-react-poc | 80a9d17c636b9be326ba694f0df17c02b84af342 | [
"Apache-2.0"
] | 14 | 2018-11-01T14:18:46.000Z | 2019-03-05T14:52:54.000Z | import { OpenApiModule } from './openapi.module';
describe('OpenApiModule', () => {
let openapiModule: OpenApiModule;
beforeEach(() => {
openapiModule = new OpenApiModule();
});
it('should create an instance', () => {
expect(openapiModule).toBeTruthy();
});
});
| 20.214286 | 49 | 0.628975 |
c364aee303001aa269c138e1334dea4eb498be2d | 1,971 | go | Go | wlnet/transport/transport.go | qrntz/common | 99a1d3b32a36af84e5365fe5a4fb9b02bb7654fd | [
"MIT"
] | null | null | null | wlnet/transport/transport.go | qrntz/common | 99a1d3b32a36af84e5365fe5a4fb9b02bb7654fd | [
"MIT"
] | null | null | null | wlnet/transport/transport.go | qrntz/common | 99a1d3b32a36af84e5365fe5a4fb9b02bb7654fd | [
"MIT"
] | null | null | null | // Copyright (c) 2021 Wireleap
package transport
import (
"crypto/tls"
"fmt"
"net"
"net/http"
"net/url"
"time"
"github.com/wireleap/common/wlnet/h2conn"
)
// T is a complete Wireleap network transport which can dial to other
// wireleap-relays via TLS or H/2 over TCP and targets via TCP or UDP.
type T struct... | 26.28 | 79 | 0.65652 |
50b918c40443a7ab9d5ca2e284f2938bf25343a8 | 3,617 | go | Go | pkg/device/service/service.go | nayotta/metathings | 17a3a6d082d044083d8aeafdb93c933ac7a440c7 | [
"MIT"
] | 4 | 2019-01-14T14:57:52.000Z | 2021-01-15T14:56:44.000Z | pkg/device/service/service.go | nayotta/metathings | 17a3a6d082d044083d8aeafdb93c933ac7a440c7 | [
"MIT"
] | 184 | 2018-12-25T04:58:00.000Z | 2021-03-25T14:22:58.000Z | pkg/device/service/service.go | nayotta/metathings | 17a3a6d082d044083d8aeafdb93c933ac7a440c7 | [
"MIT"
] | 3 | 2018-10-15T05:57:42.000Z | 2019-08-21T10:36:35.000Z | package metathings_device_service
import (
"context"
"sync"
"time"
grpc_auth "github.com/grpc-ecosystem/go-grpc-middleware/auth"
log "github.com/sirupsen/logrus"
afo_helper "github.com/nayotta/metathings/pkg/common/auth_func_overrider"
"github.com/nayotta/metathings/pkg/common/binary_synchronizer"
bin_sync "... | 27.401515 | 102 | 0.769975 |
df7fdce43702434493a65af4827e0665bfa9329f | 143 | rb | Ruby | lib/rockpepescissors.rb | thecog19/rockpepescissors | f6390369629a6ebc347b487133f0ea9648ab8f70 | [
"MIT"
] | null | null | null | lib/rockpepescissors.rb | thecog19/rockpepescissors | f6390369629a6ebc347b487133f0ea9648ab8f70 | [
"MIT"
] | null | null | null | lib/rockpepescissors.rb | thecog19/rockpepescissors | f6390369629a6ebc347b487133f0ea9648ab8f70 | [
"MIT"
] | null | null | null | require "rockpepescissors/version"
require 'rockpepescissors/game'
module Rockpepescissors
def self.hello
puts "hey guys!!!!"
end
end
| 15.888889 | 34 | 0.755245 |
223debbc0708411651313c3676b71a6ccece7719 | 1,195 | sql | SQL | database_management/resource_management.sql | TNRIS/api.tnris.org | 46620a4edf0682c158907f110158110801e9c398 | [
"MIT"
] | 6 | 2019-05-22T20:01:45.000Z | 2020-08-18T12:05:12.000Z | database_management/resource_management.sql | TNRIS/api.tnris.org | 46620a4edf0682c158907f110158110801e9c398 | [
"MIT"
] | 73 | 2019-05-22T19:57:30.000Z | 2022-03-12T00:59:33.000Z | database_management/resource_management.sql | TNRIS/api.tnris.org | 46620a4edf0682c158907f110158110801e9c398 | [
"MIT"
] | null | null | null | -- Create resource_management view for API to hit. Aggregates unique list
-- of resources per collection with resource_type joins
-- Main collection api endpoint for LCD non-historical dataset resources/downloads (download map): api/v1/resources
DROP MATERIALIZED VIEW IF EXISTS "resource_management";
CREATE MATERIALIZ... | 36.212121 | 115 | 0.794979 |
151424ebf0db70ed0cd2a289cbebf3d7d3faf54a | 1,248 | kt | Kotlin | liquidators/aave-liquidator/src/main/java/io/defitrack/mev/EthereumCheapBlockProducer.kt | defitrack/mev-infrastructure | 975b929c95013fe9f999966002947d7987204466 | [
"MIT"
] | null | null | null | liquidators/aave-liquidator/src/main/java/io/defitrack/mev/EthereumCheapBlockProducer.kt | defitrack/mev-infrastructure | 975b929c95013fe9f999966002947d7987204466 | [
"MIT"
] | null | null | null | liquidators/aave-liquidator/src/main/java/io/defitrack/mev/EthereumCheapBlockProducer.kt | defitrack/mev-infrastructure | 975b929c95013fe9f999966002947d7987204466 | [
"MIT"
] | null | null | null | package io.defitrack.mev
import io.defitrack.mev.chains.polygon.config.PolygonContractAccessor
import kotlinx.coroutines.coroutineScope
import kotlinx.coroutines.delay
import kotlinx.coroutines.ensureActive
import kotlinx.coroutines.future.await
import org.slf4j.Logger
import org.slf4j.LoggerFactory
import org.springf... | 33.72973 | 113 | 0.660256 |
53c3bad3631e0948f42cd7d95a2c6875774df4c5 | 433 | java | Java | zudamue-sqlite/src/main/java/st/zudamue/support/android/sql/annnotation/Column.java | costa-xdaniel/DBUtilAndroid | 6769cd6ede74b443abfd71e3a4169e467802b973 | [
"Apache-2.0"
] | 1 | 2017-06-23T13:12:12.000Z | 2017-06-23T13:12:12.000Z | zudamue-sqlite/src/main/java/st/zudamue/support/android/sql/annnotation/Column.java | costa-xdaniel/DBUtilAndroid | 6769cd6ede74b443abfd71e3a4169e467802b973 | [
"Apache-2.0"
] | null | null | null | zudamue-sqlite/src/main/java/st/zudamue/support/android/sql/annnotation/Column.java | costa-xdaniel/DBUtilAndroid | 6769cd6ede74b443abfd71e3a4169e467802b973 | [
"Apache-2.0"
] | null | null | null | package st.zudamue.support.android.sql.annnotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Created by xdaniel on 12/02/17.
*
* @author Daniel Costa <costa.xdaniel@gmail.com>
*/
@Retentio... | 21.65 | 51 | 0.755196 |
b964ddaac1fb7c4e6f8b4d2e8bf4513f9ae611fd | 1,736 | h | C | Video/Dec/Core/IviCP/Main/CPServiceAtiMp2IDCT.h | goodspeed24e/2011Corel | 4efb585a589ea5587a877f4184493b758fa6f9b2 | [
"MIT"
] | 1 | 2019-07-24T07:59:07.000Z | 2019-07-24T07:59:07.000Z | Video/Dec/Core/IviCP/Main/CPServiceAtiMp2IDCT.h | goodspeed24e/2011Corel | 4efb585a589ea5587a877f4184493b758fa6f9b2 | [
"MIT"
] | null | null | null | Video/Dec/Core/IviCP/Main/CPServiceAtiMp2IDCT.h | goodspeed24e/2011Corel | 4efb585a589ea5587a877f4184493b758fa6f9b2 | [
"MIT"
] | 6 | 2015-03-17T12:11:38.000Z | 2022-01-29T01:15:52.000Z | #ifndef _CONTENT_PROTECTION_SERVIC_ATI_MPEG2_
#define _CONTENT_PROTECTION_SERVIC_ATI_MPEG2_
#include "CPService.h"
#include "d3d9.h"
#include "r128auth.h"
#include <dxva.h>
typedef struct
{
DXVA_EncryptProtocolHeader header;
DWORD dwCommand;
DWORD dwData;
} ATIEncryptionCommand;
class CoCPServiceAtiMp2IDCT : pu... | 28.933333 | 102 | 0.778802 |
5c1eb0740290ac2ea5ece720f091abbae4071856 | 652 | lua | Lua | widgets/init.lua | eaufavor/AwesomeWM-powerarrow-dark | 13e45fb6c56cb1f0c35b08f860aa9b7cac1195a6 | [
"Apache-2.0"
] | 2 | 2015-12-03T13:23:26.000Z | 2019-07-23T14:56:58.000Z | widgets/init.lua | eaufavor/AwesomeWM-powerarrow-dark | 13e45fb6c56cb1f0c35b08f860aa9b7cac1195a6 | [
"Apache-2.0"
] | null | null | null | widgets/init.lua | eaufavor/AwesomeWM-powerarrow-dark | 13e45fb6c56cb1f0c35b08f860aa9b7cac1195a6 | [
"Apache-2.0"
] | null | null | null | return {
dock= require( "widgets.dock" ),
devices= require( "widgets.devices" ),
keyboardSwitcher= require( "widgets.keyboardSwitcher" ),
keyboard= require( "widgets.keyboard" ),
spacer= require( "widgets.spacer" ... | 46.571429 | 63 | 0.489264 |
499930d66de09950fccd9b0ec06749530389981d | 6,000 | html | HTML | pipermail/antlr-interest/2006-November/018354.html | hpcc-systems/website-antlr3 | aa6181595356409f8dc624e54715f56bd10707a8 | [
"BSD-3-Clause"
] | null | null | null | pipermail/antlr-interest/2006-November/018354.html | hpcc-systems/website-antlr3 | aa6181595356409f8dc624e54715f56bd10707a8 | [
"BSD-3-Clause"
] | null | null | null | pipermail/antlr-interest/2006-November/018354.html | hpcc-systems/website-antlr3 | aa6181595356409f8dc624e54715f56bd10707a8 | [
"BSD-3-Clause"
] | null | null | null | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [antlr-interest] [BUG] 3.0b4 no complaint on parser reference to lexical fragment
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:antlr-interest%40antlr.org?Subject=%5Bantlr-interest%5D%20%5BBUG%5D%203.0b4%... | 44.117647 | 220 | 0.674 |
6494314ef64c1e5ab2de6a13d6472c592191044f | 1,150 | swift | Swift | one/Service/TimerManager.swift | weifengsmile/one | 8117336a51a7bf80d3c141b0c7885ae45b4a7783 | [
"MIT"
] | 2 | 2022-03-01T02:12:53.000Z | 2022-03-06T13:11:13.000Z | one/Service/TimerManager.swift | weifengsmile/one | 8117336a51a7bf80d3c141b0c7885ae45b4a7783 | [
"MIT"
] | null | null | null | one/Service/TimerManager.swift | weifengsmile/one | 8117336a51a7bf80d3c141b0c7885ae45b4a7783 | [
"MIT"
] | null | null | null | //
// TimerManager.swift
// one
//
// Created by sidney on 6/1/21.
//
import Foundation
class TimerManager {
static let shared = TimerManager()
private var timerDict: [TimerName: Timer?] = [:]
private init() {
}
enum TimerName: String {
case musicPosterLoop = "mu... | 23.958333 | 77 | 0.62087 |
5aa44f0c35311b873cdde1e000d36b5ea3a9adb0 | 221 | asm | Assembly | solutions/23 - Sorting Hall/size-6_speed-24.asm | michaelgundlach/7billionhumans | 02c6f3963364362c95cb516cbc6ef1efc073bb2e | [
"MIT"
] | 45 | 2018-09-05T04:56:59.000Z | 2021-11-22T08:57:26.000Z | solutions/23 - Sorting Hall/size-6_speed-24.asm | michaelgundlach/7billionhumans | 02c6f3963364362c95cb516cbc6ef1efc073bb2e | [
"MIT"
] | 36 | 2018-09-01T11:34:26.000Z | 2021-05-19T23:20:49.000Z | solutions/23 - Sorting Hall/size-6_speed-24.asm | michaelgundlach/7billionhumans | 02c6f3963364362c95cb516cbc6ef1efc073bb2e | [
"MIT"
] | 36 | 2018-09-01T07:44:19.000Z | 2021-09-10T19:07:35.000Z | -- 7 Billion Humans (2053) --
-- 23: Sorting Hall --
-- Author: soerface
-- Size: 6
-- Speed: 24
-- Speed Tests: 24, 25, 23, 24, 26, 24, 23
pickup s
a:
if myitem > e:
step e
endif
if myitem < w:
step w
endif
jump a
| 11.05 | 42 | 0.597285 |
925a3d0906c8ce3ea6c507f8a02370f54b3683e4 | 49,871 | asm | Assembly | reference_asm/battle_extra.asm | tashiww/maten_tools | efaf43958639edfdcd342615f4c23ccba35d80ce | [
"MIT"
] | 1 | 2021-05-14T19:14:38.000Z | 2021-05-14T19:14:38.000Z | reference_asm/battle_extra.asm | tashiww/maten_tools | efaf43958639edfdcd342615f4c23ccba35d80ce | [
"MIT"
] | null | null | null | reference_asm/battle_extra.asm | tashiww/maten_tools | efaf43958639edfdcd342615f4c23ccba35d80ce | [
"MIT"
] | null | null | null | ; ########################################################################################
; # Generated by the active disassembly feature of the Exodus emulation platform
; #
; # Creation Date: 2020-12-22 23:56:14
; # Analysis Region: 0x0000CEC8 - 0x0000F000
; ########################################################... | 98.950397 | 229 | 0.459666 |
754f03fe2381e308a4ab9bfb972dd9d688035686 | 388 | kt | Kotlin | app/src/main/java/com/shevelev/wizard_camera/activity_gallery/fragment_gallery/view/external_actions/GalleryHelper.kt | AlShevelev/WizardCamera | ca008839fb157bac0f9b914243ef2a9d7c6a72fa | [
"Apache-2.0"
] | 42 | 2020-05-09T17:45:46.000Z | 2021-12-17T00:57:44.000Z | app/src/main/java/com/shevelev/wizard_camera/activity_gallery/fragment_gallery/view/external_actions/GalleryHelper.kt | OrenHg/WizardCamera | ca008839fb157bac0f9b914243ef2a9d7c6a72fa | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/shevelev/wizard_camera/activity_gallery/fragment_gallery/view/external_actions/GalleryHelper.kt | OrenHg/WizardCamera | ca008839fb157bac0f9b914243ef2a9d7c6a72fa | [
"Apache-2.0"
] | 4 | 2020-06-24T08:22:39.000Z | 2021-12-17T00:57:33.000Z | package com.shevelev.wizard_camera.activity_gallery.fragment_gallery.view.external_actions
import android.content.Intent
import android.net.Uri
import androidx.fragment.app.Fragment
interface GalleryHelper {
fun startTakingPhoto(fragment: Fragment): Boolean
fun processTakingPhotoResult(requestCode: Int, resu... | 35.272727 | 121 | 0.814433 |
e77b3a359ad23e2479486b68486d1a7a825c74f7 | 620 | js | JavaScript | 801-900/(845)LongestMountainInArray.js | zhang1pr/LeetCode.js | b46a146fcd9577f412c3a343b02c045d422e491b | [
"MIT"
] | null | null | null | 801-900/(845)LongestMountainInArray.js | zhang1pr/LeetCode.js | b46a146fcd9577f412c3a343b02c045d422e491b | [
"MIT"
] | null | null | null | 801-900/(845)LongestMountainInArray.js | zhang1pr/LeetCode.js | b46a146fcd9577f412c3a343b02c045d422e491b | [
"MIT"
] | null | null | null | /**
* @param {number[]} A
* @return {number}
*/
var longestMountain = function(A) {
const N = A.length;
let ans = 0;
let base = 0;
while (base < N) {
let end = base;
if (end + 1 < N && A[end] < A[end + 1]) {
while (end + 1 < N && A[end] < A[end + 1]) {
end++;
}
if (end + 1... | 16.756757 | 52 | 0.398387 |
7645cf977fbac0aafe0c6a7c979f35745f8af3b8 | 1,986 | kt | Kotlin | SDK/openapi_android_developer_sdk/OpenAPIDeveloperLibrary/src/main/java/com/kkbox/openapideveloper/api/MoodStationFetcher.kt | KKBOX/OpenAPI-Android | 8dadc9493c20bdc6b0c87686b266452968318b6c | [
"Apache-2.0"
] | 20 | 2017-10-26T12:03:16.000Z | 2019-07-02T04:51:09.000Z | SDK/openapi_android_developer_sdk/OpenAPIDeveloperLibrary/src/main/java/com/kkbox/openapideveloper/api/MoodStationFetcher.kt | KKBOX/OpenAPI-Android | 8dadc9493c20bdc6b0c87686b266452968318b6c | [
"Apache-2.0"
] | 2 | 2018-02-02T04:17:43.000Z | 2021-01-21T06:24:10.000Z | SDK/openapi_android_developer_sdk/OpenAPIDeveloperLibrary/src/main/java/com/kkbox/openapideveloper/api/MoodStationFetcher.kt | KKBOX/OpenAPI-Android | 8dadc9493c20bdc6b0c87686b266452968318b6c | [
"Apache-2.0"
] | 4 | 2017-11-20T16:46:14.000Z | 2018-09-05T09:33:31.000Z | package com.kkbox.openapideveloper.api
import com.google.gson.JsonObject
import com.kkbox.openapideveloper.Endpoint
import com.koushikdutta.ion.future.ResponseFuture
/**
* Fetch mood stations and get tracks for a specific mood station.
*
* @property httpClient Get response from specific url.
* @property territory... | 35.464286 | 100 | 0.671198 |
293ac25dd39cd2f47cb4f9a3dcfee7024160bc8d | 2,795 | swift | Swift | Buy/Client/Graph.QueryError.swift | RishabhTayal/mobile-buy-sdk-ios | 3825d7ed0e3deb327eb6019c008250b38b43fc62 | [
"MIT"
] | 419 | 2015-10-05T23:50:39.000Z | 2022-03-24T00:00:57.000Z | Buy/Client/Graph.QueryError.swift | RishabhTayal/mobile-buy-sdk-ios | 3825d7ed0e3deb327eb6019c008250b38b43fc62 | [
"MIT"
] | 871 | 2015-10-05T20:44:58.000Z | 2022-03-31T05:36:45.000Z | Buy/Client/Graph.QueryError.swift | RishabhTayal/mobile-buy-sdk-ios | 3825d7ed0e3deb327eb6019c008250b38b43fc62 | [
"MIT"
] | 232 | 2015-10-06T19:28:15.000Z | 2022-02-23T04:27:14.000Z | //
// Graph.QueryError.swift
// Buy
//
// Created by Shopify.
// Copyright (c) 2017 Shopify Inc. All rights reserved.
//
// 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 rest... | 37.266667 | 131 | 0.660107 |
752beac150047a35ce44a3152052a8f861c17043 | 261 | h | C | Animations-master/Animations/LabelScaleViewController.h | 5nn/QuartzCore | f2e4390f224740f518723f73f425e1e30eeca4cf | [
"Apache-2.0"
] | null | null | null | Animations-master/Animations/LabelScaleViewController.h | 5nn/QuartzCore | f2e4390f224740f518723f73f425e1e30eeca4cf | [
"Apache-2.0"
] | null | null | null | Animations-master/Animations/LabelScaleViewController.h | 5nn/QuartzCore | f2e4390f224740f518723f73f425e1e30eeca4cf | [
"Apache-2.0"
] | null | null | null | //
// LabelScaleViewController.h
// Animations
//
// Created by YouXianMing on 15/12/17.
// Copyright © 2015年 YouXianMing. All rights reserved.
//
#import "NormalTitleViewController.h"
@interface LabelScaleViewController : NormalTitleViewController
@end
| 18.642857 | 63 | 0.758621 |
a4ef9a575854e6ab73e4f96531e7a4727ba48992 | 24,739 | swift | Swift | Sources/DTCollectionViewManager/DTCollectionViewManager.swift | DenTelezhkin/DTCollectionViewManager | 27f8d2fcaf2089a18ce987fed018dd6cbd99b575 | [
"MIT"
] | 65 | 2019-03-16T18:00:19.000Z | 2022-03-14T11:18:53.000Z | Sources/DTCollectionViewManager/DTCollectionViewManager.swift | DenTelezhkin/DTCollectionViewManager | 27f8d2fcaf2089a18ce987fed018dd6cbd99b575 | [
"MIT"
] | 8 | 2019-03-07T17:24:27.000Z | 2021-07-05T09:58:08.000Z | Sources/DTCollectionViewManager/DTCollectionViewManager.swift | DenTelezhkin/DTCollectionViewManager | 27f8d2fcaf2089a18ce987fed018dd6cbd99b575 | [
"MIT"
] | 9 | 2019-05-30T08:36:40.000Z | 2022-03-14T11:18:56.000Z | //
// DTCollectionViewManager.swift
// DTCollectionViewManager
//
// Created by Denys Telezhkin on 23.08.15.
// Copyright © 2015 Denys Telezhkin. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Softw... | 58.07277 | 295 | 0.749869 |
2a16bd12537818ec1cea5b4d5cdf6f5ddf1fba2b | 479 | java | Java | src/main/Connect.java | yasheymateen/Woodbride_Pharmacy_System | 30c6984ac715f59fc81861bac87b3ae67a34306e | [
"Unlicense"
] | null | null | null | src/main/Connect.java | yasheymateen/Woodbride_Pharmacy_System | 30c6984ac715f59fc81861bac87b3ae67a34306e | [
"Unlicense"
] | null | null | null | src/main/Connect.java | yasheymateen/Woodbride_Pharmacy_System | 30c6984ac715f59fc81861bac87b3ae67a34306e | [
"Unlicense"
] | null | null | null |
package main;
import java.sql.Connection;
import java.sql.DriverManager;
import javax.swing.JOptionPane;
public class Connect {
public static Connection connect(){
try{
Class.forName("com.mysql.jdbc.Driver");
Connection con = DriverManager.getConnection("jdbc:mysql://localhost/pharmacy","root",""... | 22.809524 | 94 | 0.68476 |
3ef4fc3504d723bdd2d8a5558ca21180fc73b4ba | 37,111 | asm | Assembly | tmp1/c55x-sim2/foo/Debug/sd_test.asm | jwestmoreland/eZdsp-DBG-sim | f6eacd75d4f928dec9c751545e9e919d052e4ade | [
"MIT"
] | 1 | 2020-08-27T11:31:13.000Z | 2020-08-27T11:31:13.000Z | tmp1/c55x-sim2/foo/Debug/sd_test.asm | jwestmoreland/eZdsp-DBG-sim | f6eacd75d4f928dec9c751545e9e919d052e4ade | [
"MIT"
] | null | null | null | tmp1/c55x-sim2/foo/Debug/sd_test.asm | jwestmoreland/eZdsp-DBG-sim | f6eacd75d4f928dec9c751545e9e919d052e4ade | [
"MIT"
] | null | null | null | ;*******************************************************************************
;* TMS320C55x C/C++ Codegen PC v4.4.1 *
;* Date/Time created: Sat Sep 29 23:07:17 2018 *
;****************************************************************************... | 44.391148 | 134 | 0.645307 |
831f85e6d43e8b7b207bae488cd1341f516d1dc6 | 140 | rs | Rust | lun/src/vm/prelude.rs | aslilac/lun | 3fce66432a8a0110b3bc1cc44b048c107d3cd318 | [
"MIT"
] | 2 | 2022-01-15T04:45:47.000Z | 2022-02-20T18:40:45.000Z | lun/src/vm/prelude.rs | aslilac/lun | 3fce66432a8a0110b3bc1cc44b048c107d3cd318 | [
"MIT"
] | 2 | 2022-01-15T06:10:27.000Z | 2022-01-15T10:07:08.000Z | lun/src/vm/prelude.rs | aslilac/lun | 3fce66432a8a0110b3bc1cc44b048c107d3cd318 | [
"MIT"
] | null | null | null | pub use super::{
Vm, VmByteRegister, VmError, VmHwordRegister, VmNativeRegister, VmNativeRegister::*,
VmQwordRegister, VmResult,
};
| 28 | 88 | 0.742857 |
5830124b65a43ab2519b0bcab9b7a85eab5d68c7 | 361 | h | C | Hammer/HMRConcatenation.h | robrix/Hammer | 1967926601b686d5f4242d4f1a5a682703885a42 | [
"BSD-3-Clause"
] | 6 | 2015-11-06T08:11:54.000Z | 2021-08-15T10:21:34.000Z | Hammer/HMRConcatenation.h | robrix/Hammer | 1967926601b686d5f4242d4f1a5a682703885a42 | [
"BSD-3-Clause"
] | null | null | null | Hammer/HMRConcatenation.h | robrix/Hammer | 1967926601b686d5f4242d4f1a5a682703885a42 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2014 Rob Rix. All rights reserved.
#import <Hammer/HMRNonterminal.h>
@interface HMRConcatenation : HMRNonterminal
+(instancetype)concatenateFirst:(HMRCombinator *)first second:(HMRCombinator *)second;
@property (readonly) HMRCombinator *first;
@property (readonly) HMRCombinator *second;
-(instan... | 22.5625 | 86 | 0.783934 |
2f17cd9d07e2881857cdb2a77418893832d3f834 | 226 | php | PHP | src/Components/XmlReader/XmlReaderInterface.php | aragon999/packages | decf93f576b5520216f3d1137c72269e5a6cfd51 | [
"MIT"
] | null | null | null | src/Components/XmlReader/XmlReaderInterface.php | aragon999/packages | decf93f576b5520216f3d1137c72269e5a6cfd51 | [
"MIT"
] | null | null | null | src/Components/XmlReader/XmlReaderInterface.php | aragon999/packages | decf93f576b5520216f3d1137c72269e5a6cfd51 | [
"MIT"
] | null | null | null | <?php declare(strict_types=1);
namespace App\Components\XmlReader;
interface XmlReaderInterface
{
/**
* @param string $xmlFile
*
* @return array
*/
public function read(string $xmlFile): array;
}
| 16.142857 | 49 | 0.646018 |
c7c7bcce362abfd23dacb2df3138b235937fc234 | 646 | kt | Kotlin | app/src/main/java/com/github/ferum_bot/bookreuse/ui/fragment/messages/MessagesScreenFragment.kt | Ferum-bot/BookReuse | cd3344d5f4d971595f99eb519ed3859df0325f6a | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/github/ferum_bot/bookreuse/ui/fragment/messages/MessagesScreenFragment.kt | Ferum-bot/BookReuse | cd3344d5f4d971595f99eb519ed3859df0325f6a | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/github/ferum_bot/bookreuse/ui/fragment/messages/MessagesScreenFragment.kt | Ferum-bot/BookReuse | cd3344d5f4d971595f99eb519ed3859df0325f6a | [
"Apache-2.0"
] | null | null | null | package com.github.ferum_bot.bookreuse.ui.fragment.messages
import androidx.fragment.app.Fragment
import com.github.ferum_bot.bookreuse.R
import com.github.ferum_bot.bookreuse.databinding.FragmentMessagesScreenContainerBinding
import com.github.ferum_bot.bookreuse.ui.fragment.base.BaseFragment
import com.github.ferum_... | 34 | 90 | 0.825077 |
1bf87aadf6a96f3ce6656671246e15ac1ff472ee | 9,333 | py | Python | 1.Data-exploration/Profiles_level4/L1000/scripts/nbconverted/L1000_calculate_SS_TAS.py | AdeboyeML/lincs-profiling-comparison | 9c927947f4d6cec1a39cf655281afe90e797bf6f | [
"BSD-3-Clause"
] | null | null | null | 1.Data-exploration/Profiles_level4/L1000/scripts/nbconverted/L1000_calculate_SS_TAS.py | AdeboyeML/lincs-profiling-comparison | 9c927947f4d6cec1a39cf655281afe90e797bf6f | [
"BSD-3-Clause"
] | null | null | null | 1.Data-exploration/Profiles_level4/L1000/scripts/nbconverted/L1000_calculate_SS_TAS.py | AdeboyeML/lincs-profiling-comparison | 9c927947f4d6cec1a39cf655281afe90e797bf6f | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
# coding: utf-8
# ### - Calculate the signature strength and Transcriptional Activity Score for each compound based on its replicates for Cell painting Level-4 profiles
#
#
# #### Definitions from [clue.io](https://clue.io/connectopedia/signature_quality_metrics)
#
# - **Signature strength -*... | 26.665714 | 359 | 0.687775 |
9bdb82720f63d8e8d1c9f5bafd80b5e09f997a9c | 2,638 | js | JavaScript | __mocks__/contentMock.js | andreybejarano/rakuten-technical-test | 0e198e30bd99bdc17eee78d9fd7267eef5692881 | [
"MIT"
] | null | null | null | __mocks__/contentMock.js | andreybejarano/rakuten-technical-test | 0e198e30bd99bdc17eee78d9fd7267eef5692881 | [
"MIT"
] | null | null | null | __mocks__/contentMock.js | andreybejarano/rakuten-technical-test | 0e198e30bd99bdc17eee78d9fd7267eef5692881 | [
"MIT"
] | null | null | null | module.exports = {
type: 'movies',
id: 'sobrevive-esta-noche',
numerical_id: 127099,
title: 'Sobrevive esta noche',
year: 2020,
duration: 86,
label: '3,99 €',
classification: {
type: 'classifications',
id: '5',
numerical_id: 5,
name: '18',
age: 18,
adult:
false,
descrip... | 23.981818 | 107 | 0.543215 |
3bd1f7120112b27bfea8092f6f9ce1320d4aa253 | 274 | h | C | src/minion/sleep.h | Kerrigan29a/pilf | 004f6b102601aa896a59ec2387bfac8724e06d3a | [
"BSD-3-Clause"
] | 1 | 2016-01-24T17:54:49.000Z | 2016-01-24T17:54:49.000Z | src/minion/sleep.h | Kerrigan29a/pilf | 004f6b102601aa896a59ec2387bfac8724e06d3a | [
"BSD-3-Clause"
] | null | null | null | src/minion/sleep.h | Kerrigan29a/pilf | 004f6b102601aa896a59ec2387bfac8724e06d3a | [
"BSD-3-Clause"
] | null | null | null | #ifndef __PILF_MINION__SLEEP_H__
#define __PILF_MINION__SLEEP_H__
#ifdef WIN32
#include <windows.h>
#define minion_sleep(seconds) Sleep(seconds * 1000)
#else
#include <unistd.h>
#define minion_sleep(seconds) sleep(seconds)
#endif
#endif /* __PILF_MINION__SLEEP_H__ */ | 16.117647 | 51 | 0.784672 |
7013a139ae49815f899bd76cbd44d79214caaef0 | 4,411 | kt | Kotlin | whetstone/compiler/src/main/kotlin/com/freeletics/mad/whetstone/codegen/renderer/RendererFragmentGenerator.kt | ychescale9/mad | 28c56be1f24b6aaf7bfbdbcc059606b7efdfb9d2 | [
"Apache-2.0"
] | 27 | 2021-09-05T17:18:09.000Z | 2022-03-21T03:19:44.000Z | whetstone/compiler/src/main/kotlin/com/freeletics/mad/whetstone/codegen/renderer/RendererFragmentGenerator.kt | ychescale9/mad | 28c56be1f24b6aaf7bfbdbcc059606b7efdfb9d2 | [
"Apache-2.0"
] | 11 | 2021-09-02T14:40:21.000Z | 2022-03-11T13:43:41.000Z | whetstone/compiler/src/main/kotlin/com/freeletics/mad/whetstone/codegen/renderer/RendererFragmentGenerator.kt | ychescale9/mad | 28c56be1f24b6aaf7bfbdbcc059606b7efdfb9d2 | [
"Apache-2.0"
] | 5 | 2021-07-27T14:43:16.000Z | 2022-03-11T07:50:47.000Z | package com.freeletics.mad.whetstone.codegen.renderer
import com.freeletics.mad.whetstone.RendererFragmentData
import com.freeletics.mad.whetstone.codegen.common.viewModelClassName
import com.freeletics.mad.whetstone.codegen.common.viewModelComponentName
import com.freeletics.mad.whetstone.codegen.util.Generator
impor... | 47.430108 | 163 | 0.703015 |
916d3b3633ea773f563b57eae328b2ae7b6bfe4b | 1,448 | html | HTML | web/apps/web_copo/templates/copo/import_ena_accession.html | rpatil524/COPO | cc54a6cfac61584cc97a17073d3837a5820a8b95 | [
"MIT"
] | null | null | null | web/apps/web_copo/templates/copo/import_ena_accession.html | rpatil524/COPO | cc54a6cfac61584cc97a17073d3837a5820a8b95 | [
"MIT"
] | null | null | null | web/apps/web_copo/templates/copo/import_ena_accession.html | rpatil524/COPO | cc54a6cfac61584cc97a17073d3837a5820a8b95 | [
"MIT"
] | null | null | null | {% extends 'copo/base_1col.html' %}
{% load staticfiles %}
{% load web_tags %}
{% load html_tags %}
{% block stylesheet_block %}
{% endblock %}
{% block title_block %} COPO People {% endblock %}
{% block tagline_block %}
{% endblock %}
{% block browse_header_block %}
{% csrf_token %}
<div hidden id="h... | 27.320755 | 116 | 0.648481 |
6e0bee7db0b9a1dbd7f6b61af8337a3e83ce9270 | 106 | sql | SQL | CCIA.SQL/dbo/Tables/ecoregions.sql | ucdavis/CCIA | 24cc0f940148e6f5cd3b594e06c169da03264468 | [
"MIT"
] | 1 | 2019-02-01T20:32:21.000Z | 2019-02-01T20:32:21.000Z | CCIA.SQL/dbo/Tables/ecoregions.sql | ucdavis/CCIA | 24cc0f940148e6f5cd3b594e06c169da03264468 | [
"MIT"
] | 11 | 2019-04-19T19:24:31.000Z | 2021-11-20T03:58:38.000Z | CCIA.SQL/dbo/Tables/ecoregions.sql | ucdavis/CCIA | 24cc0f940148e6f5cd3b594e06c169da03264468 | [
"MIT"
] | null | null | null | CREATE TABLE [dbo].[ecoregions] (
[id] INT NOT NULL,
[name] VARCHAR (50) NOT NULL
);
| 17.666667 | 34 | 0.528302 |
93a71c4db134ea0a84943d9ec4e61bb7e7cb2ddf | 238 | sql | SQL | database/mssql/scripts/dbscripts/PSP_PIMS_S25_01/Alter Up/89_DML_PIMS_PROPERTY_ID_SEQ.sql | FuriousLlama/PSP | dd5d6156980235957498b458c7ba8003c398d53e | [
"Apache-2.0"
] | null | null | null | database/mssql/scripts/dbscripts/PSP_PIMS_S25_01/Alter Up/89_DML_PIMS_PROPERTY_ID_SEQ.sql | FuriousLlama/PSP | dd5d6156980235957498b458c7ba8003c398d53e | [
"Apache-2.0"
] | null | null | null | database/mssql/scripts/dbscripts/PSP_PIMS_S25_01/Alter Up/89_DML_PIMS_PROPERTY_ID_SEQ.sql | FuriousLlama/PSP | dd5d6156980235957498b458c7ba8003c398d53e | [
"Apache-2.0"
] | null | null | null | DECLARE @PIMS_PROPERTY_ID VARCHAR(MAX);
DECLARE @sql VARCHAR(MAX);
SET @PIMS_PROPERTY_ID = (SELECT max(PROPERTY_ID) from PIMS_PROPERTY) + 1;
SET @sql = 'ALTER SEQUENCE PIMS_PROPERTY_ID_SEQ RESTART WITH ' + @PIMS_PROPERTY_ID
EXEC (@sql)
GO | 39.666667 | 82 | 0.777311 |
11f0f5d41a9b1208039356473f078f8c5f6f57c4 | 1,318 | html | HTML | java2ts-demo-client/src/pages/home/home.html | bsorrentino/java2typescript-demo | 45039576f90484456ecb65453bdc23f869eaa3ad | [
"MIT"
] | 1 | 2020-07-15T21:10:21.000Z | 2020-07-15T21:10:21.000Z | java2ts-demo-client/src/pages/home/home.html | bsorrentino/java2typescript-demo | 45039576f90484456ecb65453bdc23f869eaa3ad | [
"MIT"
] | null | null | null | java2ts-demo-client/src/pages/home/home.html | bsorrentino/java2typescript-demo | 45039576f90484456ecb65453bdc23f869eaa3ad | [
"MIT"
] | null | null | null |
<ion-header>
<ion-navbar>
<ion-title>
Java to Typescript - Playground
</ion-title>
</ion-navbar>
</ion-header>
<ion-content>
<ion-split-pane>
<!-- our side menu -->
<ion-menu [content]="content">
<ion-header>
<ion-toolbar>
<ion-title>Classes</ion-title>
<ion-button... | 26.897959 | 75 | 0.518209 |
eb626aba3283a128243ba38d9614daf4eadc6af9 | 1,515 | sql | SQL | database/s_category.sql | vibolyoeung/psarnetwork | 8e0a9c4969db1c27131c41b824a4dbaf8602ba7a | [
"MIT"
] | 4 | 2015-06-11T17:22:25.000Z | 2020-06-02T02:17:08.000Z | database/s_category.sql | vibolyoeung/psarnetwork | 8e0a9c4969db1c27131c41b824a4dbaf8602ba7a | [
"MIT"
] | null | null | null | database/s_category.sql | vibolyoeung/psarnetwork | 8e0a9c4969db1c27131c41b824a4dbaf8602ba7a | [
"MIT"
] | null | null | null | /*
SQLyog Ultimate v10.00 Beta1
MySQL - 5.6.12-log : Database - psarnetwork_db
*********************************************************************
*/
/*!40101 SET NAMES utf8 */;
/*!40101 SET SQL_MODE=''*/;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KE... | 36.071429 | 185 | 0.658086 |
fb8c5536c79b22171a8a2383f42ef4446a0a5cf2 | 2,481 | kt | Kotlin | src/test/kotlin/com/fasterxml/jackson/module/kotlin/test/github/Github114.kt | k163377/jackson-module-kotlin | a49aa3a86f5d3e6e0ace82630bf5458d57b4aaee | [
"Apache-2.0"
] | null | null | null | src/test/kotlin/com/fasterxml/jackson/module/kotlin/test/github/Github114.kt | k163377/jackson-module-kotlin | a49aa3a86f5d3e6e0ace82630bf5458d57b4aaee | [
"Apache-2.0"
] | null | null | null | src/test/kotlin/com/fasterxml/jackson/module/kotlin/test/github/Github114.kt | k163377/jackson-module-kotlin | a49aa3a86f5d3e6e0ace82630bf5458d57b4aaee | [
"Apache-2.0"
] | null | null | null | package com.fasterxml.jackson.module.kotlin.test.github
import com.fasterxml.jackson.annotation.JsonCreator
import com.fasterxml.jackson.annotation.JsonProperty
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
import com.fasterxml.jackson.module.kotlin.readValue
import org.junit.Test
import kotlin.reflec... | 34.943662 | 182 | 0.658202 |
aeb48346edb604e43437636c138f87e5a34d95c4 | 1,614 | lua | Lua | Lua/Buildings/DustGenerator.lua | startrail/SurvivingMars | b58abe8393497bb07210ce974baa7ea70dbb5a88 | [
"BSD-Source-Code"
] | 1 | 2019-05-21T03:01:00.000Z | 2019-05-21T03:01:00.000Z | Lua/Buildings/DustGenerator.lua | startrail/SurvivingMars | b58abe8393497bb07210ce974baa7ea70dbb5a88 | [
"BSD-Source-Code"
] | null | null | null | Lua/Buildings/DustGenerator.lua | startrail/SurvivingMars | b58abe8393497bb07210ce974baa7ea70dbb5a88 | [
"BSD-Source-Code"
] | null | null | null | DefineClass.DustGenerator =
{
__parents = { "Building" },
properties =
{
{id = "dust_per_sol", name = T{653, "Dust per Sol"}, editor = "number", default = 6000, category = "Dust Generator" },
{id = "dust_range", name = T{654, "Dust Range"}, editor = "number", default = 70 * guim, category = "Dust Generator"... | 26.032258 | 123 | 0.73482 |
1347d96eb341936c313009356de67a6c41eddf7f | 1,523 | h | C | src/gui/picking/color_picking.h | lii-enac/djnn-cpp | f27c5ba3186186ee22c93ae91c16063556e929b6 | [
"BSD-2-Clause"
] | 4 | 2018-09-11T14:27:57.000Z | 2019-12-16T21:06:26.000Z | src/gui/picking/color_picking.h | lii-enac/djnn-cpp | f27c5ba3186186ee22c93ae91c16063556e929b6 | [
"BSD-2-Clause"
] | null | null | null | src/gui/picking/color_picking.h | lii-enac/djnn-cpp | f27c5ba3186186ee22c93ae91c16063556e929b6 | [
"BSD-2-Clause"
] | 2 | 2018-06-11T14:15:30.000Z | 2019-01-09T12:23:35.000Z | /*
* djnn v2
*
* The copyright holders for the contents of this file are:
* Ecole Nationale de l'Aviation Civile, France (2014-2018)
* See file "license.terms" for the rights and conditions
* defined by copyright holders.
*
*
* Contributors:
* Mathieu Poirier <mathieu.poirier@enac.fr>
* S... | 24.564516 | 75 | 0.665135 |
96665d0e7aee37127719e812fe7bb2922114b8bb | 406 | php | PHP | app/Models/Order_summary.php | anikweb/laravel-e-commerce | 3f0af774938e9c65b5c4df0ca963abad5d2cbae4 | [
"MIT"
] | null | null | null | app/Models/Order_summary.php | anikweb/laravel-e-commerce | 3f0af774938e9c65b5c4df0ca963abad5d2cbae4 | [
"MIT"
] | null | null | null | app/Models/Order_summary.php | anikweb/laravel-e-commerce | 3f0af774938e9c65b5c4df0ca963abad5d2cbae4 | [
"MIT"
] | null | null | null | <?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Order_summary extends Model
{
use HasFactory;
public function checkout(){
return $this->belongsTo(checkoutDetail::class,'checkout_id');
}
public function order_deta... | 22.555556 | 70 | 0.724138 |
50c93c9e689a0f1c000ae6bb6089ab6d94234f14 | 2,666 | go | Go | extraction/processor.go | jimmidyson/prometheus-client_golang | bd0bf27ade6aa1c18991b24687021e1f1a25386d | [
"Apache-2.0"
] | 6 | 2021-05-01T14:35:57.000Z | 2022-03-09T13:31:26.000Z | extraction/processor.go | jimmidyson/prometheus-client_golang | bd0bf27ade6aa1c18991b24687021e1f1a25386d | [
"Apache-2.0"
] | null | null | null | extraction/processor.go | jimmidyson/prometheus-client_golang | bd0bf27ade6aa1c18991b24687021e1f1a25386d | [
"Apache-2.0"
] | 3 | 2021-05-01T14:36:03.000Z | 2022-03-09T13:30:54.000Z | // Copyright 2013 The Prometheus Authors
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to... | 31.364706 | 79 | 0.753563 |
38b5026fa606d545f4b1434afbea3f6082355dd7 | 5,330 | h | C | os/drivers/wireless/realtek/rtk/include/hal_com_phycfg.h | drashti304/TizenRT | 096501f38e16cbbfc369df6b3f503ea1f14b1b79 | [
"Apache-2.0"
] | null | null | null | os/drivers/wireless/realtek/rtk/include/hal_com_phycfg.h | drashti304/TizenRT | 096501f38e16cbbfc369df6b3f503ea1f14b1b79 | [
"Apache-2.0"
] | null | null | null | os/drivers/wireless/realtek/rtk/include/hal_com_phycfg.h | drashti304/TizenRT | 096501f38e16cbbfc369df6b3f503ea1f14b1b79 | [
"Apache-2.0"
] | null | null | null | /******************************************************************************
*
* Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU G... | 23.794643 | 98 | 0.674296 |
a5af3aac577cba3b4d654e0035237d06b89619c6 | 1,060 | asm | Assembly | libsrc/target/mikro80/input/in_KeyPressed.asm | Frodevan/z88dk | f27af9fe840ff995c63c80a73673ba7ee33fffac | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/target/mikro80/input/in_KeyPressed.asm | Frodevan/z88dk | f27af9fe840ff995c63c80a73673ba7ee33fffac | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/target/mikro80/input/in_KeyPressed.asm | Frodevan/z88dk | f27af9fe840ff995c63c80a73673ba7ee33fffac | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z | ; uint in_KeyPressed(uint scancode)
SECTION code_clib
PUBLIC in_KeyPressed
PUBLIC _in_KeyPressed
EXTERN CLIB_KEYBOARD_ADDRESS
; Determines if a key is pressed using the scan code
; returned by in_LookupKey.
; enter : l = scan row
; h = key mask
; exit : carry = key is pressed & HL = 1
; no carry = k... | 16.825397 | 73 | 0.667925 |
44d3239987375ecae0d44e9eb447069c3832ff1d | 6,806 | swift | Swift | BTrain/Elements/Transition.swift | jean-bovet/BTrain | d1956a73bc709c42ba9ee89e380c354060b27a9c | [
"MIT"
] | 2 | 2022-01-01T22:31:42.000Z | 2022-01-11T22:00:59.000Z | BTrain/Elements/Transition.swift | jean-bovet/BTrain | d1956a73bc709c42ba9ee89e380c354060b27a9c | [
"MIT"
] | 14 | 2022-01-01T19:56:23.000Z | 2022-03-31T09:20:49.000Z | BTrain/Elements/Transition.swift | jean-bovet/BTrain | d1956a73bc709c42ba9ee89e380c354060b27a9c | [
"MIT"
] | null | null | null | // Copyright 2021-22 Jean Bovet
//
// 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, publish, distribut... | 33.527094 | 160 | 0.603438 |
6086e84734b76febb67f53f54307be495be017d8 | 11,221 | sql | SQL | thitracnghiem1.sql | thonghuynhit/thitracnghiem_laravel | c41189722c107fa40aa6aa5787e42352a1c307eb | [
"MIT"
] | 1 | 2019-08-27T21:57:06.000Z | 2019-08-27T21:57:06.000Z | thitracnghiem1.sql | thonghuynhit/thitracnghiem_laravel | c41189722c107fa40aa6aa5787e42352a1c307eb | [
"MIT"
] | null | null | null | thitracnghiem1.sql | thonghuynhit/thitracnghiem_laravel | c41189722c107fa40aa6aa5787e42352a1c307eb | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.8.5
-- https://www.phpmyadmin.net/
--
-- Host: localhost
-- Generation Time: Aug 14, 2019 at 03:05 PM
-- Server version: 10.1.38-MariaDB
-- PHP Version: 7.2.16
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OL... | 27.774752 | 178 | 0.645664 |
e374e442771d32da9bfb1d49e8556743ea8fd1b4 | 156 | asm | Assembly | base.asm | danielzy95/x86-funz | 67763837b7ed236379359f51ab87d8200d141bd6 | [
"MIT"
] | null | null | null | base.asm | danielzy95/x86-funz | 67763837b7ed236379359f51ab87d8200d141bd6 | [
"MIT"
] | null | null | null | base.asm | danielzy95/x86-funz | 67763837b7ed236379359f51ab87d8200d141bd6 | [
"MIT"
] | null | null | null | main:
push ebp
mov ebp, esp
call funct
jmp end
funct:
push ebp
mov ebp, esp
mov esp, ebp
pop ebp
ret
end:
; Cleanup
mov esp, ebp
pop ebp | 6.782609 | 13 | 0.634615 |
02d33b9c57678ddad07843fecfa2fb302e0dd973 | 1,181 | kt | Kotlin | library/src/main/java/com/slim/adapter/SlimPagerAdapter.kt | lvtanxi/SlimAdapter | 7544d924c521e2ed0534171335b8c3174f8b67c3 | [
"Apache-2.0"
] | null | null | null | library/src/main/java/com/slim/adapter/SlimPagerAdapter.kt | lvtanxi/SlimAdapter | 7544d924c521e2ed0534171335b8c3174f8b67c3 | [
"Apache-2.0"
] | null | null | null | library/src/main/java/com/slim/adapter/SlimPagerAdapter.kt | lvtanxi/SlimAdapter | 7544d924c521e2ed0534171335b8c3174f8b67c3 | [
"Apache-2.0"
] | null | null | null | package com.slim.adapter
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentManager
import androidx.fragment.app.FragmentStatePagerAdapter
import androidx.viewpager.widget.ViewPager
/**
* Date: 2018-04-18
* Time: 13:26
* Description: FragmentStatePagerAdapter
*/
class SlimPagerAdapter(fm:... | 25.12766 | 77 | 0.709568 |
d2aff91231e768d7e6d5c2e7724f308eb8fe5f0f | 1,601 | php | PHP | resources/views/reserva/cria.blade.php | summer-school-ime-usp-2017/final-project-projeto-livre-Ezequias-Silva | 771054427c0a9e0ec8b83a5db5befebc19416986 | [
"MIT"
] | null | null | null | resources/views/reserva/cria.blade.php | summer-school-ime-usp-2017/final-project-projeto-livre-Ezequias-Silva | 771054427c0a9e0ec8b83a5db5befebc19416986 | [
"MIT"
] | null | null | null | resources/views/reserva/cria.blade.php | summer-school-ime-usp-2017/final-project-projeto-livre-Ezequias-Silva | 771054427c0a9e0ec8b83a5db5befebc19416986 | [
"MIT"
] | null | null | null | @extends('layouts.master')
@section('title','Cadastro de reserva')
@section('pager-haeder-content','Cadastro de reserva')
@section('content')
<div class="row">
<div class="col-md-3">
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">Cadastro de reser... | 27.135593 | 108 | 0.537789 |
15dd8cff8ff8b39600a3210eee94a0a192168300 | 119 | rb | Ruby | db/migrate/20170929154639_update_brand_price.rb | langlk/shoe_store | e407f3f3f1158816e80a7a4f0443c851d20e37a4 | [
"MIT"
] | null | null | null | db/migrate/20170929154639_update_brand_price.rb | langlk/shoe_store | e407f3f3f1158816e80a7a4f0443c851d20e37a4 | [
"MIT"
] | null | null | null | db/migrate/20170929154639_update_brand_price.rb | langlk/shoe_store | e407f3f3f1158816e80a7a4f0443c851d20e37a4 | [
"MIT"
] | null | null | null | class UpdateBrandPrice < ActiveRecord::Migration[5.1]
def change
change_column :brands, :price, :float
end
end
| 19.833333 | 53 | 0.739496 |
e77b3f427bc8f3f261d9e791936896606aa3a736 | 289 | js | JavaScript | index.js | aslilac/slate | 0d9fc8e395f681a95619488ddf1b063ec0f064eb | [
"MIT"
] | 2 | 2022-02-17T01:26:49.000Z | 2022-02-17T13:10:48.000Z | index.js | aslilac/slate | 0d9fc8e395f681a95619488ddf1b063ec0f064eb | [
"MIT"
] | 1 | 2022-03-11T04:00:41.000Z | 2022-03-11T04:00:41.000Z | index.js | aslilac/slate | 0d9fc8e395f681a95619488ddf1b063ec0f064eb | [
"MIT"
] | null | null | null | import { Elm } from "./src/Main.elm";
const DAY = 1000 * 60 * 60 * 24;
const timezoneOffset = new Date().getTimezoneOffset() * 60 * 1000;
const dayOfGame = Math.floor((Date.now() - timezoneOffset) / DAY);
Elm.Main.init({
node: document.querySelector("#app"),
flags: { dayOfGame },
});
| 26.272727 | 66 | 0.657439 |
51b6389a3f60da76588bc0ce1b99d7dd6ca646fa | 1,377 | swift | Swift | Routine/PresentationLayer/Modules/AuthorizeGroup/RestorePassword/RestorePasswordRouter.swift | cmuphobk/routine | 9c029a16fc1356936c2bfbf73939e088af0bda19 | [
"MIT"
] | null | null | null | Routine/PresentationLayer/Modules/AuthorizeGroup/RestorePassword/RestorePasswordRouter.swift | cmuphobk/routine | 9c029a16fc1356936c2bfbf73939e088af0bda19 | [
"MIT"
] | null | null | null | Routine/PresentationLayer/Modules/AuthorizeGroup/RestorePassword/RestorePasswordRouter.swift | cmuphobk/routine | 9c029a16fc1356936c2bfbf73939e088af0bda19 | [
"MIT"
] | null | null | null | import UIKit
final class RestorePasswordRouter: RestorePasswordModuleRouting {
weak var viewController: UIViewController?
var moduleService: ModuleServiceInterface!
func openPinCodeModule(login: String) {
self.moduleService.moduleFactory.makePinCodeModule { [unowned self] (_, moduleIn... | 29.297872 | 101 | 0.622367 |
12ef604f269ddc39105a808b9344d9274e49c98d | 2,729 | html | HTML | select.html | Thenight22/St_Dominic_primary | 7c8b03081940be84ce275dc894e260bb9f8eefab | [
"MIT"
] | null | null | null | select.html | Thenight22/St_Dominic_primary | 7c8b03081940be84ce275dc894e260bb9f8eefab | [
"MIT"
] | null | null | null | select.html | Thenight22/St_Dominic_primary | 7c8b03081940be84ce275dc894e260bb9f8eefab | [
"MIT"
] | null | null | null | select
post_id as order_id,
p.post_date,
max( CASE WHEN pm.meta_key = '_billing_email' and post_id = pm.post_id THEN pm.meta_value END ) as billing_email,
max( CASE WHEN pm.meta_key = '_billing_first_name' and post_id = pm.post_id THEN pm.meta_value END ) as _billing_first_name,
max( CASE WHEN ... | 82.69697 | 131 | 0.739831 |
c69b0205db843716705ba12457ff18aa15188dd2 | 402 | rb | Ruby | spec/web_app_rails/config/boot.rb | kares/trinidad | 8a8b6b62d3458b8ecc48c2672d5eff93a72c0374 | [
"Apache-2.0"
] | 96 | 2015-01-13T11:03:18.000Z | 2021-01-14T23:14:37.000Z | spec/web_app_rails/config/boot.rb | kares/trinidad | 8a8b6b62d3458b8ecc48c2672d5eff93a72c0374 | [
"Apache-2.0"
] | 9 | 2015-04-29T07:01:38.000Z | 2021-11-10T05:06:36.000Z | spec/web_app_rails/config/boot.rb | kares/trinidad | 8a8b6b62d3458b8ecc48c2672d5eff93a72c0374 | [
"Apache-2.0"
] | 12 | 2015-01-13T11:03:20.000Z | 2017-10-31T15:48:38.000Z | require 'rubygems'
# Set up gems listed in the Gemfile.
# ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
# NOTE: use Trinidad's Gemfile - we'll require the integration group
# @see #application.rb Bundler.require(:integration, Rails.env)
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../../../Ge... | 40.2 | 75 | 0.711443 |
4262925f8abee0454cf8de761069e7d97db1d786 | 223 | swift | Swift | Example/TipJarViewController/ViewController.swift | pclemente/TipJarViewController | effa6e4ded37d964052bdaf3d369744abe7e7305 | [
"Apache-2.0"
] | 80 | 2018-05-07T02:43:00.000Z | 2022-03-07T11:24:51.000Z | Example/TipJarViewController/ViewController.swift | mohsinalimat/TipJarViewController | 43572c313270308cfed1a05936c187e55151571f | [
"Apache-2.0"
] | 14 | 2018-05-08T15:01:54.000Z | 2020-10-06T13:12:54.000Z | Example/TipJarViewController/ViewController.swift | mohsinalimat/TipJarViewController | 43572c313270308cfed1a05936c187e55151571f | [
"Apache-2.0"
] | 18 | 2018-05-07T22:00:53.000Z | 2022-03-07T11:23:54.000Z | //
// ViewController.swift
// TipJarViewController
//
// Created by Dan Loewenherz on 05/06/2018.
// Copyright (c) 2018 Dan Loewenherz. All rights reserved.
//
import UIKit
class ViewController: UIViewController {
}
| 15.928571 | 59 | 0.721973 |
f03ac5d7659f10dfb37b2809abf402ff19dbec0f | 338 | py | Python | Algorithms/Problems/MaximumSubarray/tests/maximum_substring_naive_test.py | Nalhin/AlgorithmsAndDataStructures | 2d2c87d0572e107c993c3c8866b8beefd4d22082 | [
"MIT"
] | 1 | 2021-11-16T13:02:25.000Z | 2021-11-16T13:02:25.000Z | Algorithms/Problems/MaximumSubarray/tests/maximum_substring_naive_test.py | Nalhin/AlgorithmsAndDataStructures | 2d2c87d0572e107c993c3c8866b8beefd4d22082 | [
"MIT"
] | null | null | null | Algorithms/Problems/MaximumSubarray/tests/maximum_substring_naive_test.py | Nalhin/AlgorithmsAndDataStructures | 2d2c87d0572e107c993c3c8866b8beefd4d22082 | [
"MIT"
] | null | null | null | from Algorithms.Problems.MaximumSubarray.maximum_substring_naive import (
maximum_subarray_naive,
)
class TestMaximumSubarrayNaive:
def test_returns_maximum_subarray(self):
data = [1, -2, 3, 10, -5, 14]
expected = [3, 10, -5, 14]
result = maximum_subarray_naive(data)
assert r... | 24.142857 | 73 | 0.683432 |
bb134d5c0d6d71b1e58746e023bae1eb6a422c79 | 1,317 | html | HTML | resources/corpora/entity_recognition/jnlpba/anndoc/99008372.html | ashishbaghudana/mthesis-ashish | 55f969266ca3df1aa1e28b9078c0c21f7e0ea002 | [
"MIT"
] | null | null | null | resources/corpora/entity_recognition/jnlpba/anndoc/99008372.html | ashishbaghudana/mthesis-ashish | 55f969266ca3df1aa1e28b9078c0c21f7e0ea002 | [
"MIT"
] | 10 | 2015-09-18T11:45:40.000Z | 2015-10-29T18:16:41.000Z | resources/corpora/entity_recognition/jnlpba/anndoc/99008372.html | ashishbaghudana/mthesis-ashish | 55f969266ca3df1aa1e28b9078c0c21f7e0ea002 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html id="1aed580700ac417789f10cb3262512fa:99008372" data-origid="99008372" class="anndoc" data-anndoc-version="2.0" lang="" xml:lang="" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="UTF-8"/>
<meta name="generator" content="org.rostlab.relna"/>
<title>1aed580700ac417789f10cb3262512f... | 62.714286 | 681 | 0.749431 |
906feb82835bdc71bdbce222f2f41bba6cf41123 | 1,904 | py | Python | venv-skin/lib/python3.6/site-packages/hashes/ops/sha512_crypt.py | nobi1007/flask-apis | 9ae5d676be5fe7d0669415089bd032f43abda2d8 | [
"MIT"
] | null | null | null | venv-skin/lib/python3.6/site-packages/hashes/ops/sha512_crypt.py | nobi1007/flask-apis | 9ae5d676be5fe7d0669415089bd032f43abda2d8 | [
"MIT"
] | 3 | 2020-06-03T08:09:39.000Z | 2021-04-30T21:17:43.000Z | venv-skin/lib/python3.6/site-packages/hashes/ops/sha512_crypt.py | nobi1007/flask-apis | 9ae5d676be5fe7d0669415089bd032f43abda2d8 | [
"MIT"
] | null | null | null | '''
This module generates sha512_crypt hashes
'''
from hashes.common import helpers
from passlib.hash import sha512_crypt
class Algorithm:
def __init__(self):
self.hash_type = "sha512_crypt"
self.description = "This module generates sha512_crypt hashes"
def generate(self, cli_object):
... | 44.27907 | 131 | 0.617122 |
2db0cd025cb140c276ab7db29ebcdb77d282ca5f | 8,696 | rs | Rust | src/lib.rs | p0lunin/dptree | cf41f052a864e145ef600faf79a1dff186b5a905 | [
"MIT"
] | 10 | 2022-02-06T22:30:33.000Z | 2022-03-23T14:15:57.000Z | src/lib.rs | p0lunin/dptree | cf41f052a864e145ef600faf79a1dff186b5a905 | [
"MIT"
] | 1 | 2022-02-04T17:16:42.000Z | 2022-02-04T17:16:42.000Z | src/lib.rs | p0lunin/dptree | cf41f052a864e145ef600faf79a1dff186b5a905 | [
"MIT"
] | 1 | 2022-02-04T08:26:44.000Z | 2022-02-04T08:26:44.000Z | //! An implementation of the [chain (tree) of responsibility] pattern.
//!
//! ```
//! use dptree::prelude::*;
//!
//! type WebHandler = Endpoint<'static, DependencyMap, String>;
//!
//! #[rustfmt::skip]
//! #[tokio::main]
//! async fn main() {
//! let web_server = dptree::entry()
//! .branch(smiles_handler... | 33.836576 | 128 | 0.541628 |
59689355867f07aa66340c8a5603df28abd504ee | 72 | h | C | DLToolDemo/DLToolDemo/DLTool/Classes/DLObject/NSMutableData+Add.h | DeIouch/DLTool | 95c4e92a05ad5c036a5c811be6887f94864c1ea0 | [
"MIT"
] | null | null | null | DLToolDemo/DLToolDemo/DLTool/Classes/DLObject/NSMutableData+Add.h | DeIouch/DLTool | 95c4e92a05ad5c036a5c811be6887f94864c1ea0 | [
"MIT"
] | null | null | null | DLToolDemo/DLToolDemo/DLTool/Classes/DLObject/NSMutableData+Add.h | DeIouch/DLTool | 95c4e92a05ad5c036a5c811be6887f94864c1ea0 | [
"MIT"
] | null | null | null | #import <Foundation/Foundation.h>
@interface NSMutableData (Add)
@end
| 12 | 33 | 0.763889 |
a1ce4e8eeee9c3c4c9d6785aaf60fa553e9fff22 | 3,046 | h | C | robot/install/include/intera_core_msgs/SolvePositionIK.h | satvu/TeachBot | 5888aea544fea952afa36c097a597c5d575c8d6d | [
"BSD-3-Clause"
] | null | null | null | robot/install/include/intera_core_msgs/SolvePositionIK.h | satvu/TeachBot | 5888aea544fea952afa36c097a597c5d575c8d6d | [
"BSD-3-Clause"
] | null | null | null | robot/install/include/intera_core_msgs/SolvePositionIK.h | satvu/TeachBot | 5888aea544fea952afa36c097a597c5d575c8d6d | [
"BSD-3-Clause"
] | null | null | null | // Generated by gencpp from file intera_core_msgs/SolvePositionIK.msg
// DO NOT EDIT!
#ifndef INTERA_CORE_MSGS_MESSAGE_SOLVEPOSITIONIK_H
#define INTERA_CORE_MSGS_MESSAGE_SOLVEPOSITIONIK_H
#include <ros/service_traits.h>
#include <intera_core_msgs/SolvePositionIKRequest.h>
#include <intera_core_msgs/SolvePositionIK... | 24.564516 | 90 | 0.755745 |
14388bcc2e416f66481c52b02c9a951b0fabab6e | 1,050 | kt | Kotlin | src/main/kotlin/io/github/nickacpt/lightcraft/gradle/LightCraftGradleExtension.kt | NickAcPT/LightClientGradle | ef0539964bdb29f3d98463fccb1f723672e54936 | [
"MIT"
] | null | null | null | src/main/kotlin/io/github/nickacpt/lightcraft/gradle/LightCraftGradleExtension.kt | NickAcPT/LightClientGradle | ef0539964bdb29f3d98463fccb1f723672e54936 | [
"MIT"
] | 1 | 2021-09-13T19:27:57.000Z | 2021-09-13T19:27:57.000Z | src/main/kotlin/io/github/nickacpt/lightcraft/gradle/LightCraftGradleExtension.kt | NickAcPT/LightClientGradle | ef0539964bdb29f3d98463fccb1f723672e54936 | [
"MIT"
] | 1 | 2021-09-13T17:16:43.000Z | 2021-09-13T17:16:43.000Z | package io.github.nickacpt.lightcraft.gradle
import io.github.nickacpt.lightcraft.gradle.minecraft.ClientVersion
import java.io.File
open class LightCraftGradleExtension {
internal val launchSettings = LightCraftLaunchSettings()
var clientVersion = ClientVersion.V1_5_2
fun computeVersionName() =
... | 28.378378 | 67 | 0.752381 |
3a065d1119891be93d835fea7ad2277b9c610a56 | 1,152 | swift | Swift | Devote/Devote/Styles/CheckboxStyle.swift | KasRoid/SwiftUI-Masterclass | 39afe097a96cfb7fb90aef5cd7f535a81356f57b | [
"MIT"
] | null | null | null | Devote/Devote/Styles/CheckboxStyle.swift | KasRoid/SwiftUI-Masterclass | 39afe097a96cfb7fb90aef5cd7f535a81356f57b | [
"MIT"
] | null | null | null | Devote/Devote/Styles/CheckboxStyle.swift | KasRoid/SwiftUI-Masterclass | 39afe097a96cfb7fb90aef5cd7f535a81356f57b | [
"MIT"
] | null | null | null | //
// CheckboxStyle.swift
// Devote
//
// Created by Kas Song on 2021/04/16.
//
import SwiftUI
struct CheckboxStyle: ToggleStyle {
// MARK: - Body
func makeBody(configuration: Configuration) -> some View {
HStack {
Image(systemName: configuration.isOn ? "checkmark.circle.fill" : "c... | 29.538462 | 86 | 0.556424 |
2d9424dd7abfe4a933ab453a7a28b70657d24c7b | 3,198 | html | HTML | exercicios/ex021/caixa02.html | amauri007/html-css | 2e5a3866aba55d85137004dcf0f042bf525462a5 | [
"MIT"
] | null | null | null | exercicios/ex021/caixa02.html | amauri007/html-css | 2e5a3866aba55d85137004dcf0f042bf525462a5 | [
"MIT"
] | null | null | null | exercicios/ex021/caixa02.html | amauri007/html-css | 2e5a3866aba55d85137004dcf0f042bf525462a5 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="pt-br">
<!--Cabeça são cinfigurações do seu site -->
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!--Grouping Tags Semanticas -->
<title>Grouping Tags</tit... | 26.429752 | 231 | 0.480613 |
a7fa1e77a9f36e0cc83c282bb9643c1b3e670077 | 10,070 | lua | Lua | bin/src/cocos_ext/ui_system/_convert_ani_data.lua | CarlZhongZ/cocos_editor | e7ed85e42f5eb100d73b59ad70ab75cfd47dd186 | [
"MIT"
] | 20 | 2018-06-14T14:15:24.000Z | 2021-01-07T18:24:47.000Z | tools/project_template/src/cocos_ext/ui_system/_convert_ani_data.lua | StevenCoober/cocos_editor | e7ed85e42f5eb100d73b59ad70ab75cfd47dd186 | [
"MIT"
] | null | null | null | tools/project_template/src/cocos_ext/ui_system/_convert_ani_data.lua | StevenCoober/cocos_editor | e7ed85e42f5eb100d73b59ad70ab75cfd47dd186 | [
"MIT"
] | 7 | 2018-09-24T09:05:00.000Z | 2022-01-16T15:06:56.000Z | local id2name = {
[201] = 'ProgressTo',
[202] = 'FrameAnimation',
}
local decorActions = {
'Repeat',
'EaseIn',
'EaseOut',
'EaseInOut',
'EaseSineIn',
'EaseSineOut',
'EaseSineInOut',
'EaseQuadraticActionIn',
'EaseQuadraticActionOut',
'EaseQuadraticActionInOut',
'EaseC... | 22.578475 | 97 | 0.519861 |
415da313873445fb1ab8f61d873d40e91855885b | 590 | h | C | base/ntos/verifier/vffilter.h | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | base/ntos/verifier/vffilter.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | base/ntos/verifier/vffilter.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /*++
Copyright (c) 2000 Microsoft Corporation
Module Name:
vffilter.h
Abstract:
This header contains prototypes for using the verifier driver filter.
Author:
Adrian J. Oney (adriao) 12-June-2000
Environment:
Kernel mode
Revision History:
AdriaO 06/12/2000 - Aut... | 13.72093 | 74 | 0.647458 |
388e14a556b8d8c372002cbc89f54669ae7e569e | 3,234 | swift | Swift | ios/ios/Feature/Discover/DiscoverView.swift | c0de-wizard/tv-maniac | d1f9432b58155a1f1e2deadc569aac122fcdbe83 | [
"Apache-2.0"
] | 32 | 2021-08-10T15:18:15.000Z | 2022-03-15T04:31:37.000Z | ios/ios/Feature/Discover/DiscoverView.swift | c0de-wizard/tv-maniac | d1f9432b58155a1f1e2deadc569aac122fcdbe83 | [
"Apache-2.0"
] | 6 | 2021-12-18T17:32:12.000Z | 2022-03-18T13:36:24.000Z | ios/ios/Feature/Discover/DiscoverView.swift | c0de-wizard/tv-maniac | d1f9432b58155a1f1e2deadc569aac122fcdbe83 | [
"Apache-2.0"
] | 4 | 2021-12-18T18:06:55.000Z | 2022-01-29T15:41:09.000Z | import SwiftUI
import TvManiac
struct DiscoverView: View {
@ObservedObject var observable = ObservableViewModel<DiscoverShowsViewModel, DiscoverShowsState>(
viewModel: DiscoverShowsViewModel()
)
var body: some View {
ZStack {
Color("Background")
.edgesIgnoringSafeArea(.all)
if observabl... | 19.6 | 98 | 0.643785 |
3961585046f4f94233182fe9f8d9bf230d1fd060 | 1,248 | html | HTML | index.html | fivagod/videojs-dvr | bf1c46201879a58ab2f78ef21f203c728d7523e7 | [
"MIT"
] | null | null | null | index.html | fivagod/videojs-dvr | bf1c46201879a58ab2f78ef21f203c728d7523e7 | [
"MIT"
] | null | null | null | index.html | fivagod/videojs-dvr | bf1c46201879a58ab2f78ef21f203c728d7523e7 | [
"MIT"
] | null | null | null | <!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>videojs-dvr Demo</title>
<link href="https://vjs.zencdn.net/6.8.0/video-js.css" rel="stylesheet">
<link href="dist/videojs-dvr.css" rel="stylesheet">
<style>
body{
display: flex;
justify-content: center;
align-items: center;
... | 27.130435 | 166 | 0.665064 |
965f39f4ec00af263f9e0b731ca64fbc662bfabb | 1,384 | php | PHP | resources/views/Frontend/inc/navbar.blade.php | ian97jr/insurance | 7d9ddc90be6f4917c46767c56774da5e9ce988cf | [
"MIT"
] | null | null | null | resources/views/Frontend/inc/navbar.blade.php | ian97jr/insurance | 7d9ddc90be6f4917c46767c56774da5e9ce988cf | [
"MIT"
] | null | null | null | resources/views/Frontend/inc/navbar.blade.php | ian97jr/insurance | 7d9ddc90be6f4917c46767c56774da5e9ce988cf | [
"MIT"
] | null | null | null | <div class="header-area ">
<div id="sticky-header" class="main-header-area">
<div class="container-fluid ">
<div class="header_bottom_border">
<div class="row align-items-center">
<div class="col col-xl-3 col-lg-2">
<div>
... | 41.939394 | 95 | 0.314306 |
fecfd699a6a711514e05b3af3c03f157f30a3077 | 502 | html | HTML | es.212.237/inspectionDescriptions/MapReplaceableByEnumMap.html | macastro/SpanishLanguagePack-JetBrains | 70e8a884e19d282f398f31a4ce2db41ca1cbea82 | [
"MIT"
] | 7 | 2021-07-05T23:32:54.000Z | 2022-01-09T14:08:16.000Z | es.212.237/inspectionDescriptions/MapReplaceableByEnumMap.html | macastro/SpanishLanguagePack-JetBrains | 70e8a884e19d282f398f31a4ce2db41ca1cbea82 | [
"MIT"
] | 2 | 2021-05-17T23:08:56.000Z | 2021-08-09T10:17:11.000Z | es.212.237/inspectionDescriptions/MapReplaceableByEnumMap.html | macastro/SpanishLanguagePack-JetBrains | 70e8a884e19d282f398f31a4ce2db41ca1cbea82 | [
"MIT"
] | 3 | 2020-12-06T18:34:10.000Z | 2021-08-18T23:08:35.000Z | <html>
<body>
키 타입이 열거형 클래스인 <code>java.util.Map</code> 객체의 인스턴스화를 보고합니다. 이러한 <code>java.util.Map</code> 객체는
<code>java.util.EnumMap</code> 객체로 대체될 수 있습니다.
<p>
기본 데이터 구조가 단순한 배열이기 때문에 <code>java.util.EnumMap</code> 구현이 훨씬 더 효율적일 수 있습니다.
</p>
<p><b>예:</b></p>
<pre><code>
Map<MyEnum, String> myEnums = new HashM... | 27.888889 | 94 | 0.63745 |
48c91bb4a5af61521a18166b499cff13b066568b | 1,277 | h | C | LastHope Engine/ModuleEditor.h | rohomedesrius/LastHopeEngine | 5a73a0a3cf00fbcd2fa48f0ec1ce2c9bc1057bc0 | [
"MIT"
] | 1 | 2018-10-03T14:01:40.000Z | 2018-10-03T14:01:40.000Z | LastHope Engine/ModuleEditor.h | rohomedesrius/LastHopeEngine | 5a73a0a3cf00fbcd2fa48f0ec1ce2c9bc1057bc0 | [
"MIT"
] | null | null | null | LastHope Engine/ModuleEditor.h | rohomedesrius/LastHopeEngine | 5a73a0a3cf00fbcd2fa48f0ec1ce2c9bc1057bc0 | [
"MIT"
] | null | null | null | #ifndef __EDITOR_H__
#define __EDITOR_H__
#include "Module.h"
#include "Console.h"
struct Style
{
bool active = false;
// c stands for Color
ImVec4 c_text = {};
ImVec4 c_head = {};
ImVec4 c_area = {};
ImVec4 c_body = {};
ImVec4 c_pop = {};
};
class ModuleEditor : public Module
{
public:
ModuleEditor(Applica... | 16.164557 | 59 | 0.721222 |
1a29bd53944795d0dbf32c62043e2da4d7bad397 | 2,969 | swift | Swift | Sources/TuistKit/Services/FocusService.swift | bhuemer/tuist | 1cbacae2b19bce19c0ada0eb3fa81fa9e189b5ef | [
"MIT"
] | null | null | null | Sources/TuistKit/Services/FocusService.swift | bhuemer/tuist | 1cbacae2b19bce19c0ada0eb3fa81fa9e189b5ef | [
"MIT"
] | 285 | 2020-07-05T10:15:49.000Z | 2022-03-28T11:33:43.000Z | Sources/TuistKit/Services/FocusService.swift | bhuemer/tuist | 1cbacae2b19bce19c0ada0eb3fa81fa9e189b5ef | [
"MIT"
] | null | null | null | import Foundation
import RxBlocking
import RxSwift
import TSCBasic
import TuistCache
import TuistCore
import TuistGenerator
import TuistLoader
import TuistSupport
protocol FocusServiceProjectGeneratorFactorying {
func generator(sources: Set<String>, xcframeworks: Bool, ignoreCache: Bool) -> ProjectGenerating
}
fi... | 35.345238 | 149 | 0.677332 |
810a31d8df780b7fa3fbf0e28abc435c3e4c5541 | 1,217 | rs | Rust | storage-proto/src/lib.rs | Blockdaemon/solana | e4d0d4bfaec32f86988963e1be026881b7b49489 | [
"Apache-2.0"
] | 5 | 2020-12-08T13:52:26.000Z | 2022-01-19T02:34:15.000Z | storage-proto/src/lib.rs | Blockdaemon/solana | e4d0d4bfaec32f86988963e1be026881b7b49489 | [
"Apache-2.0"
] | 201 | 2020-10-09T06:43:21.000Z | 2022-03-25T08:40:20.000Z | storage-proto/src/lib.rs | Blockdaemon/solana | e4d0d4bfaec32f86988963e1be026881b7b49489 | [
"Apache-2.0"
] | 2 | 2021-08-30T10:00:15.000Z | 2021-12-23T16:10:27.000Z | use serde::{Deserialize, Serialize};
use solana_sdk::deserialize_utils::default_on_eof;
use solana_transaction_status::{Reward, RewardType};
pub mod convert;
pub type StoredExtendedRewards = Vec<StoredExtendedReward>;
#[derive(Serialize, Deserialize)]
pub struct StoredExtendedReward {
pubkey: String,
lamport... | 22.962264 | 59 | 0.573541 |
b6b99b73feabda4231a7cd657e1a7c27cc81d326 | 720 | rb | Ruby | solns/ruby/27.rb | retiman/project-euler | 402dc1e6dca91cb52140f74465661595de96d7b7 | [
"CC0-1.0"
] | 7 | 2015-06-15T08:18:40.000Z | 2021-05-02T03:57:09.000Z | solns/ruby/27.rb | retiman/project-euler | 402dc1e6dca91cb52140f74465661595de96d7b7 | [
"CC0-1.0"
] | 3 | 2015-01-29T20:56:41.000Z | 2021-03-28T22:56:12.000Z | solns/ruby/27.rb | retiman/project-euler | 402dc1e6dca91cb52140f74465661595de96d7b7 | [
"CC0-1.0"
] | 1 | 2015-01-29T06:29:29.000Z | 2015-01-29T06:29:29.000Z | require "set"
# A simple quadratic
def f(n, a, b)
n*n + a*n + b
end
# For how many values is a quadratic prime?
def count(ps, a, b)
(0..b).take_while { |n| ps.include? f(n, a, b) }.count
end
# A list of the primes under 2 million will be fine
def primes
file = File.new("../data/primes.txt")
set = Set.new
w... | 16.363636 | 56 | 0.573611 |
3fae6e2e72c1fcf15fd143cd39b027805fa42de3 | 3,013 | h | C | inc/rlbot/statesetting.h | samuelpmish/RLBotCPP | 5b1d27f5279061859a80156a70750adc0ba3d475 | [
"MIT"
] | 4 | 2019-06-08T21:25:14.000Z | 2019-09-06T17:20:22.000Z | RLBotCPP/inc/rlbot/statesetting.h | steinraf/badbotcpp | 6b517bd0c9ce1f1b717dbfdd790e627434259219 | [
"MIT"
] | 2 | 2019-06-18T19:24:32.000Z | 2021-12-08T06:38:37.000Z | RLBotCPP/inc/rlbot/statesetting.h | steinraf/badbotcpp | 6b517bd0c9ce1f1b717dbfdd790e627434259219 | [
"MIT"
] | 13 | 2019-05-04T19:08:25.000Z | 2022-02-07T20:13:09.000Z | #pragma once
#include <flatbuffers/flatbuffers.h>
#include "rlbot/rlbot_generated.h"
#include <array>
#include <optional>
namespace rlbot {
/** @brief Helper class for PhysicsState. */
struct DesiredVector3 {
float x, y, z;
};
/** @brief Helper class for PhysicsState. */
struct DesiredRotator {
float pitch, ya... | 32.75 | 147 | 0.742781 |
71692a7aa2ada244535b11074d36572e8d57a390 | 188 | ts | TypeScript | src/modules/quiz/repositories/IQuizRepository.ts | rafasnarf/cenopFarm-backend | aded4e1818b474bb1516b2cdeb856076681cf904 | [
"MIT"
] | null | null | null | src/modules/quiz/repositories/IQuizRepository.ts | rafasnarf/cenopFarm-backend | aded4e1818b474bb1516b2cdeb856076681cf904 | [
"MIT"
] | null | null | null | src/modules/quiz/repositories/IQuizRepository.ts | rafasnarf/cenopFarm-backend | aded4e1818b474bb1516b2cdeb856076681cf904 | [
"MIT"
] | null | null | null | import { QuizDTO } from '../dtos/QuizDTO';
import { Quiz } from '../infra/typeorm/entities/Quiz';
export interface IQuizRepository {
saveQuestion(data: QuizDTO): Promise<Quiz>;
}
| 26.857143 | 55 | 0.691489 |
f0578852a5ff5c3e1606f3ad4ada58e4f74be6e6 | 19,862 | js | JavaScript | node_modules/@coreui/icons/js/flag/cif-kh.js | yashn007/nodejs | d15b0a52a043172321b9abc6761fabf235832cca | [
"MIT"
] | 1,950 | 2018-05-09T13:26:46.000Z | 2022-03-31T00:32:37.000Z | node_modules/@coreui/icons/js/flag/cif-kh.js | yashn007/nodejs | d15b0a52a043172321b9abc6761fabf235832cca | [
"MIT"
] | 41 | 2020-07-21T23:11:07.000Z | 2022-01-30T23:58:12.000Z | node_modules/@coreui/icons/js/flag/cif-kh.js | yashn007/nodejs | d15b0a52a043172321b9abc6761fabf235832cca | [
"MIT"
] | 175 | 2018-05-11T22:01:22.000Z | 2022-03-27T16:49:12.000Z | export const cifKh = ["301 193","<g fill='none' fill-rule='evenodd'><path fill='#E00025' fill-rule='nonzero' d='M.5 48.5h300v96H.5z'/><path fill='#032EA1' fill-rule='nonzero' d='M.5.5h300v48H.5zM.5 144.5h300v48H.5z'/><path fill='#FFF' fill-rule='nonzero' stroke='#000' stroke-width='.45' d='M149.37 58.994s-.07-1.974 1.0... | 19,862 | 19,862 | 0.691673 |
c7ac3ec280a316a794bc094b316cee5bdaefdafc | 12,896 | py | Python | model-optimizer/mo/front/kaldi/loader/utils.py | zhoub/dldt | e42c01cf6e1d3aefa55e2c5df91f1054daddc575 | [
"Apache-2.0"
] | null | null | null | model-optimizer/mo/front/kaldi/loader/utils.py | zhoub/dldt | e42c01cf6e1d3aefa55e2c5df91f1054daddc575 | [
"Apache-2.0"
] | null | null | null | model-optimizer/mo/front/kaldi/loader/utils.py | zhoub/dldt | e42c01cf6e1d3aefa55e2c5df91f1054daddc575 | [
"Apache-2.0"
] | null | null | null | """
Copyright (c) 2018-2019 Intel Corporation
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... | 31.530562 | 105 | 0.629498 |
21de125317e660792cab16e45b4d029d46f3929b | 36,490 | html | HTML | datafiles/CaseAnalysis/2014/2014_S_480.html | athityakumar/harvey | 3102656e4adeb939217e9eb5b85e002a2fc84136 | [
"MIT"
] | 2 | 2019-02-08T22:24:41.000Z | 2022-02-16T11:59:52.000Z | datafiles/CaseAnalysis/2014/2014_S_480.html | athityakumar/harvey | 3102656e4adeb939217e9eb5b85e002a2fc84136 | [
"MIT"
] | 11 | 2019-02-05T11:53:05.000Z | 2019-03-05T15:57:19.000Z | datafiles/CaseAnalysis/2014/2014_S_480.html | athityakumar/harvey | 3102656e4adeb939217e9eb5b85e002a2fc84136 | [
"MIT"
] | 3 | 2019-03-02T15:09:35.000Z | 2022-01-25T07:01:03.000Z | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" class="pinned"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Bal Kishan Giri v State of Uttar Pradesh | Westlaw India</title><!--
Copyright 2010... | 598.196721 | 20,964 | 0.739052 |
e5097f2a0f0189dcffc9e0797f96170ba843026f | 15,027 | html | HTML | MATLAB/slprj/ert/_sharedutils/html/MWDSP_EPH_R_B_c.html | meltinglab/lqrhil-dcmotor | 7181a181ef7b66de68751cb5c2cb08f1eeb9d9a9 | [
"MIT"
] | 2 | 2019-01-24T08:47:42.000Z | 2019-02-13T15:32:10.000Z | MATLAB/slprj/ert/_sharedutils/html/MWDSP_EPH_R_B_c.html | filipposerafini/motor-control | f49f4bcce91acce8cd34de2c2b5f7856f414fa54 | [
"MIT"
] | null | null | null | MATLAB/slprj/ert/_sharedutils/html/MWDSP_EPH_R_B_c.html | filipposerafini/motor-control | f49f4bcce91acce8cd34de2c2b5f7856f414fa54 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="./js/coder_app.js"></script>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="./rtwreport_utils.js"></script>
<script type="text/javascript" src="./rtwannotate.js"></script>
<link rel="style... | 69.248848 | 349 | 0.532641 |
40f93f40324e7e852988c89fa38ec5e8b93d1e11 | 14,442 | py | Python | mapclientplugins/pelvislandmarkshjcpredictionstep/hjcpredictionviewerwidget.py | tsalemink/pelvislandmarkshjcpredictionstep | 8c26e42a07320cef379d70a9ac5fad1c04c29c44 | [
"Apache-2.0"
] | null | null | null | mapclientplugins/pelvislandmarkshjcpredictionstep/hjcpredictionviewerwidget.py | tsalemink/pelvislandmarkshjcpredictionstep | 8c26e42a07320cef379d70a9ac5fad1c04c29c44 | [
"Apache-2.0"
] | 1 | 2020-01-28T23:25:48.000Z | 2020-01-28T23:25:48.000Z | mapclientplugins/pelvislandmarkshjcpredictionstep/hjcpredictionviewerwidget.py | tsalemink/pelvislandmarkshjcpredictionstep | 8c26e42a07320cef379d70a9ac5fad1c04c29c44 | [
"Apache-2.0"
] | 1 | 2021-06-03T20:39:27.000Z | 2021-06-03T20:39:27.000Z | '''
MAP Client, a program to generate detailed musculoskeletal models for OpenSim.
Copyright (C) 2012 University of Auckland
This file is part of MAP Client. (http://launchpad.net/mapclient)
MAP Client is free software: you can redistribute it and/or modify
it under the terms of the GNU Genera... | 43.110448 | 127 | 0.64534 |
3ccdb2117c5d94b0635aafbe4914c1e09e7280f7 | 11,389 | swift | Swift | SendBird-iOS/GroupChannel/CreateGroupChannel/CreateGroupChannelViewControllerA.swift | sendbird/quickstart-calls-chat-integration-ios | 5e226fce2f87aa368c38e5949d93100dbf538e75 | [
"MIT"
] | 15 | 2019-07-26T22:09:52.000Z | 2022-03-30T21:35:32.000Z | SendBird-iOS/GroupChannel/CreateGroupChannel/CreateGroupChannelViewControllerA.swift | sendbird/quickstart-calls-chat-integration-ios | 5e226fce2f87aa368c38e5949d93100dbf538e75 | [
"MIT"
] | 3 | 2019-12-16T11:23:09.000Z | 2020-03-25T06:24:04.000Z | SendBird-iOS/GroupChannel/CreateGroupChannel/CreateGroupChannelViewControllerA.swift | sendbird/quickstart-calls-chat-integration-ios | 5e226fce2f87aa368c38e5949d93100dbf538e75 | [
"MIT"
] | 20 | 2019-06-25T20:24:10.000Z | 2021-08-17T21:25:05.000Z | //
// CreateGroupChannelViewControllerA.swift
// SendBird-iOS
//
// Created by Jed Gyeong on 10/15/18.
// Copyright © 2018 SendBird. All rights reserved.
//
import UIKit
import SendBirdSDK
class CreateGroupChannelViewControllerA: UIViewController, UITableViewDelegate, UITableViewDataSource, UICollectionViewDataSo... | 37.587459 | 200 | 0.606111 |
cfa883180f464a1ef994ee94534c18cec3833578 | 23,250 | swift | Swift | ViteBusiness/Classes/Business/Market/MarketInfoService.swift | vitelabs/vite-business-ios | 76f10d45b32f12f0d1b7a14129585e1b05b8667d | [
"MIT"
] | 12 | 2019-03-22T00:37:04.000Z | 2022-03-08T01:02:28.000Z | ViteBusiness/Classes/Business/Market/MarketInfoService.swift | vitelabs/vite-business-ios | 76f10d45b32f12f0d1b7a14129585e1b05b8667d | [
"MIT"
] | null | null | null | ViteBusiness/Classes/Business/Market/MarketInfoService.swift | vitelabs/vite-business-ios | 76f10d45b32f12f0d1b7a14129585e1b05b8667d | [
"MIT"
] | 5 | 2019-06-13T02:43:01.000Z | 2022-01-08T19:05:27.000Z | //
// MarketInfoVM.swift
// Action
//
// Created by haoshenyang on 2019/10/10.
//
import UIKit
import SwiftyJSON
import RxSwift
import RxCocoa
import Alamofire
import PromiseKit
import ViteWallet
enum SortType {
case `default`
case name(mode: SortMode)
case price(mode: SortMode)
case percent(mode: ... | 37.140575 | 143 | 0.560086 |
7f71cbe433c036979c34a5b4ae61e08bb7506853 | 19,087 | rs | Rust | src/decompress.rs | lengyijun/rust-snappy | bec32a9cd6cbd7476e30de67bcde49a5c091341a | [
"BSD-3-Clause"
] | null | null | null | src/decompress.rs | lengyijun/rust-snappy | bec32a9cd6cbd7476e30de67bcde49a5c091341a | [
"BSD-3-Clause"
] | null | null | null | src/decompress.rs | lengyijun/rust-snappy | bec32a9cd6cbd7476e30de67bcde49a5c091341a | [
"BSD-3-Clause"
] | null | null | null | use std::prelude::v1::*;
use std::ptr;
use crate::bytes;
use crate::error::{Error, Result};
use crate::tag;
use crate::MAX_INPUT_SIZE;
/// A lookup table for quickly computing the various attributes derived from a
/// tag byte.
const TAG_LOOKUP_TABLE: TagLookupTable = TagLookupTable(tag::TAG_LOOKUP_TABLE);
/// `WORD... | 40.438559 | 79 | 0.54765 |
9d1a5c00314781deed17e0734fa70f64d29ec595 | 3,131 | html | HTML | ukpsummarizer-be/cplex/cplex/matlab/x86-64_linux/help/topics/gs_integrate.html | UKPLab/vldb2018-sherlock | 74f34ca074e72ad9137b60f921588585256e0eac | [
"Apache-2.0"
] | 2 | 2018-11-26T01:49:30.000Z | 2019-01-31T10:04:00.000Z | ukpsummarizer-be/cplex/cplex/matlab/x86-64_linux/help/topics/gs_integrate.html | AIPHES/vldb2018-sherlock | 3746efa35c4c1769cc4aaeb15aeb9453564e1226 | [
"Apache-2.0"
] | null | null | null | ukpsummarizer-be/cplex/cplex/matlab/x86-64_linux/help/topics/gs_integrate.html | AIPHES/vldb2018-sherlock | 3746efa35c4c1769cc4aaeb15aeb9453564e1226 | [
"Apache-2.0"
] | 4 | 2018-11-06T16:12:55.000Z | 2019-08-21T13:22:32.000Z | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us" lang="en-us">
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta ... | 59.075472 | 312 | 0.724689 |
d0e78e63f1bc677606dc7466449e7e652f4229a5 | 5,623 | css | CSS | data/train/css/d0e78e63f1bc677606dc7466449e7e652f4229a5ApiDoc.css | aliostad/deep-learning-lang-detection | d6b031f3ebc690cf2ffd0ae1b08ffa8fb3b38a62 | [
"MIT"
] | 84 | 2017-10-25T15:49:21.000Z | 2021-11-28T21:25:54.000Z | data/train/css/d0e78e63f1bc677606dc7466449e7e652f4229a5ApiDoc.css | vassalos/deep-learning-lang-detection | cbb00b3e81bed3a64553f9c6aa6138b2511e544e | [
"MIT"
] | 5 | 2018-03-29T11:50:46.000Z | 2021-04-26T13:33:18.000Z | data/train/css/d0e78e63f1bc677606dc7466449e7e652f4229a5ApiDoc.css | vassalos/deep-learning-lang-detection | cbb00b3e81bed3a64553f9c6aa6138b2511e544e | [
"MIT"
] | 24 | 2017-11-22T08:31:00.000Z | 2022-03-27T01:22:31.000Z | /*Start: Help Content Layout*/
.main {
display: -webkit-flex;
display: flex;
-webkit-flex-flow: row;
flex-flow: row;
height: 100%;
top: 70px;
}
.main .apiNav {
background: #dddddd;
/*border-right: 1px solid #dddddd;*/
-webkit-flex: 1 6 11%;
flex: 1 6 11%;
-webkit-order: 1;
... | 19.256849 | 88 | 0.615686 |
54d346a6bd4793082b8f921cd8ac5d8625c201b7 | 36,945 | asm | Assembly | data/battle_anims/subanimations.asm | opiter09/ASM-Machina | 75d8e457b3e82cc7a99b8e70ada643ab02863ada | [
"CC0-1.0"
] | 1 | 2022-02-15T00:19:44.000Z | 2022-02-15T00:19:44.000Z | data/battle_anims/subanimations.asm | opiter09/ASM-Machina | 75d8e457b3e82cc7a99b8e70ada643ab02863ada | [
"CC0-1.0"
] | null | null | null | data/battle_anims/subanimations.asm | opiter09/ASM-Machina | 75d8e457b3e82cc7a99b8e70ada643ab02863ada | [
"CC0-1.0"
] | null | null | null | SubanimationPointers:
table_width 2, SubanimationPointers
dw Subanimation00
dw Subanimation01
dw Subanimation02
dw Subanimation03
dw Subanimation04
dw Subanimation05
dw Subanimation06
dw Subanimation07
dw Subanimation08
dw Subanimation09
dw Subanimation0a
dw Subanimation0b
dw Subanimation0c
dw Subanimati... | 38.605016 | 66 | 0.859142 |
5e7bc684aa1e8e839f547856d9eca19e7a4c66da | 4,970 | kt | Kotlin | xbinder/src/main/java/com/luqinx/xbinder/XBinder.kt | luqinx/XBinder | 3d47b9aca87a91235debdf172907a3b5ba6f6464 | [
"Apache-2.0"
] | 2 | 2022-03-27T06:25:59.000Z | 2022-03-27T14:53:07.000Z | xbinder/src/main/java/com/luqinx/xbinder/XBinder.kt | luqinx/XBinder | 3d47b9aca87a91235debdf172907a3b5ba6f6464 | [
"Apache-2.0"
] | null | null | null | xbinder/src/main/java/com/luqinx/xbinder/XBinder.kt | luqinx/XBinder | 3d47b9aca87a91235debdf172907a3b5ba6f6464 | [
"Apache-2.0"
] | null | null | null | package com.luqinx.xbinder
import com.luqinx.xbinder.annotation.InvokeType
import com.luqinx.xbinder.serialize.AdapterManager
import com.luqinx.xbinder.serialize.ParcelAdapter
import java.lang.reflect.Type
/**
* @author qinchao
*
* @since 2022/1/2
*/
object XBinder {
var xbinderReady = false
@JvmStatic... | 33.133333 | 147 | 0.61006 |
745759d692a85e9c03927b57d42137e2ef6ed0d4 | 3,263 | c | C | samples/soldering/ScreenConfig.c | control-flow-attestation/c-flat | 83bb9f14bf65db9accef957fa538a276662fd017 | [
"Apache-2.0"
] | 33 | 2016-08-12T10:08:35.000Z | 2022-02-24T08:03:21.000Z | samples/soldering/ScreenConfig.c | control-flow-attestation/c-flat | 83bb9f14bf65db9accef957fa538a276662fd017 | [
"Apache-2.0"
] | 3 | 2016-08-21T01:37:45.000Z | 2018-03-22T14:03:44.000Z | samples/soldering/ScreenConfig.c | control-flow-attestation/c-flat | 83bb9f14bf65db9accef957fa538a276662fd017 | [
"Apache-2.0"
] | 12 | 2016-10-25T11:00:14.000Z | 2022-01-27T10:46:02.000Z | #include "ScreenConfig.h"
#include "string.h"
const char MSG_CELSIUS[4] = {' ', ' ', ' ', 'c' };
const char MSG_FARENHEIT[4] = {' ', ' ', ' ', 'F' };
void createScreenConfig(ScreenConfig *const self, Iron* iron, Display* display, Encoder* enc, Config* cfg) {
self->pIron = iron;
self->pD = display;
self-... | 27.652542 | 108 | 0.537849 |
749720f70be7a2bf6089951e96b602af5f1914ec | 5,214 | rs | Rust | flussab/src/byte_writer.rs | NieDzejkob/flussab | 3e0716358b38ac3199509a25c13bc7c8cfcfd2e0 | [
"0BSD"
] | 5 | 2021-05-02T15:47:39.000Z | 2022-01-30T18:21:37.000Z | flussab/src/byte_writer.rs | NieDzejkob/flussab | 3e0716358b38ac3199509a25c13bc7c8cfcfd2e0 | [
"0BSD"
] | 1 | 2021-06-03T13:29:06.000Z | 2021-06-03T13:29:06.000Z | flussab/src/byte_writer.rs | NieDzejkob/flussab | 3e0716358b38ac3199509a25c13bc7c8cfcfd2e0 | [
"0BSD"
] | 1 | 2021-05-27T00:30:43.000Z | 2021-05-27T00:30:43.000Z | use std::io::{self, Write};
/// A buffered writer with deferred error checking.
///
/// This can be used like [`std::io::BufWriter`], but like [`ByteReader`][crate::ByteReader] this
/// performs deferred error checking. This means that any call to [`write`][Write::write], will
/// always succeed. IO errors that occur ... | 34.993289 | 100 | 0.569812 |
858949aafcd6819a9a2b9811ccb6e5adfb99e3f1 | 4,474 | js | JavaScript | G2/Class13/Workshop/Code/script/app.js | sedc-codecademy/skwd9-04-ajs | bbbcab6260f64fbee2a9e070100183d5ac361c57 | [
"MIT"
] | 6 | 2021-02-16T08:07:57.000Z | 2021-03-03T14:41:20.000Z | G2/Class13/Workshop/Code/script/app.js | sedc-codecademy/skwd9-04-ajs | bbbcab6260f64fbee2a9e070100183d5ac361c57 | [
"MIT"
] | null | null | null | G2/Class13/Workshop/Code/script/app.js | sedc-codecademy/skwd9-04-ajs | bbbcab6260f64fbee2a9e070100183d5ac361c57 | [
"MIT"
] | 15 | 2021-02-06T09:04:22.000Z | 2021-03-19T18:59:28.000Z | import {data as dataFromFile} from './data.js';
let promise = new Promise(function(resolve, reject){
resolve(dataFromFile);
})
const html = {
searchInput: document.getElementById("searchInput"),
searchBtn: document.getElementById("searchBtn"),
resetBtn: document.getElementById("resetBtn"),
spiner:... | 33.639098 | 201 | 0.604157 |
9074dde93de61b347b1589f348318f0c88a51381 | 1,673 | py | Python | tests/components/homekit_controller/specific_devices/test_simpleconnect_fan.py | pcaston/core | e74d946cef7a9d4e232ae9e0ba150d18018cfe33 | [
"Apache-2.0"
] | 1 | 2021-07-08T20:09:55.000Z | 2021-07-08T20:09:55.000Z | tests/components/homekit_controller/specific_devices/test_simpleconnect_fan.py | pcaston/core | e74d946cef7a9d4e232ae9e0ba150d18018cfe33 | [
"Apache-2.0"
] | 47 | 2021-02-21T23:43:07.000Z | 2022-03-31T06:07:10.000Z | tests/components/homekit_controller/specific_devices/test_simpleconnect_fan.py | OpenPeerPower/core | f673dfac9f2d0c48fa30af37b0a99df9dd6640ee | [
"Apache-2.0"
] | null | null | null | """
Test against characteristics captured from a SIMPLEconnect Fan.
https://github.com/openpeerpower/core/issues/26180
"""
from openpeerpower.components.fan import SUPPORT_DIRECTION, SUPPORT_SET_SPEED
from openpeerpower.helpers import device_registry as dr, entity_registry as er
from tests.components.homekit_control... | 32.173077 | 82 | 0.735804 |
468b410bb6bbff13ef1ad257d1ccd8dfec0e605f | 3,017 | swift | Swift | Surf/iTunesFileTableViewController.swift | jobpassion/Surf | 42109301ed01b9fa333cd7ebd4d68bfe870fe0e0 | [
"BSD-3-Clause"
] | 1 | 2021-04-30T05:36:24.000Z | 2021-04-30T05:36:24.000Z | Surf/iTunesFileTableViewController.swift | jobpassion/Surf | 42109301ed01b9fa333cd7ebd4d68bfe870fe0e0 | [
"BSD-3-Clause"
] | null | null | null | Surf/iTunesFileTableViewController.swift | jobpassion/Surf | 42109301ed01b9fa333cd7ebd4d68bfe870fe0e0 | [
"BSD-3-Clause"
] | 1 | 2021-09-09T08:09:06.000Z | 2021-09-09T08:09:06.000Z | //
// iTunesFileTableViewController.swift
// Surf
//
// Created by yarshure on 16/1/18.
// Copyright © 2016年 yarshure. All rights reserved.
//
import UIKit
@objc protocol AddFileDelegate:class {
func importFileConfig(controller: iTunesFileTableViewController, config:String)// file name
func cancelSelect(... | 37.246914 | 181 | 0.641366 |
4364414f7d657c2c36ffe47eb905c1b0110b23e0 | 843 | asm | Assembly | programs/oeis/010/A010892.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/010/A010892.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/010/A010892.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A010892: Inverse of 6th cyclotomic polynomial. A period 6 sequence.
; 1,1,0,-1,-1,0,1,1,0,-1,-1,0,1,1,0,-1,-1,0,1,1,0,-1,-1,0,1,1,0,-1,-1,0,1,1,0,-1,-1,0,1,1,0,-1,-1,0,1,1,0,-1,-1,0,1,1,0,-1,-1,0,1,1,0,-1,-1,0,1,1,0,-1,-1,0,1,1,0,-1,-1,0,1,1,0,-1,-1,0,1,1,0,-1,-1,0,1,1,0,-1,-1,0,1,1,0,-1,-1,0,1,1,0,-1,-1,0,1,1,0,-1,-... | 36.652174 | 584 | 0.467378 |
8580c2ac392e5ef589832d27d4f667df7ed96e84 | 6,239 | js | JavaScript | client/src/components/navbar.component.js | r951236958/todo-application | ee91dac72f01464767b9a36975b258dd0bc2441e | [
"MIT"
] | null | null | null | client/src/components/navbar.component.js | r951236958/todo-application | ee91dac72f01464767b9a36975b258dd0bc2441e | [
"MIT"
] | null | null | null | client/src/components/navbar.component.js | r951236958/todo-application | ee91dac72f01464767b9a36975b258dd0bc2441e | [
"MIT"
] | null | null | null | import React, { useEffect, useState } from 'react';
import { IconButton, Tooltip } from '@material-ui/core';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import { faAdjust, faSignOutAlt, faUser, faListUl, faSignInAlt, faUsers, faChartLine } from '@fortawesome/free-solid-svg-icons/';
import { Logou... | 60.572816 | 611 | 0.534701 |
2696414c24fd6b2fba2055c0b4fb767e7eefd63d | 17,783 | java | Java | topics/api-migration/benchmark/src/org/planet_sl/apimigration/benchmark/jdom/test_as_xom/ParentNodeTest.java | grammarware/slps | a39bb0f8454de8508269d4467f2501badbb2cc4a | [
"BSD-3-Clause"
] | 19 | 2015-01-18T13:50:02.000Z | 2021-11-08T11:23:22.000Z | topics/api-migration/benchmark/src/org/planet_sl/apimigration/benchmark/jdom/test_as_xom/ParentNodeTest.java | grammarware/slps | a39bb0f8454de8508269d4467f2501badbb2cc4a | [
"BSD-3-Clause"
] | null | null | null | topics/api-migration/benchmark/src/org/planet_sl/apimigration/benchmark/jdom/test_as_xom/ParentNodeTest.java | grammarware/slps | a39bb0f8454de8508269d4467f2501badbb2cc4a | [
"BSD-3-Clause"
] | 13 | 2015-01-18T13:50:07.000Z | 2020-05-26T10:10:18.000Z | package org.planet_sl.apimigration.benchmark.jdom.test_as_xom;
import org.planet_sl.apimigration.benchmark.anno.Progress;
import org.planet_sl.apimigration.benchmark.anno.Progress.Status;
import org.planet_sl.apimigration.benchmark.anno.Solution;
import org.planet_sl.apimigration.benchmark.anno.Solution.Strategy;
impo... | 25.152758 | 69 | 0.557667 |
0bc10ee1d8cb8fa794fa00533f0e4782089ee855 | 107 | py | Python | app/search/urlmap.py | Hanaasagi/Ushio | 007f8e50e68bf71a1822b09291b1236a1a37c515 | [
"MIT"
] | 5 | 2016-10-24T14:01:48.000Z | 2017-09-26T07:33:20.000Z | app/search/urlmap.py | Hanaasagi/Ushio | 007f8e50e68bf71a1822b09291b1236a1a37c515 | [
"MIT"
] | null | null | null | app/search/urlmap.py | Hanaasagi/Ushio | 007f8e50e68bf71a1822b09291b1236a1a37c515 | [
"MIT"
] | null | null | null | # -*-coding:UTF-8-*-
from handler import SearchHandler
urlpattern = (
(r'/search', SearchHandler),
)
| 13.375 | 33 | 0.654206 |