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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
64301530fb3548945676f4826907791b9acbec5c | 150 | rs | Rust | src/test/ui/parser/issue-14303-impl.rs | martell/rust | 68fe5182c967259ef89dbe313e4bf80f45a53e7e | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 1 | 2019-04-06T13:56:42.000Z | 2019-04-06T13:56:42.000Z | src/test/ui/parser/issue-14303-impl.rs | martell/rust | 68fe5182c967259ef89dbe313e4bf80f45a53e7e | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | src/test/ui/parser/issue-14303-impl.rs | martell/rust | 68fe5182c967259ef89dbe313e4bf80f45a53e7e | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | // compile-flags: -Z parse-only
struct X { x: isize }
impl<'a, T, 'b> X {}
//~^ ERROR lifetime parameters must be declared prior to type parameters
| 21.428571 | 72 | 0.673333 |
7a175f7a9107eaff64407d6b1a87fb40d93989e6 | 487 | asm | Assembly | oeis/054/A054014.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/054/A054014.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/054/A054014.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A054014: Chowla function of n read modulo (the number of divisors of n).
; Submitted by Jamie Morken(s2)
; 0,0,0,2,0,1,0,2,0,3,0,3,0,1,0,4,0,2,0,3,2,1,0,3,2,3,0,3,0,1,0,0,2,3,0,0,0,1,0,1,0,5,0,3,2,1,0,5,1,0,0,3,0,1,0,7,2,3,0,11,0,1,4,6,2,5,0,3,2,1,0,2,0,3,0,3,2,1,0,5,4,3,0,7,2,1,0,3,0,11,0,3,2,1,0,11,0,0,2,8
add $0,... | 22.136364 | 204 | 0.544148 |
615daabdd06c5ad96ededfe68d7db930b3fd6a04 | 110 | sql | SQL | sql/V46__Correcao_Datas.sql | ualisonaguiar/ordem-servico-datainfo | e3245f7c5fca2989ebded0beac5522d6427b4243 | [
"BSD-3-Clause"
] | null | null | null | sql/V46__Correcao_Datas.sql | ualisonaguiar/ordem-servico-datainfo | e3245f7c5fca2989ebded0beac5522d6427b4243 | [
"BSD-3-Clause"
] | null | null | null | sql/V46__Correcao_Datas.sql | ualisonaguiar/ordem-servico-datainfo | e3245f7c5fca2989ebded0beac5522d6427b4243 | [
"BSD-3-Clause"
] | null | null | null | update tb_demanda set dt_abertura = strftime('%Y-%m-%d', dt_alteracao) where id_demanda in (2314, 2312, 2313); | 110 | 110 | 0.745455 |
358f4676660d78d05dfb55c98eaac211b408e26f | 126 | sql | SQL | threepress/clear.sql | srilatha44/threepress | 263b8aee8353806bd860bc22daf019e2155b8d0f | [
"BSD-3-Clause"
] | 2 | 2020-05-03T16:54:33.000Z | 2021-11-24T21:05:05.000Z | threepress/clear.sql | srilatha44/threepress | 263b8aee8353806bd860bc22daf019e2155b8d0f | [
"BSD-3-Clause"
] | 1 | 2022-02-12T09:20:29.000Z | 2022-02-12T09:20:29.000Z | threepress/clear.sql | srilatha44/threepress | 263b8aee8353806bd860bc22daf019e2155b8d0f | [
"BSD-3-Clause"
] | 1 | 2022-02-12T09:02:02.000Z | 2022-02-12T09:02:02.000Z | BEGIN;
DROP TABLE `search_page`;
DROP TABLE `search_chapter`;
DROP TABLE `search_part`;
DROP TABLE `search_document`;
COMMIT;
| 18 | 29 | 0.777778 |
bf1dbee656a4794e932accd3e24ac1d9bf4307e8 | 1,327 | sql | SQL | 3. Joins/joins_intro.sql | kip-codes/sql-sandbox | bf451b9835a2682cbaa40da1503aeb836ea61ecc | [
"MIT"
] | null | null | null | 3. Joins/joins_intro.sql | kip-codes/sql-sandbox | bf451b9835a2682cbaa40da1503aeb836ea61ecc | [
"MIT"
] | null | null | null | 3. Joins/joins_intro.sql | kip-codes/sql-sandbox | bf451b9835a2682cbaa40da1503aeb836ea61ecc | [
"MIT"
] | null | null | null | USE TSQL2012;
-- Introducing CROSS JOINS
SELECT c.custid, e.empid
FROM Sales.Customers AS c -- Renaming to something shorter
CROSS JOIN HR.Employees AS e
-- This will perform a Cartesian Product, taking every entry in c and joining it to every row in e.
-- SELF CROSS JOINS: joining a table with itself to compare... | 23.696429 | 99 | 0.712886 |
e5e53b9f54c4872d957efdcc2a7112e016711ef3 | 1,558 | swift | Swift | Example/SYGIFView/ViewController.swift | yxf0103/SYGIFView | 47db03d6a8e1009fca0ccc33203b6a00e62a5788 | [
"MIT"
] | 1 | 2022-01-25T02:53:55.000Z | 2022-01-25T02:53:55.000Z | Example/SYGIFView/ViewController.swift | yxf0103/SYGIFView | 47db03d6a8e1009fca0ccc33203b6a00e62a5788 | [
"MIT"
] | null | null | null | Example/SYGIFView/ViewController.swift | yxf0103/SYGIFView | 47db03d6a8e1009fca0ccc33203b6a00e62a5788 | [
"MIT"
] | null | null | null | //
// ViewController.swift
// SYGIFView
//
// Created by yxfeng0103@hotmail.com on 01/15/2022.
// Copyright (c) 2022 yxfeng0103@hotmail.com. All rights reserved.
//
import UIKit
import SYGIFView
class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
... | 35.409091 | 308 | 0.652118 |
40edb24710c1e1f4deb8dd75209fd71967788c07 | 3,044 | kt | Kotlin | app/src/main/java/com/example/flashcards/PaintView.kt | kQtran95/Flashcards | c58bea767659d78f02b97b342e48e0140a8db214 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/example/flashcards/PaintView.kt | kQtran95/Flashcards | c58bea767659d78f02b97b342e48e0140a8db214 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/example/flashcards/PaintView.kt | kQtran95/Flashcards | c58bea767659d78f02b97b342e48e0140a8db214 | [
"Apache-2.0"
] | null | null | null | package com.example.flashcards
import android.content.Context
import android.graphics.*
import android.graphics.Paint.DITHER_FLAG
import android.util.AttributeSet
import android.view.View
import java.util.ArrayList
import android.view.MotionEvent
import android.graphics.Bitmap
import android.util.DisplayMetrics
import... | 23.060606 | 103 | 0.683311 |
b3dfa1fe613df7f7e73f632a574414b69645141a | 185 | sql | SQL | data/covid.sql | farhanayyash/covid-19 | a3a3a1758359c4678a484c13e055db048c6ecd54 | [
"MIT"
] | null | null | null | data/covid.sql | farhanayyash/covid-19 | a3a3a1758359c4678a484c13e055db048c6ecd54 | [
"MIT"
] | null | null | null | data/covid.sql | farhanayyash/covid-19 | a3a3a1758359c4678a484c13e055db048c6ecd54 | [
"MIT"
] | null | null | null | CREATE TABLE cards (
card_id serial PRIMARY KEY,
Country VARCHAR ( 255 ),
TotalConfirmed VARCHAR ( 255 ),
TotalDeaths VARCHAR ( 255 ),
TotalRecovered VARCHAR ( 255 ),
Date TEXT
); | 23.125 | 32 | 0.718919 |
4009ff6b0e2c3b51053793c6b4b8b38e783b709a | 1,003 | py | Python | pydelhi2017concurrency/async/async_fetch_url.py | pythonhacker/talks | fa2a99af38d7092498eefb39940701a1ac10b6c2 | [
"MIT"
] | 2 | 2018-10-14T19:13:01.000Z | 2019-02-14T06:07:10.000Z | pydelhi2017concurrency/async/async_fetch_url.py | Vasistareddy/talks | fa2a99af38d7092498eefb39940701a1ac10b6c2 | [
"MIT"
] | null | null | null | pydelhi2017concurrency/async/async_fetch_url.py | Vasistareddy/talks | fa2a99af38d7092498eefb39940701a1ac10b6c2 | [
"MIT"
] | 3 | 2018-10-14T19:12:32.000Z | 2019-02-28T17:30:00.000Z | """ Fetch a URL and process its response using async io """
import asyncio
import aiohttp
import io
async def fetch_page(url):
""" Asynchronous URL fetcher """
future = aiohttp.request('GET', url)
# Wait for the future
response = await future
return response
async def parse_response(don... | 22.795455 | 79 | 0.639083 |
650f83bfc2c15b05125e0a3038ff94105a4c11fc | 203 | swift | Swift | Example/Template/MVVMCombine/View/Base/UIView/ScrollView.swift | blkbrds/rd-combine | 63e40d6f906149dee10ce167b511cbb5de2a8e36 | [
"MIT"
] | null | null | null | Example/Template/MVVMCombine/View/Base/UIView/ScrollView.swift | blkbrds/rd-combine | 63e40d6f906149dee10ce167b511cbb5de2a8e36 | [
"MIT"
] | 20 | 2021-03-01T01:56:13.000Z | 2021-04-26T09:16:56.000Z | Example/Template/MVVMCombine/View/Base/UIView/ScrollView.swift | blkbrds/rd-combine | 63e40d6f906149dee10ce167b511cbb5de2a8e36 | [
"MIT"
] | null | null | null | //
// ScrollView.swift
// MVVMCombine
//
// Created by MBA0242P on 5/6/21.
// Copyright © 2021 Monstar Lab VietNam Co., Ltd. All rights reserved.
//
import UIKit
class ScrollView: UIScrollView {
}
| 15.615385 | 71 | 0.684729 |
b263752d8c9ec7eab9b4624997fa8e7da6660b9b | 5,097 | swift | Swift | TWProjects/User.swift | pritamhinger/TWProjects | 373c8f42766eaa8309dab7c35f1deda5f9c60c89 | [
"MIT"
] | null | null | null | TWProjects/User.swift | pritamhinger/TWProjects | 373c8f42766eaa8309dab7c35f1deda5f9c60c89 | [
"MIT"
] | null | null | null | TWProjects/User.swift | pritamhinger/TWProjects | 373c8f42766eaa8309dab7c35f1deda5f9c60c89 | [
"MIT"
] | null | null | null | //
// User.swift
// TWProjects
//
// Created by Pritam Hinger on 11/09/16.
// Copyright © 2016 AppDevelapp. All rights reserved.
//
import Foundation
struct User {
let userId:String?
let planId:String?
let lastName:String?
let lang:String?
let companyId:String?
let likedEnabled:Bool?
... | 46.761468 | 140 | 0.725917 |
2a6518ca29dd17de4bc34f606829150ca0a44b5e | 11,160 | java | Java | src/main/java/com/exactpro/th2/sim/impl/Simulator.java | andrey-zol/th2-sim | b0661d879eac9a0d5e01e208e6c9d24fb66537e0 | [
"Apache-2.0"
] | null | null | null | src/main/java/com/exactpro/th2/sim/impl/Simulator.java | andrey-zol/th2-sim | b0661d879eac9a0d5e01e208e6c9d24fb66537e0 | [
"Apache-2.0"
] | null | null | null | src/main/java/com/exactpro/th2/sim/impl/Simulator.java | andrey-zol/th2-sim | b0661d879eac9a0d5e01e208e6c9d24fb66537e0 | [
"Apache-2.0"
] | null | null | null | /*******************************************************************************
* Copyright 2020-2020 Exactpro (Exactpro Systems Limited)
* 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
*... | 39.020979 | 170 | 0.593369 |
54cfab7570bd2e4e3108a828200d98b8b7bda808 | 3,812 | swift | Swift | Example/nRFMeshProvision/View Controllers/Proxy/Cells/AddressCell.swift | horsejockey/IOS-nRF-Mesh-Library | 45e12224e8b5f2d45659e99dddda966b1ba17789 | [
"BSD-3-Clause"
] | 233 | 2018-06-04T14:05:57.000Z | 2022-03-29T14:22:12.000Z | Example/nRFMeshProvision/View Controllers/Proxy/Cells/AddressCell.swift | horsejockey/IOS-nRF-Mesh-Library | 45e12224e8b5f2d45659e99dddda966b1ba17789 | [
"BSD-3-Clause"
] | 292 | 2018-06-19T09:41:17.000Z | 2022-03-25T13:51:49.000Z | Example/nRFMeshProvision/View Controllers/Proxy/Cells/AddressCell.swift | horsejockey/IOS-nRF-Mesh-Library | 45e12224e8b5f2d45659e99dddda966b1ba17789 | [
"BSD-3-Clause"
] | 99 | 2018-06-14T07:27:20.000Z | 2022-03-11T06:05:12.000Z | /*
* Copyright (c) 2019, Nordic Semiconductor
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of condit... | 44.847059 | 100 | 0.642183 |
250085cefeee54eba463d3014bf50e193e224e88 | 990 | swift | Swift | Cartography/Layout.swift | mono0926/Cartography | aa5b761a4b6a6a6698c1a1cb38ad78fc73106d92 | [
"MIT"
] | 1 | 2015-11-04T21:42:25.000Z | 2015-11-04T21:42:25.000Z | ObjCExample/ObjCExample/ObjCExample/Generator/Cartography/Layout.swift | f2m2/f2m2-swift-forms | 572bbdebb22d81c509c0cd8c0ec1e9b08861ae7e | [
"MIT"
] | null | null | null | ObjCExample/ObjCExample/ObjCExample/Generator/Cartography/Layout.swift | f2m2/f2m2-swift-forms | 572bbdebb22d81c509c0cd8c0ec1e9b08861ae7e | [
"MIT"
] | null | null | null | //
// Layout.swift
// Cartography
//
// Created by Robert Böhnke on 30/09/14.
// Copyright (c) 2014 Robert Böhnke. All rights reserved.
//
import Foundation
public func layout(view: View, block: LayoutProxy -> ()) {
block(LayoutProxy(view))
view.car_updateAutoLayoutConstraints()
}
public func layout(v1:... | 25.384615 | 104 | 0.693939 |
0c67d5124bd8d941d8345d2d58fa8d7037264962 | 2,954 | swift | Swift | MonkeyLib/tests/MacroExpansionTests.swift | infiniteNIL/MonkeySwift | 89447c795913e053f3d70affc2c10d48e810cf0a | [
"MIT"
] | 1 | 2021-05-22T02:42:01.000Z | 2021-05-22T02:42:01.000Z | MonkeyLib/tests/MacroExpansionTests.swift | infiniteNIL/MonkeySwift | 89447c795913e053f3d70affc2c10d48e810cf0a | [
"MIT"
] | null | null | null | MonkeyLib/tests/MacroExpansionTests.swift | infiniteNIL/MonkeySwift | 89447c795913e053f3d70affc2c10d48e810cf0a | [
"MIT"
] | null | null | null | //
// MacroExpansionTests.swift
// MonkeyLibTests
//
// Created by Rod Schmidt on 3/23/19.
// Copyright © 2019 infiniteNIL. All rights reserved.
//
import Foundation
import XCTest
@testable import MonkeyLib
class MacroExpansionTests: XCTestCase {
override func setUp() {}
override func tearDown() {}
... | 30.142857 | 96 | 0.474272 |
7f65578df1a3bda4cff44d334b73f65a9b6f0439 | 4,640 | html | HTML | www/index.html | PedroBoni/schedule-monacaapp | e18920c0637541300f33773c5c5d9728031a6983 | [
"MIT"
] | null | null | null | www/index.html | PedroBoni/schedule-monacaapp | e18920c0637541300f33773c5c5d9728031a6983 | [
"MIT"
] | null | null | null | www/index.html | PedroBoni/schedule-monacaapp | e18920c0637541300f33773c5c5d9728031a6983 | [
"MIT"
] | null | null | null | <!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta http-equiv="Content-Security-Policy" content="default-src * data: gap: content: https://ssl.gstatic.com; style-src * 'unsafe-inline'; script-src ... | 42.568807 | 579 | 0.62694 |
4d931994a71e94a8694c42b0d3bf950280803b2d | 2,036 | html | HTML | foundation_auth/templates/foundation_auth/org_registration/view.html | smegurus/smegurus-django | 053973b5ff0b997c52bfaca8daf8e07db64a877c | [
"BSD-4-Clause"
] | 1 | 2020-07-16T10:58:23.000Z | 2020-07-16T10:58:23.000Z | foundation_auth/templates/foundation_auth/org_registration/view.html | smegurus/smegurus-django | 053973b5ff0b997c52bfaca8daf8e07db64a877c | [
"BSD-4-Clause"
] | 13 | 2018-11-30T02:29:39.000Z | 2022-03-11T23:35:49.000Z | foundation_auth/templates/foundation_auth/org_registration/view.html | smegurus/smegurus-django | 053973b5ff0b997c52bfaca8daf8e07db64a877c | [
"BSD-4-Clause"
] | null | null | null | {% extends 'foundation_auth/base.html' %}
{% load staticfiles i18n compress %}
{% block content %}
<input id="id_hidden_postaladdress" type="hidden" />
<input id="id_hidden_organization" type="hidden" />
{% compress js inline %}
{% include 'foundation_auth/org_registration/js.html' %}
{% include 'foundation_pu... | 39.153846 | 159 | 0.61444 |
bccf6c629957c57e23853428549bfedc7c202e2f | 285 | kt | Kotlin | WeatherApp/app/src/main/java/laurenyew/weatherapp/App.kt | laurenyew/KotlinSampleApp | bbf6d3bddb358bef8a48c1e77c8edb65863a9b11 | [
"MIT"
] | null | null | null | WeatherApp/app/src/main/java/laurenyew/weatherapp/App.kt | laurenyew/KotlinSampleApp | bbf6d3bddb358bef8a48c1e77c8edb65863a9b11 | [
"MIT"
] | null | null | null | WeatherApp/app/src/main/java/laurenyew/weatherapp/App.kt | laurenyew/KotlinSampleApp | bbf6d3bddb358bef8a48c1e77c8edb65863a9b11 | [
"MIT"
] | null | null | null | package laurenyew.weatherapp
import android.app.Application
/**
* Created by laurenyew on 1/10/18.
*/
class App : Application() {
companion object {
lateinit var instance: App
}
override fun onCreate() {
super.onCreate()
instance = this
}
} | 16.764706 | 35 | 0.624561 |
135c3883f44ba1d43a094c1637348e2fecd0b485 | 5,635 | h | C | SGSCategories/Classes/Foundation/NSData+SGS.h | CharlsPrince/SGSCategories | 79a6567cd6760be63850096adb29a7024906bc44 | [
"MIT"
] | null | null | null | SGSCategories/Classes/Foundation/NSData+SGS.h | CharlsPrince/SGSCategories | 79a6567cd6760be63850096adb29a7024906bc44 | [
"MIT"
] | null | null | null | SGSCategories/Classes/Foundation/NSData+SGS.h | CharlsPrince/SGSCategories | 79a6567cd6760be63850096adb29a7024906bc44 | [
"MIT"
] | null | null | null | /*!
* @header NSData+SGS.h
*
* @abstract NSData 扩展
*
* @author Created by Lee on 16/4/20.
*
* @copyright 2016年 SouthGIS. All rights reserved.
*/
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
/*!
* @brief 编码、转换、解压缩等扩展方法
*/
@interface NSData (SGS)
#pragma mark - 通用
///----------------------... | 21.425856 | 85 | 0.580479 |
6de652c69948941348168fa91e4ca42d09561664 | 533 | asm | Assembly | libsrc/_DEVELOPMENT/math/float/math32/c/sdcc/cm32_sdcc_fssqr_fastcall.asm | rjcorrig/z88dk | c49c26bb232c17ea5a45d21bb81b6343572b7f4c | [
"ClArtistic"
] | null | null | null | libsrc/_DEVELOPMENT/math/float/math32/c/sdcc/cm32_sdcc_fssqr_fastcall.asm | rjcorrig/z88dk | c49c26bb232c17ea5a45d21bb81b6343572b7f4c | [
"ClArtistic"
] | null | null | null | libsrc/_DEVELOPMENT/math/float/math32/c/sdcc/cm32_sdcc_fssqr_fastcall.asm | rjcorrig/z88dk | c49c26bb232c17ea5a45d21bb81b6343572b7f4c | [
"ClArtistic"
] | null | null | null |
; float __fssqr_fastcall (float number)
SECTION code_clib
SECTION code_math
PUBLIC cm32_sdcc_fssqr_fastcall
EXTERN m32_fssqr_fastcall
; square (^2) sdcc floats
;
; enter : stack = sdcc_float number, ret
;
; exit : DEHL = sdcc_float(number^2)
;
; uses : af, bc, de, hl, af'
DEFC cm32_s... | 24.227273 | 82 | 0.540338 |
0cad53d938be9fc089dc7d7cacb7515f952a2770 | 1,758 | py | Python | src/crawler/input_data/spiders/bitcointalk.py | HofmannZ/global-ai-hackathon--truth-coin | 9f544cdb05de0811796d2465fba64875ee77cdab | [
"MIT"
] | 5 | 2017-06-24T22:54:13.000Z | 2020-02-13T17:23:12.000Z | src/crawler/input_data/spiders/bitcointalk.py | HofmannZ/global-ai-hackathon--truth-coin | 9f544cdb05de0811796d2465fba64875ee77cdab | [
"MIT"
] | 2 | 2017-06-24T12:07:22.000Z | 2017-06-25T18:12:24.000Z | src/crawler/input_data/spiders/bitcointalk.py | HofmannZ/global-ai-hackathon--truth-coin | 9f544cdb05de0811796d2465fba64875ee77cdab | [
"MIT"
] | 1 | 2017-08-02T12:37:52.000Z | 2017-08-02T12:37:52.000Z | # -*- coding: utf-8 -*-
import scrapy
class BitcointalkSpider(scrapy.Spider):
name = 'bitcointalk'
allowed_domains = ['bitcointalk.org']
start_urls = [
'https://bitcointalk.org/index.php?board=1.0',
]
def parse(self, response):
topics = response.css('div.tborder table.bordercolor'... | 33.807692 | 92 | 0.585324 |
1fb1b01823fdbe5dd153d5941ab4ac1571f7549d | 705 | html | HTML | pa1-skeleton/pa1-data/3/infolab.stanford.edu_TR_CS-TR-85-1048.html | yzhong94/cs276-spring-2019 | a4780a9f88b8c535146040fe11bb513c91c5693b | [
"MIT"
] | null | null | null | pa1-skeleton/pa1-data/3/infolab.stanford.edu_TR_CS-TR-85-1048.html | yzhong94/cs276-spring-2019 | a4780a9f88b8c535146040fe11bb513c91c5693b | [
"MIT"
] | null | null | null | pa1-skeleton/pa1-data/3/infolab.stanford.edu_TR_CS-TR-85-1048.html | yzhong94/cs276-spring-2019 | a4780a9f88b8c535146040fe11bb513c91c5693b | [
"MIT"
] | null | null | null | report number cs tr 85 1048 institution stanford university department of computer science title some constructions for order theoretic models of concurrency author pratt vaughan date march 1985 abstract we give tight and loose constructions suitable for specifying processes represented as sets of pomsets partially ord... | 352.5 | 704 | 0.846809 |
3d9e28c28b894c27f2e68fc6c4c4d76bf3a41de8 | 25,021 | rs | Rust | src/serialization.rs | MeteorDB/sled | b23da771902c320bfa20b6f552bebf1d1c1be4ff | [
"Apache-2.0",
"MIT"
] | null | null | null | src/serialization.rs | MeteorDB/sled | b23da771902c320bfa20b6f552bebf1d1c1be4ff | [
"Apache-2.0",
"MIT"
] | 3 | 2021-11-12T10:16:08.000Z | 2022-03-16T10:19:20.000Z | src/serialization.rs | MeteorDB/sled | b23da771902c320bfa20b6f552bebf1d1c1be4ff | [
"Apache-2.0",
"MIT"
] | null | null | null | #![allow(clippy::mut_mut)]
use std::{
convert::{TryFrom, TryInto},
iter::FromIterator,
marker::PhantomData,
num::NonZeroU64,
};
use crate::{
pagecache::{
BatchManifest, HeapId, MessageHeader, PageState, SegmentNumber,
Snapshot,
},
varint, DiskPtr, Error, IVec, Link, Meta, No... | 27.345355 | 80 | 0.509292 |
9d19a4d0cc231ea7b081fd89a150e5dad571a377 | 741 | html | HTML | src/app/templates/views/keys.tpl.html | sensiblegame/WebMail-Interface-with-Angular2 | 63cf44e66fc64c8ecfb1abc1bdc95420b9be11fe | [
"MIT"
] | 1 | 2017-09-08T10:39:57.000Z | 2017-09-08T10:39:57.000Z | src/app/templates/views/keys.tpl.html | sensiblegame/WebMail-Interface-with-Angular2 | 63cf44e66fc64c8ecfb1abc1bdc95420b9be11fe | [
"MIT"
] | 1 | 2022-03-02T10:07:15.000Z | 2022-03-02T10:07:15.000Z | src/app/templates/views/keys.tpl.html | sensiblegame/WebMail-Interface-with-Angular2 | 63cf44e66fc64c8ecfb1abc1bdc95420b9be11fe | [
"MIT"
] | null | null | null | <div id="pm_settings">
<div class="settings pm_form">
<div class="row">
<header-block class="settingsKeys-header-key">
<h2
class="settingsKeys-title-key"
translate
translate-context="Title">Keys</h2>
</header... | 46.3125 | 326 | 0.615385 |
26a51a5d461ba8ae141fa266baa70e3f41b501bd | 1,593 | java | Java | renamed/ExtendToPalindrome2.java | civilian/competitive_programing | a6ae7ad0db84240667c1dd6231c51c586ba040c7 | [
"MIT"
] | 1 | 2016-02-11T21:28:22.000Z | 2016-02-11T21:28:22.000Z | renamed/ExtendToPalindrome2.java | civilian/competitive_programing | a6ae7ad0db84240667c1dd6231c51c586ba040c7 | [
"MIT"
] | null | null | null | renamed/ExtendToPalindrome2.java | civilian/competitive_programing | a6ae7ad0db84240667c1dd6231c51c586ba040c7 | [
"MIT"
] | null | null | null | package renamed;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Locale;
import java.util.StringTokenizer;
public class ExtendToPalindrome2 {
static BufferedReader input;
static StringTokenizer _stk;
static String readln() t... | 23.776119 | 77 | 0.671061 |
267229cccdc5e876cf8399a86f4fb50f9a105f4a | 888 | java | Java | Mage.Tests/src/test/java/org/mage/test/cards/abilities/other/SakashimaTheImpostorTest.java | FateRevoked/mage | 90418ddafda100a3b4e57597aad31af5428d7116 | [
"MIT"
] | 2 | 2020-04-04T22:36:47.000Z | 2020-04-04T22:57:35.000Z | Mage.Tests/src/test/java/org/mage/test/cards/abilities/other/SakashimaTheImpostorTest.java | FateRevoked/mage | 90418ddafda100a3b4e57597aad31af5428d7116 | [
"MIT"
] | 2 | 2021-09-20T20:56:08.000Z | 2022-01-21T23:38:10.000Z | Mage.Tests/src/test/java/org/mage/test/cards/abilities/other/SakashimaTheImpostorTest.java | FateRevoked/mage | 90418ddafda100a3b4e57597aad31af5428d7116 | [
"MIT"
] | 3 | 2018-07-26T19:00:47.000Z | 2020-04-30T23:12:14.000Z | package org.mage.test.cards.abilities.other;
import mage.constants.PhaseStep;
import mage.constants.Zone;
import org.junit.Test;
import org.mage.test.serverside.base.CardTestPlayerBase;
/**
* Created by alexsandro on 06/03/17.
*/
public class SakashimaTheImpostorTest extends CardTestPlayerBase {
@Test
publi... | 30.62069 | 82 | 0.704955 |
9c71a977f7d97c61d01bcf3e7aa7661cc46e0149 | 511,425 | js | JavaScript | www/main-es2015.bba373d99df102369044.js | oussamafaleh/superette-front-mobile | 97caabd17e367cc987131c58777c38994b9cfe1d | [
"Apache-2.0"
] | null | null | null | www/main-es2015.bba373d99df102369044.js | oussamafaleh/superette-front-mobile | 97caabd17e367cc987131c58777c38994b9cfe1d | [
"Apache-2.0"
] | 2 | 2021-03-10T11:27:57.000Z | 2021-09-02T08:14:44.000Z | www/main-es2015.bba373d99df102369044.js | oussamafaleh/superette-front-mobile | 97caabd17e367cc987131c58777c38994b9cfe1d | [
"Apache-2.0"
] | null | null | null | (window.webpackJsonp=window.webpackJsonp||[]).push([[11],{"+4pY":function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n("aiEM");const s=(e,t,n)=>{e.style.setProperty(t,n)},i=(e,t)=>{e.style.removeProperty(t)},o=[],a=(e=[],t)=>{if(void 0!==t){const n=Array.isArray(t)?t:[t];return[...e,...n]}return e},l=()=... | 511,425 | 511,425 | 0.705928 |
b01351d4405c06f1d8dafbf90fcb0046051bc563 | 496 | kt | Kotlin | app/src/main/java/com/loop/ideas/apps/androidblog01/data/mapper/UserLocalMapper.kt | LOOPIDEAS/Android-Blog-01 | a38ffbe958734d406f65a8a5b15b06c085317e65 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/loop/ideas/apps/androidblog01/data/mapper/UserLocalMapper.kt | LOOPIDEAS/Android-Blog-01 | a38ffbe958734d406f65a8a5b15b06c085317e65 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/loop/ideas/apps/androidblog01/data/mapper/UserLocalMapper.kt | LOOPIDEAS/Android-Blog-01 | a38ffbe958734d406f65a8a5b15b06c085317e65 | [
"Apache-2.0"
] | null | null | null | package com.loop.ideas.apps.androidblog01.data.mapper
import com.loop.ideas.apps.androidblog01.data.model.UserLocal
import com.loop.ideas.apps.androidblog01.domain.model.UserDomain
/*
* Created by Christopher Elias on 24/06/2020.
* christopher.elias@loop-ideas.com
*
* Loop Ideas
* Lima, Peru.
*/
interface User... | 26.105263 | 85 | 0.77621 |
0642bde812575ead960d71eb10a8037529b3919e | 3,765 | swift | Swift | test/Sema/substring_to_string_conversion_swift4.swift | francisvm/swift | 15e209ea2fde679ee78438d4ba949144acb7fee4 | [
"Apache-2.0"
] | 3 | 2018-07-27T01:54:17.000Z | 2020-10-21T16:09:43.000Z | test/Sema/substring_to_string_conversion_swift4.swift | francisvm/swift | 15e209ea2fde679ee78438d4ba949144acb7fee4 | [
"Apache-2.0"
] | 153 | 2018-01-21T15:24:47.000Z | 2018-09-13T12:46:16.000Z | test/Sema/substring_to_string_conversion_swift4.swift | francisvm/swift | 15e209ea2fde679ee78438d4ba949144acb7fee4 | [
"Apache-2.0"
] | 11 | 2017-12-13T08:08:15.000Z | 2019-06-18T14:27:32.000Z | // RUN: %target-swift-frontend -typecheck -verify -swift-version 4 %s
let s = "Hello"
let ss = s[s.startIndex..<s.endIndex]
// CTP_Initialization
do {
let s1: String = { return ss }() // expected-error {{cannot convert value of type 'Substring' to specified type 'String'}} {{20-20=String(}} {{35-35=)}}
_ = s1
}
... | 38.814433 | 206 | 0.67676 |
2c4720ea373565179adb8a896e9b881df6c96a6c | 4,927 | sql | SQL | database/pustaka.sql | Adhityayoga11/adhitxx | 35f7d1aba45376a7b7810e106a01f0b3dc0a0e20 | [
"MIT"
] | null | null | null | database/pustaka.sql | Adhityayoga11/adhitxx | 35f7d1aba45376a7b7810e106a01f0b3dc0a0e20 | [
"MIT"
] | null | null | null | database/pustaka.sql | Adhityayoga11/adhitxx | 35f7d1aba45376a7b7810e106a01f0b3dc0a0e20 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.9.2
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Waktu pembuatan: 13 Apr 2022 pada 17.59
-- Versi server: 10.4.11-MariaDB
-- Versi PHP: 7.2.26
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHAR... | 26.923497 | 153 | 0.644814 |
92436c4904e9837d2a84c033b416f3286872bc98 | 513 | sql | SQL | migrations/20210322152449_create_object.sql | provenance-io/object-store | 212673aeaa02215cb0eb1554170861b0b99d93dc | [
"Apache-2.0"
] | null | null | null | migrations/20210322152449_create_object.sql | provenance-io/object-store | 212673aeaa02215cb0eb1554170861b0b99d93dc | [
"Apache-2.0"
] | 12 | 2021-07-21T15:28:27.000Z | 2022-01-06T16:48:37.000Z | migrations/20210322152449_create_object.sql | provenance-io/object-store | 212673aeaa02215cb0eb1554170861b0b99d93dc | [
"Apache-2.0"
] | null | null | null | CREATE TABLE object
(
uuid UUID NOT NULL PRIMARY KEY,
hash TEXT NOT NULL,
unique_hash TEXT NOT NULL,
content_length BIGINT NOT NULL,
dime_length BIGINT NOT NULL,
directory TEXT NOT NULL DEFAULT to_char(current_date, 'YYYYMMDD'),
name TEXT NOT NULL,
payload BYTEA,
created_at TIMESTAMP... | 30.176471 | 93 | 0.760234 |
04ba4e9692e330f9de40bf6cb213f0c11aac1c07 | 3,213 | java | Java | dynatrace/src/main/java/de/tsystems/mms/apm/performancesignature/dynatracesaas/rest/model/EventSeverity.java | batmat/performance-signature-dynatrace-plugin | 651597ee4d096a79b5a0a5d71718f090170275e1 | [
"Apache-2.0"
] | 4 | 2015-10-13T13:27:44.000Z | 2017-11-23T06:49:23.000Z | dynatrace/src/main/java/de/tsystems/mms/apm/performancesignature/dynatracesaas/rest/model/EventSeverity.java | batmat/performance-signature-dynatrace-plugin | 651597ee4d096a79b5a0a5d71718f090170275e1 | [
"Apache-2.0"
] | 52 | 2020-12-22T06:24:22.000Z | 2022-03-31T05:06:56.000Z | dynatrace/src/main/java/de/tsystems/mms/apm/performancesignature/dynatracesaas/rest/model/EventSeverity.java | batmat/performance-signature-dynatrace-plugin | 651597ee4d096a79b5a0a5d71718f090170275e1 | [
"Apache-2.0"
] | 2 | 2016-02-10T14:54:17.000Z | 2016-02-21T15:31:04.000Z | /*
* Copyright (c) 2014-2018 T-Systems Multimedia Solutions GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | 27.228814 | 168 | 0.653906 |
7b9f1b71fc50907d76f53a0e70e5b2c0ad8b4cf8 | 433 | swift | Swift | Sources/PathLib/FileManager+Extensions.swift | antigp/Emcee | 62778f307872378db180f401f107821c77f2bf14 | [
"MIT"
] | null | null | null | Sources/PathLib/FileManager+Extensions.swift | antigp/Emcee | 62778f307872378db180f401f107821c77f2bf14 | [
"MIT"
] | null | null | null | Sources/PathLib/FileManager+Extensions.swift | antigp/Emcee | 62778f307872378db180f401f107821c77f2bf14 | [
"MIT"
] | null | null | null | import Foundation
public extension FileManager {
func createDirectory(
atPath path: AbsolutePath,
withIntermediateDirectories: Bool = true
) throws {
try createDirectory(
atPath: path.pathString,
withIntermediateDirectories: withIntermediateDirectories
)
... | 24.055556 | 68 | 0.665127 |
4589d1e7930faa9ff64661fbed809d159a08e5a4 | 463 | dart | Dart | lib/entity/persion_entity.dart | strategists/flutter_demo | ed8447e2f6eaf3a6f7a94bde22b8af7b2de8fb5c | [
"Apache-2.0"
] | null | null | null | lib/entity/persion_entity.dart | strategists/flutter_demo | ed8447e2f6eaf3a6f7a94bde22b8af7b2de8fb5c | [
"Apache-2.0"
] | null | null | null | lib/entity/persion_entity.dart | strategists/flutter_demo | ed8447e2f6eaf3a6f7a94bde22b8af7b2de8fb5c | [
"Apache-2.0"
] | null | null | null | class PersonEntity {
String height;
String gender;
String name;
PersonEntity({this.height, this.gender, this.name});
PersonEntity.fromJson(Map<String, dynamic> json) {
height = json['height'];
gender = json['gender'];
name = json['name'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> da... | 21.045455 | 63 | 0.658747 |
511ed406e2c63a3cd32a468436b90e4f91122d29 | 8,366 | swift | Swift | FlixMovieApp/ViewControllers/PageView/InitialReviewViewController.swift | mistersquiish/FlixMovieApp | eff383f5dc104cf4e109953a952149a7c9200a49 | [
"Apache-2.0"
] | null | null | null | FlixMovieApp/ViewControllers/PageView/InitialReviewViewController.swift | mistersquiish/FlixMovieApp | eff383f5dc104cf4e109953a952149a7c9200a49 | [
"Apache-2.0"
] | 1 | 2018-02-13T10:30:27.000Z | 2018-02-20T13:16:39.000Z | FlixMovieApp/ViewControllers/PageView/InitialReviewViewController.swift | mistersquiish/FlixPart1Assignment1 | eff383f5dc104cf4e109953a952149a7c9200a49 | [
"Apache-2.0"
] | null | null | null | //
// InitialReviewViewController.swift
// MovieLemma
//
// Created by Henry Vuong on 8/22/19.
// Copyright © 2019 Henry Vuong. All rights reserved.
//
import UIKit
import AlamofireImage
import Firebase
class InitialReviewViewController: UIViewController, didRate {
@IBOutlet weak var contentView: UIView!
... | 37.515695 | 206 | 0.599331 |
595449cc2949f30cd5db5c73586975572daf513b | 1,279 | h | C | System/Library/PrivateFrameworks/SpringBoardFoundation.framework/SBAnalyticsContextProvider.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | 2 | 2021-11-02T09:23:27.000Z | 2022-03-28T08:21:57.000Z | System/Library/PrivateFrameworks/SpringBoardFoundation.framework/SBAnalyticsContextProvider.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | null | null | null | System/Library/PrivateFrameworks/SpringBoardFoundation.framework/SBAnalyticsContextProvider.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | 1 | 2022-03-28T08:21:59.000Z | 2022-03-28T08:21:59.000Z | /*
* This header is generated by classdump-dyld 1.5
* on Friday, April 30, 2021 at 11:37:03 AM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/PrivateFrameworks/SpringBoard... | 41.258065 | 130 | 0.709148 |
1729651e964c5cc188d45581e1e1fd7e7a783d80 | 4,895 | asm | Assembly | src/ai.asm | DigiDwrf/neon64v2-easybuild | 94fa46fbc8ddb2af593cb42162df58f65a03ebc4 | [
"0BSD"
] | 36 | 2020-07-08T11:27:17.000Z | 2022-03-15T08:38:52.000Z | src/ai.asm | DigiDwrf/neon64v2-easybuild | 94fa46fbc8ddb2af593cb42162df58f65a03ebc4 | [
"0BSD"
] | 19 | 2020-07-12T23:14:03.000Z | 2021-12-14T07:57:40.000Z | src/ai.asm | DigiDwrf/neon64v2-easybuild | 94fa46fbc8ddb2af593cb42162df58f65a03ebc4 | [
"0BSD"
] | 6 | 2021-07-17T09:57:46.000Z | 2022-03-13T07:50:25.000Z | //define LOG_AI_INT()
begin_bss()
align(4)
ai_interrupt_wait:
db 0
align(4)
end_bss()
align(4)
scope AI {
abuf_addrs:
evaluate rep_i(0)
while {rep_i} < num_abufs {
dw (audiobuffer&0x7f'ffff) + {rep_i}*abuf_size
evaluate rep_i({rep_i}+1)
}
Init:
addi sp, 16
sw ra, -8 (sp)
lui t0, AI_BASE
// TODO PAL timing... | 18.754789 | 79 | 0.682329 |
22a20d2989bffbf3457b6a834dd47279d0af15f2 | 2,359 | html | HTML | Exercicios/ex009/index.html | PauloPSAS/html-css | 623e18c464076e4e34eaf704e40284b2807077a6 | [
"MIT"
] | null | null | null | Exercicios/ex009/index.html | PauloPSAS/html-css | 623e18c464076e4e34eaf704e40284b2807077a6 | [
"MIT"
] | null | null | null | Exercicios/ex009/index.html | PauloPSAS/html-css | 623e18c464076e4e34eaf704e40284b2807077a6 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="pt-br">
<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">
<title>Listas</title>
</head>
<body>
<h1>Minha Lista Diária</h1>
<h2>Lista Ordenada</h2>
<ol>
... | 27.752941 | 85 | 0.483256 |
8f020e384641d64aa63c9ef3399ad62071d2deeb | 2,186 | java | Java | lowpoly/src/main/java/com/uniquestudio/lowpoly/LowPoly.java | GowthamRayar/LowPoly | 3d288f82a9dfb7590bf5147b578a10a113b85157 | [
"Apache-2.0"
] | null | null | null | lowpoly/src/main/java/com/uniquestudio/lowpoly/LowPoly.java | GowthamRayar/LowPoly | 3d288f82a9dfb7590bf5147b578a10a113b85157 | [
"Apache-2.0"
] | null | null | null | lowpoly/src/main/java/com/uniquestudio/lowpoly/LowPoly.java | GowthamRayar/LowPoly | 3d288f82a9dfb7590bf5147b578a10a113b85157 | [
"Apache-2.0"
] | null | null | null | package com.uniquestudio.lowpoly;
import ohos.agp.render.Canvas;
import ohos.agp.render.Paint;
import ohos.agp.render.Path;
import ohos.agp.render.Texture;
import ohos.agp.utils.Color;
import ohos.media.image.PixelMap;
import ohos.media.image.common.PixelFormat;
import ohos.media.image.common.Position;
import ohos.me... | 32.626866 | 95 | 0.610247 |
88c49f9eedbf2612fcd85f6153fede8fb63a1eac | 1,225 | swift | Swift | M2M/Models/Activity.swift | samsam2610/trackitivity | 2ae085440eecaaa1406875a806a410322f61af63 | [
"Apache-2.0"
] | null | null | null | M2M/Models/Activity.swift | samsam2610/trackitivity | 2ae085440eecaaa1406875a806a410322f61af63 | [
"Apache-2.0"
] | null | null | null | M2M/Models/Activity.swift | samsam2610/trackitivity | 2ae085440eecaaa1406875a806a410322f61af63 | [
"Apache-2.0"
] | null | null | null | //
// Activity.swift
// M2M
//
// Created by Tran Sam on 2/20/18.
// Copyright © 2018 Tran Sam. All rights reserved.
//
import Foundation
protocol ActivityParam: ExerciseInfo {
var timeStart: String {get set}
var timeEnd: String {get set}
var duration: String {get set}
var repetitions: Int {get se... | 24.5 | 51 | 0.647347 |
1f192179b788303c4ebbd0beb48a155e8f267470 | 1,545 | css | CSS | public/css/index.css | CodeHex-3/OnServ | 23a2dd253068ccd4cfdd5d831af34264eadf986f | [
"MIT"
] | null | null | null | public/css/index.css | CodeHex-3/OnServ | 23a2dd253068ccd4cfdd5d831af34264eadf986f | [
"MIT"
] | null | null | null | public/css/index.css | CodeHex-3/OnServ | 23a2dd253068ccd4cfdd5d831af34264eadf986f | [
"MIT"
] | null | null | null | * {
padding: 0;
margin: 0;
font-size: medium;
}
.table {
overflow: scroll;
width: 100%;
height: 70vh;
}
.srch_ctnr {
margin-top: auto;
width: 100%;
height: 100px;
color: black;
display: flex;
align-items: center;
justify-content: space-evenly;
flex-wrap: wrap;
}
.srch_ctnr ::placeholder ... | 13.09322 | 45 | 0.633657 |
28ca5b1c1e348fde737b2fd6f235567c9d5bd2fa | 179 | rb | Ruby | nanoc-cli/spec/nanoc/cli/version_spec.rb | rien/nanoc | 557768015fb476e7b0be966007b7ef8ae6f9eb92 | [
"MIT"
] | 1,198 | 2015-01-04T13:07:56.000Z | 2022-03-27T22:56:18.000Z | nanoc-cli/spec/nanoc/cli/version_spec.rb | rien/nanoc | 557768015fb476e7b0be966007b7ef8ae6f9eb92 | [
"MIT"
] | 625 | 2015-01-01T10:34:36.000Z | 2022-03-24T21:36:02.000Z | nanoc-cli/spec/nanoc/cli/version_spec.rb | rien/nanoc | 557768015fb476e7b0be966007b7ef8ae6f9eb92 | [
"MIT"
] | 175 | 2015-01-09T08:38:42.000Z | 2022-03-25T00:45:21.000Z | # frozen_string_literal: true
describe Nanoc::CLI::VERSION do
it 'is the same as Nanoc::Core::VERSION' do
expect(Nanoc::CLI::VERSION).to eq(Nanoc::Core::VERSION)
end
end
| 22.375 | 59 | 0.715084 |
b702109619bf7628248fa3bd35350805e4029633 | 120 | swift | Swift | Tests/LinuxMain.swift | bearjaw/MusicCore | 9e1830b68dde0f8dd47cb237584116c5b655d5ea | [
"MIT"
] | null | null | null | Tests/LinuxMain.swift | bearjaw/MusicCore | 9e1830b68dde0f8dd47cb237584116c5b655d5ea | [
"MIT"
] | null | null | null | Tests/LinuxMain.swift | bearjaw/MusicCore | 9e1830b68dde0f8dd47cb237584116c5b655d5ea | [
"MIT"
] | null | null | null | import XCTest
import MusicCoreTests
var tests = [XCTestCaseEntry]()
tests += MusicCoreTests.allTests()
XCTMain(tests)
| 15 | 34 | 0.783333 |
2f6ddcfd0ff102cad970eaa50c25199bd0459e75 | 318 | php | PHP | app/Services/SVGConversion/ProcessStatus.php | mchivuku/marketing-lockup | 66ec927f4d19852d8ded8b0bde212c35fce98601 | [
"MIT"
] | null | null | null | app/Services/SVGConversion/ProcessStatus.php | mchivuku/marketing-lockup | 66ec927f4d19852d8ded8b0bde212c35fce98601 | [
"MIT"
] | null | null | null | app/Services/SVGConversion/ProcessStatus.php | mchivuku/marketing-lockup | 66ec927f4d19852d8ded8b0bde212c35fce98601 | [
"MIT"
] | null | null | null | <?php
/**
* Created by PhpStorm.
* User: mchivuku
* Date: 7/29/15
* Time: 1:22 PM
*/
namespace App\Services\SVGConversion;
class ProcessStatus{
public $status;
public $message;
public function __construct($status,$message=""){
$this->status=$status;
$this->message=$message;
}
} | 16.736842 | 53 | 0.622642 |
6708780d46506498f618fc6b489f3d4da84cd1da | 1,034 | asm | Assembly | programs/oeis/081/A081076.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/081/A081076.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/081/A081076.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A081076: a(n) = Lucas(4n) + 3, or 5*Fibonacci(2n-1)*Fibonacci(2n+1).
; 5,10,50,325,2210,15130,103685,710650,4870850,33385285,228826130,1568397610,10749957125,73681302250,505019158610,3461452808005,23725150497410,162614600673850,1114577054219525,7639424778862810,52361396397820130,358890350005878085,2459871053643326450... | 68.933333 | 860 | 0.881044 |
262383686d72e5d908bef64f1a9719cef6a7d744 | 296 | java | Java | src/main/java/com/sn/manageservice/controller/vo/AppRelationVo.java | wushaonan/managesystem | 855fb0ac48de7ad4f56559fc748db4991bd1ee99 | [
"Apache-2.0"
] | null | null | null | src/main/java/com/sn/manageservice/controller/vo/AppRelationVo.java | wushaonan/managesystem | 855fb0ac48de7ad4f56559fc748db4991bd1ee99 | [
"Apache-2.0"
] | 1 | 2022-03-10T14:47:36.000Z | 2022-03-10T14:47:36.000Z | src/main/java/com/sn/manageservice/controller/vo/AppRelationVo.java | wushaonan/managesystem | 855fb0ac48de7ad4f56559fc748db4991bd1ee99 | [
"Apache-2.0"
] | null | null | null | package com.sn.manageservice.controller.vo;
import lombok.Data;
/**
* @author 向南
* @date 2021/12/29 20:27
* @description
*/
@Data
public class AppRelationVo {
private Integer animalId;
private String animalName;
private String startDateStr;
private String endDateStr;
}
| 14.095238 | 43 | 0.706081 |
98d7303af3d108acc8ff6b6239fec06586294699 | 902 | html | HTML | src/index.html | icastro085/cave | f13cd234dec8e26f4b090468bfd919a33dac948b | [
"MIT"
] | null | null | null | src/index.html | icastro085/cave | f13cd234dec8e26f4b090468bfd919a33dac948b | [
"MIT"
] | null | null | null | src/index.html | icastro085/cave | f13cd234dec8e26f4b090468bfd919a33dac948b | [
"MIT"
] | null | null | null | <html>
<head>
<meta charset="utf-8" />
<meta name="format-detection" content="telephone=no" />
<meta name="msapplication-tap-highlight" content="no" />
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width" />
<meta http-equiv="Conte... | 32.214286 | 136 | 0.610865 |
86a108c4fb6afc7a005b6fc0c66ec4025e87db02 | 7,969 | rs | Rust | src/evdev.rs | vi/input-linux-rs | c6996c40c0dd7b9e2dc3459ce8e02d949d0df020 | [
"MIT"
] | null | null | null | src/evdev.rs | vi/input-linux-rs | c6996c40c0dd7b9e2dc3459ce8e02d949d0df020 | [
"MIT"
] | null | null | null | src/evdev.rs | vi/input-linux-rs | c6996c40c0dd7b9e2dc3459ce8e02d949d0df020 | [
"MIT"
] | null | null | null | use std::io;
use std::mem::{uninitialized, size_of};
use std::slice::from_raw_parts_mut;
use std::os::unix::io::{RawFd, AsRawFd};
use nix;
use sys;
use ::{InputId, EventKind, AbsoluteAxis, AbsoluteInfo};
use macros::convert_error;
use bitmask::Bitmask;
pub use sys::EV_VERSION;
/// A handle to an input device allowing... | 28.978182 | 129 | 0.532062 |
844da9a8e615a83761d7ab448c0bcb1a94f5e2b7 | 2,127 | dart | Dart | deal_o_round/lib/settings/boolean_settings.dart | CsabaConsulting/Deal-O-Round | 432b765de6372465eb12136a12cd85a1dae3d72a | [
"MIT"
] | 1 | 2021-02-25T10:52:08.000Z | 2021-02-25T10:52:08.000Z | deal_o_round/lib/settings/boolean_settings.dart | DealORound/Deal-O-Round | c8a1ce5a329a91adec625a9b88fda90389e86ce2 | [
"MIT"
] | 15 | 2020-08-31T01:55:36.000Z | 2022-01-26T03:37:02.000Z | deal_o_round/lib/settings/boolean_settings.dart | DealORound/Deal-O-Round | c8a1ce5a329a91adec625a9b88fda90389e86ce2 | [
"MIT"
] | null | null | null | import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:shared_preferences/shared_preferences.dart';
import '../services/settings_constants.dart';
import '../services/sound.dart';
class BooleanSettings extends StatefulWidget {
final double scale;
final bool defaultValue;
final Stri... | 29.136986 | 87 | 0.594734 |
562b169181ceb528498c6c60375472a5521bbe57 | 3,219 | lua | Lua | plugins/HexWrite.lua | MinusGix/HerixTUI | a9673b100de9f5f3709c458e0ce5221615645c49 | [
"MIT"
] | 1 | 2019-09-21T15:52:10.000Z | 2019-09-21T15:52:10.000Z | plugins/HexWrite.lua | MinusGix/HerixTUI | a9673b100de9f5f3709c458e0ce5221615645c49 | [
"MIT"
] | null | null | null | plugins/HexWrite.lua | MinusGix/HerixTUI | a9673b100de9f5f3709c458e0ce5221615645c49 | [
"MIT"
] | null | null | null | -- Requires highlighter currently.
if hex_write_config == nil then
hex_write_config = {}
end
if hex_write_config["selected_attribute"] == nil then
hex_write_config["selected_attribute"] = DrawingAttributes.Standout
end
if hex_write_config["selected_editing_attribute"] == nil then
hex_write_config["selected... | 31.871287 | 87 | 0.722274 |
04124e3a53e2122fba12fa1e1993b92a86b32fa5 | 3,005 | js | JavaScript | seeds/mozilla/non262/class/extendBuiltinConstructors.js | gustavopinto/entente | 19b65d8cafd77c198c9c441f4f5e01503360309b | [
"BSD-2-Clause"
] | 5 | 2018-03-20T21:53:38.000Z | 2018-12-28T21:08:47.000Z | seeds/mozilla/non262/class/extendBuiltinConstructors.js | gustavopinto/entente | 19b65d8cafd77c198c9c441f4f5e01503360309b | [
"BSD-2-Clause"
] | 14 | 2018-04-09T20:16:00.000Z | 2019-06-11T12:31:10.000Z | seeds/mozilla/non262/class/extendBuiltinConstructors.js | gustavopinto/entente | 19b65d8cafd77c198c9c441f4f5e01503360309b | [
"BSD-2-Clause"
] | 12 | 2018-04-06T00:52:24.000Z | 2018-07-10T19:44:16.000Z | function testBuiltinInstanceIsInstanceOf(instance, builtin, class_) {
assertEq(instance instanceof class_, true);
assertEq(instance instanceof builtin, true);
if (builtin === Array)
assertEq(Array.isArray(instance), true);
}
function testBuiltinInstance(builtin, ...args) {
class sub extends bu... | 27.072072 | 87 | 0.656572 |
deb074fa3414ac5428d5314d2155a6cdf0a34266 | 22,179 | asm | Assembly | forktest.asm | jieun-cloud/xv6-file | 50ead4a176f9111b01a087ab2b9a46883bbaec66 | [
"MIT-0"
] | 1 | 2020-02-10T06:49:36.000Z | 2020-02-10T06:49:36.000Z | forktest.asm | jieun-cloud/xv6-file | 50ead4a176f9111b01a087ab2b9a46883bbaec66 | [
"MIT-0"
] | null | null | null | forktest.asm | jieun-cloud/xv6-file | 50ead4a176f9111b01a087ab2b9a46883bbaec66 | [
"MIT-0"
] | null | null | null |
_forktest: file format elf32-i386
Disassembly of section .text:
00000000 <printf>:
#define N 1000
void
printf(int fd, const char *s, ...)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 53 push %ebx
4: 83 ec 14 sub $0x14,%es... | 27.213497 | 58 | 0.418369 |
5b5518eb047012ee114f98fd92e5f1fd2bec75db | 7,334 | c | C | Fuzzy/trabalhoic.c | felipebmuniz/Inteligencia_Computacional | d1ac6da32bfbb952f614dc37f41327522d38d668 | [
"MIT"
] | null | null | null | Fuzzy/trabalhoic.c | felipebmuniz/Inteligencia_Computacional | d1ac6da32bfbb952f614dc37f41327522d38d668 | [
"MIT"
] | null | null | null | Fuzzy/trabalhoic.c | felipebmuniz/Inteligencia_Computacional | d1ac6da32bfbb952f614dc37f41327522d38d668 | [
"MIT"
] | null | null | null | /*
Aluno: Francisco Gilson Pereira Almeida Filho
Matricula: 401066
2020.1
Enunciado: Construa um programa baseado em l�gica fuzzy (infer�ncia de Mamdani) que receba tr�s
valores: press�o no pedal, velocidade da roda e velocidade do carro e que devolva a press�o no freio.
Regras utilizadas:
Regra1: Se a pr... | 22.91875 | 132 | 0.602263 |
6b16e7f79f7421f574ef7ccdd5c1117b83bafb18 | 1,693 | asm | Assembly | macros/coords.asm | opiter09/ASM-Machina | 75d8e457b3e82cc7a99b8e70ada643ab02863ada | [
"CC0-1.0"
] | 1 | 2022-02-15T00:19:44.000Z | 2022-02-15T00:19:44.000Z | macros/coords.asm | opiter09/ASM-Machina | 75d8e457b3e82cc7a99b8e70ada643ab02863ada | [
"CC0-1.0"
] | null | null | null | macros/coords.asm | opiter09/ASM-Machina | 75d8e457b3e82cc7a99b8e70ada643ab02863ada | [
"CC0-1.0"
] | null | null | null | validate_coords: MACRO
IF _NARG >= 4
IF \1 >= \3
fail "x coord out of range"
ENDC
IF \2 >= \4
fail "y coord out of range"
ENDC
ELSE
validate_coords \1, \2, SCREEN_WIDTH, SCREEN_HEIGHT
ENDC
ENDM
hlcoord EQUS "coord hl,"
bccoord EQUS "coord bc,"
decoord EQUS "coord de,"
coord: MACRO
; register, x, y[... | 18.604396 | 71 | 0.600118 |
439ddc4bd03eab74663ee56c3ab841c06e728648 | 3,367 | ps1 | PowerShell | Git/rosenberg.git.ps1 | jeffrosenberg/ShellTools | 4f5d0b52398eb311b374decbcbf80018359f2022 | [
"Unlicense"
] | null | null | null | Git/rosenberg.git.ps1 | jeffrosenberg/ShellTools | 4f5d0b52398eb311b374decbcbf80018359f2022 | [
"Unlicense"
] | null | null | null | Git/rosenberg.git.ps1 | jeffrosenberg/ShellTools | 4f5d0b52398eb311b374decbcbf80018359f2022 | [
"Unlicense"
] | null | null | null | ########################################
# Shell wrappers for Git commands / aliases
########################################
# Where possible, prefer to create aliases in
# .gitconfig and just wrap in shell aliases
#
# This way, can update command behaviors,
# formatting, etc. across all providers
# in .gitconfig
##... | 35.442105 | 74 | 0.727057 |
5803ee2c61dfbcb3556900d8040dd3059f0a1e2e | 379 | h | C | XcodeHeaders/IDEKit/IDEBlueprintProvider-Protocol.h | alloy/AxeMode | 323641da993b3f5990740f29021e081a184543c7 | [
"MIT"
] | 69 | 2015-02-18T13:32:26.000Z | 2021-03-21T19:07:21.000Z | XcodeHeaders/IDEKit/IDEBlueprintProvider-Protocol.h | alloy/AxeMode | 323641da993b3f5990740f29021e081a184543c7 | [
"MIT"
] | 13 | 2015-02-18T13:22:45.000Z | 2015-07-17T21:42:42.000Z | XcodeHeaders/IDEKit/IDEBlueprintProvider-Protocol.h | alloy/AxeMode | 323641da993b3f5990740f29021e081a184543c7 | [
"MIT"
] | 3 | 2015-03-16T17:49:27.000Z | 2015-06-16T08:54:26.000Z | /*
* Generated by class-dump 3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2012 by Steve Nygard.
*/
#import "NSObject.h"
@protocol IDEBlueprintProvider <NSObject>
- (id)blueprintForIdentifier:(id)arg1;
- (id)blueprintForName:(id)arg1;
- (id)blueprints;
- (id)classPrefix;
- (id)n... | 19.947368 | 83 | 0.686016 |
fbb7b2aec16dfefcb61676321813a77a768d7d34 | 2,223 | java | Java | mtsj/core/src/main/java/com/devonfw/application/mtsj/clustermanagement/dataaccess/api/GeobookingEntity.java | devonfw-forge/mts-gigaspaces | 883badabc21c39ec3e6c5305ef07a56ffc4b3aa9 | [
"Apache-2.0"
] | null | null | null | mtsj/core/src/main/java/com/devonfw/application/mtsj/clustermanagement/dataaccess/api/GeobookingEntity.java | devonfw-forge/mts-gigaspaces | 883badabc21c39ec3e6c5305ef07a56ffc4b3aa9 | [
"Apache-2.0"
] | null | null | null | mtsj/core/src/main/java/com/devonfw/application/mtsj/clustermanagement/dataaccess/api/GeobookingEntity.java | devonfw-forge/mts-gigaspaces | 883badabc21c39ec3e6c5305ef07a56ffc4b3aa9 | [
"Apache-2.0"
] | null | null | null | package com.devonfw.application.mtsj.clustermanagement.dataaccess.api;
import com.gigaspaces.annotation.pojo.SpaceClass;
import com.gigaspaces.annotation.pojo.SpaceId;
import com.gigaspaces.annotation.pojo.SpaceIndex;
import com.gigaspaces.annotation.pojo.SpaceRouting;
import com.gigaspaces.annotation.pojo.SpaceVersio... | 16.840909 | 70 | 0.716149 |
40f0deb0a8c5c28522857bf48c6ff81e36d02bae | 4,687 | py | Python | experiments/clef-hipe-2022/flair-fine-tuner.py | dbmdz/clef-hipe | 350de10b9d694bff00d4ee3d64b457f524e2ce5c | [
"MIT"
] | 3 | 2021-12-23T14:31:48.000Z | 2022-02-27T14:55:03.000Z | experiments/clef-hipe-2022/flair-fine-tuner.py | dbmdz/clef-hipe | 350de10b9d694bff00d4ee3d64b457f524e2ce5c | [
"MIT"
] | null | null | null | experiments/clef-hipe-2022/flair-fine-tuner.py | dbmdz/clef-hipe | 350de10b9d694bff00d4ee3d64b457f524e2ce5c | [
"MIT"
] | 1 | 2022-02-27T14:55:13.000Z | 2022-02-27T14:55:13.000Z | import click
import json
import sys
import flair
import torch
from typing import List
from flair.data import MultiCorpus
from flair.datasets import ColumnCorpus, NER_HIPE_2022
from flair.embeddings import (
TokenEmbeddings,
StackedEmbeddings,
TransformerWordEmbeddings
)
from flair import set_seed
from fl... | 33.719424 | 152 | 0.685086 |
01b6f53cfdb717f6d92f01feec72128388508158 | 799 | swift | Swift | RGKickStart/ViewController.swift | riteshhgupta/RGKickStart | 5cf4fc30c90acbc9de83e4b67067c8a5ca9ca578 | [
"MIT"
] | null | null | null | RGKickStart/ViewController.swift | riteshhgupta/RGKickStart | 5cf4fc30c90acbc9de83e4b67067c8a5ca9ca578 | [
"MIT"
] | null | null | null | RGKickStart/ViewController.swift | riteshhgupta/RGKickStart | 5cf4fc30c90acbc9de83e4b67067c8a5ca9ca578 | [
"MIT"
] | null | null | null | //
// ViewController.swift
// RGKickStart
//
// Created by Ritesh Gupta on 03/09/18.
// Copyright © 2018 Ritesh Gupta. All rights reserved.
//
import Foundation
import UIKit
import Result
import Nuke
import ReactiveSwift
class ViewController: UIViewController, AlertPresenter {
@IBOutlet var label: UILabel!
o... | 19.02381 | 70 | 0.720901 |
76cd71066f4f7f1f29a2773c202632219e88d0f9 | 395 | h | C | isis/src/control/apps/autoseed/autoseed.h | robotprogrammer22/ISIS3 | 8a2ec4bb3c91969c81d75c681051a1fe77028788 | [
"CC0-1.0"
] | null | null | null | isis/src/control/apps/autoseed/autoseed.h | robotprogrammer22/ISIS3 | 8a2ec4bb3c91969c81d75c681051a1fe77028788 | [
"CC0-1.0"
] | null | null | null | isis/src/control/apps/autoseed/autoseed.h | robotprogrammer22/ISIS3 | 8a2ec4bb3c91969c81d75c681051a1fe77028788 | [
"CC0-1.0"
] | null | null | null | #ifndef autoseed_h
#define autoseed_h
#include "ControlNet.h"
#include "Pvl.h"
#include "UserInterface.h"
namespace Isis {
enum SeedDomain {
XY,
SampleLine
};
extern void autoseed(UserInterface &ui,
Pvl *log = nullptr);
extern void autoseed(UserInterface &ui, SerialNumberList &... | 19.75 | 124 | 0.686076 |
bf50e031a573ce05f54c3c7bea32452605c71756 | 542 | swift | Swift | TableViewExperiments/SecondViewController.swift | vanderlvoff/TableViewExperiments | ec0e83302b277cf1ef2b82d09fbcabf840a8516b | [
"MIT"
] | null | null | null | TableViewExperiments/SecondViewController.swift | vanderlvoff/TableViewExperiments | ec0e83302b277cf1ef2b82d09fbcabf840a8516b | [
"MIT"
] | null | null | null | TableViewExperiments/SecondViewController.swift | vanderlvoff/TableViewExperiments | ec0e83302b277cf1ef2b82d09fbcabf840a8516b | [
"MIT"
] | 1 | 2019-12-15T13:26:32.000Z | 2019-12-15T13:26:32.000Z | //
// SecondViewController.swift
// TableViewExperiments
//
// Created by リヴォーフ ユーリ on 2019/12/14.
// Copyright © 2019 リヴォーフ ユーリ. All rights reserved.
//
import UIKit
class SecondViewController: UIViewController {
var getCell: Int = 0
var vedgiName: String = ""
@IBOutlet weak var localLabel: UILa... | 20.846154 | 52 | 0.651292 |
02875a92ad0c4f1bea1a0710a28d5f4ca17bc01d | 1,364 | kt | Kotlin | ui-testing-core/src/main/java/com/avito/android/test/checks/OnDescendantMatcherListItemChecksDriver.kt | KovalevAndrey/android-ui-testing | 609a76fb1bf5570c6c77782a7c55f2c4e636e14b | [
"MIT"
] | null | null | null | ui-testing-core/src/main/java/com/avito/android/test/checks/OnDescendantMatcherListItemChecksDriver.kt | KovalevAndrey/android-ui-testing | 609a76fb1bf5570c6c77782a7c55f2c4e636e14b | [
"MIT"
] | null | null | null | ui-testing-core/src/main/java/com/avito/android/test/checks/OnDescendantMatcherListItemChecksDriver.kt | KovalevAndrey/android-ui-testing | 609a76fb1bf5570c6c77782a7c55f2c4e636e14b | [
"MIT"
] | null | null | null | package com.avito.android.test.checks
import android.support.test.espresso.Espresso
import android.support.test.espresso.ViewAssertion
import android.support.test.espresso.ViewInteraction
import android.support.test.espresso.contrib.RecyclerViewActions
import android.support.v7.widget.RecyclerView
import android.view.... | 36.864865 | 99 | 0.778592 |
f2e881a256cce2048354660f1b019c0c1d37e37c | 716 | kt | Kotlin | shared/src/commonMain/kotlin/co/touchlab/droidcon/application/repository/impl/DefaultAboutRepository.kt | xsahil03x/DroidconKotlin | e7107a11121921a85ddb7ac5a51bc04319c853b0 | [
"Apache-2.0"
] | 499 | 2018-08-03T14:06:38.000Z | 2022-03-04T08:14:55.000Z | shared/src/commonMain/kotlin/co/touchlab/droidcon/application/repository/impl/DefaultAboutRepository.kt | xsahil03x/DroidconKotlin | e7107a11121921a85ddb7ac5a51bc04319c853b0 | [
"Apache-2.0"
] | 70 | 2018-08-20T05:48:59.000Z | 2021-12-24T19:40:06.000Z | shared/src/commonMain/kotlin/co/touchlab/droidcon/application/repository/impl/DefaultAboutRepository.kt | xsahil03x/DroidconKotlin | e7107a11121921a85ddb7ac5a51bc04319c853b0 | [
"Apache-2.0"
] | 52 | 2018-08-03T18:53:15.000Z | 2022-02-09T08:11:30.000Z | package co.touchlab.droidcon.application.repository.impl
import co.touchlab.droidcon.application.composite.AboutItem
import co.touchlab.droidcon.application.repository.AboutRepository
import co.touchlab.droidcon.composite.Url
import co.touchlab.droidcon.domain.service.impl.json.AboutJsonResourceDataSource
class Defau... | 34.095238 | 80 | 0.719274 |
85df738662e39ace65830e0b3a9d7bf924d78fef | 295 | h | C | Application-OSX/SLSAppDelegate.h | chrisdevereux/Slash | 1226fe873243a1100f328271263f2612f7095e6c | [
"MIT"
] | 135 | 2015-01-10T03:39:15.000Z | 2021-01-16T15:33:52.000Z | Application-OSX/SLSAppDelegate.h | chrisdevereux/Slash | 1226fe873243a1100f328271263f2612f7095e6c | [
"MIT"
] | 7 | 2015-03-10T13:37:16.000Z | 2016-12-30T09:44:07.000Z | Application-OSX/SLSAppDelegate.h | chrisdevereux/Slash | 1226fe873243a1100f328271263f2612f7095e6c | [
"MIT"
] | 12 | 2015-02-10T12:12:02.000Z | 2020-05-28T08:47:35.000Z | //
// SLSAppDelegate.h
// Application-OSX
//
// Created by Chris Devereux on 13/12/2012.
// Copyright (c) 2012 Chris Devereux. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@interface SLSAppDelegate : NSObject <NSApplicationDelegate>
@property (assign) IBOutlet NSWindow *window;
@end
| 18.4375 | 60 | 0.722034 |
dbc4b7adf807db946fcb98c9f2bc266faf7eae16 | 4,953 | swift | Swift | iOSHelloWorld/ScanSDK/Scan Cleaning/GeometrySlicer.swift | kanagudurai/PipeLine | 72a5042cfebd8a5a45ce699000d473ed3aba4a6c | [
"CC-BY-4.0",
"MIT"
] | null | null | null | iOSHelloWorld/ScanSDK/Scan Cleaning/GeometrySlicer.swift | kanagudurai/PipeLine | 72a5042cfebd8a5a45ce699000d473ed3aba4a6c | [
"CC-BY-4.0",
"MIT"
] | null | null | null | iOSHelloWorld/ScanSDK/Scan Cleaning/GeometrySlicer.swift | kanagudurai/PipeLine | 72a5042cfebd8a5a45ce699000d473ed3aba4a6c | [
"CC-BY-4.0",
"MIT"
] | null | null | null | //
// GeometrySlicer.swift
// HP-Arize
//
// Created by Alexandre Boyer Laporte on 2021-08-23.
//
import SceneKit
import Combine
protocol GeometrySlicer {
func slicePromise(geometry: SCNGeometry,
boundingBox: CleanerBoundBox,
translation: SCNVector3,
... | 29.307692 | 67 | 0.488593 |
fb6b1c5150e9c18c1f1e0d0f9b7739be3299a7b6 | 4,078 | java | Java | chrome/android/junit/src/org/chromium/chrome/browser/media/ui/MediaNotificationActionsUpdatedTest.java | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/android/junit/src/org/chromium/chrome/browser/media/ui/MediaNotificationActionsUpdatedTest.java | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/android/junit/src/org/chromium/chrome/browser/media/ui/MediaNotificationActionsUpdatedTest.java | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chrome.browser.media.ui;
import static org.junit.Assert.assertEquals;
import static org.mockito.Mockito.any;
import static org.mocki... | 37.072727 | 98 | 0.743747 |
0b829ab3570dda786322f71fd0c867093ba7b3dc | 1,705 | py | Python | composer/datasets/brats_hparams.py | growlix/composer | 27418a3c65dca26d90ac09c6ae67cbd5d0202ccf | [
"Apache-2.0"
] | null | null | null | composer/datasets/brats_hparams.py | growlix/composer | 27418a3c65dca26d90ac09c6ae67cbd5d0202ccf | [
"Apache-2.0"
] | null | null | null | composer/datasets/brats_hparams.py | growlix/composer | 27418a3c65dca26d90ac09c6ae67cbd5d0202ccf | [
"Apache-2.0"
] | null | null | null | # Copyright 2022 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0
"""BraTS (Brain Tumor Segmentation) dataset hyperparameters."""
from dataclasses import dataclass
import torch
import yahp as hp
from composer.datasets.brats import PytTrain, PytVal, get_data_split
from composer.datasets.dataset_hparam... | 32.788462 | 101 | 0.71261 |
40ae4434d9caa9b0f830fad4da9894201bc0bf94 | 759 | py | Python | smatrix/mdx_c2e.py | ffreemt/similarity-matrix | f72d5c76083588aaa8faf5aefad1ac5aeae2f715 | [
"MIT"
] | null | null | null | smatrix/mdx_c2e.py | ffreemt/similarity-matrix | f72d5c76083588aaa8faf5aefad1ac5aeae2f715 | [
"MIT"
] | null | null | null | smatrix/mdx_c2e.py | ffreemt/similarity-matrix | f72d5c76083588aaa8faf5aefad1ac5aeae2f715 | [
"MIT"
] | null | null | null | """Load mdx_dict_c2e.
mdx_e2c = joblib.load("./mdx_dict_e2c.lzma")
mdx_c2e = joblib.load("./mdx_dict_e2c.lzma")
"""
from pathlib import Path
import joblib
c_dir = Path(__file__).parent
# lazy load in __init__.py like this?
# mdx_e2c = importlib.import_module("tinybee.mdx_e2c")
# mdx_e2c = mdx_e2c.mdx_e2c
# mdx_c2e ... | 21.685714 | 55 | 0.673254 |
aafde109933ef8a385cfbe293d9bb2ae81bb1daa | 8,813 | swift | Swift | NewsApp/ViewControllers/HomeVC.swift | bretsko/NewsApp | a6165f488eaa7d7c12ab39e041bf4eeb2a118a29 | [
"MIT"
] | null | null | null | NewsApp/ViewControllers/HomeVC.swift | bretsko/NewsApp | a6165f488eaa7d7c12ab39e041bf4eeb2a118a29 | [
"MIT"
] | null | null | null | NewsApp/ViewControllers/HomeVC.swift | bretsko/NewsApp | a6165f488eaa7d7c12ab39e041bf4eeb2a118a29 | [
"MIT"
] | null | null | null | //
// HomeVC.swift
// NewsApp
//
// Created by Macbook Pro 15 on 4/23/20.
// Copyright © 2020 SamuelFolledo. All rights reserved.
//
import UIKit
class HomeVC: UIViewController {
@IBOutlet weak var collectionView: UICollectionView!
var searchController: UISearchController!
weak var coordinat... | 33.256604 | 134 | 0.600704 |
7d5780a0d1d4cb994bfa0bb4ea9c990c542892f8 | 1,011 | html | HTML | chapter-7/app/src/contacts/components/photo.html | dudumanbogdan/Learning-Aurelia | c6288edb923b19d17ad0f786483b3c844dc49304 | [
"MIT"
] | 16 | 2016-12-26T21:24:33.000Z | 2021-11-08T13:12:03.000Z | chapter-7/app/src/contacts/components/photo.html | dudumanbogdan/Learning-Aurelia | c6288edb923b19d17ad0f786483b3c844dc49304 | [
"MIT"
] | 5 | 2017-02-08T17:55:52.000Z | 2019-02-22T11:32:56.000Z | chapter-7/app/src/contacts/components/photo.html | dudumanbogdan/Learning-Aurelia | c6288edb923b19d17ad0f786483b3c844dc49304 | [
"MIT"
] | 14 | 2017-01-30T18:19:26.000Z | 2018-04-03T10:14:08.000Z | <template>
<section class="container">
<h1>${contact.fullName}</h1>
<form class="form-horizontal" validation-renderer="bootstrap-form" submit-task.call="save()">
<div class="form-group">
<label class="col-sm-3 control-label" for="photo">Photo</label>
<div class="col-sm-6">
<fi... | 37.444444 | 142 | 0.587537 |
4c321e4e3206367af43584e9146f8855eaf388ac | 1,386 | php | PHP | web/app/themes/inclusiva/resources/views/partials/section/la-institucion.blade.php | agrorural/InclusivaV5 | 4ca03fdffdd4c2d18afb6bf8a61a16f500da7f44 | [
"MIT"
] | null | null | null | web/app/themes/inclusiva/resources/views/partials/section/la-institucion.blade.php | agrorural/InclusivaV5 | 4ca03fdffdd4c2d18afb6bf8a61a16f500da7f44 | [
"MIT"
] | null | null | null | web/app/themes/inclusiva/resources/views/partials/section/la-institucion.blade.php | agrorural/InclusivaV5 | 4ca03fdffdd4c2d18afb6bf8a61a16f500da7f44 | [
"MIT"
] | null | null | null | @php
$page_1 = get_page_by_path('la-institucion');
$page_2 = get_page_by_path('la-institucion/directorio');
$page_3 = get_page_by_path('la-institucion/organigrama');
$page_1_ID = $page_1->ID;
$page_2_ID = $page_2->ID;
$page_3_ID = $page_3->ID;
$the_post = get_post($page_1_ID);
$content = get_post_fie... | 31.5 | 99 | 0.590188 |
22ac88fa226e11cc1ebe67970dcf8239bc2d68d5 | 11,378 | html | HTML | docs/build/html/genindex.html | mazi76erX2/mention-python | 5133f463faa4ef053365fbf15db0a75dbb00a4e5 | [
"MIT"
] | null | null | null | docs/build/html/genindex.html | mazi76erX2/mention-python | 5133f463faa4ef053365fbf15db0a75dbb00a4e5 | [
"MIT"
] | null | null | null | docs/build/html/genindex.html | mazi76erX2/mention-python | 5133f463faa4ef053365fbf15db0a75dbb00a4e5 | [
"MIT"
] | null | null | null |
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Index — mention-python 0.1 documentation</title>
... | 39.922807 | 129 | 0.655124 |
0d73025f84c25cee320ef82e83afce2865b2b7d3 | 3,576 | swift | Swift | Example4Swift/Example4Swift/MainViewController.swift | iDevelopper/PBRevealViewController | b28073993f0e3d4731998060bf783a221768f68e | [
"MIT"
] | 82 | 2016-07-22T11:04:34.000Z | 2021-08-15T09:13:29.000Z | Example4Swift/Example4Swift/MainViewController.swift | sorinmiroiu97/PBRevealViewController | 3d4631409a79fbe78c1e3946b33f1b0d5f75c8d9 | [
"MIT"
] | 86 | 2016-08-24T10:59:10.000Z | 2020-12-09T06:36:06.000Z | Example4Swift/Example4Swift/MainViewController.swift | sorinmiroiu97/PBRevealViewController | 3d4631409a79fbe78c1e3946b33f1b0d5f75c8d9 | [
"MIT"
] | 17 | 2016-08-30T17:50:50.000Z | 2019-11-19T07:44:08.000Z | //
// MainViewController.swift
// Example4Swift
//
// Created by Patrick BODET on 09/08/2016.
// Copyright © 2016 iDevelopper. All rights reserved.
//
import UIKit
class MainViewController: UIViewController {
@IBOutlet weak var menuButton: UIBarButtonItem!
@IBOutlet weak var rightButton: UIBarButtonItem!... | 36.865979 | 109 | 0.678412 |
fb646b52b56b63daf3dd54d0f297ed48e488bf2c | 1,265 | java | Java | scribble-core/src/main/java/org/scribble/visit/env/InlineProtocolEnv.java | haileyfong/scribble-java | 19ea1dc1dfd5d08378e31a63c51a8d6a54d10f7a | [
"Apache-2.0"
] | 1 | 2018-04-16T04:55:21.000Z | 2018-04-16T04:55:21.000Z | scribble-core/src/main/java/org/scribble/visit/env/InlineProtocolEnv.java | haileyfong/scribble-java | 19ea1dc1dfd5d08378e31a63c51a8d6a54d10f7a | [
"Apache-2.0"
] | null | null | null | scribble-core/src/main/java/org/scribble/visit/env/InlineProtocolEnv.java | haileyfong/scribble-java | 19ea1dc1dfd5d08378e31a63c51a8d6a54d10f7a | [
"Apache-2.0"
] | 1 | 2021-11-26T00:19:34.000Z | 2021-11-26T00:19:34.000Z | /**
* Copyright 2008 The Scribble 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 ... | 22.192982 | 100 | 0.743083 |
f4e35e726152a8e0043221bce51d2285e0011e32 | 9,594 | swift | Swift | Tests/FluentPostgresDriverTests/FluentPostgresDriverTests.swift | rnantes/fluent-postgres-driver | 2bf6bf28c0f5e4fad5038660f851f13eff6720c7 | [
"MIT"
] | null | null | null | Tests/FluentPostgresDriverTests/FluentPostgresDriverTests.swift | rnantes/fluent-postgres-driver | 2bf6bf28c0f5e4fad5038660f851f13eff6720c7 | [
"MIT"
] | null | null | null | Tests/FluentPostgresDriverTests/FluentPostgresDriverTests.swift | rnantes/fluent-postgres-driver | 2bf6bf28c0f5e4fad5038660f851f13eff6720c7 | [
"MIT"
] | null | null | null | import Logging
import FluentBenchmark
import FluentPostgresDriver
import XCTest
final class FluentPostgresDriverTests: XCTestCase {
func testAll() throws { try self.benchmarker.testAll() }
func testAggregate() throws { try self.benchmarker.testAggregate() }
func testArray() throws { try self.benchmarker.te... | 34.021277 | 92 | 0.610486 |
9f0ce80f03798ac6267c6dfdfefd3d343a2039c4 | 141 | go | Go | parser/const.go | QuangTung97/kvstore | 6c27c178427c9bb8f9cec5e3057784404cec4cc6 | [
"MIT"
] | null | null | null | parser/const.go | QuangTung97/kvstore | 6c27c178427c9bb8f9cec5e3057784404cec4cc6 | [
"MIT"
] | null | null | null | parser/const.go | QuangTung97/kvstore | 6c27c178427c9bb8f9cec5e3057784404cec4cc6 | [
"MIT"
] | null | null | null | package parser
var (
// LGET command
LGET = []byte("LGET")
// LSET command
LSET = []byte("LSET")
// DEL command
DEL = []byte("DEL")
)
| 12.818182 | 22 | 0.58156 |
26b71846298b6a4e0eff04c528b1cd544d9db883 | 2,981 | java | Java | iti-iha-project/iti-iha-simple/src/main/java/org/lan/iti/iha/simple/SimpleConfig.java | crazy6995/iTi-Framework | 6adb8b1c38de6a47998feabc02a6d7ca9806968d | [
"Apache-2.0"
] | null | null | null | iti-iha-project/iti-iha-simple/src/main/java/org/lan/iti/iha/simple/SimpleConfig.java | crazy6995/iTi-Framework | 6adb8b1c38de6a47998feabc02a6d7ca9806968d | [
"Apache-2.0"
] | null | null | null | iti-iha-project/iti-iha-simple/src/main/java/org/lan/iti/iha/simple/SimpleConfig.java | crazy6995/iTi-Framework | 6adb8b1c38de6a47998feabc02a6d7ca9806968d | [
"Apache-2.0"
] | null | null | null | /*
*
* * Copyright (c) [2019-2021] [NorthLan](lan6995@gmail.com)
* *
* * 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/LICE... | 30.111111 | 151 | 0.660181 |
cb0007cf013f5e45f9298c40bf11b36db0341f9c | 1,014 | h | C | src/homework/tic_tac_toe/tic_tac_toe.h | acc-cosc-1337-fall-2020/acc-cosc-1337-fall-2020-chasecalodney | 8c5923e2ea1f6ca8adc0e750df992635bbe382f5 | [
"MIT"
] | null | null | null | src/homework/tic_tac_toe/tic_tac_toe.h | acc-cosc-1337-fall-2020/acc-cosc-1337-fall-2020-chasecalodney | 8c5923e2ea1f6ca8adc0e750df992635bbe382f5 | [
"MIT"
] | null | null | null | src/homework/tic_tac_toe/tic_tac_toe.h | acc-cosc-1337-fall-2020/acc-cosc-1337-fall-2020-chasecalodney | 8c5923e2ea1f6ca8adc0e750df992635bbe382f5 | [
"MIT"
] | null | null | null | #ifndef TICTACTOE_H
#define TICTACTOE_H
#include <vector>
#include <string>
bool test_config();
class TicTacToe
{
public:
TicTacToe(int size);
bool game_over();
size_t get_pegs_size() const{
return pegs.size();
}
std::string get_peg(int i) const{
re... | 23.581395 | 50 | 0.561144 |
ad61b0855d70b2068f3f75dc1d4efce5bf831ba8 | 392 | rs | Rust | src/dashboard/views/dashboard.rs | delneg/bitcoin-address-generator-api | 2c9802cdcecf2da337b40885d8f7239a47455c7c | [
"MIT"
] | null | null | null | src/dashboard/views/dashboard.rs | delneg/bitcoin-address-generator-api | 2c9802cdcecf2da337b40885d8f7239a47455c7c | [
"MIT"
] | null | null | null | src/dashboard/views/dashboard.rs | delneg/bitcoin-address-generator-api | 2c9802cdcecf2da337b40885d8f7239a47455c7c | [
"MIT"
] | null | null | null | use jelly::prelude::*;
use jelly::Result;
use jelly::actix_web::{HttpRequest, HttpResponse};
use jelly::tera::Context;
/// Returns an overview of everything in the system.
pub async fn dashboard(request: HttpRequest) -> Result<HttpResponse> {
//let user = request.user()?;
request.render(200, "dashboard/index.... | 26.133333 | 70 | 0.668367 |
68ad296e493fb4e7efe4bae71026c4b74b880504 | 472 | swift | Swift | Sources/environments/Communicator.swift | ozgewhocodes/ai-baselines | 93da618671828fe8273918136fb2d30653bb8371 | [
"Apache-2.0"
] | 1 | 2020-09-23T21:23:57.000Z | 2020-09-23T21:23:57.000Z | Sources/environments/Communicator.swift | ozgewhocodes/ai-baselines | 93da618671828fe8273918136fb2d30653bb8371 | [
"Apache-2.0"
] | null | null | null | Sources/environments/Communicator.swift | ozgewhocodes/ai-baselines | 93da618671828fe8273918136fb2d30653bb8371 | [
"Apache-2.0"
] | 1 | 2020-10-18T08:41:29.000Z | 2020-10-18T08:41:29.000Z | //
// Communicator.swift
// App
//
// Created by Sercan Karaoglu on 25/04/2020.
//
import Foundation
import NIO
protocol Communicator {
init(workerId: Int, port: Int, group: MultiThreadedEventLoopGroup)
func initialize(inputs: CommunicatorObjects_UnityInputProto) -> Optional<CommunicatorObjects_UnityOutp... | 21.454545 | 114 | 0.756356 |
39d3125f526d2ed01d152237992c7e207f8e6729 | 28,747 | js | JavaScript | sitecore/shell/client/Applications/MerchandisingManager/Renderings/SlickGrid/SlickGrid.js | pramilasoni/EcommerceBasicSetupStoreFront | af660bba5ea597f7bea03d204309f63166544019 | [
"Apache-2.0"
] | null | null | null | sitecore/shell/client/Applications/MerchandisingManager/Renderings/SlickGrid/SlickGrid.js | pramilasoni/EcommerceBasicSetupStoreFront | af660bba5ea597f7bea03d204309f63166544019 | [
"Apache-2.0"
] | null | null | null | sitecore/shell/client/Applications/MerchandisingManager/Renderings/SlickGrid/SlickGrid.js | pramilasoni/EcommerceBasicSetupStoreFront | af660bba5ea597f7bea03d204309f63166544019 | [
"Apache-2.0"
] | null | null | null | require.config({
config: {
waitSeconds: 15
},
paths: {
slickCore: "/sitecore/shell/client/Applications/MerchandisingManager/Assets/libs/sg/slick.core",
slickDataView: "/sitecore/shell/client/Applications/MerchandisingManager/Assets/libs/sg/slick.dataview",
slickEditors: "/si... | 41.541908 | 343 | 0.520472 |
887d35a0a4a6a877e766879bbb0f694c3c76d18e | 282 | dart | Dart | lib/control_flow/optional/tuple/optional_tuple.dart | rhmoeller/HUtils | 0be1b4cb4b0eadd0f81824afe6bc259a6b411622 | [
"MIT"
] | null | null | null | lib/control_flow/optional/tuple/optional_tuple.dart | rhmoeller/HUtils | 0be1b4cb4b0eadd0f81824afe6bc259a6b411622 | [
"MIT"
] | null | null | null | lib/control_flow/optional/tuple/optional_tuple.dart | rhmoeller/HUtils | 0be1b4cb4b0eadd0f81824afe6bc259a6b411622 | [
"MIT"
] | 1 | 2021-03-04T02:58:20.000Z | 2021-03-04T02:58:20.000Z | /*
* Copyright (c) 2021 Robert Hjortsholm Moeller
*/
import '../optional.dart';
abstract class OptionalTuple<A, B, R, X, Y> {
final R Function(X first, Y second) mapper;
const OptionalTuple(this.mapper);
Optional<R> call(final Optional<A> a, final Optional<B> b);
}
| 15.666667 | 61 | 0.673759 |
ddc6f26cfde8b708d46f65b63b810166d4f287e1 | 1,337 | php | PHP | LAMPAPI/Register.php | Seth-Brockett/COP4331-SmallProject | 5b4a75f74bea54416af3bfea86b737c8a3c008c7 | [
"MIT"
] | null | null | null | LAMPAPI/Register.php | Seth-Brockett/COP4331-SmallProject | 5b4a75f74bea54416af3bfea86b737c8a3c008c7 | [
"MIT"
] | 1 | 2021-02-03T22:55:39.000Z | 2021-02-03T22:55:39.000Z | LAMPAPI/Register.php | Seth-Brockett/COP4331-SmallProject | 5b4a75f74bea54416af3bfea86b737c8a3c008c7 | [
"MIT"
] | 1 | 2021-02-14T19:49:27.000Z | 2021-02-14T19:49:27.000Z | <?php
$inData = getRequestInfo();
$firstname = $inData["firstname"];
$lastname = $inData["lastname"];
$email = $inData["email"];
$password = $inData["password"];
$conn = new mysqli("localhost", "admin", "admin", "COP4331");
if($conn->connect_error)
{
returnWithError($conn-... | 26.74 | 104 | 0.542259 |
0458de2103857f9526b92c0c913d394850346b8b | 4,914 | java | Java | ingest-rest/src/main/java/org/chronopolis/ingest/task/LocalTokenization.java | Chronopolis-Digital-Preservation/chronopolis-core | 4fa6fb70b474341fd46edd7232784a7f4307622a | [
"BSD-3-Clause"
] | null | null | null | ingest-rest/src/main/java/org/chronopolis/ingest/task/LocalTokenization.java | Chronopolis-Digital-Preservation/chronopolis-core | 4fa6fb70b474341fd46edd7232784a7f4307622a | [
"BSD-3-Clause"
] | null | null | null | ingest-rest/src/main/java/org/chronopolis/ingest/task/LocalTokenization.java | Chronopolis-Digital-Preservation/chronopolis-core | 4fa6fb70b474341fd46edd7232784a7f4307622a | [
"BSD-3-Clause"
] | null | null | null | package org.chronopolis.ingest.task;
import com.querydsl.jpa.JPAExpressions;
import com.querydsl.jpa.impl.JPAQueryFactory;
import org.chronopolis.common.concurrent.TrackingThreadPoolExecutor;
import org.chronopolis.common.storage.BagStagingProperties;
import org.chronopolis.common.storage.Posix;
import org.chronopolis... | 40.61157 | 91 | 0.673179 |
74d00e665d78336104a25a7bbb799fe67fb1fdb4 | 3,210 | js | JavaScript | bin/webpack.dev.config.js | yuxuan1101/airPivilion | 28b2f436e9669f07ff7a81ce02ec5aa1cf204807 | [
"MIT"
] | null | null | null | bin/webpack.dev.config.js | yuxuan1101/airPivilion | 28b2f436e9669f07ff7a81ce02ec5aa1cf204807 | [
"MIT"
] | null | null | null | bin/webpack.dev.config.js | yuxuan1101/airPivilion | 28b2f436e9669f07ff7a81ce02ec5aa1cf204807 | [
"MIT"
] | null | null | null | /**
* Created by yuxuan on 8/9/16.
*/
var path = require('path');
var webpack = require('webpack');
var htmlWebpackPlugin = require('html-webpack-plugin');
var host = 8080;
module.exports = {
devtool: 'inline-source-map',
target: 'web',
debug: false,
context: path.resolve(__dirname, '.'),
entry: ... | 31.165049 | 131 | 0.442679 |
f1d5e83ef6ad3a7e7946e2fc48565a26777eb45c | 3,493 | rb | Ruby | lib/environment_base.rb | vespa-engine/system-test | 0a05a4a784590651f51d530932f4782bfe80ac9c | [
"Apache-2.0"
] | 5 | 2020-01-21T20:58:09.000Z | 2022-02-01T08:01:26.000Z | lib/environment_base.rb | vespa-engine/system-test | 0a05a4a784590651f51d530932f4782bfe80ac9c | [
"Apache-2.0"
] | 246 | 2019-03-13T09:40:11.000Z | 2022-03-28T12:34:24.000Z | lib/environment_base.rb | vespa-engine/system-test | 0a05a4a784590651f51d530932f4782bfe80ac9c | [
"Apache-2.0"
] | 2 | 2019-10-26T11:37:30.000Z | 2021-03-08T20:20:21.000Z | # Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
require 'executor'
require 'default_env_file'
# A base class for a singleton providing the default environment in
# which to run tests. To access, use "Environment.instance" before
# fields and methods.
#
... | 30.112069 | 147 | 0.730031 |
5f0df815c321a02d9fa8f44c88ce9ee9d89d47d5 | 145 | ts | TypeScript | src/navigation/index.ts | boweihan/chatkitty-example-react | 3cba2454432bc17d140957de0594ae754cd1bce1 | [
"MIT"
] | 1 | 2021-09-16T15:53:12.000Z | 2021-09-16T15:53:12.000Z | src/navigation/index.ts | aerovulpe/chatkitty-example-react | b18aa66783af2b01d8a31f8b9f59c413b33f85a8 | [
"MIT"
] | null | null | null | src/navigation/index.ts | aerovulpe/chatkitty-example-react | b18aa66783af2b01d8a31f8b9f59c413b33f85a8 | [
"MIT"
] | null | null | null | export type View = 'Menu' | 'Chat' | 'Join Channel';
export interface LayoutState {
menu: boolean;
chat: boolean;
joinChannel: boolean;
}
| 18.125 | 52 | 0.682759 |
85c46769e2484c5266339723df7d0608309acf46 | 3,058 | js | JavaScript | functions/index.js | Apexal/rpi-walk-in | 48357e3dc2a49d80afc1ed9d9d1ccd8bfe708a32 | [
"MIT"
] | null | null | null | functions/index.js | Apexal/rpi-walk-in | 48357e3dc2a49d80afc1ed9d9d1ccd8bfe708a32 | [
"MIT"
] | null | null | null | functions/index.js | Apexal/rpi-walk-in | 48357e3dc2a49d80afc1ed9d9d1ccd8bfe708a32 | [
"MIT"
] | null | null | null | const functions = require('firebase-functions')
const admin = require('firebase-admin')
admin.initializeApp(functions.config().firebase)
const nodemailer = require('nodemailer')
const transporter = nodemailer.createTransport({
host: 'mail.rpi.edu',
port: 465,
secure: true,
auth: {
user: functions.config().... | 31.204082 | 126 | 0.634729 |
d1ba4e1b303cd13d9b28d4988c54640962136816 | 619 | sql | SQL | database/location.query.sql | one-piece-team1/one-piece-location | dcaaafc671e085f4ac1ad7eba825c95da86d1ea9 | [
"Apache-2.0"
] | null | null | null | database/location.query.sql | one-piece-team1/one-piece-location | dcaaafc671e085f4ac1ad7eba825c95da86d1ea9 | [
"Apache-2.0"
] | 6 | 2021-01-11T10:16:29.000Z | 2021-04-18T06:17:17.000Z | database/location.query.sql | one-piece-team1/one-piece-location | dcaaafc671e085f4ac1ad7eba825c95da86d1ea9 | [
"Apache-2.0"
] | null | null | null | WITH regionResult as (
select
"id",
"pointSrid",
"lat",
"lon",
"type",
"locationName",
"country",
COUNT(*),
(
6371 * acos(
cos(radians(44.35)) * cos(radians("lat" :: float)) * cos(radians("lon" :: float) - radians(143.35)) + sin(radians(44.35)) * sin(radians("lat" :: ... | 18.205882 | 160 | 0.547658 |
1650039410a70186aa3b306b2293f0315aa7ed3e | 4,216 | ts | TypeScript | src/core/coordinate.ts | mengxinssfd/utilTs | e58a9cb2670fb08b3ba5a4502f0202a23f369810 | [
"MIT"
] | 5 | 2022-03-02T13:04:37.000Z | 2022-03-29T02:06:16.000Z | src/core/coordinate.ts | mengxinssfd/ts-utils | 1ca90e1771f1e79ca71ff17ff14434942cc83a5f | [
"MIT"
] | 13 | 2021-07-12T04:28:06.000Z | 2022-03-30T16:54:31.000Z | src/core/coordinate.ts | mengxinssfd/utilTs | e58a9cb2670fb08b3ba5a4502f0202a23f369810 | [
"MIT"
] | 2 | 2021-09-07T18:03:45.000Z | 2022-03-02T13:04:42.000Z | // 与坐标相关的
// 坐标点
import CalcChain from "./CalcChain";
export type Point = [number, number]
// 判断是否在范围内
function inRange(a: number, [x1, x2]: Point): boolean {
return (x1 <= a && a <= x2) || (x2 <= a && a <= x1);
}
// 判断某个点是否在某个线上
export function isPointInPath(point: Point, path: Point[]): boolean {
const [x... | 27.2 | 98 | 0.561195 |
6b5df412be935dd2f9e328c427e5c001064e95d9 | 669 | h | C | runtime/monotouch-debug.h | SotoiGhost/xamarin-macios | 45dca51dfc88a5570ffffc60be6072d828c5da9e | [
"BSD-3-Clause"
] | 2,441 | 2016-04-27T13:30:04.000Z | 2022-03-28T11:22:29.000Z | runtime/monotouch-debug.h | SotoiGhost/xamarin-macios | 45dca51dfc88a5570ffffc60be6072d828c5da9e | [
"BSD-3-Clause"
] | 13,993 | 2016-04-27T14:57:15.000Z | 2022-03-31T23:53:13.000Z | runtime/monotouch-debug.h | SotoiGhost/xamarin-macios | 45dca51dfc88a5570ffffc60be6072d828c5da9e | [
"BSD-3-Clause"
] | 557 | 2016-04-27T13:26:30.000Z | 2022-03-30T21:52:36.000Z | //
// debug.h: Debugging code for MonoTouch
//
// Authors:
// Geoff Norton
// Rolf Bjarne Kvinge <rolf@xamarin.com>
//
// Copyright 2009 Novell, Inc.
// Copyright 2011-2012 Xamarin Inc.
//
#ifndef __MONOTOUCH_DEBUG_H__
#define __MONOTOUCH_DEBUG_H__
#include "runtime-internal.h"
#ifdef __cplusplus
extern "C" {
... | 19.114286 | 54 | 0.753363 |
cbece2fad06ca68a76f1ea529a2ea878c32635f1 | 334 | sql | SQL | openGaussBase/testcase/KEYWORDS/binary/Opengauss_Function_Keyword_Binary_Case0026.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | openGaussBase/testcase/KEYWORDS/binary/Opengauss_Function_Keyword_Binary_Case0026.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | openGaussBase/testcase/KEYWORDS/binary/Opengauss_Function_Keyword_Binary_Case0026.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | -- @testpoint:opengauss关键字binary(非保留),作为模式名
--关键字不带引号-成功
drop schema if exists binary;
create schema binary;
--清理环境
drop schema binary;
--关键字带双引号-成功
drop schema if exists "binary";
create schema "binary";
--清理环境
drop schema "binary";
--关键字带单引号-合理报错
drop schema if exists 'binary';
--关键字带反引号-合理报错
drop schema if exi... | 15.904762 | 44 | 0.739521 |
2720b08cb40cc6e1d6b12255975338a53d14a1b8 | 11,280 | h | C | src/transport_impl/dpdk/dpdk_transport.h | howard0su/eRPC | 422be2d7f6a551802fb96d97ab9546470c4c96d2 | [
"Apache-2.0"
] | null | null | null | src/transport_impl/dpdk/dpdk_transport.h | howard0su/eRPC | 422be2d7f6a551802fb96d97ab9546470c4c96d2 | [
"Apache-2.0"
] | null | null | null | src/transport_impl/dpdk/dpdk_transport.h | howard0su/eRPC | 422be2d7f6a551802fb96d97ab9546470c4c96d2 | [
"Apache-2.0"
] | null | null | null | /**
* @file dpdk_transport.h
* @brief Transport for any DPDK-supported NIC
*/
#pragma once
#ifdef ERPC_DPDK
#include "transport.h"
#include "transport_impl/eth_common.h"
#include "util/barrier.h"
#include "util/logger.h"
#ifdef _WIN32
#include <rte_windows.h>
#endif
#include <rte_common.h>
#include <rte_config.h... | 33.975904 | 80 | 0.65656 |
2e43539d93cb8eddd30e5d308d2550803a768e88 | 6,606 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_12066_888.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_12066_888.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_12066_888.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x1d515, %rsi
lea addresses_A_ht+0x183c1, %rdi
nop
nop
nop
nop
dec %rbx
mov $24, %rcx
rep movsq
nop
nop
nop
nop
add %r9, %r9
lea addresses_A_ht+0x535d, %r9
nop
nop
nop
nop
nop
... | 37.534091 | 2,999 | 0.663034 |
0e254815c63a9fd65c0be558fe6d9e13899d8ba9 | 1,710 | kt | Kotlin | app/src/main/java/com/paranoid/mao/expandablewidgetexample/CircularRevealConstraintLayout.kt | lcdsmao/ExpandableFABExample | 76981bda4fad12bd75aa3bbcae80465dfda3f7e5 | [
"MIT"
] | 12 | 2019-11-05T14:40:29.000Z | 2021-02-04T10:09:41.000Z | app/src/main/java/com/paranoid/mao/expandablewidgetexample/CircularRevealConstraintLayout.kt | lcdsmao/ExpandableFABExample | 76981bda4fad12bd75aa3bbcae80465dfda3f7e5 | [
"MIT"
] | 1 | 2019-10-05T19:38:36.000Z | 2019-10-06T06:54:07.000Z | app/src/main/java/com/paranoid/mao/expandablewidgetexample/CircularRevealConstraintLayout.kt | lcdsmao/ExpandableFABExample | 76981bda4fad12bd75aa3bbcae80465dfda3f7e5 | [
"MIT"
] | 5 | 2019-10-16T13:25:26.000Z | 2021-03-14T15:34:27.000Z | package com.paranoid.mao.expandablewidgetexample
import android.content.Context
import android.graphics.Canvas
import android.graphics.drawable.Drawable
import android.util.AttributeSet
import android.widget.FrameLayout
import com.google.android.material.circularreveal.CircularRevealHelper
import com.google.an... | 30.535714 | 87 | 0.72807 |
0b3d7624363caad648ba8e358291c31dd9df8952 | 8,312 | swift | Swift | SwiftSenpai-UnitTest-HttpRequestTests/RegistrationRequestHelper_After_Post_Tests.swift | LeeKahSeng/SwiftSenpai-RegistrationRequestHelper-UnitTest | c64e5249a52b4a576e25f29b55abae06211a1953 | [
"MIT"
] | 2 | 2021-08-23T12:40:47.000Z | 2021-09-16T06:52:08.000Z | SwiftSenpai-UnitTest-HttpRequestTests/RegistrationRequestHelper_After_Post_Tests.swift | LeeKahSeng/SwiftSenpai-RegistrationRequestHelper-UnitTest | c64e5249a52b4a576e25f29b55abae06211a1953 | [
"MIT"
] | null | null | null | SwiftSenpai-UnitTest-HttpRequestTests/RegistrationRequestHelper_After_Post_Tests.swift | LeeKahSeng/SwiftSenpai-RegistrationRequestHelper-UnitTest | c64e5249a52b4a576e25f29b55abae06211a1953 | [
"MIT"
] | null | null | null | //
// RegistrationRequestHelper_After_Post_Tests.swift
// SwiftSenpai-UnitTest-HttpRequestTests
//
// Created by Lee Kah Seng on 07/02/2020.
// Copyright © 2020 Lee Kah Seng. All rights reserved.
//
import XCTest
@testable import SwiftSenpai_UnitTest_HttpRequest
class RegistrationRequestHelper_After_Post_Tests: X... | 33.926531 | 112 | 0.592757 |
dfc63b2e9f62b4e5314c062ef045cecfbb08b5cf | 2,199 | ts | TypeScript | src/app/pages/account-dashbord/account-dashbord.component.ts | mohamedHedi1990/ngx-admin-erp | 383d826d94dd31d179c221206071df1a29f65122 | [
"MIT"
] | null | null | null | src/app/pages/account-dashbord/account-dashbord.component.ts | mohamedHedi1990/ngx-admin-erp | 383d826d94dd31d179c221206071df1a29f65122 | [
"MIT"
] | null | null | null | src/app/pages/account-dashbord/account-dashbord.component.ts | mohamedHedi1990/ngx-admin-erp | 383d826d94dd31d179c221206071df1a29f65122 | [
"MIT"
] | null | null | null | import {Component, OnInit} from '@angular/core';
import {UtilsServiceService} from "../../utils-service.service";
@Component({
selector: 'ngx-account-dashbord',
templateUrl: './account-dashbord.component.html',
styleUrls: ['./account-dashbord.component.scss']
})
export class AccountDashbordComponent implements O... | 26.493976 | 99 | 0.644839 |
14eb86f56f99c80169b83a66b04759b8f07bb970 | 559 | asm | Assembly | oeis/017/A017368.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/017/A017368.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/017/A017368.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A017368: a(n) = (10*n + 8)^4.
; 4096,104976,614656,2085136,5308416,11316496,21381376,37015056,59969536,92236816,136048896,193877776,268435456,362673936,479785216,623201296,796594176,1003875856,1249198336,1536953616,1871773696,2258530576,2702336256,3208542736,3782742016,4430766096,5158686976,5972816656,6879707136,7886... | 79.857143 | 497 | 0.856887 |
ab69bd8d6dd82aaf3d9b3ec62324b2aa12f99f77 | 1,078 | asm | Assembly | Tejas-Simulator/PIN/pin-2.14/source/tools/Probes/do_nothing_ia32.asm | markoshorro/tejas_knl | 5e772aef46362d8bec8ad6d5427b9bcff9be5cfe | [
"Apache-2.0"
] | 17 | 2021-07-10T13:22:26.000Z | 2022-02-09T20:11:39.000Z | pin_kit/source/tools/Probes/do_nothing_ia32.asm | sawansib/SNIPER | 45ec1eeb09b81a7250bc1a1aaa452f16b2b7f497 | [
"MIT"
] | 4 | 2021-08-18T14:07:24.000Z | 2022-01-24T16:38:06.000Z | pin_kit/source/tools/Probes/do_nothing_ia32.asm | sawansib/SNIPER | 45ec1eeb09b81a7250bc1a1aaa452f16b2b7f497 | [
"MIT"
] | 11 | 2016-07-01T02:21:06.000Z | 2020-11-23T08:29:22.000Z | .686
.model flat, c
COMMENT // contains important code patterns
COMMENT // doesn't actually do anything
COMMENT // make sure the relocated entry will copy more than one basic block.
ASSUME NOTHING
.code
PUBLIC do_nothing
do_nothing PROC
test eax, eax
je lab1
xor eax, eax
xor eax, eax
lab1:
xor ... | 15.4 | 81 | 0.701299 |
908ce5375ce9b1344e09ac53ddeee381611dff36 | 12,217 | asm | Assembly | 1-source-files/main-sources/elite-missile.asm | markmoxon/disc-elite-beebasm | 31e05c330a7cdc60d8aef7664f9425381940dcae | [
"Unlicense"
] | 14 | 2021-01-28T19:27:28.000Z | 2022-01-07T16:36:02.000Z | 1-source-files/main-sources/elite-missile.asm | markmoxon/disc-elite-beebasm | 31e05c330a7cdc60d8aef7664f9425381940dcae | [
"Unlicense"
] | null | null | null | 1-source-files/main-sources/elite-missile.asm | markmoxon/disc-elite-beebasm | 31e05c330a7cdc60d8aef7664f9425381940dcae | [
"Unlicense"
] | null | null | null | \ ******************************************************************************
\
\ DISC ELITE MISSILE SHIP BLUEPRINT FILE
\
\ Elite was written by Ian Bell and David Braben and is copyright Acornsoft 1984
\
\ The code on this site has been disassembled from the version released on Ian
\ Bell's personal website at htt... | 35.514535 | 80 | 0.430629 |