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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
708fc04af63ec1581a27cf8883b3babcc0255c0d | 5,920 | h | C | libMachO/MachO_ABI/string_table.h | darlinghq/MachO-Kit | ef5272fc3a6fe8b612df534ca1150f9733cd6c66 | [
"MIT"
] | 469 | 2015-02-12T07:06:28.000Z | 2022-03-17T12:51:53.000Z | libMachO/MachO_ABI/string_table.h | darlinghq/MachO-Kit | ef5272fc3a6fe8b612df534ca1150f9733cd6c66 | [
"MIT"
] | 22 | 2015-07-23T07:46:17.000Z | 2021-12-06T04:24:12.000Z | libMachO/MachO_ABI/string_table.h | darlinghq/MachO-Kit | ef5272fc3a6fe8b612df534ca1150f9733cd6c66 | [
"MIT"
] | 59 | 2015-02-12T07:06:30.000Z | 2022-03-29T16:22:42.000Z | //----------------------------------------------------------------------------//
//|
//| MachOKit - A Lightweight Mach-O Parsing Library
//! @file string_table.h
//!
//! @author D.V.
//! @copyright Copyright (c) 2014-2015 D.V. All rights reserved.
//|
//| Permission is hereby granted, free of cha... | 40.547945 | 135 | 0.655743 |
0a2aaae2a515baf6f28e3aa18dcd6951902646a1 | 1,354 | lua | Lua | ceryx/nginx/lualib/ceryx/certificates.lua | insilica/ceryx | 0bb997d36a56b2ecaa936611c0e460cb3b5b95cc | [
"MIT"
] | 791 | 2015-06-23T08:15:24.000Z | 2022-03-18T14:34:51.000Z | ceryx/nginx/lualib/ceryx/certificates.lua | insilica/ceryx | 0bb997d36a56b2ecaa936611c0e460cb3b5b95cc | [
"MIT"
] | 54 | 2015-06-23T08:11:25.000Z | 2021-09-04T02:40:34.000Z | ceryx/nginx/lualib/ceryx/certificates.lua | insilica/ceryx | 0bb997d36a56b2ecaa936611c0e460cb3b5b95cc | [
"MIT"
] | 169 | 2015-06-23T08:15:15.000Z | 2022-03-11T19:40:14.000Z | local redis = require "ceryx.redis"
local ssl = require "ngx.ssl"
local utils = require "ceryx.utils"
local exports = {}
function getRedisKeyForHost(host)
return redis.prefix .. ":settings:" .. host
end
function getCertificatesForHost(host)
ngx.log(ngx.DEBUG, "Looking for SSL sertificate for " .. host)
l... | 30.772727 | 129 | 0.697194 |
16b6ce151353addf4176aa0f7fbeb3f2f65a8776 | 1,770 | h | C | Filters/PlotPropertiesOverTime/pqLabelFormatter.h | ObjectivitySRC/PVGPlugins | 5e24150262af751159d719cc810620d1770f2872 | [
"BSD-2-Clause"
] | 4 | 2016-01-21T21:45:43.000Z | 2021-07-31T19:24:09.000Z | Filters/PlotPropertiesOverTime/pqLabelFormatter.h | ObjectivitySRC/PVGPlugins | 5e24150262af751159d719cc810620d1770f2872 | [
"BSD-2-Clause"
] | null | null | null | Filters/PlotPropertiesOverTime/pqLabelFormatter.h | ObjectivitySRC/PVGPlugins | 5e24150262af751159d719cc810620d1770f2872 | [
"BSD-2-Clause"
] | 6 | 2015-08-31T06:21:03.000Z | 2021-07-31T19:24:10.000Z | /*
ParaView is a free software; you can redistribute it and/or modify it
under the terms of the ParaView license version 1.2.
See License_v1.2.txt for the full ParaView license.
A copy of this license can be obtained by contacting
Kitware Inc.
28 Corporate Drive
Clifton Park, NY 12065
USA
THI... | 30.517241 | 77 | 0.714689 |
d3d4136a34692a080503dfde14d7c7266ed46860 | 539 | swift | Swift | Frameworks/InAppServices/Sources/Features/NetworkMocking/MixboxUrlProtocol/Dependencies/FoundationNetworkModelsBridgingFactory/FoundationNetworkModelsBridgingFactory.swift | Chupik/Mixbox | 00284542b42125b101ce923c35e93b3ba9f08ff6 | [
"MIT"
] | 121 | 2018-08-06T19:14:05.000Z | 2022-03-29T05:10:57.000Z | Frameworks/InAppServices/Sources/Features/NetworkMocking/MixboxUrlProtocol/Dependencies/FoundationNetworkModelsBridgingFactory/FoundationNetworkModelsBridgingFactory.swift | Chupik/Mixbox | 00284542b42125b101ce923c35e93b3ba9f08ff6 | [
"MIT"
] | 14 | 2018-07-27T17:13:09.000Z | 2022-03-30T06:37:33.000Z | Frameworks/InAppServices/Sources/Features/NetworkMocking/MixboxUrlProtocol/Dependencies/FoundationNetworkModelsBridgingFactory/FoundationNetworkModelsBridgingFactory.swift | Chupik/Mixbox | 00284542b42125b101ce923c35e93b3ba9f08ff6 | [
"MIT"
] | 23 | 2018-08-16T18:11:50.000Z | 2022-03-29T10:46:44.000Z | #if MIXBOX_ENABLE_IN_APP_SERVICES
public protocol FoundationNetworkModelsBridgingFactory: AnyObject {
var urlRequestBridging: UrlRequestBridging { get }
var urlRequestCachePolicyBridging: UrlRequestCachePolicyBridging { get }
var urlRequestNetworkServiceTypeBridging: UrlRequestNetworkServiceTypeBridging { ... | 41.461538 | 90 | 0.825603 |
275677f6b542fb6058cb560769158bab952cb5d1 | 491 | kt | Kotlin | algorithms/src/main/kotlin/com/kotlinground/algorithms/sorting/mergeintervals/mergeintervals.kt | BrianLusina/KotlinGround | 8c6dd7ab84714ccb10859beee962a6e574fa9de7 | [
"MIT"
] | 1 | 2018-12-14T09:48:38.000Z | 2018-12-14T09:48:38.000Z | algorithms/src/main/kotlin/com/kotlinground/algorithms/sorting/mergeintervals/mergeintervals.kt | BrianLusina/KotlinGround | 8c6dd7ab84714ccb10859beee962a6e574fa9de7 | [
"MIT"
] | null | null | null | algorithms/src/main/kotlin/com/kotlinground/algorithms/sorting/mergeintervals/mergeintervals.kt | BrianLusina/KotlinGround | 8c6dd7ab84714ccb10859beee962a6e574fa9de7 | [
"MIT"
] | null | null | null | package com.kotlinground.algorithms.sorting.mergeintervals
import kotlin.math.max
fun mergeintervals(intervals: Array<IntArray>): Array<IntArray> {
intervals.sortBy { it[0] }
val merged = arrayListOf<IntArray>()
for (interval in intervals) {
if (merged.size == 0 || merged.last()[1] < interval[0])... | 25.842105 | 65 | 0.619145 |
14d5e81602902fdf336cb1dfb4ca3aba70626d62 | 11,349 | asm | Assembly | libtool/src/gmp-6.1.2/mpn/ia64/mode1o.asm | kroggen/aergo | 05af317eaa1b62b21dc0144ef74a9e7acb14fb87 | [
"MIT"
] | 1,602 | 2015-01-06T11:26:31.000Z | 2022-03-30T06:17:21.000Z | libtool/src/gmp-6.1.2/mpn/ia64/mode1o.asm | kroggen/aergo | 05af317eaa1b62b21dc0144ef74a9e7acb14fb87 | [
"MIT"
] | 11,789 | 2015-01-05T04:50:15.000Z | 2022-03-31T23:39:19.000Z | libtool/src/gmp-6.1.2/mpn/ia64/mode1o.asm | kroggen/aergo | 05af317eaa1b62b21dc0144ef74a9e7acb14fb87 | [
"MIT"
] | 498 | 2015-01-08T18:58:18.000Z | 2022-03-20T15:37:45.000Z | dnl Itanium-2 mpn_modexact_1c_odd -- mpn by 1 exact remainder.
dnl Contributed to the GNU project by Kevin Ryde.
dnl Copyright 2003-2005 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under th... | 33.087464 | 79 | 0.698388 |
70d282374b92c2ef8c602a6934d71fb2f49c0e76 | 291 | h | C | src/ofxPDSPTools.h | MacFurax/ofxPDSPTools | a2c7af9035d771287abc9414cfadd299e9a8dd41 | [
"MIT"
] | 12 | 2019-09-17T15:43:50.000Z | 2021-07-20T09:46:44.000Z | src/ofxPDSPTools.h | MacFurax/ofxPDSPTools | a2c7af9035d771287abc9414cfadd299e9a8dd41 | [
"MIT"
] | null | null | null | src/ofxPDSPTools.h | MacFurax/ofxPDSPTools | a2c7af9035d771287abc9414cfadd299e9a8dd41 | [
"MIT"
] | null | null | null | #pragma once
// PDSP components
#include "VoiceElement.h"
#include "VoiceBase.h"
#include "SynthBase.h"
// tools
#include "PatchFilesStore.h"
#include "PatchParams.h"
// ui
#include "ofxImGuiPatchParamsUI.h"
#include "ofxImGuiLoadSavePatchs.h"
#include "ofxImGuiMIDIDevicesSelector.h"
| 15.315789 | 40 | 0.75945 |
332ca6164e5d6ccaf3d86265c927173981639004 | 4,005 | py | Python | src/embedding/triple2vec.py | MengtingWan/grocery | d9401418915a481dcd4be1f0be2cad238e8cc00e | [
"Apache-2.0"
] | 46 | 2019-01-24T19:48:19.000Z | 2022-03-22T22:16:55.000Z | src/embedding/triple2vec.py | MengtingWan/grocery | d9401418915a481dcd4be1f0be2cad238e8cc00e | [
"Apache-2.0"
] | 2 | 2019-11-05T19:55:57.000Z | 2021-04-01T12:15:13.000Z | src/embedding/triple2vec.py | MengtingWan/grocery | d9401418915a481dcd4be1f0be2cad238e8cc00e | [
"Apache-2.0"
] | 17 | 2019-03-30T02:45:59.000Z | 2021-12-30T00:56:02.000Z | import tensorflow as tf
from embedding.learner import Model
from embedding.sampler import Sampler
import sys
class triple2vec(Model):
def __init__(self, DATA_NAME, HIDDEN_DIM, LEARNING_RATE, BATCH_SIZE, N_NEG, MAX_EPOCH=500, N_SAMPLE_PER_EPOCH=None):
super().__init__('triple2vec', DATA_NAME, HIDDEN_DI... | 48.253012 | 132 | 0.604494 |
fd8a335df70e2561634852e3e6f8e8dc4948abd7 | 937 | c | C | selector.c | xioperez01/printf | d64864f82892be8c4e93deff2dda90eada86b4cd | [
"MIT"
] | 2 | 2020-07-18T03:42:58.000Z | 2020-07-21T14:54:16.000Z | selector.c | AlisonQuinter17/printf | d64864f82892be8c4e93deff2dda90eada86b4cd | [
"MIT"
] | null | null | null | selector.c | AlisonQuinter17/printf | d64864f82892be8c4e93deff2dda90eada86b4cd | [
"MIT"
] | 3 | 2020-03-22T16:30:16.000Z | 2020-07-27T22:33:52.000Z | #include "holberton.h"
/**
* selector - main function.
* @format: The dimension of the parameters passed.
* @...: The parameters to print.
* @i: The pointer of the format position.
* @x: The variable to print.
*
* Description: This function selects the correct function
* asked by the user for calls it.
*
* R... | 15.881356 | 66 | 0.55603 |
2c83281403beeeec0e5abca7ccb187fd8c74e495 | 1,104 | lua | Lua | support/Dynamic Mission Start Script.lua | NachtRaveVL/FDMM_DCS | 1a5c2090d46a0165fff9d46120dec08d555114d6 | [
"MIT"
] | 4 | 2020-02-29T09:04:46.000Z | 2021-12-20T12:05:24.000Z | support/Dynamic Mission Start Script.lua | justin-lovell/FDMM_DCS | 1a5c2090d46a0165fff9d46120dec08d555114d6 | [
"MIT"
] | null | null | null | support/Dynamic Mission Start Script.lua | justin-lovell/FDMM_DCS | 1a5c2090d46a0165fff9d46120dec08d555114d6 | [
"MIT"
] | 2 | 2020-09-03T11:21:46.000Z | 2020-10-25T19:19:28.000Z | do
assert(lfs, "Missing module: lfs")
local __nativeRequire = require
local __loadedModules = {}
local splitFilename = function(strFilename)
if lfs.attributes(strFilename,"mode") == "directory" then
local strPath = strFilename:gsub("[\\/]$","")
return strPath.."\\","",""
en... | 31.542857 | 91 | 0.634058 |
327a74f39175da2ebaa8afda50d50f465cf65366 | 569 | kt | Kotlin | TLDMaths/src/main/kotlin/uk/tldcode/math/tldmaths/A008233.kt | Thelonedevil/TLDMaths | c35095888fe85506840b7c1ec04e21673153370c | [
"Apache-2.0"
] | null | null | null | TLDMaths/src/main/kotlin/uk/tldcode/math/tldmaths/A008233.kt | Thelonedevil/TLDMaths | c35095888fe85506840b7c1ec04e21673153370c | [
"Apache-2.0"
] | null | null | null | TLDMaths/src/main/kotlin/uk/tldcode/math/tldmaths/A008233.kt | Thelonedevil/TLDMaths | c35095888fe85506840b7c1ec04e21673153370c | [
"Apache-2.0"
] | null | null | null | package uk.tldcode.math.tldmaths
import sequence.buildSequence
import java.math.BigInteger
import java.math.BigInteger.ONE
import uk.tldcode.math.tldmaths.biginteger.*
object A008233 : BigIntegerSequence {
override operator fun invoke(): Sequence<BigInteger> = buildSequence {
var n = BigInteger.ZERO
... | 33.470588 | 196 | 0.664323 |
b900f97b86bfc2eebdb0cae2d2a1b4af89d71d9a | 4,093 | c | C | tests/03-methods/01-methods.c | IronBlood/onion | 43128b03199518d4878074c311ff71ff0018aea8 | [
"Apache-2.0"
] | 1,261 | 2015-01-01T02:06:26.000Z | 2022-03-31T23:36:05.000Z | tests/03-methods/01-methods.c | IronBlood/onion | 43128b03199518d4878074c311ff71ff0018aea8 | [
"Apache-2.0"
] | 144 | 2015-01-06T21:01:09.000Z | 2022-03-15T13:08:40.000Z | tests/03-methods/01-methods.c | IronBlood/onion | 43128b03199518d4878074c311ff71ff0018aea8 | [
"Apache-2.0"
] | 251 | 2015-01-05T05:14:18.000Z | 2022-03-17T21:39:04.000Z | /**
Onion HTTP server library
Copyright (C) 2010-2018 David Moreno Montero and others
This library is free software; you can redistribute it and/or
modify it under the terms of, at your choice:
a. the Apache License Version 2.0.
b. the GNU General Public License as published by the
Free Software Founda... | 36.221239 | 94 | 0.629367 |
594b3c2e512a7dbd30fe13d2c766f5c87effedf4 | 542 | h | C | PrivateFrameworks/WorkflowKit/RLMWeakObjectHandle.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 17 | 2018-11-13T04:02:58.000Z | 2022-01-20T09:27:13.000Z | PrivateFrameworks/WorkflowKit/RLMWeakObjectHandle.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 3 | 2018-04-06T02:02:27.000Z | 2018-10-02T01:12:10.000Z | PrivateFrameworks/WorkflowKit/RLMWeakObjectHandle.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 1 | 2018-09-28T13:54:23.000Z | 2018-09-28T13:54:23.000Z | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
#import "NSCopying.h"
@class RLMObjectBase;
@interface RLMWeakObjectHandle : NSObject <NSCopying>
{
struct BasicRow<realm::Table> _row;
struct RLMCla... | 19.357143 | 83 | 0.697417 |
69348895ad6e21386ed035fa4f43884afd1674d9 | 4,482 | swift | Swift | Demo/Demo/App/Model/ResultModel.swift | YutoMizutani/CiNiiKit | 44e67570bb8ce7cf4a6e085232fa38f62c8e2b55 | [
"MIT"
] | 1 | 2018-08-27T14:14:37.000Z | 2018-08-27T14:14:37.000Z | Demo/Demo/App/Model/ResultModel.swift | YutoMizutani/CiNiiKit | 44e67570bb8ce7cf4a6e085232fa38f62c8e2b55 | [
"MIT"
] | 22 | 2018-09-02T05:38:16.000Z | 2018-09-17T10:44:05.000Z | Demo/Demo/App/Model/ResultModel.swift | YutoMizutani/CiNiiKit | 44e67570bb8ce7cf4a6e085232fa38f62c8e2b55 | [
"MIT"
] | null | null | null | //
// ResultModel.swift
// Demo
//
// Created by Yuto Mizutani on 2018/09/04.
// Copyright © 2018 Yuto Mizutani. All rights reserved.
//
import CiNiiKit
import UIKit
/// Result view model
struct ResultViewModel {
/// Title name
let title: String
/// Journal name
let journal: String
/// Author ... | 30.489796 | 157 | 0.57452 |
1cd7cb06e00557bd8c0dcc86523249064864fa23 | 522 | css | CSS | styles.css | dariospace/dariospace.com | 2e37e288f9f0fa08a84efb92b2a86f8ef5f2eb86 | [
"MIT"
] | 1 | 2021-03-01T02:48:49.000Z | 2021-03-01T02:48:49.000Z | styles.css | dariospace/dariospace.com | 2e37e288f9f0fa08a84efb92b2a86f8ef5f2eb86 | [
"MIT"
] | null | null | null | styles.css | dariospace/dariospace.com | 2e37e288f9f0fa08a84efb92b2a86f8ef5f2eb86 | [
"MIT"
] | null | null | null | @import url('https://fonts.googleapis.cnpmjs.org/css2?family=Inter:wght@400;700&display=swap');
@import url('https://fonts.googleapis.cnpmjs.org/css2?family=Roboto:wght@400;700&display=swap');
@tailwind base;
@tailwind components;
@tailwind utilities;
.notion,
.notion-text,
.notion-quote,
.notion-list,
.notion-h-titl... | 20.076923 | 96 | 0.716475 |
0404cf64642a1eea6ccbef715b0238960bc040d4 | 759 | js | JavaScript | react/outline/mask.js | la-moore/scarlab-icons | 97b1083f9eb0c3e89ee05bb00ebc06e30c90d563 | [
"MIT"
] | 3 | 2022-02-11T06:49:31.000Z | 2022-03-30T06:49:18.000Z | react/outline/mask.js | la-moore/scarlab-icons | 97b1083f9eb0c3e89ee05bb00ebc06e30c90d563 | [
"MIT"
] | null | null | null | react/outline/mask.js | la-moore/scarlab-icons | 97b1083f9eb0c3e89ee05bb00ebc06e30c90d563 | [
"MIT"
] | null | null | null | import * as React from "react"
function SvgComponent(props) {
return <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="scarlab scarlab-mask" {...props}>
<path d="M3 7C3 5.1143... | 69 | 296 | 0.720685 |
dabd4ecd06d1b9d8e0e93d9d314fe82efaaf1016 | 871 | kt | Kotlin | locationhelpers/src/main/java/com/crazylegend/locationhelpers/IntentExtensions.kt | CraZyLegenD/LocationUtils | ef9095df89689ca64f5584ed5dd2eaa0b506ccb5 | [
"MIT"
] | 2 | 2020-04-29T03:42:01.000Z | 2020-11-12T17:39:47.000Z | locationhelpers/src/main/java/com/crazylegend/locationhelpers/IntentExtensions.kt | CraZyLegenD/LocationUtils | ef9095df89689ca64f5584ed5dd2eaa0b506ccb5 | [
"MIT"
] | null | null | null | locationhelpers/src/main/java/com/crazylegend/locationhelpers/IntentExtensions.kt | CraZyLegenD/LocationUtils | ef9095df89689ca64f5584ed5dd2eaa0b506ccb5 | [
"MIT"
] | null | null | null | package com.crazylegend.locationhelpers
import android.content.Intent
import android.net.Uri
import com.google.android.gms.maps.model.LatLng
/**
* Created by crazy on 11/4/20 to long live and prosper !
*/
/**
* There's limit of 20 stops by the Google intent
* @param latNLongs List<LatLng>
* @return Intent
*/
f... | 29.033333 | 88 | 0.637199 |
e73f6f32ac274022a010956574b1455bf808c677 | 2,065 | js | JavaScript | src/rocks/preview-registry/index.js | animachine/animachine | ee4cf607901a2cde5ffd20783f7ac4fc6765a5d2 | [
"MIT"
] | 447 | 2015-02-24T10:44:00.000Z | 2022-02-11T22:01:34.000Z | src/rocks/preview-registry/index.js | Ni-c0de-mus/animachine | 5be456f187f4f65769039e42e3496d494b2f3957 | [
"MIT"
] | 8 | 2015-02-25T19:31:06.000Z | 2018-10-05T15:53:31.000Z | src/rocks/preview-registry/index.js | Ni-c0de-mus/animachine | 5be456f187f4f65769039e42e3496d494b2f3957 | [
"MIT"
] | 45 | 2015-01-15T14:43:16.000Z | 2022-01-04T11:55:03.000Z | import {defineModel, createModel, createArray, autorun} from 'afflatus'
defineModel({
type: 'RunningTimeline',
simpleValues: {
timeline: {type: 'Timeline'},
},
arrayValues: {
previews: {},
}
})
class Preview {
rootTarget = null
gsapAnimation = null
}
BETON.define({
id: 'preview-registry',
d... | 26.139241 | 107 | 0.642131 |
f9b56ef30752395728c1e8ce13f6a76f8bab962d | 17,377 | sql | SQL | database/blood_bank.sql | ayeshaakhter222/blood-bank-api | 528e2346d4d3844986d9dfbc0cf066420a6f8417 | [
"MIT"
] | null | null | null | database/blood_bank.sql | ayeshaakhter222/blood-bank-api | 528e2346d4d3844986d9dfbc0cf066420a6f8417 | [
"MIT"
] | null | null | null | database/blood_bank.sql | ayeshaakhter222/blood-bank-api | 528e2346d4d3844986d9dfbc0cf066420a6f8417 | [
"MIT"
] | null | null | null | /*
Navicat Premium Data Transfer
Source Server : MySQL-Localhost
Source Server Type : MySQL
Source Server Version : 50731
Source Host : 127.0.0.1:3306
Source Schema : blood_bank
Target Server Type : MySQL
Target Server Version : 50731
File Encoding : 65001
Date: 11/1... | 63.886029 | 260 | 0.663003 |
5c47a9af253b823b39fa87dad4e50d33eea7f699 | 367 | c | C | c/setjmp-no-reinit-and-call-longjmp.c | bismog/leetcode | 13b8a77045f96e7c59ddfe287481f6aaa68e564d | [
"MIT"
] | null | null | null | c/setjmp-no-reinit-and-call-longjmp.c | bismog/leetcode | 13b8a77045f96e7c59ddfe287481f6aaa68e564d | [
"MIT"
] | null | null | null | c/setjmp-no-reinit-and-call-longjmp.c | bismog/leetcode | 13b8a77045f96e7c59ddfe287481f6aaa68e564d | [
"MIT"
] | 1 | 2018-08-17T07:07:15.000Z | 2018-08-17T07:07:15.000Z |
#include <stdio.h>
#include <setjmp.h>
jmp_buf BUFFER;
void trigger_error(int err_code)
{
longjmp(BUFFER, err_code);
}
int main()
{
int err_code = setjmp(BUFFER);
if(err_code != 0)
{
printf("Error code: %d\n", err_code);
}
else
{
printf("ret code is zero.\n");
}
trigg... | 12.655172 | 42 | 0.583106 |
2a0e1298e149e72cd3e81eb1dffec79448e91acc | 6,140 | java | Java | designer/PlatypusDbDiagram/src/com/eas/designer/application/dbdiagram/nodes/TableIndexesNode.java | AlexeyKashintsev/PlatypusJS | 5df9c241843d6598f4e97a22a06cf99e07ce92eb | [
"Apache-2.0"
] | null | null | null | designer/PlatypusDbDiagram/src/com/eas/designer/application/dbdiagram/nodes/TableIndexesNode.java | AlexeyKashintsev/PlatypusJS | 5df9c241843d6598f4e97a22a06cf99e07ce92eb | [
"Apache-2.0"
] | null | null | null | designer/PlatypusDbDiagram/src/com/eas/designer/application/dbdiagram/nodes/TableIndexesNode.java | AlexeyKashintsev/PlatypusJS | 5df9c241843d6598f4e97a22a06cf99e07ce92eb | [
"Apache-2.0"
] | null | null | null | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.eas.designer.application.dbdiagram.nodes;
import com.eas.client.dbstructure.DbStructureUtils;
import com.eas.client.dbstructure.IconCache;
import com.eas.client.dbstructure.SqlActionsController;
import com.e... | 35.287356 | 176 | 0.653909 |
4a9d4268791a6582ca2dff69e1bb83e418f5e897 | 1,506 | sql | SQL | server/lib/components/store/migrations/0037-create-account-roles.sql | tes/kubernaut | 360d74a2cf31bf399ae75ba4e7ceaf1e9a55c8f3 | [
"MIT"
] | null | null | null | server/lib/components/store/migrations/0037-create-account-roles.sql | tes/kubernaut | 360d74a2cf31bf399ae75ba4e7ceaf1e9a55c8f3 | [
"MIT"
] | 10 | 2021-05-13T16:48:03.000Z | 2022-03-16T07:15:22.000Z | server/lib/components/store/migrations/0037-create-account-roles.sql | tes/kubernaut | 360d74a2cf31bf399ae75ba4e7ceaf1e9a55c8f3 | [
"MIT"
] | 3 | 2021-03-09T14:59:34.000Z | 2022-03-15T17:07:41.000Z | START TRANSACTION;
CREATE TABLE account_roles (
id UUID PRIMARY KEY,
account UUID NOT NULL REFERENCES account ON DELETE CASCADE,
role UUID NOT NULL REFERENCES role ON DELETE CASCADE,
subject UUID,
subject_type VARCHAR(16) NOT NULL,
created_on TIMESTAMP WITH TIME ZONE NOT NULL,
created_by UUID NOT NULL RE... | 28.961538 | 149 | 0.776892 |
48c89cd720129a4ea383e2be850ca1b6afbe1f25 | 7,041 | c | C | libwired/base/wi-byteorder.c | sc1sm3/libwired | a4c64b497ad4b657753e515d8dc65cd84cbfdc00 | [
"BSD-2-Clause"
] | null | null | null | libwired/base/wi-byteorder.c | sc1sm3/libwired | a4c64b497ad4b657753e515d8dc65cd84cbfdc00 | [
"BSD-2-Clause"
] | null | null | null | libwired/base/wi-byteorder.c | sc1sm3/libwired | a4c64b497ad4b657753e515d8dc65cd84cbfdc00 | [
"BSD-2-Clause"
] | null | null | null | /* $Id$ */
/*
* Copyright (c) 2009 Axel Andersson
* 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,... | 36.481865 | 128 | 0.692657 |
2f5551cae6e0a57284078c4dd5bcbf9d1755a031 | 12,424 | php | PHP | resources/views/layouts/header-backup.blade.php | nitishk879/CellCrazy | e542abefd58344f0a66d5ea14be0761eae84fa15 | [
"MIT"
] | null | null | null | resources/views/layouts/header-backup.blade.php | nitishk879/CellCrazy | e542abefd58344f0a66d5ea14be0761eae84fa15 | [
"MIT"
] | null | null | null | resources/views/layouts/header-backup.blade.php | nitishk879/CellCrazy | e542abefd58344f0a66d5ea14be0761eae84fa15 | [
"MIT"
] | null | null | null | @isset($services)
@foreach($services as $service)
<li class="menu-item-has-children"><a href="{{ route("services.show", $service->slug) }}">{{ $service->name }}</a>
@if($service->categ... | 60.31068 | 187 | 0.34699 |
18176734f5cbb7f78bf9cc706674ea331f983c28 | 1,228 | css | CSS | OptStyleSheet.css | usnistgov/OptimizationMetamodel | 881b9c3c0544a49151111cc7d332ffa96f0c5d58 | [
"Unlicense",
"MIT"
] | 2 | 2016-09-12T17:38:39.000Z | 2017-08-13T23:12:28.000Z | OptStyleSheet.css | usnistgov/OptimizationMetamodel | 881b9c3c0544a49151111cc7d332ffa96f0c5d58 | [
"Unlicense",
"MIT"
] | null | null | null | OptStyleSheet.css | usnistgov/OptimizationMetamodel | 881b9c3c0544a49151111cc7d332ffa96f0c5d58 | [
"Unlicense",
"MIT"
] | null | null | null | Enumeration {
fontName:"Segoe UI";
fillColor:#B897C0;
transparency:0.0;
gradient:#FFFFFF vertical;
lineColor:#000000;
qualifiedNameDepth:2;
shadow:true
}
PrimitiveType {
fontName:"Segoe UI";
fillColor:#A6C198;
transparency:0.0;
gradient:#FFFFFF vertical;
lineColor:#000000;
qualifiedNameDepth:2;
shadow:tr... | 15.948052 | 73 | 0.739414 |
4a6771fb7e4316b8069a61f708781eaaece2c81d | 617 | js | JavaScript | server/mod/forum/amd/build/big_search_form.min.js | woon5118/totara_ub | a38f8e5433c93d295f6768fb24e5eecefa8294cd | [
"PostgreSQL"
] | null | null | null | server/mod/forum/amd/build/big_search_form.min.js | woon5118/totara_ub | a38f8e5433c93d295f6768fb24e5eecefa8294cd | [
"PostgreSQL"
] | null | null | null | server/mod/forum/amd/build/big_search_form.min.js | woon5118/totara_ub | a38f8e5433c93d295f6768fb24e5eecefa8294cd | [
"PostgreSQL"
] | null | null | null | define([],function(){return{init:function(){var a=document.getElementById("searchform"),b=function(b,c){for(var d=a.querySelectorAll("select[name^="+b+"]"),e=0;e<d.length;e++)d[e].disabled=c;for(var f=a.querySelectorAll("input[name^="+b+"]"),g=c?1:0,h=0;h<f.length;h++)f[h].value=g};b("from",!a.querySelector("input[name... | 617 | 617 | 0.703404 |
e55420a1806260ad12e0fe7e2c7a46ba5bb07551 | 640 | tsx | TypeScript | packages/react/src/TimePicker/TimePickerPanel.spec.tsx | shenxdtw/mezzanine | 19eeac12f196e3323cfd9b02d6d2c49502011db3 | [
"MIT"
] | 15 | 2021-03-26T11:59:10.000Z | 2022-03-15T10:33:15.000Z | packages/react/src/TimePicker/TimePickerPanel.spec.tsx | shenxdtw/mezzanine | 19eeac12f196e3323cfd9b02d6d2c49502011db3 | [
"MIT"
] | 61 | 2021-02-02T06:00:11.000Z | 2022-03-30T11:10:04.000Z | packages/react/src/TimePicker/TimePickerPanel.spec.tsx | shenxdtw/mezzanine | 19eeac12f196e3323cfd9b02d6d2c49502011db3 | [
"MIT"
] | 3 | 2021-08-21T19:39:39.000Z | 2022-02-10T16:45:32.000Z | import { CalendarMethodsMoment } from '@mezzanine-ui/core/calendar';
import {
cleanup,
render,
} from '../../__test-utils__';
import {
describeForwardRefToHTMLElement,
} from '../../__test-utils__/common';
import { CalendarConfigProvider } from '../Calendar';
import { TimePickerPanel } from '.';
describe('<TimeP... | 24.615385 | 68 | 0.670313 |
8592f4273fc4d5c8c5be02413f357ec22382a7f0 | 2,628 | js | JavaScript | docs/search/all_5.js | Exepp/ECSpp | fb7ba249e538ae6cdd910cfe2b28aa1000dbcc11 | [
"MIT"
] | null | null | null | docs/search/all_5.js | Exepp/ECSpp | fb7ba249e538ae6cdd910cfe2b28aa1000dbcc11 | [
"MIT"
] | null | null | null | docs/search/all_5.js | Exepp/ECSpp | fb7ba249e538ae6cdd910cfe2b28aa1000dbcc11 | [
"MIT"
] | null | null | null | var searchData=
[
['get_43',['get',['../classepp_1_1CMask.html#adbdf15fdd83d649f650e5801ad00ce1f',1,'epp::CMask::get()'],['../classepp_1_1EntityList.html#aff8149e7876a5f6bad8e9f567a3d0b28',1,'epp::EntityList::get()']]],
['getbitset_44',['getBitset',['../classepp_1_1CMask.html#ae4fe47ec4e0402a6224ba8632c686689',1,'e... | 131.4 | 335 | 0.775114 |
14292caac873be67593064ce9673e9cd095c5775 | 844 | kt | Kotlin | app/src/main/java/com/openclassrooms/realestatemanager/view/splash/SplashActivity.kt | mutwakilmo/RealEstateManager | 85115879ceee2a6e64d7730875998c115785915b | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/openclassrooms/realestatemanager/view/splash/SplashActivity.kt | mutwakilmo/RealEstateManager | 85115879ceee2a6e64d7730875998c115785915b | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/openclassrooms/realestatemanager/view/splash/SplashActivity.kt | mutwakilmo/RealEstateManager | 85115879ceee2a6e64d7730875998c115785915b | [
"Apache-2.0"
] | null | null | null | package com.openclassrooms.realestatemanager.view.splash
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.os.Handler
import com.openclassrooms.realestatemanager.R
import com.openclassrooms.realestatemanager.view.login.LoginActivity
class SplashActiv... | 33.76 | 68 | 0.729858 |
719be59623e8021ec3a58c72a8f5fc32588f276e | 395 | swift | Swift | PartyDrinksTracker/Extensions/RuntimeError.swift | jnekrasov/PartyDrinksTracker | 06a5b9695f8c914dd19e11b1a8f33f5b8254dd4a | [
"MIT"
] | null | null | null | PartyDrinksTracker/Extensions/RuntimeError.swift | jnekrasov/PartyDrinksTracker | 06a5b9695f8c914dd19e11b1a8f33f5b8254dd4a | [
"MIT"
] | null | null | null | PartyDrinksTracker/Extensions/RuntimeError.swift | jnekrasov/PartyDrinksTracker | 06a5b9695f8c914dd19e11b1a8f33f5b8254dd4a | [
"MIT"
] | null | null | null | //
// ErrorsExtensions.swift
// PartyDrinksTracker
//
// Created by Jevgenij Nekrasov on 25/12/2018.
// Copyright © 2018 Jevgenij Nekrasov. All rights reserved.
//
import Foundation
struct RuntimeError: Error {
let message: String
init(_ message: String) {
self.message = message
}
... | 17.954545 | 60 | 0.655696 |
3d552cf578e89860c904d523bc33af111d9d6814 | 5,285 | rs | Rust | src/evds_c/error_handling.rs | asari555/tcmb_evds_c | 033cf5fc887f032090023b96530b10ebeb3694c5 | [
"MIT"
] | 3 | 2021-09-12T18:39:35.000Z | 2021-11-20T11:32:50.000Z | src/evds_c/error_handling.rs | asari555/tcmb_evds_c | 033cf5fc887f032090023b96530b10ebeb3694c5 | [
"MIT"
] | null | null | null | src/evds_c/error_handling.rs | asari555/tcmb_evds_c | 033cf5fc887f032090023b96530b10ebeb3694c5 | [
"MIT"
] | null | null | null | use crate::error::ReturnError;
use super::common_entities::TcmbEvdsResult;
/// There is a **'C'** letter at the end of the enum name. This comes from C language. The name means that
/// `ReturnError` for C.
#[derive(Debug)]
#[repr(C)]
pub enum ReturnErrorC {
NoError,
InvalidApiKeyOrBadInternetConnection,
... | 28.879781 | 107 | 0.651845 |
0bdeb5af8c5c3b7a58c41c7fad83797932d888fc | 899 | js | JavaScript | node_modules/monk/lib/util.js | melissadu/safecityproject | bb5edd05e43844495f22e309b4ae3eafe8f340a8 | [
"MIT"
] | 36 | 2015-12-19T11:40:21.000Z | 2021-03-28T04:46:27.000Z | node_modules/monk/lib/util.js | michaelgu95/gitbitbot | 123440be29793d70a4216b3c73845d5ccb5f6600 | [
"MIT"
] | 93 | 2015-12-07T00:19:05.000Z | 2021-09-03T18:14:18.000Z | node_modules/monk/lib/util.js | michaelgu95/gitbitbot | 123440be29793d70a4216b3c73845d5ccb5f6600 | [
"MIT"
] | 11 | 2015-12-19T11:39:54.000Z | 2019-03-06T10:37:59.000Z |
/**
* Parses all the possible ways of expressing fields.
*
* @param {String|Object|Array} fields
* @return {Object} fields in object format
* @api public
*/
exports.fields = function (obj) {
if (!Array.isArray(obj) && 'object' == typeof obj) {
return obj;
}
var fields = {};
obj = 'string' == typeof... | 19.977778 | 62 | 0.569522 |
0348a7e5958014633473fce81c3bbc26573fb43d | 9,827 | kt | Kotlin | SimpleItemView/src/main/java/br/com/cristianodp/widge/SimpleItemView.kt | cristianodp/Widge-Android | 4cf21352ac8020f39d8a009dd590a55a97188aec | [
"MIT"
] | null | null | null | SimpleItemView/src/main/java/br/com/cristianodp/widge/SimpleItemView.kt | cristianodp/Widge-Android | 4cf21352ac8020f39d8a009dd590a55a97188aec | [
"MIT"
] | null | null | null | SimpleItemView/src/main/java/br/com/cristianodp/widge/SimpleItemView.kt | cristianodp/Widge-Android | 4cf21352ac8020f39d8a009dd590a55a97188aec | [
"MIT"
] | null | null | null | package br.com.cristianodp.widge
import android.annotation.SuppressLint
import android.annotation.TargetApi
import android.content.Context
import android.content.res.TypedArray
import android.graphics.drawable.ColorDrawable
import android.graphics.drawable.Drawable
import android.os.Build
import android.support.annota... | 38.089147 | 144 | 0.717818 |
3a2442a8c9518ea7c99fd943ee36aee9c13019af | 124 | sql | SQL | database/sql_scripts/generos.sql | pabloIO/clinica-unifranz | 825035a5c494f909ebb016b34bdb917c4eee9bf3 | [
"MIT"
] | null | null | null | database/sql_scripts/generos.sql | pabloIO/clinica-unifranz | 825035a5c494f909ebb016b34bdb917c4eee9bf3 | [
"MIT"
] | null | null | null | database/sql_scripts/generos.sql | pabloIO/clinica-unifranz | 825035a5c494f909ebb016b34bdb917c4eee9bf3 | [
"MIT"
] | null | null | null | -- INSERTAR LOS GENEROS --
INSERT INTO genero(nombre) VALUES ('Masculino');
INSERT INTO genero(nombre) VALUES ('Femenino');
| 31 | 48 | 0.733871 |
243f4788b977bd94b770208ac24cb0cd9fe6f745 | 381 | sql | SQL | sql/TopCompetitor.sql | SamuelNjenga/hackerrank-solutions | c8507ffdc70fbd89222d9e5f2a74ad589cfa0dfc | [
"MIT"
] | 1 | 2022-02-14T08:26:07.000Z | 2022-02-14T08:26:07.000Z | sql/TopCompetitor.sql | SamuelNjenga/hackerrank-solutions | c8507ffdc70fbd89222d9e5f2a74ad589cfa0dfc | [
"MIT"
] | null | null | null | sql/TopCompetitor.sql | SamuelNjenga/hackerrank-solutions | c8507ffdc70fbd89222d9e5f2a74ad589cfa0dfc | [
"MIT"
] | null | null | null | SELECT h.hacker_id, h.name FROM submissions s JOIN challenges c ON s.challenge_id = c.challenge_id JOIN difficulty d ON c.difficulty_level = d.difficulty_level JOIN hackers h ON s.hacker_id = h.hacker_id
WHERE s.score = d.score AND c.difficulty_level = d.difficulty_level GROUP BY h.hacker_id,h.name HAVING COUNT(s.hack... | 190.5 | 204 | 0.792651 |
857c7a1e4880f3d28c4f40104351c438deb6438c | 5,235 | sql | SQL | cdnlink/CdnLink/Db/testdata_send.sql | cardeliverynetwork/openapi.net | 771c9ccb0a51cc012fa9844b28d8d136fc6918d6 | [
"X11"
] | null | null | null | cdnlink/CdnLink/Db/testdata_send.sql | cardeliverynetwork/openapi.net | 771c9ccb0a51cc012fa9844b28d8d136fc6918d6 | [
"X11"
] | null | null | null | cdnlink/CdnLink/Db/testdata_send.sql | cardeliverynetwork/openapi.net | 771c9ccb0a51cc012fa9844b28d8d136fc6918d6 | [
"X11"
] | 1 | 2016-12-07T18:26:38.000Z | 2016-12-07T18:26:38.000Z |
DECLARE @nextLoaid nvarchar(50);
SELECT @nextLoaid = SUBSTRING(CONVERT(nvarchar(50), NEWID()), 0, 8);
-- Insert test sends
INSERT INTO CdnSendLoads
(
LoadId,
ServiceRequired,
CustomerQuickCode,
CustomerContact,
CustomerOrganisationName,
CustomerAddressLines,
CustomerCity,
... | 21.721992 | 137 | 0.573066 |
3b0ea0159cabc1c7e405e4e15939428642b20dd6 | 31,121 | asm | Assembly | microchess.asm | makarcz/vm6502 | 6e6c535519756c89be90330676f2f4a210c14c41 | [
"Intel",
"X11"
] | 35 | 2016-04-18T15:11:21.000Z | 2022-01-06T18:50:50.000Z | microchess.asm | makarcz/vm6502 | 6e6c535519756c89be90330676f2f4a210c14c41 | [
"Intel",
"X11"
] | 2 | 2018-03-09T04:10:41.000Z | 2018-10-25T02:12:04.000Z | microchess.asm | makarcz/vm6502 | 6e6c535519756c89be90330676f2f4a210c14c41 | [
"Intel",
"X11"
] | 9 | 2016-03-14T07:12:10.000Z | 2020-08-10T13:26:48.000Z | ;***********************************************************************
;
; MicroChess (c) 1996-2002 Peter Jennings, peterj@benlo.com
;
;***********************************************************************
; Daryl Rictor:
; I have been given permission to distribute this program by the
; author and copyright hold... | 29.5827 | 97 | 0.427268 |
af2b053a875bcf68de521231e13d050417878e26 | 3,188 | kt | Kotlin | app/src/main/java/cz/ikem/dci/zscanner/workers/SendSummaryWorker.kt | ikem-cz/zscanner-android | c1a5d7a449f3fed3da429bda154428ecdb4a8d42 | [
"MIT"
] | 2 | 2020-05-01T19:32:53.000Z | 2020-06-07T07:38:17.000Z | app/src/main/java/cz/ikem/dci/zscanner/workers/SendSummaryWorker.kt | ikem-cz/zscanner-android | c1a5d7a449f3fed3da429bda154428ecdb4a8d42 | [
"MIT"
] | 3 | 2019-08-10T09:53:54.000Z | 2021-04-02T13:08:52.000Z | app/src/main/java/cz/ikem/dci/zscanner/workers/SendSummaryWorker.kt | ikem-cz/zscanner-android | c1a5d7a449f3fed3da429bda154428ecdb4a8d42 | [
"MIT"
] | 1 | 2019-08-10T09:12:03.000Z | 2019-08-10T09:12:03.000Z | package cz.ikem.dci.zscanner.workers
import android.content.Context
import android.util.Log
import androidx.work.Worker
import androidx.work.WorkerParameters
import cz.ikem.dci.zscanner.*
import cz.ikem.dci.zscanner.persistence.Repositories
import cz.ikem.dci.zscanner.webservices.HttpClient
import okhttp3.MediaType
im... | 34.652174 | 133 | 0.625157 |
41d1d3149c611777fcd904d12546ed50db739cec | 8,635 | c | C | drivers/mtd/bcm63xxpart.c | fergy/aplit_linux-5 | a6ef4cb0e17e1eec9743c064e65f730c49765711 | [
"MIT"
] | 55 | 2019-12-20T03:25:14.000Z | 2022-01-16T07:19:47.000Z | drivers/mtd/bcm63xxpart.c | fergy/aplit_linux-5 | a6ef4cb0e17e1eec9743c064e65f730c49765711 | [
"MIT"
] | 5 | 2020-04-04T09:24:09.000Z | 2020-04-19T12:33:55.000Z | drivers/mtd/bcm63xxpart.c | fergy/aplit_linux-5 | a6ef4cb0e17e1eec9743c064e65f730c49765711 | [
"MIT"
] | 30 | 2018-05-02T08:43:27.000Z | 2022-01-23T03:25:54.000Z | /*
* BCM63XX CFE image tag parser
*
* Copyright © 2006-2008 Florian Fainelli <florian@openwrt.org>
* Mike Albon <malbon@openwrt.org>
* Copyright © 2009-2010 Daniel Dickinson <openwrt@cshore.neomailbox.net>
* Copyright © 2011-2013 Jonas Gorski <jonas.gorski@gmail.com>
*
* This program is free software; yo... | 26.48773 | 87 | 0.707354 |
fb527bf4d026694007483e6f64d5475d3902ebe5 | 586 | sql | SQL | openGaussBase/testcase/KEYWORDS/merge/Opengauss_Function_Keyword_Merge_Case0023.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | openGaussBase/testcase/KEYWORDS/merge/Opengauss_Function_Keyword_Merge_Case0023.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | openGaussBase/testcase/KEYWORDS/merge/Opengauss_Function_Keyword_Merge_Case0023.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | -- @testpoint: opengauss关键字merge非保留),作为索引名,部分测试点合理报错
--前置条件,创建一个表
drop table if exists explain_test;
create table explain_test(id int,name varchar(10));
--关键字不带引号-成功
drop index if exists merge;
create index merge on explain_test(id);
drop index merge;
--关键字带双引号-成功
drop index if exists "merge";
create index "merge" o... | 22.538462 | 52 | 0.761092 |
75e3ef48dcebf03bc21bb1f91dcdb8f89867264a | 13,135 | php | PHP | forum/language/sl/posting.php | adam2012/ZeRoN_WoWCMS | 10807f22ebe28658cdea7dec5b83e640bbc6c589 | [
"Unlicense"
] | null | null | null | forum/language/sl/posting.php | adam2012/ZeRoN_WoWCMS | 10807f22ebe28658cdea7dec5b83e640bbc6c589 | [
"Unlicense"
] | null | null | null | forum/language/sl/posting.php | adam2012/ZeRoN_WoWCMS | 10807f22ebe28658cdea7dec5b83e640bbc6c589 | [
"Unlicense"
] | 1 | 2019-04-09T18:41:13.000Z | 2019-04-09T18:41:13.000Z | <?php
/**
*
* posting.php [Slovenian]
*
* @package language
* @version $Id: $
* @copyright (c) 2011 phpBB Group
* @author 2011-09-30 - pucer, borut, kebabek, KoMar, kramp, lithium, mitja_i, NoBody, nSk, Razor, sollers, Tody, Veron, Janet, JureB
* @license http://opensource.org/licenses/gpl-license.php GNU Public Licens... | 63.149038 | 265 | 0.731176 |
a45ca7fb81960baa10dc306ab55dab6113856475 | 11,996 | sql | SQL | admin.sql | webcuser/webcuser | 63223b077427c84341212ee077f1da9b58f29676 | [
"MIT"
] | null | null | null | admin.sql | webcuser/webcuser | 63223b077427c84341212ee077f1da9b58f29676 | [
"MIT"
] | null | null | null | admin.sql | webcuser/webcuser | 63223b077427c84341212ee077f1da9b58f29676 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 5.1.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Creato il: Gen 14, 2022 alle 08:01
-- Versione del server: 10.4.22-MariaDB
-- Versione PHP: 7.4.26
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIEN... | 30.36962 | 179 | 0.702734 |
6ee07ec9e4e341f5c51a6450ae223ea9c43acc87 | 7,788 | html | HTML | static/originale/mate/c/cf/cfddb2.html | ed-evo/ripmath-evo | 0009293ddf7bcf69f3c83a0e3e432a571e4044ce | [
"MIT"
] | null | null | null | static/originale/mate/c/cf/cfddb2.html | ed-evo/ripmath-evo | 0009293ddf7bcf69f3c83a0e3e432a571e4044ce | [
"MIT"
] | 3 | 2021-09-20T22:04:30.000Z | 2022-02-26T02:00:46.000Z | static/originale/mate/c/cf/cfddb2.html | math-evo/ripmath-evo | 0009293ddf7bcf69f3c83a0e3e432a571e4044ce | [
"MIT"
] | 1 | 2021-11-01T02:03:42.000Z | 2021-11-01T02:03:42.000Z | <HTML>
<HEAD>
<TITLE> dimostrazione dellla derivata del prodotto di due funzioni
</TITLE>
</HEAD>
<BODY Bgcolor="ccffcc"> <P>
<center><br><br><br>
<table border=0 width=80% cellpadding=20>
<tr bgcolor="ccffcc">
<td> <CENTER>
<font color="FF0000" size=6>
Dimostrazione della regola della derivata del prodotto ... | 46.357143 | 113 | 0.605162 |
d9a71376be2d1c28c288a052521b5f16818fcc2a | 1,200 | rs | Rust | tests/exhaust-queue.rs | mxxo/iou | a23bcaff62c730ae04dfc5cc27bdeff74a88eefa | [
"Apache-2.0",
"MIT"
] | 193 | 2019-11-08T14:05:18.000Z | 2020-09-21T01:46:18.000Z | tests/exhaust-queue.rs | mxxo/iou | a23bcaff62c730ae04dfc5cc27bdeff74a88eefa | [
"Apache-2.0",
"MIT"
] | 35 | 2019-11-08T13:36:16.000Z | 2020-09-22T12:44:51.000Z | tests/exhaust-queue.rs | mxxo/iou | a23bcaff62c730ae04dfc5cc27bdeff74a88eefa | [
"Apache-2.0",
"MIT"
] | 13 | 2019-11-08T16:22:53.000Z | 2020-09-07T08:48:32.000Z | // exhaust the SQ/CQ to prove that everything is working properly
#[test]
fn exhaust_queue_with_prepare_sqe() {
let mut io_uring = iou::IoUring::new(8).unwrap();
for counter in 0..64 {
unsafe {
let mut sqe = io_uring.prepare_sqe().unwrap();
sqe.prep_nop();
sqe.set_u... | 27.906977 | 65 | 0.5375 |
5c924b8fae8fb5b686a79844122de0017a31a1fd | 1,284 | css | CSS | design-system/css/base.css | glenn-sorrentino/design-system | 591d9519d0663cdc1250b05ff01b864b81e12b5e | [
"CC-BY-4.0"
] | 15 | 2019-01-30T20:47:17.000Z | 2021-12-19T03:23:24.000Z | design-system/css/base.css | glenn-sorrentino/design-system | 591d9519d0663cdc1250b05ff01b864b81e12b5e | [
"CC-BY-4.0"
] | 17 | 2018-12-10T01:36:24.000Z | 2019-04-20T22:46:42.000Z | design-system/css/base.css | glenn-sorrentino/design-system | 591d9519d0663cdc1250b05ff01b864b81e12b5e | [
"CC-BY-4.0"
] | 2 | 2019-01-30T22:14:40.000Z | 2021-08-09T02:36:22.000Z | @media (prefers-color-scheme: light) {
::selection {
background-color: var(--color-dark);
color: var(--color-light);
}
a {
color: var(--color-dark);
}
body {
background-color: var(--color-shade-lm);
}
}
@media (prefers-color-scheme: dark) {
::selection {
background-color: var(... | 13.806452 | 57 | 0.587227 |
23b1e16a56c2b0cb43b624277b54c6a25b124954 | 3,332 | kt | Kotlin | scratchoff-sample/src/main/java/com/jackpocket/scratchoff/test/MainActivity.kt | GRSahana/ohos_scratchoff | ecf2b5f4b85f05c3a5b9b4a4900bfe80bdde23d6 | [
"Apache-2.0"
] | 483 | 2016-07-25T18:32:16.000Z | 2022-03-24T01:37:03.000Z | scratchoff-sample/src/main/java/com/jackpocket/scratchoff/test/MainActivity.kt | GRSahana/ohos_scratchoff | ecf2b5f4b85f05c3a5b9b4a4900bfe80bdde23d6 | [
"Apache-2.0"
] | 15 | 2016-07-29T11:00:55.000Z | 2021-09-17T14:28:55.000Z | scratchoff-sample/src/main/java/com/jackpocket/scratchoff/test/MainActivity.kt | GRSahana/ohos_scratchoff | ecf2b5f4b85f05c3a5b9b4a4900bfe80bdde23d6 | [
"Apache-2.0"
] | 52 | 2016-07-25T19:30:52.000Z | 2021-10-18T03:42:10.000Z | package com.jackpocket.scratchoff.test
import android.os.Bundle
import android.util.Log
import android.view.MotionEvent
import android.view.View
import android.view.animation.LinearInterpolator
import android.widget.TextView
import androidx.appcompat.app.AppCompatActivity
import com.jackpocket.scratchoff.ScratchoffCon... | 34.350515 | 110 | 0.661765 |
38df9287e1a4972eddfc358b64c1843ccc6abf86 | 207 | h | C | MDCurveKitDemo/MDCurveKitDemo/MDCurveLabel/MDCurveDemoLabel.h | yangchenlarkin/MDCurveKit | 514f403777a35fc321bd8b0ea896d431b0869bb1 | [
"MIT"
] | 2 | 2015-07-28T18:26:11.000Z | 2019-01-07T06:48:07.000Z | MDCurveKitDemo/MDCurveKitDemo/MDCurveLabel/MDCurveDemoLabel.h | yangchenlarkin/MDCurveKit | 514f403777a35fc321bd8b0ea896d431b0869bb1 | [
"MIT"
] | null | null | null | MDCurveKitDemo/MDCurveKitDemo/MDCurveLabel/MDCurveDemoLabel.h | yangchenlarkin/MDCurveKit | 514f403777a35fc321bd8b0ea896d431b0869bb1 | [
"MIT"
] | null | null | null | //
// MDCurveDemoLabel.h
// MDCurveKitDemo
//
// Created by 杨晨 on 6/16/14.
// Copyright (c) 2014 剑川道长. All rights reserved.
//
#import "MDCurveLabel.h"
@interface MDCurveDemoLabel : MDCurveLabel
@end
| 14.785714 | 49 | 0.690821 |
fa43b62685dad7a40ea975717646b529866c4a82 | 345 | asm | Assembly | libsrc/interrupts/im2/im2_RegHookFirst.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 38 | 2021-06-18T12:56:15.000Z | 2022-03-12T20:38:40.000Z | libsrc/interrupts/im2/im2_RegHookFirst.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 2 | 2021-06-20T16:28:12.000Z | 2021-11-17T21:33:56.000Z | libsrc/interrupts/im2/im2_RegHookFirst.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 6 | 2021-06-18T18:18:36.000Z | 2021-12-22T08:01:32.000Z | ; CALLER linkage for function pointers
SECTION code_clib
PUBLIC im2_RegHookFirst
PUBLIC _im2_RegHookFirst
EXTERN im2_RegHookFirst_callee
EXTERN ASMDISP_IM2_REGHOOKFIRST_CALLEE
.im2_RegHookFirst
._im2_RegHookFirst
pop bc
pop de
pop hl
push hl
push de
push bc
jp im2_RegHookFirst_callee + ASMDISP... | 16.428571 | 63 | 0.814493 |
9683fd1a56658e0b427a3bf7618202bcc472209c | 5,293 | php | PHP | tests/EntityMap/EntityMapWithoutStatsTest.php | fiiSoft/fiisoft-entity-indexer | 23563c391a92947ce0405b7b8152140bccfa306a | [
"MIT"
] | null | null | null | tests/EntityMap/EntityMapWithoutStatsTest.php | fiiSoft/fiisoft-entity-indexer | 23563c391a92947ce0405b7b8152140bccfa306a | [
"MIT"
] | null | null | null | tests/EntityMap/EntityMapWithoutStatsTest.php | fiiSoft/fiisoft-entity-indexer | 23563c391a92947ce0405b7b8152140bccfa306a | [
"MIT"
] | null | null | null | <?php
namespace FiiSoft\Test\EntityIndexer\EntityMap;
use FiiSoft\EntityIndexer\EntityMap\EntityMapWithoutStats;
use FiiSoft\Test\EntityIndexer\Doubles\FakeEntity;
use FiiSoft\Test\EntityIndexer\Doubles\FakeIntegerId;
class EntityMapWithoutStatsTest extends \PHPUnit_Framework_TestCase
{
public function test_it_c... | 47.684685 | 122 | 0.603627 |
e728916b555e5f819d815b2a8a312fe718e46edc | 437 | js | JavaScript | src/skills/computed.js | Shadownc/react-vue-skills | 0240ad52f6405e0fff407805b9cc24c6dec4b85a | [
"MIT"
] | 1 | 2022-01-19T01:49:40.000Z | 2022-01-19T01:49:40.000Z | src/skills/computed.js | Shadownc/react-vue-skills | 0240ad52f6405e0fff407805b9cc24c6dec4b85a | [
"MIT"
] | null | null | null | src/skills/computed.js | Shadownc/react-vue-skills | 0240ad52f6405e0fff407805b9cc24c6dec4b85a | [
"MIT"
] | 3 | 2021-12-22T02:48:31.000Z | 2022-01-19T01:49:42.000Z | import React, { useMemo, useState } from "react"
export default function Computed (){
const [ num1, setNum1 ] = useState(10)
const [ num2, setNum2 ] = useState(10)
const num3 = useMemo((a, b) => {
return num1 + num2
}, [ num1, num2 ])
const onAdd = () => {
setNum1(num1 + 10)
}
return (
<di... | 19.863636 | 48 | 0.567506 |
cf5a872424cfc171ad6461a53cd94710086485e4 | 2,297 | css | CSS | style.css | Lucas-Campos-Davis/Pomodoro | b088d775c13126770538c6f6c1f2e4c9f04126f5 | [
"MIT"
] | null | null | null | style.css | Lucas-Campos-Davis/Pomodoro | b088d775c13126770538c6f6c1f2e4c9f04126f5 | [
"MIT"
] | null | null | null | style.css | Lucas-Campos-Davis/Pomodoro | b088d775c13126770538c6f6c1f2e4c9f04126f5 | [
"MIT"
] | null | null | null | body {
font-family: 'Montserrat', sans-serif;
color: #ffffff;
margin: 0;
background-color: #121212;
}
.container{
display: flex;
flex-direction: column;
flex: auto;
align-items: center;
justify-content: center;
}
.site-title {
margin: 0;
padding: 10px 20px;
font-size: ... | 21.073394 | 68 | 0.616456 |
f37a9604852b17272cd241e78100545af5fceb9d | 9,396 | lua | Lua | spec/Pointer_spec.lua | deepakjois/luarestructure | 45772847d711042dd7916494114bd6cef0dbf5fb | [
"MIT"
] | 1 | 2020-04-22T04:37:59.000Z | 2020-04-22T04:37:59.000Z | spec/Pointer_spec.lua | deepakjois/luarestructure | 45772847d711042dd7916494114bd6cef0dbf5fb | [
"MIT"
] | 2 | 2017-06-03T09:54:45.000Z | 2017-06-04T05:10:04.000Z | spec/Pointer_spec.lua | deepakjois/luarestructure | 45772847d711042dd7916494114bd6cef0dbf5fb | [
"MIT"
] | null | null | null | local r = require("restructure")
local VoidPointer = r.VoidPointer
describe('Pointer', function()
describe('decode', function()
it('should handle null pointers', function()
local stream = r.DecodeStream.new(string.char(0))
local pointer = r.Pointer.new(r.uint8, r.uint8)
assert.is_nil(pointer:de... | 33.437722 | 96 | 0.60281 |
8181a130eaf7ca53aae1d232872008bed5c57f23 | 12,643 | rs | Rust | src/lib.rs | rkruppe/beevage.rs | 2f5d2681078de524803d32ea5cd1eed694e16409 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/lib.rs | rkruppe/beevage.rs | 2f5d2681078de524803d32ea5cd1eed694e16409 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/lib.rs | rkruppe/beevage.rs | 2f5d2681078de524803d32ea5cd1eed694e16409 | [
"Apache-2.0",
"MIT"
] | null | null | null | //! [Bounding Volume Hierarchy (BVH)][bvh] construction for ray tracing, and construction *only*.
//!
//! Beevage constructs high-quality binary BVHs in three-dimensional space.
//! It works with any kind of shape that supports bounding box calculations.
//! Only construction is implemented, this crate doesn't come wit... | 34.925414 | 98 | 0.60223 |
dded1fb96b65e5eb53d7d9fbdd5f1a5baa4de654 | 2,584 | h | C | L1Trigger/L1TMuonBayes/interface/MuCorrelator/MuCorrelatorInputMaker.h | thesps/cmssw | ad5315934948ce96699b29cc1d5b03a59f99634f | [
"Apache-2.0"
] | null | null | null | L1Trigger/L1TMuonBayes/interface/MuCorrelator/MuCorrelatorInputMaker.h | thesps/cmssw | ad5315934948ce96699b29cc1d5b03a59f99634f | [
"Apache-2.0"
] | null | null | null | L1Trigger/L1TMuonBayes/interface/MuCorrelator/MuCorrelatorInputMaker.h | thesps/cmssw | ad5315934948ce96699b29cc1d5b03a59f99634f | [
"Apache-2.0"
] | null | null | null | /*
* MuonCorrelatorInputMaker.h
*
* Created on: Jan 30, 2019
* Author: Karol Bunkowski kbunkow@cern.ch
*/
#ifndef MUCORRELATOR_MUONCORRELATORINPUTMAKER_H_
#define MUCORRELATOR_MUONCORRELATORINPUTMAKER_H_
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
... | 35.39726 | 155 | 0.80031 |
d5d1315085dd6930f44c962c37663eb8e4ece8ef | 353 | h | C | utility.h | SuperBatata/Nano-Doctor | c3aa0437b2f02ae89cc46706e2e54870b9cd1a04 | [
"MIT"
] | null | null | null | utility.h | SuperBatata/Nano-Doctor | c3aa0437b2f02ae89cc46706e2e54870b9cd1a04 | [
"MIT"
] | null | null | null | utility.h | SuperBatata/Nano-Doctor | c3aa0437b2f02ae89cc46706e2e54870b9cd1a04 | [
"MIT"
] | null | null | null | #ifndef UTILITY_H_INCLUDED
#define UTILITY_H_INCLUDED
#include "fonction.h"
int collisionbb( SDL_Rect posj , SDL_Rect posobj,SDL_Rect camera );
int collisionpit(int debut[],int fin[],int * gravity,int n,SDL_Rect posj,SDL_Rect camera );
int collisionplatform(int debut[],int fin[],int *gravity,int n,SDL_Rect posj,SDL_R... | 44.125 | 106 | 0.773371 |
85811972ebe24cb9bb3008f6f05d575cfc29066f | 27 | js | JavaScript | src/middleware/socket.js | top319VIP/DMC-WECHAT | de23b3aa1690df9e27943d0575aafb4099156041 | [
"MIT"
] | null | null | null | src/middleware/socket.js | top319VIP/DMC-WECHAT | de23b3aa1690df9e27943d0575aafb4099156041 | [
"MIT"
] | null | null | null | src/middleware/socket.js | top319VIP/DMC-WECHAT | de23b3aa1690df9e27943d0575aafb4099156041 | [
"MIT"
] | null | null | null |
export default socket; | 6.75 | 24 | 0.703704 |
f06fc951f19eb4e8125b6b359564797ed74974db | 2,101 | js | JavaScript | routes/pagosRouter.js | Kiddmac/recaudos | de35c5ff029084498151784c5ce1b44334ea4633 | [
"MIT"
] | null | null | null | routes/pagosRouter.js | Kiddmac/recaudos | de35c5ff029084498151784c5ce1b44334ea4633 | [
"MIT"
] | null | null | null | routes/pagosRouter.js | Kiddmac/recaudos | de35c5ff029084498151784c5ce1b44334ea4633 | [
"MIT"
] | null | null | null | const express = require ('express');
const PagosService = require('../services/pagosService');
const validatorHandler = require('../middlewares/validatorHandler');
const {queryPagoSchema, createPagoSchema, updatePagoSchema, getPagoSchema, deletePagoSchema} = require('../schemas/pagosSchema')
const passport = require('p... | 26.2625 | 128 | 0.569253 |
4c346f7c8cd25f690d713a2e14c57ce0dde8a40a | 1,285 | php | PHP | src/Listeners/AddUserLoginProviderAttribute.php | Littlegolden/flarum-ext-auth-wechat | 017f4fd79c9e9afb2ca582dc309c2290a6ed8bc9 | [
"MITNFA"
] | null | null | null | src/Listeners/AddUserLoginProviderAttribute.php | Littlegolden/flarum-ext-auth-wechat | 017f4fd79c9e9afb2ca582dc309c2290a6ed8bc9 | [
"MITNFA"
] | null | null | null | src/Listeners/AddUserLoginProviderAttribute.php | Littlegolden/flarum-ext-auth-wechat | 017f4fd79c9e9afb2ca582dc309c2290a6ed8bc9 | [
"MITNFA"
] | null | null | null | <?php
/*
* This file is part of nomiscz/flarum-ext-auth-wechat.
*
* Copyright (c) 2020 NomisCZ.
*
* For the full copyright and license information, please view the LICENSE.md
* file that was distributed with this source code.
*/
namespace NomisCZ\WeChatAuth\Listeners;
use Flarum\Api\Event\Serializing;
use Fla... | 28.555556 | 86 | 0.634241 |
67a68dd0f50b403d34d40f957cd5952ad98805bc | 166 | swift | Swift | src/xcode/ENA/ENA/Source/HTTPClient/Service/Models/Receive/SubmissionTANModel.swift | tlaufkoetter/cwa-app-ios | 73593585062e21d4da141f9890415b5396ddc473 | [
"Apache-2.0"
] | null | null | null | src/xcode/ENA/ENA/Source/HTTPClient/Service/Models/Receive/SubmissionTANModel.swift | tlaufkoetter/cwa-app-ios | 73593585062e21d4da141f9890415b5396ddc473 | [
"Apache-2.0"
] | 8 | 2021-07-22T21:59:55.000Z | 2022-02-27T10:30:41.000Z | src/xcode/ENA/ENA/Source/HTTPClient/Service/Models/Receive/SubmissionTANModel.swift | tlaufkoetter/cwa-app-ios | 73593585062e21d4da141f9890415b5396ddc473 | [
"Apache-2.0"
] | null | null | null | //
// 🦠 Corona-Warn-App
//
struct SubmissionTANModel: Codable {
let submissionTAN: String
enum CodingKeys: String, CodingKey {
case submissionTAN = "tan"
}
}
| 13.833333 | 37 | 0.692771 |
6e241d2e8cc8cca3ba6f9e38d7946ada569a3b49 | 408 | html | HTML | _includes/blog.html | samsir/com | a40fbc40c3c204f437744be28f8caae8ce892b3a | [
"MIT"
] | null | null | null | _includes/blog.html | samsir/com | a40fbc40c3c204f437744be28f8caae8ce892b3a | [
"MIT"
] | null | null | null | _includes/blog.html | samsir/com | a40fbc40c3c204f437744be28f8caae8ce892b3a | [
"MIT"
] | null | null | null | <div id="medium-widget"></div>
<script src="{{ site.path }}/assets/js/medium-widget.js"></script>
<script>MediumWidget.Init({
renderTo: '#medium-widget',
params: {
"resource": "https://medium.com/@samsir",
"postsPerLine": 1,
"limit": 4,
"picture": "small",
"fields": ["des... | 29.142857 | 66 | 0.553922 |
4db63442d66d4ae76a0624365309bb81abbd1bc0 | 4,274 | html | HTML | index.html | MKAbuMattar/chocolate-pizza | cafb4ed2e860a6da60be3a4cdb728e6a08c4cc45 | [
"MIT"
] | null | null | null | index.html | MKAbuMattar/chocolate-pizza | cafb4ed2e860a6da60be3a4cdb728e6a08c4cc45 | [
"MIT"
] | null | null | null | index.html | MKAbuMattar/chocolate-pizza | cafb4ed2e860a6da60be3a4cdb728e6a08c4cc45 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<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">
<link rel="stylesheet" href="./css/reset.css">
<link rel="stylesheet" href="./css/style.css">
<title>Chocolate Pizza</t... | 35.616667 | 120 | 0.562003 |
42ccdb15dac469ef51e1b5d1d8bf761c49a83bf7 | 10,202 | kt | Kotlin | flank-scripts/src/test/kotlin/flank/scripts/github/GithubApiTest.kt | pawelpasterz/flank | 899340f8bfea81decbe9c7ee310d9becedef52d3 | [
"Apache-2.0"
] | null | null | null | flank-scripts/src/test/kotlin/flank/scripts/github/GithubApiTest.kt | pawelpasterz/flank | 899340f8bfea81decbe9c7ee310d9becedef52d3 | [
"Apache-2.0"
] | 119 | 2020-10-04T14:42:50.000Z | 2021-03-01T13:33:56.000Z | flank-scripts/src/test/kotlin/flank/scripts/github/GithubApiTest.kt | pawelpasterz/flank | 899340f8bfea81decbe9c7ee310d9becedef52d3 | [
"Apache-2.0"
] | null | null | null | package flank.scripts.github
import com.github.kittinunf.result.Result
import com.google.common.truth.Truth.assertThat
import flank.scripts.FuelTestRunner
import flank.scripts.ci.releasenotes.GitHubRelease
import flank.scripts.exceptions.GitHubException
import flank.scripts.github.objects.GitHubCommit
import flank.scr... | 33.123377 | 91 | 0.613017 |
75eaeb7328954058f37d1e30be2f0712892be5e4 | 1,618 | php | PHP | src/responses/friend/Friend.php | AbedMass/hypixel-php | dcf11f7c3784bd560ce1dcb41864d5867213855f | [
"MIT"
] | 115 | 2015-01-11T13:55:58.000Z | 2022-02-18T19:53:27.000Z | src/responses/friend/Friend.php | AbedMass/hypixel-php | dcf11f7c3784bd560ce1dcb41864d5867213855f | [
"MIT"
] | 37 | 2015-02-10T18:39:48.000Z | 2022-02-12T16:51:42.000Z | src/responses/friend/Friend.php | AbedMass/hypixel-php | dcf11f7c3784bd560ce1dcb41864d5867213855f | [
"MIT"
] | 54 | 2015-02-10T17:05:56.000Z | 2021-12-06T21:05:40.000Z | <?php
namespace Plancke\HypixelPHP\responses\friend;
use Plancke\HypixelPHP\classes\APIHolding;
use Plancke\HypixelPHP\exceptions\HypixelPHPException;
use Plancke\HypixelPHP\fetch\FetchParams;
use Plancke\HypixelPHP\fetch\Response;
use Plancke\HypixelPHP\HypixelPHP;
use Plancke\HypixelPHP\responses\player\Player;
/*... | 24.892308 | 117 | 0.62979 |
35e7725ba5f6053d1faf86a10776d3e70e2266b9 | 2,390 | swift | Swift | iOS/Intermediate/DataPersistence/code/HelloDataPersistence3/HelloDataPersistence3/ViewController.swift | michaeldesu/academy-curriculum | ac6ff819a03f8eb01055ebbb2bf08a95f011e09b | [
"CC-BY-4.0"
] | 170 | 2020-07-03T04:53:04.000Z | 2021-12-22T10:00:56.000Z | iOS/Intermediate/DataPersistence/code/HelloDataPersistence3/HelloDataPersistence3/ViewController.swift | michaeldesu/academy-curriculum | ac6ff819a03f8eb01055ebbb2bf08a95f011e09b | [
"CC-BY-4.0"
] | null | null | null | iOS/Intermediate/DataPersistence/code/HelloDataPersistence3/HelloDataPersistence3/ViewController.swift | michaeldesu/academy-curriculum | ac6ff819a03f8eb01055ebbb2bf08a95f011e09b | [
"CC-BY-4.0"
] | 48 | 2020-06-22T03:48:33.000Z | 2021-08-19T05:53:24.000Z | //
// ViewController.swift
// HelloDataPersistence3
//
// Created by arjuna sky kok on 16/08/19.
// Copyright © 2019 arjuna sky kok. All rights reserved.
//
import UIKit
class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after... | 39.180328 | 125 | 0.64728 |
d2bb6c9bf00eee26db342c95414385a8748614e8 | 108 | php | PHP | platform/applications/admin/config/template.php | alexjones999/starter-public-edition-4 | 6ff272fc3ab3d881f8ce5ac9b8d3bc58384ff39b | [
"MIT"
] | 168 | 2015-01-14T07:27:33.000Z | 2022-02-17T13:23:59.000Z | platform/applications/admin/config/template.php | alexjones999/starter-public-edition-4 | 6ff272fc3ab3d881f8ce5ac9b8d3bc58384ff39b | [
"MIT"
] | 45 | 2015-01-13T09:59:01.000Z | 2021-01-18T16:53:43.000Z | platform/applications/admin/config/template.php | alexjones999/starter-public-edition-4 | 6ff272fc3ab3d881f8ce5ac9b8d3bc58384ff39b | [
"MIT"
] | 107 | 2015-01-13T10:39:35.000Z | 2021-09-06T13:31:31.000Z | <?php defined('BASEPATH') OR exit('No direct script access allowed.');
$config['theme'] = 'admin_default';
| 27 | 70 | 0.694444 |
ec175a88a3582e7a30a9393d03c554ce03c173ad | 2,689 | swift | Swift | Tests/GeometriaTests/Generalized/Triangle+CoordinatesTests.swift | LuizZak/Geometria | 827d09de0527d6c744772b55a150a0c593d7e919 | [
"MIT"
] | 4 | 2021-09-05T19:01:01.000Z | 2021-12-06T15:37:34.000Z | Tests/GeometriaTests/Generalized/Triangle+CoordinatesTests.swift | LuizZak/Geometria | 827d09de0527d6c744772b55a150a0c593d7e919 | [
"MIT"
] | 1 | 2021-09-03T00:07:08.000Z | 2021-09-03T00:07:36.000Z | Tests/GeometriaTests/Generalized/Triangle+CoordinatesTests.swift | LuizZak/Geometria | 827d09de0527d6c744772b55a150a0c593d7e919 | [
"MIT"
] | 1 | 2022-02-20T17:05:51.000Z | 2022-02-20T17:05:51.000Z | import XCTest
import Geometria
class Triangle_CoordinatesTests: XCTestCase {
typealias Triangle = Triangle3D
typealias Coordinates = Triangle.Coordinates
func testProjectToWorld_aPoint() {
let sut = Triangle(
a: .zero,
b: .init(x: 10, y: 10, z: 10),
c: .init... | 26.106796 | 52 | 0.477873 |
d2bbc05a5332bf7b562abd75bc04f65dbdc6b4dd | 5,602 | php | PHP | resources/views/theUnion/acercaDe.blade.php | DiegoClrX/LaravelFinal | a377cdade819a516b9f731ce15acec56fee9d96d | [
"MIT"
] | null | null | null | resources/views/theUnion/acercaDe.blade.php | DiegoClrX/LaravelFinal | a377cdade819a516b9f731ce15acec56fee9d96d | [
"MIT"
] | null | null | null | resources/views/theUnion/acercaDe.blade.php | DiegoClrX/LaravelFinal | a377cdade819a516b9f731ce15acec56fee9d96d | [
"MIT"
] | null | null | null | <x-app-layout>
<x-slot name="header">
<h2 class="font-semibold text-xl text-gray-800 leading-tight">
{{ __('Dashboard') }}
</h2>
</x-slot>
<div class="py-12">
<div class="max-w-7xl mx-auto sm:px-6 lg:px-8">
<div class="bg-white overflow-hidden shadow-xl sm:ro... | 55.465347 | 970 | 0.576758 |
438303e089d8ed25140519a68261b28fce4f7857 | 190 | swift | Swift | ZwaaiLogic/Redux/AppActions.swift | Zwaai-app/zwaai-ios | 6123bb889d6ce0b0f4d73e7c2896d45f7d3676f3 | [
"MIT"
] | null | null | null | ZwaaiLogic/Redux/AppActions.swift | Zwaai-app/zwaai-ios | 6123bb889d6ce0b0f4d73e7c2896d45f7d3676f3 | [
"MIT"
] | 2 | 2020-07-31T06:07:03.000Z | 2020-07-31T06:11:51.000Z | ZwaaiLogic/Redux/AppActions.swift | Zwaai-app/zwaai-ios | 6123bb889d6ce0b0f4d73e7c2896d45f7d3676f3 | [
"MIT"
] | null | null | null | public enum AppAction: Equatable, Prism {
case history(HistoryAction)
case zwaai(ZwaaiAction)
case settings(SettingsAction)
case meta(AppMetaAction)
case resetAppState
}
| 23.75 | 41 | 0.742105 |
d2b5bc3ebb5758b046d7000c5c01a64ac52d864c | 718 | php | PHP | src/MessageBus/StaticAnalysis/Rules/MethodReturnTypeIsVoidRule.php | nepada/message-bus | f09d0b966b8f9785ff0c0a158d29fccf6eeb3ebe | [
"BSD-3-Clause"
] | 3 | 2020-07-21T19:38:22.000Z | 2021-04-18T16:48:16.000Z | src/MessageBus/StaticAnalysis/Rules/MethodReturnTypeIsVoidRule.php | nepada/message-bus | f09d0b966b8f9785ff0c0a158d29fccf6eeb3ebe | [
"BSD-3-Clause"
] | 37 | 2021-02-20T16:49:50.000Z | 2022-03-01T04:04:43.000Z | src/MessageBus/StaticAnalysis/Rules/MethodReturnTypeIsVoidRule.php | nepada/message-bus | f09d0b966b8f9785ff0c0a158d29fccf6eeb3ebe | [
"BSD-3-Clause"
] | null | null | null | <?php
declare(strict_types = 1);
namespace Nepada\MessageBus\StaticAnalysis\Rules;
use Nepada\MessageBus\StaticAnalysis\StaticAnalysisFailedException;
final class MethodReturnTypeIsVoidRule
{
/**
* @param \ReflectionMethod $method
* @throws StaticAnalysisFailedException
*/
public function val... | 25.642857 | 84 | 0.635097 |
d0ec092cb93f1b12d7d59f92654927014caa6c00 | 194 | css | CSS | public/css/quienes-somos.css | PangoNiggas/frameworksPrimeraUnidad | 7241dadfb5c654a064a3550b1fc503fcab8572d7 | [
"MIT"
] | null | null | null | public/css/quienes-somos.css | PangoNiggas/frameworksPrimeraUnidad | 7241dadfb5c654a064a3550b1fc503fcab8572d7 | [
"MIT"
] | null | null | null | public/css/quienes-somos.css | PangoNiggas/frameworksPrimeraUnidad | 7241dadfb5c654a064a3550b1fc503fcab8572d7 | [
"MIT"
] | null | null | null | #png{
margin-right: 60px;
}
#rich{
margin-right: 70px;
}
h3{
margin-left: 20px;
}
p{
margin-top: 40px;
margin-right: 40px;
margin-left: 40px;
text-align: justify;
} | 11.411765 | 24 | 0.57732 |
d2885459d7e48bba6d6146a9eabaed6d6cd27087 | 8,942 | php | PHP | resources/views/certificates/create.blade.php | DenisBuarque/Laravel-consulta-registros-imovel | 84f46a3a292753fa9f3d1cdc574ad264328cb742 | [
"MIT"
] | 1 | 2022-01-20T10:37:19.000Z | 2022-01-20T10:37:19.000Z | resources/views/certificates/create.blade.php | DenisBuarque/Laravel-consulta-registros-imovel | 84f46a3a292753fa9f3d1cdc574ad264328cb742 | [
"MIT"
] | null | null | null | resources/views/certificates/create.blade.php | DenisBuarque/Laravel-consulta-registros-imovel | 84f46a3a292753fa9f3d1cdc574ad264328cb742 | [
"MIT"
] | 1 | 2022-01-13T07:57:24.000Z | 2022-01-13T07:57:24.000Z | @extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-12">
@if (session('alert'))
<div class="alert alert-danger">
{{ session('alert') }}
</div>
@endif
@if ($errors->... | 55.197531 | 194 | 0.369492 |
bec61e45cdd4208bd785ea81939c41931dde454e | 1,662 | swift | Swift | TableviewCells/InterviewQuestionCell.swift | jtsmrd/Intrview | fe9c7fa0240990683048fbbb020b14df1140bd7b | [
"MIT"
] | 1 | 2020-07-13T13:01:51.000Z | 2020-07-13T13:01:51.000Z | TableviewCells/InterviewQuestionCell.swift | jtsmrd/Intrview | fe9c7fa0240990683048fbbb020b14df1140bd7b | [
"MIT"
] | null | null | null | TableviewCells/InterviewQuestionCell.swift | jtsmrd/Intrview | fe9c7fa0240990683048fbbb020b14df1140bd7b | [
"MIT"
] | null | null | null | //
// InterviewQuestionCell.swift
// SnapInterview
//
// Created by JT Smrdel on 1/18/17.
// Copyright © 2017 SmrdelJT. All rights reserved.
//
import UIKit
protocol InterviewQuestionCellDelegate {
func editInterviewQuestion(interviewQuestion: InterviewQuestion)
}
class InterviewQuestionCell: UITableViewCell... | 29.678571 | 102 | 0.690734 |
650e93f40d797c0460bad1ce4c72fe47deb0c2b7 | 3,313 | py | Python | datasets/base_dataset.py | iclr2022submission4/cgca | 3e6ea65c0ebf72a8291dde3ffdb06b50e4d2900a | [
"MIT"
] | 13 | 2022-01-10T05:28:26.000Z | 2022-02-02T10:22:42.000Z | datasets/base_dataset.py | iclr2022submission4/cgca | 3e6ea65c0ebf72a8291dde3ffdb06b50e4d2900a | [
"MIT"
] | null | null | null | datasets/base_dataset.py | iclr2022submission4/cgca | 3e6ea65c0ebf72a8291dde3ffdb06b50e4d2900a | [
"MIT"
] | null | null | null | import torch
import random
from torch.utils.data import Dataset, DataLoader
from abc import ABC
from models.base_model import Model
from torch.utils.tensorboard import SummaryWriter
from typing import List
class BaseDataset(Dataset, ABC):
name = 'base'
def __init__(self, config: dict, mode: str = 'train'):
self.... | 29.061404 | 83 | 0.705101 |
d9a55e34aa414e77ad4e7f3c73553a6236e1fa4d | 1,082 | swift | Swift | My University/CoreDataEntityProtocol.swift | yura-voevodin/my-university-ios | 6faecb08b95c27fc1884d3ba9b1e01cea9c631a6 | [
"Apache-2.0"
] | 2 | 2020-09-16T10:21:48.000Z | 2020-09-30T17:10:37.000Z | My University/CoreDataEntityProtocol.swift | yura-voevodin/my-university-ios | 6faecb08b95c27fc1884d3ba9b1e01cea9c631a6 | [
"Apache-2.0"
] | null | null | null | My University/CoreDataEntityProtocol.swift | yura-voevodin/my-university-ios | 6faecb08b95c27fc1884d3ba9b1e01cea9c631a6 | [
"Apache-2.0"
] | null | null | null | //
// CoreDataEntityProtocol.swift
// My University
//
// Created by Yura Voevodin on 09.05.2020.
// Copyright © 2020 Yura Voevodin. All rights reserved.
//
import CoreData
protocol CoreDataEntityProtocol: NSManagedObject {
// MARK: - Properties
var id: Int64 { get set }
var name: String? { ... | 25.162791 | 93 | 0.621996 |
92dee50d30288f8840b874208ae135d663ec281d | 339 | swift | Swift | Source/ATOMIZPOD.swift | intersignature/ATOMIZPodss | 968d761cf9978f63146935881bdbd3015f44d709 | [
"MIT"
] | null | null | null | Source/ATOMIZPOD.swift | intersignature/ATOMIZPodss | 968d761cf9978f63146935881bdbd3015f44d709 | [
"MIT"
] | null | null | null | Source/ATOMIZPOD.swift | intersignature/ATOMIZPodss | 968d761cf9978f63146935881bdbd3015f44d709 | [
"MIT"
] | null | null | null | //
// ATOMIZPOD.swift
// TestPod
//
// Created by Drink Sirichai on 21/6/2564 BE.
//
import Foundation
public class ATOMIZPoD {
public static let main = ATOMIZPoD()
open func print_A() {
print("aa")
}
open func print_B() {
print("bb")
}
open func print_C() {
p... | 11.689655 | 46 | 0.542773 |
f86fb02b51c32299ced3be84f130ff680633444a | 424 | sql | SQL | Database backup/Proposal Event Scheduler Remover in 15 Days.sql | saimonu123/melowebapp | 97a9838584e951c2a8b8615496aee2b37bd8edf8 | [
"MIT"
] | 2 | 2019-06-04T19:26:19.000Z | 2019-07-16T19:00:51.000Z | Database backup/Proposal Event Scheduler Remover in 15 Days.sql | saimonu123/melowebapp | 97a9838584e951c2a8b8615496aee2b37bd8edf8 | [
"MIT"
] | 1 | 2021-11-06T11:23:37.000Z | 2021-11-06T11:23:37.000Z | Database backup/Proposal Event Scheduler Remover in 15 Days.sql | saimonu123/melowebapp | 97a9838584e951c2a8b8615496aee2b37bd8edf8 | [
"MIT"
] | 3 | 2021-07-11T15:37:45.000Z | 2022-01-05T01:15:15.000Z | -- SELECT createdAt FROM proposal WHERE createdAt - CURDATE() < 15;
-- SELECT CURDATE(); -- Yıl Ay Gün getirir
-- SELECT curtime(); -- Saat Dakika Saniye Getir
CREATE EVENT proposal_Remover_id15Days
ON SCHEDULE EVERY 1 DAY
ON COMPLETION PRESERVE -- Çalıştıktan sonra drop olmasın
DO
UPDATE proposal SET isActive = 0 ... | 35.333333 | 81 | 0.75 |
611888b6fa772dc7738c460d6d467965f0f8869d | 52 | css | CSS | src/app/dashboard/explore/weight/hourly-weight/hourly-weight.component.css | Lema-Bkr/Apiwatch-Frontend | b936b72d2874d9d1ee088acbe04d6f08fbee7f40 | [
"Apache-2.0"
] | 4 | 2020-05-12T06:29:26.000Z | 2021-04-19T10:27:55.000Z | src/app/dashboard/explore/weight/hourly-weight/hourly-weight.component.css | Lema-Bkr/Apiwatch-Frontend | b936b72d2874d9d1ee088acbe04d6f08fbee7f40 | [
"Apache-2.0"
] | 212 | 2019-11-16T14:57:50.000Z | 2022-03-02T10:55:03.000Z | src/app/dashboard/explore/weight/hourly-weight/hourly-weight.component.css | Lema-Bkr/Apiwatch-Frontend | b936b72d2874d9d1ee088acbe04d6f08fbee7f40 | [
"Apache-2.0"
] | 7 | 2020-06-23T18:57:34.000Z | 2020-12-21T19:46:56.000Z | #graph-hour-weight{
width: 99%;
height: 55vh;
}
| 10.4 | 19 | 0.615385 |
32b39692250de4f0e74990f1e5778ada2b4701b6 | 1,362 | lua | Lua | bindings/lua/Polycode/ResourceManager.lua | my-digital-decay/Polycode | 5dd1836bc4710aea175a77433c17696f8330f596 | [
"MIT"
] | null | null | null | bindings/lua/Polycode/ResourceManager.lua | my-digital-decay/Polycode | 5dd1836bc4710aea175a77433c17696f8330f596 | [
"MIT"
] | null | null | null | bindings/lua/Polycode/ResourceManager.lua | my-digital-decay/Polycode | 5dd1836bc4710aea175a77433c17696f8330f596 | [
"MIT"
] | null | null | null | require "Polycode/EventDispatcher"
class "ResourceManager" (EventDispatcher)
function ResourceManager:ResourceManager(...)
local arg = {...}
if type(arg[1]) == "table" and count(arg) == 1 then
if ""..arg[1].__classname == "EventDispatcher" then
self.__ptr = arg[1].__ptr
return
end
end
for k,v in pairs(... | 25.698113 | 83 | 0.754038 |
92c9a5a383029356947e7722d78702642186d868 | 1,910 | c | C | resource/oc_logger/examples/test_logging.c | jonghenhan/iotivity | 7dfc2bc6a5c0506cf88bc23e88e38fe1b795da31 | [
"Apache-2.0"
] | 301 | 2015-01-20T16:11:32.000Z | 2021-11-25T04:29:36.000Z | resource/oc_logger/examples/test_logging.c | jonghenhan/iotivity | 7dfc2bc6a5c0506cf88bc23e88e38fe1b795da31 | [
"Apache-2.0"
] | 13 | 2015-06-04T09:55:15.000Z | 2020-09-23T00:38:07.000Z | resource/oc_logger/examples/test_logging.c | jonghenhan/iotivity | 7dfc2bc6a5c0506cf88bc23e88e38fe1b795da31 | [
"Apache-2.0"
] | 233 | 2015-01-26T03:41:59.000Z | 2022-03-18T23:54:04.000Z | //******************************************************************
//
// Copyright 2014 Intel Mobile Communications GmbH All Rights Reserved.
//
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except ... | 23.012048 | 75 | 0.635079 |
bf6e7775c36987bc374937feaa59888d083b21c9 | 2,429 | rs | Rust | src/lib.rs | Wackyator/CoffeeHouse-Rust-API-Wrapper | ab54ab2dc77a39861a8af924d0c0a0f6b960fe34 | [
"MIT"
] | 2 | 2021-02-21T16:34:56.000Z | 2021-02-21T16:40:17.000Z | src/lib.rs | Wackyator/CoffeeHouse-Rust-API-Wrapper | ab54ab2dc77a39861a8af924d0c0a0f6b960fe34 | [
"MIT"
] | null | null | null | src/lib.rs | Wackyator/CoffeeHouse-Rust-API-Wrapper | ab54ab2dc77a39861a8af924d0c0a0f6b960fe34 | [
"MIT"
] | null | null | null | extern crate reqwest;
mod structs;
mod error;
use std::result;
pub type Result<T> = result::Result<T, crate::error::Error>;
pub mod lydia {
use crate::structs::{
SuccessResponse,
ErrorResponse,
ThoughtResponse,
};
use crate::error::Error;
pub struct LydiaAI {
... | 29.987654 | 112 | 0.477563 |
e548024308d6dbb22a5710bfcb2645bd77023046 | 3,150 | ts | TypeScript | src/app/components/settings/settings.component.ts | POLSL-GRUPA-2/gornik-zabrze-training-app-front | 91b59d6e29ee8bcc9fca0b6b5fa329cfa3359385 | [
"MIT"
] | null | null | null | src/app/components/settings/settings.component.ts | POLSL-GRUPA-2/gornik-zabrze-training-app-front | 91b59d6e29ee8bcc9fca0b6b5fa329cfa3359385 | [
"MIT"
] | null | null | null | src/app/components/settings/settings.component.ts | POLSL-GRUPA-2/gornik-zabrze-training-app-front | 91b59d6e29ee8bcc9fca0b6b5fa329cfa3359385 | [
"MIT"
] | null | null | null | import { Component, OnInit } from '@angular/core'
import { FormBuilder, FormControl, FormGroup, Validators } from '@angular/forms'
import { User } from 'src/app/_models/user'
import { UserService } from 'src/app/services/user/user.service'
@Component({
selector: 'app-settings',
templateUrl: './settings.component.h... | 23.333333 | 80 | 0.613968 |
128562046ed73e1f79d157012066535b9343d90d | 559 | c | C | kernel/src/string/os_sint_to_string.c | Mcpg/cmike | 4a9494d6394ff9f48c629801275d3049c8fce199 | [
"MIT"
] | 4 | 2020-01-20T20:55:17.000Z | 2022-01-09T23:27:26.000Z | kernel/src/string/os_sint_to_string.c | Mcpg/cmike | 4a9494d6394ff9f48c629801275d3049c8fce199 | [
"MIT"
] | 8 | 2019-11-16T20:11:14.000Z | 2019-11-16T20:19:32.000Z | kernel/src/string/os_sint_to_string.c | Mcpg/cmike | 4a9494d6394ff9f48c629801275d3049c8fce199 | [
"MIT"
] | 1 | 2020-01-20T20:55:20.000Z | 2020-01-20T20:55:20.000Z | #include <mikeos.h>
void _os_sint_to_string(int* ax, int* bx, int* cx, int* dx, int* si, int* di)
{
*ax = (int) os_sint_to_string((int) *ax);
}
char* os_sint_to_string(int number)
{
static char buffer[7] = {0, 0, 0, 0, 0, 0, 0};
for (int i = 0; i < 6; i++)
{
if (number < 0 && i == 0)
... | 21.5 | 77 | 0.461538 |
8a44d1a436368bc0b160701abea072f2c64f8b87 | 2,008 | rs | Rust | src/lib.rs | mech-machines/stats | 30a391de2270dfa415b15fde387ddcbcb263e0c9 | [
"Apache-2.0"
] | null | null | null | src/lib.rs | mech-machines/stats | 30a391de2270dfa415b15fde387ddcbcb263e0c9 | [
"Apache-2.0"
] | null | null | null | src/lib.rs | mech-machines/stats | 30a391de2270dfa415b15fde387ddcbcb263e0c9 | [
"Apache-2.0"
] | null | null | null | extern crate mech_core;
extern crate mech_utilities;
#[macro_use]
extern crate lazy_static;
use mech_core::{Transaction, ValueIterator, ValueMethods};
use mech_core::{Value, Table, TableIndex};
use mech_core::{Quantity, ToQuantity, QuantityMath, hash_string};
lazy_static! {
static ref ROW: u64 = hash_string("row");
... | 31.873016 | 112 | 0.574701 |
0539663a4cc2622762f5db2e8ef7f0987d7b614f | 4,599 | rb | Ruby | spec/presenters/scoped_search_results_presenter_spec.rb | soniaturcotte/finder-frontend | 7ebe4dfbb9f53369bec2174e07450a0cd6183f0b | [
"MIT"
] | null | null | null | spec/presenters/scoped_search_results_presenter_spec.rb | soniaturcotte/finder-frontend | 7ebe4dfbb9f53369bec2174e07450a0cd6183f0b | [
"MIT"
] | null | null | null | spec/presenters/scoped_search_results_presenter_spec.rb | soniaturcotte/finder-frontend | 7ebe4dfbb9f53369bec2174e07450a0cd6183f0b | [
"MIT"
] | null | null | null | require "spec_helper"
RSpec.describe ScopedSearchResultsPresenter do
let(:view_content) { double(:view_content, render: 'pagination_html') }
before do
@scope_title = double
@unscoped_result_count = double
@scoped_results = [
{ "title_with_highlighting" => "scoped_result_1" },
{ "title_wit... | 37.08871 | 130 | 0.67993 |
d9ab11228611e0547cc95208bb144cbfb778bf98 | 10,364 | rs | Rust | executors/src/numa_utils.rs | stsydow/rust-executors | 5aa28fc023387c0ef7ccca3072dd19460d658982 | [
"MIT"
] | 26 | 2018-07-19T20:38:22.000Z | 2022-01-18T12:38:00.000Z | executors/src/numa_utils.rs | stsydow/rust-executors | 5aa28fc023387c0ef7ccca3072dd19460d658982 | [
"MIT"
] | 12 | 2019-04-09T14:15:05.000Z | 2021-10-16T13:38:13.000Z | executors/src/numa_utils.rs | stsydow/rust-executors | 5aa28fc023387c0ef7ccca3072dd19460d658982 | [
"MIT"
] | 1 | 2020-11-10T10:51:36.000Z | 2020-11-10T10:51:36.000Z | // Copyright 2017-2020 Lars Kroll. See the LICENSE
// file at the top-level directory of this distribution.
//
// Licensed under the MIT license
// <LICENSE or http://opensource.org/licenses/MIT>.
// This file may not be copied, modified, or distributed
// except according to those terms.
//! This module contains help... | 35.251701 | 112 | 0.578348 |
e75ec70051f58f956545790c52a49cb2d30768ce | 1,202 | js | JavaScript | src/storybook/feed.stories.js | haakenlid/db-feed | bb4d7ace64b23f3e0d0365dec93f628d27be91d0 | [
"MIT"
] | null | null | null | src/storybook/feed.stories.js | haakenlid/db-feed | bb4d7ace64b23f3e0d0365dec93f628d27be91d0 | [
"MIT"
] | null | null | null | src/storybook/feed.stories.js | haakenlid/db-feed | bb4d7ace64b23f3e0d0365dec93f628d27be91d0 | [
"MIT"
] | null | null | null | import React from 'react'
import { boolean, text } from '@storybook/addon-knobs/react'
import { storiesOf } from '@storybook/react'
import { withNotes } from '@storybook/addon-notes'
import { baseProps, randomProps } from './utils'
import Provider from './Provider'
import { FeedStory } from 'components/FeedStory'
imp... | 26.130435 | 72 | 0.613145 |
9b900e796a22be52bcbd90b387ee4a5018da4f17 | 1,249 | js | JavaScript | views/detail/js/list.js | caibiao/datadict | 88e7ddb2f9f3ae68c8821e5bf978faee2e3a1a6a | [
"MIT"
] | null | null | null | views/detail/js/list.js | caibiao/datadict | 88e7ddb2f9f3ae68c8821e5bf978faee2e3a1a6a | [
"MIT"
] | 3 | 2017-12-21T01:54:26.000Z | 2018-01-24T08:20:27.000Z | views/detail/js/list.js | caibiao/datadict | 88e7ddb2f9f3ae68c8821e5bf978faee2e3a1a6a | [
"MIT"
] | null | null | null | $(function(){
$('#detail-add-button').click(function() {
$('#detail-add-modal').modal('show').find('#detail-add-modal-view').html('');
$('#detail-add-modal').modal('show').find('#detail-add-modal-view').load($(this).attr('href'));
return false;
});
$('.update-button').click(functio... | 27.152174 | 103 | 0.47478 |
929102345e6f3c24a1da3c720965b05f12b805b9 | 368 | h | C | Classes/Logging/POSLogger.h | pavelosipov/POSErrorHandling | ec5416cd6d6a6aa364c02c0d603d1b3c5c142871 | [
"MIT"
] | null | null | null | Classes/Logging/POSLogger.h | pavelosipov/POSErrorHandling | ec5416cd6d6a6aa364c02c0d603d1b3c5c142871 | [
"MIT"
] | null | null | null | Classes/Logging/POSLogger.h | pavelosipov/POSErrorHandling | ec5416cd6d6a6aa364c02c0d603d1b3c5c142871 | [
"MIT"
] | null | null | null | //
// POSLogger.h
// POSErrorHandling
//
// Created by Pavel Osipov on 09/08/2018.
// Copyright © 2018 Pavel Osipov. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@protocol POSLogger <NSObject>
- (void)logError:(nullable NSString *)format, ...;
- (void)logInfo:(nullable NSStr... | 17.52381 | 55 | 0.714674 |
ddf70cd39c4a6642775706631762632824c295bd | 3,503 | php | PHP | resources/views/livewire/Empresa/configuracion.blade.php | RobertRaul/parkeo | 7a59c2a15107bcddff5c100bef3b3e968efbdab9 | [
"MIT"
] | null | null | null | resources/views/livewire/Empresa/configuracion.blade.php | RobertRaul/parkeo | 7a59c2a15107bcddff5c100bef3b3e968efbdab9 | [
"MIT"
] | null | null | null | resources/views/livewire/Empresa/configuracion.blade.php | RobertRaul/parkeo | 7a59c2a15107bcddff5c100bef3b3e968efbdab9 | [
"MIT"
] | null | null | null |
<div class="card card-light">
<div class="card-header container-fluid">
<div class="row">
<div class="col-md-10">
<h3>Configuraciones Empresa</h3>
</div>
</div>
</div>
<div class="card-body">
<div class="form-row">
<div class="col-... | 36.873684 | 111 | 0.488724 |
bd99203127764059d0093481e17a467925921cc4 | 335 | kt | Kotlin | modules/common_android/src/main/java/kekmech/ru/common_android/ResourcesExt.kt | tonykolomeytsev/mpeiapp | 28cd15c2cc23b91f88d5bae9f7e16907f9ec0365 | [
"MIT"
] | 14 | 2019-08-24T21:41:34.000Z | 2022-01-17T08:54:23.000Z | modules/common_android/src/main/java/kekmech/ru/common_android/ResourcesExt.kt | tonykolomeytsev/mpeiapp | 28cd15c2cc23b91f88d5bae9f7e16907f9ec0365 | [
"MIT"
] | 125 | 2019-09-29T21:51:42.000Z | 2021-09-25T13:46:36.000Z | modules/common_android/src/main/java/kekmech/ru/common_android/ResourcesExt.kt | tonykolomeytsev/mpeiapp | 28cd15c2cc23b91f88d5bae9f7e16907f9ec0365 | [
"MIT"
] | 8 | 2019-10-10T17:47:32.000Z | 2021-09-16T19:34:40.000Z | package kekmech.ru.common_android
import android.content.res.Resources
import android.util.TypedValue
import kotlin.math.roundToInt
fun Resources.dpToPx(dp: Int): Int = dpToPx(dp.toFloat())
fun Resources.dpToPx(dp: Float): Int = TypedValue.applyDimension(
TypedValue.COMPLEX_UNIT_DIP,
dp,
displayMetrics
)... | 22.333333 | 65 | 0.776119 |
50e7094269599834a2f33ea0e29eac0c7334e98d | 291,757 | go | Go | go/as/external/api/application.pb.go | sagar-patel-sls/chirpstack-ap | 485aa986a274cdbb7c11d31b7918e4a44f15c0bb | [
"MIT"
] | 1 | 2020-03-12T08:25:38.000Z | 2020-03-12T08:25:38.000Z | go/as/external/api/application.pb.go | sagar-patel-sls/chirpstack-ap | 485aa986a274cdbb7c11d31b7918e4a44f15c0bb | [
"MIT"
] | 3 | 2020-12-12T12:53:50.000Z | 2022-02-16T07:12:14.000Z | go/as/external/api/application.pb.go | sagar-patel-sls/chirpstack-api | 485aa986a274cdbb7c11d31b7918e4a44f15c0bb | [
"MIT"
] | null | null | null | // Code generated by protoc-gen-go. DO NOT EDIT.
// source: as/external/api/application.proto
package api
import (
context "context"
fmt "fmt"
proto "github.com/golang/protobuf/proto"
empty "github.com/golang/protobuf/ptypes/empty"
timestamp "github.com/golang/protobuf/ptypes/timestamp"
_ "google.golang.org/gen... | 44.232414 | 235 | 0.767707 |
d299e14ecb33bd9bae679a02ca7366e226163675 | 6,105 | php | PHP | MantUsuario.php | aosver/aosver.github.io | f4b3b7c4865fb1d1d4620beb55b16bb4972d0f7b | [
"Apache-2.0"
] | null | null | null | MantUsuario.php | aosver/aosver.github.io | f4b3b7c4865fb1d1d4620beb55b16bb4972d0f7b | [
"Apache-2.0"
] | null | null | null | MantUsuario.php | aosver/aosver.github.io | f4b3b7c4865fb1d1d4620beb55b16bb4972d0f7b | [
"Apache-2.0"
] | null | null | null | <?php include ("conn/conn.php");
if ($tipoUsuario == 2){
echo '<meta content="0;URL=home.php" http-equiv="refresh">';
}
if (isset($_GET['idEliminar'])){
$id = $_GET['idEliminar'];
$sql = "UPDATE tusuarios SET estado = 0 WHERE idpersona = $id";
$query = mysqli_query($conn,$sql)or die(mysqli_error($conn));
$... | 30.678392 | 355 | 0.630467 |
e76fa57e191d94e3b032be85eb8def139c362bbf | 147 | js | JavaScript | src/services/modules/home.js | yyd19920013/e-admin-template | 47f7c4611ee41b9c40208b62ba33a4a36c10f273 | [
"MIT"
] | null | null | null | src/services/modules/home.js | yyd19920013/e-admin-template | 47f7c4611ee41b9c40208b62ba33a4a36c10f273 | [
"MIT"
] | null | null | null | src/services/modules/home.js | yyd19920013/e-admin-template | 47f7c4611ee41b9c40208b62ba33a4a36c10f273 | [
"MIT"
] | null | null | null | import services from 'services'
// 首页
export const home = params => {
return services.API({
url: '',
method: 'post',
params,
})
}
| 13.363636 | 31 | 0.578231 |
9c5b021b1f4f4aaad0708d5c910768a1d4d33f51 | 598 | js | JavaScript | rollup.config.js | Andrew-Reid/funkyline | cac9c92cd1396f92d2e89ae58bf89da756d22730 | [
"MIT"
] | null | null | null | rollup.config.js | Andrew-Reid/funkyline | cac9c92cd1396f92d2e89ae58bf89da756d22730 | [
"MIT"
] | null | null | null | rollup.config.js | Andrew-Reid/funkyline | cac9c92cd1396f92d2e89ae58bf89da756d22730 | [
"MIT"
] | null | null | null | import commonjs from 'rollup-plugin-commonjs';
import pkg from './package.json';
export default [
{
input: 'src/main.js',
output: {
name: 'd3',
extend: true,
file: pkg.browser,
format: 'umd'
},
plugins: [
commonjs()
]//,
//globals: Object.assign({}, ...Object.keys(meta.dependencies || {}).... | 17.588235 | 131 | 0.528428 |
e5553f4822ec89dcfdfb95dc7c1dcc1839258b3f | 953 | ts | TypeScript | test/ionItemOptionMethodGetSlidingPercentRenamed.spec.ts | mburger81/v4-migration-tslint | 3ea3b3dbbda9cab73339362d99f392d8abd4858d | [
"MIT"
] | 107 | 2018-05-04T16:42:02.000Z | 2020-09-13T17:55:00.000Z | test/ionItemOptionMethodGetSlidingPercentRenamed.spec.ts | mburger81/v4-migration-tslint | 3ea3b3dbbda9cab73339362d99f392d8abd4858d | [
"MIT"
] | 168 | 2018-05-29T21:04:28.000Z | 2020-06-11T13:06:17.000Z | test/ionItemOptionMethodGetSlidingPercentRenamed.spec.ts | mburger81/v4-migration-tslint | 3ea3b3dbbda9cab73339362d99f392d8abd4858d | [
"MIT"
] | 15 | 2018-06-12T16:41:54.000Z | 2020-04-17T20:22:01.000Z | import { expect } from 'chai';
import { ruleName, ruleMessage } from '../src/ionItemOptionMethodGetSlidingPercentRenamedRule';
import { assertAnnotated, assertSuccess } from './testHelper';
describe(ruleName, () => {
describe('success', () => {
it('should work with new method name', () => {
let source = `
... | 24.435897 | 95 | 0.528856 |
39d1af7cf9df7bfbd6661652b620ea5dff3bafc3 | 844 | js | JavaScript | lib/models/VehicleToggleMod.js | DeForce/fivem-js | 06c904e3010e0f1df50432bb3a6bd5771a271817 | [
"MIT"
] | null | null | null | lib/models/VehicleToggleMod.js | DeForce/fivem-js | 06c904e3010e0f1df50432bb3a6bd5771a271817 | [
"MIT"
] | null | null | null | lib/models/VehicleToggleMod.js | DeForce/fivem-js | 06c904e3010e0f1df50432bb3a6bd5771a271817 | [
"MIT"
] | null | null | null | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.VehicleToggleMod = void 0;
class VehicleToggleMod {
constructor(owner, modType) {
this._owner = owner;
this.ModType = modType;
}
get ModType() {
return this._modType;
}
set ModType(modType) {... | 26.375 | 66 | 0.633886 |
22d87ceb3ba5d2d948b8f9db2f1d5ee46e7c8a8c | 10,237 | h | C | include/eqlib/eqldef.h | 39alpha/eq3_6 | 4ff7eec3d34634f1470ae5f67d8e294694216b6e | [
"BSD-3-Clause"
] | null | null | null | include/eqlib/eqldef.h | 39alpha/eq3_6 | 4ff7eec3d34634f1470ae5f67d8e294694216b6e | [
"BSD-3-Clause"
] | 6 | 2021-11-30T15:48:52.000Z | 2022-02-02T18:16:22.000Z | include/eqlib/eqldef.h | 39alpha/eq3_6 | 4ff7eec3d34634f1470ae5f67d8e294694216b6e | [
"BSD-3-Clause"
] | null | null | null | c eqldef.h
c
c Definitions of dimensioning paramaters and equivalent variables.
c The parameters themselves are set in the include file eqlpar.h.
c
c Some parameters are also defined and set in the include files
c eqlj8.h and eqlo8.h. These are involved in the menu-style ("D")
c input format for Ver... | 39.678295 | 72 | 0.545863 |
709b8bb70ee6abe6e33fb16a178511f8966f5e7c | 643 | go | Go | controller/post_weight.go | tanel/wardrobe-organizer | b49271d22b73446c5a4e5b383be290b2a0192700 | [
"MIT"
] | 3 | 2019-03-27T12:25:42.000Z | 2021-12-24T23:41:03.000Z | controller/post_weight.go | tanel/wardrobe-manager-app | b49271d22b73446c5a4e5b383be290b2a0192700 | [
"MIT"
] | 53 | 2017-12-09T00:21:26.000Z | 2018-03-02T22:29:33.000Z | controller/post_weight.go | tanel/wardrobe-manager-app | b49271d22b73446c5a4e5b383be290b2a0192700 | [
"MIT"
] | null | null | null | package controller
import (
"github.com/juju/errors"
"github.com/tanel/wardrobe-organizer/db"
"github.com/tanel/wardrobe-organizer/model"
"github.com/tanel/webapp/http"
)
// PostWeight updates a weight entry
func PostWeight(request *http.Request, userID string) {
weightEntry, err := model.NewWeightEntryForm(requ... | 23.814815 | 77 | 0.73717 |
a1b28a926e57d543f7b351ed366c19f330d7262b | 649 | sql | SQL | prisma/migrations/20210703213433_add_author/migration.sql | exghost/book-reader-server | 3fe48279cf5b5f1b6b6dc8f4a19662239ceef5fc | [
"MIT"
] | null | null | null | prisma/migrations/20210703213433_add_author/migration.sql | exghost/book-reader-server | 3fe48279cf5b5f1b6b6dc8f4a19662239ceef5fc | [
"MIT"
] | null | null | null | prisma/migrations/20210703213433_add_author/migration.sql | exghost/book-reader-server | 3fe48279cf5b5f1b6b6dc8f4a19662239ceef5fc | [
"MIT"
] | null | null | null | -- CreateTable
CREATE TABLE "Author" (
"id" SERIAL NOT NULL,
"name" TEXT NOT NULL,
PRIMARY KEY ("id")
);
-- CreateTable
CREATE TABLE "_AuthorToBook" (
"A" INTEGER NOT NULL,
"B" INTEGER NOT NULL
);
-- CreateIndex
CREATE UNIQUE INDEX "_AuthorToBook_AB_unique" ON "_AuthorToBook"("A", "B");
-- Creat... | 24.961538 | 112 | 0.702619 |
172e2f6c7fdf168ed1301e1ddfb349ea7dcc06f9 | 1,311 | kt | Kotlin | Corona-Warn-App/src/main/java/be/sciensano/coronalert/ui/submission/SubmissionTestRequestViewModel.kt | NeatNerdPrime/cwa-app-android | f41e6fd69c2aaed54ab1ab1978231138f1191349 | [
"Apache-2.0"
] | 59 | 2020-09-18T06:45:10.000Z | 2021-08-02T18:06:14.000Z | Corona-Warn-App/src/main/java/be/sciensano/coronalert/ui/submission/SubmissionTestRequestViewModel.kt | NeatNerdPrime/cwa-app-android | f41e6fd69c2aaed54ab1ab1978231138f1191349 | [
"Apache-2.0"
] | 44 | 2020-09-18T10:25:54.000Z | 2021-11-15T13:29:35.000Z | Corona-Warn-App/src/main/java/be/sciensano/coronalert/ui/submission/SubmissionTestRequestViewModel.kt | NeatNerdPrime/cwa-app-android | f41e6fd69c2aaed54ab1ab1978231138f1191349 | [
"Apache-2.0"
] | 13 | 2020-09-18T11:50:05.000Z | 2021-12-04T22:00:26.000Z | package be.sciensano.coronalert.ui.submission
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import be.sciensano.coronalert.MobileTestId
import be.sciensano.coronalert.storage.k
import be.sciensano.coronalert.storage.onsetSymptomsDate
import be.sciensano.coronalert.storage.r0
import be.s... | 31.97561 | 83 | 0.759725 |