max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
335 | {
"word": "Beneficiary",
"definitions": [
"a person who derives advantage from something, generally a will or an insurance policy"
],
"parts-of-speech": "Noun"
}
| 56 |
2,151 | <filename>components/cronet/android/test/javatests/src/org/chromium/net/DiskStorageTest.java
// Copyright 2016 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.net;
import static org.junit.Assert.ass... | 3,715 |
1,177 | # Copyright 2021 The Kubeflow Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | 9,600 |
2,053 | /*
* Copyright 2015 the original author or authors.
* @https://github.com/scouter-project/scouter
*
* 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.apa... | 4,166 |
343 | [
{
"url": "https://elixir-lang.org/getting-started/modules-and-functions.html#default-arguments",
"description": "Getting Started guide - Default Arguments"
}
]
| 61 |
1,405 | package android.support.v4.app;
import android.os.Bundle;
import android.os.IBinder;
class BundleCompatJellybeanMR2 {
BundleCompatJellybeanMR2() {
}
public static IBinder getBinder(Bundle bundle, String key) {
return bundle.getBinder(key);
}
public static void putBinder(Bundle bundle, St... | 151 |
2,151 | // Copyright 2018 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.
#ifndef UI_COMPOSITOR_OVERSCROLL_SCROLL_INPUT_HANDLER_H_
#define UI_COMPOSITOR_OVERSCROLL_SCROLL_INPUT_HANDLER_H_
#include "base/memory/weak_ptr.h"
#incl... | 581 |
389 | <gh_stars>100-1000
package com.mrcoder.sbmail;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class SbMailApplication {
public static void main(String[] args) {
SpringApplication.run(SbMailApplication.c... | 108 |
2,151 | // 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.
#include <utility>
#include "chrome/browser/android/webapk/webapk_info.h"
WebApkInfo::WebApkInfo(std::string name,
std::string sh... | 829 |
446 | /* ========================================
* Tube2 - Tube2.h
* Copyright (c) 2016 airwindows, All rights reserved
* ======================================== */
#ifndef __Tube2_H
#include "Tube2.h"
#endif
void Tube2::processReplacing(float **inputs, float **outputs, VstInt32 sampleFrames)
{
float* in1 = i... | 4,226 |
559 | <reponame>sghill/msl
/**
* Copyright (c) 2016-2017 Netflix, Inc. All rights reserved.
*
* 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... | 989 |
2,392 | <reponame>MelvinG24/dust3d
// Copyright (c) 2005 Tel-Aviv University (Israel).
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org).
//
// $URL: https://github.com/CGAL/cgal/blob/v5.1/Boolean_set_operations_2/include/CGAL/Boolean_set_operations_2/Gps_intersection_functor.h $
// $Id: Gps_intersection_... | 581 |
5,865 | <filename>api/api-version-v1/src/main/java/com/thoughtworks/go/apiv1/version/VersionControllerV1.java
/*
* Copyright 2021 ThoughtWorks, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License ... | 605 |
1,133 | /**
*
* PixelFlow | Copyright (C) 2017 <NAME> (www.thomasdiewald.com)
*
* src - www.github.com/diwi/PixelFlow
*
* A Processing/Java library for high performance GPU-Computing.
* MIT License: https://opensource.org/licenses/MIT
*
*/
package com.thomasdiewald.pixelflow.java.imageprocessing.filter;
import c... | 2,615 |
303 | {"id":5097,"line-1":"Provence-Alpes-Côte d'Azur","line-2":"France","attribution":"©2015 DigitalGlobe","url":"https://www.google.com/maps/@43.767099,7.415746,19z/data=!3m1!1e3"} | 79 |
879 | <reponame>qianfei11/zstack
package org.zstack.header.storage.primary;
import org.zstack.header.message.MessageReply;
/**
* @ Author : yh.w
* @ Date : Created in 17:26 2020/3/23
*/
public class GetDownloadBitsFromKVMHostProgressReply extends MessageReply {
private long totalSize;
public long getTotalSiz... | 165 |
743 | <reponame>althink/hermes<gh_stars>100-1000
package pl.allegro.tech.hermes.schema;
import pl.allegro.tech.hermes.api.ErrorCode;
import pl.allegro.tech.hermes.api.Topic;
public class NoSchemaVersionsFoundException extends SchemaException {
NoSchemaVersionsFoundException(String message) {
super(message);
... | 220 |
3,084 | /*++
Copyright (c) 1999 - 2002 Microsoft Corporation
Module Name:
context.c
Abstract:
This is the stream nd stream handle context module of the kernel mode
context sample filter driver
Environment:
Kernel mode
--*/
#include "pch.h"
#ifdef ALLOC_PRAGMA
#pragma all... | 13,198 |
432 | /******************************************************************************
*
* Module Name: prutils - Preprocessor utilities
*
*****************************************************************************/
/******************************************************************************
*
* 1. Copyright Notic... | 6,740 |
1,799 | <reponame>chiaitian/Paddle-Lite
// Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved.
//
// 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/L... | 3,478 |
1,290 | <reponame>dfirpaul/Active-Directory-Exploitation-Cheat-Sheet-1<gh_stars>1000+
/* <NAME> `gentilkiwi`
http://blog.gentilkiwi.com
<EMAIL>
Licence : https://creativecommons.org/licenses/by/4.0/
*/
#include "kuhl_m_crypto_extractor.h"
void kuhl_m_crypto_extractor_capi32(PKULL_M_MEMORY_ADDRESS address)
{
KIWI_... | 21,007 |
625 | package com.jtransc.imaging;
public class JTranscNativeBitmap {
public Object nativeData;
public JTranscNativeBitmap(Object nativeData) {
this.nativeData = nativeData;
}
public JTranscBitmapData32 getData() {
return null;
}
}
| 83 |
14,668 | <filename>ui/ozone/platform/wayland/test/mock_zwp_text_input.cc
// Copyright 2019 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.
#include "ui/ozone/platform/wayland/test/mock_zwp_text_input.h"
namespace wl {
namespace... | 1,606 |
2,219 | <reponame>xuing/openrasp<filename>agent/java/engine/src/main/java/com/baidu/openrasp/hook/ssrf/HttpClientHook.java
/*
* Copyright 2017-2021 Baidu Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of th... | 3,402 |
30,023 | <filename>homeassistant/components/circuit/manifest.json
{
"domain": "circuit",
"name": "Unify Circuit",
"documentation": "https://www.home-assistant.io/integrations/circuit",
"codeowners": ["@braam"],
"requirements": ["circuit-webhook==1.0.1"],
"iot_class": "cloud_push",
"loggers": ["circuit_webhook"]
}
| 120 |
1,537 | /****************************************************************************
*
* Copyright (c) 2020-2021 PX4 Development Team. 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. Red... | 4,108 |
416 | //
// EKTypes.h
// EventKit
//
// Copyright 2011 Apple Inc. All rights reserved.
//
#import <Foundation/NSObjCRuntime.h>
NS_ASSUME_NONNULL_BEGIN
/*!
@enum EKAuthorizationStatus
@abstract This enumerated type is used to indicate the currently granted authorization status for a specific
... | 4,380 |
365 | # Apache License, Version 2.0
# ./blender.bin --background -noaudio --factory-startup --python tests/python/bl_rna_defaults.py
import bpy
DUMMY_NAME = "Untitled"
DUMMY_PATH = __file__
GLOBALS = {
"error_num": 0,
}
def as_float_32(f):
from struct import pack, unpack
return unpack("f", pack("f", f))[0]
... | 2,417 |
6,449 | <gh_stars>1000+
/*
* Copyright 2009-2016 Weibo, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless req... | 1,890 |
2,535 | /** @file svmdataset.c
** @brief SVM Dataset - Definition
** @author <NAME>
** @author <NAME>
**/
/*
Copyright (C) 2012 <NAME>.
Copyright (C) 2013 <NAME>.
All rights reserved.
This file is part of the VLFeat library and is made available under
the terms of the BSD license (see the COPYING file).
*/
/**
@file svm... | 4,959 |
5,169 | <gh_stars>1000+
{
"name": "MCFoundationKit",
"version": "1.1.5",
"summary": "自定义基础工具库.",
"description": "自定义基础工具库杂集\n\n主要包括:\n\n1.获取工程配置信息\n\n2.View操作,圆角、阴影、动画\n\n3.Audio,播放铃声、振动,循环播放\n\n4.String常用方法,全角半角、utf8、url encode、转json array dic\n\n5.RSA加密解密\n\n6.BitSet,仿照Java解析\n\n7.UserDefaults,本地化存储\n\n8.FileManager,... | 632 |
2,151 | // 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.
#ifndef IOS_CHROME_BROWSER_UI_READING_LIST_READING_LIST_MEDIATOR_H_
#define IOS_CHROME_BROWSER_UI_READING_LIST_READING_LIST_MEDIATOR_H_
#import <UIKit/UI... | 463 |
354 | /*-------------------------------------------------------------------------
* OpenGL Conformance Test Suite
* -----------------------------
*
* Copyright (c) 2014-2016 The Khronos Group Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with ... | 4,080 |
504 | <filename>tests/slack_bolt/oauth/test_internals.py
from slack_bolt.oauth.internals import build_detailed_error
class TestOAuthInternals:
def test_build_detailed_error_invalid_browser(self):
result = build_detailed_error("invalid_browser")
assert result.startswith("invalid_browser: This can occur d... | 498 |
1,600 | <filename>chapter-05/recipe-07/cxx-example/ubsan-example.cpp
int main(int argc, char **argv) {
int k = 0x7fffffff;
k += argc;
return 0;
}
| 63 |
421 | <filename>samples/snippets/cpp/VS_Snippets_Winforms/SplitContainerEvents/CPP/splitcontainerevents.cpp
// <snippet1>
#using <System.Data.dll>
#using <System.Windows.Forms.dll>
#using <System.dll>
#using <System.Drawing.dll>
using namespace System;
using namespace System::Drawing;
using namespace System::Col... | 1,133 |
567 | """ Test CQNode functionality """
import sql_crawler.cq_node as cq_node
def mock_node():
node = cq_node.CQNode("https://google.com", 5)
return node
def test_url():
assert mock_node().get_url() == "https://google.com"
def test_depth():
assert mock_node().get_depth() == 5 | 113 |
348 | {"nom":"Vauhallan","circ":"5ème circonscription","dpt":"Essonne","inscrits":1559,"abs":562,"votants":997,"blancs":6,"nuls":4,"exp":987,"res":[{"nuance":"REM","nom":"<NAME>","voix":475},{"nuance":"LR","nom":"Mme <NAME>","voix":199},{"nuance":"FI","nom":"<NAME>","voix":74},{"nuance":"SOC","nom":"Mme <NAME>","voix":69},{"... | 324 |
1,590 | {
"parameters": {
"hubName": "sdkTestHub",
"resourceGroupName": "TestHubRG",
"widgetTypeName": "ActivityGauge",
"api-version": "2016-01-01",
"subscriptionId": "subid"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroup... | 372 |
1,514 | #pragma once
#include "afxwin.h"
// LanguagesDlg dialog
class LanguagesDlg : public CDialog
{
DECLARE_DYNAMIC(LanguagesDlg)
public:
LanguagesDlg(CWnd* pParent = NULL); // standard constructor
virtual ~LanguagesDlg();
// Dialog Data
enum { IDD = IDD_LANGUAGES };
protected:
virtual void DoDataExchange(CDataE... | 298 |
686 | /*
* (C) Copyright IBM Corp. 2019, 2020.
*
* 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 t... | 295 |
3,442 | /*
* Jitsi, the OpenSource Java VoIP and Instant Messaging client.
*
* Copyright @ 2015 Atlassian Pty Ltd
*
* 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.or... | 1,405 |
314 | <reponame>jwilk-forks/pyfilesystem<filename>fs/tests/test_opener.py
"""
fs.tests.test_opener: testcases for FS opener
"""
import unittest
import tempfile
import shutil
from fs.opener import opener
from fs import path
class TestOpener(unittest.TestCase):
def setUp(self):
self.temp_dir = tempfile.mkd... | 256 |
4,756 | <gh_stars>1000+
// Copyright (C) 2012 The Libphonenumber 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 ... | 2,980 |
486 | <filename>bin/php.c<gh_stars>100-1000
/*
* $Id: php.c 624 2007-09-15 22:53:31Z jafl $
*
* Copyright (c) 2000, <NAME> <<EMAIL>>
*
* This source code is released for free distribution under the terms of the
* GNU General Public License.
*
* This module contains functions for generating tags for the PHP ... | 2,868 |
390 | <filename>include/bm/bm_sim/parser_error.h
/* Copyright 2013-present Barefoot Networks, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE... | 1,302 |
959 | <reponame>goncalogteixeira/pyswarns
""" Pacakge for various utilities """
from .reporter.reporter import Reporter
__all__ = ["Reporter"]
| 48 |
335 | {
"word": "Prior",
"definitions": [
"Existing or coming before in time, order, or importance."
],
"parts-of-speech": "Adjective"
} | 65 |
1,501 | from litex.soc.cores.cpu.vexriscv_smp.core import VexRiscvSMP
| 32 |
9,516 | <reponame>ketyi/dgl
from pathlib import Path
import json
def main():
result_dir = Path(__file__).parent/ ".." / Path("results/")
for per_machine_dir in result_dir.iterdir():
if per_machine_dir.is_dir():
try:
machine_json = json.loads((per_machine_dir/"machine.json").read_tex... | 548 |
2,151 | <filename>media/gpu/android/avda_codec_allocator.cc
// Copyright 2016 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.
#include "media/gpu/android/avda_codec_allocator.h"
#include <stddef.h>
#include <memory>
#include ... | 6,905 |
2,151 | /*
* Copyright (C) 2011 The Android Open Source Project
*
* 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 app... | 6,908 |
1,194 | <gh_stars>1000+
package ca.uhn.fhir.jpa.bulk.imprt.job;
/*-
* #%L
* HAPI FHIR JPA Server
* %%
* Copyright (C) 2014 - 2022 Smile CDR, Inc.
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the Lice... | 939 |
12,718 | /**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the mingw-w64 runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
#ifndef __TRAFFIC_H
#define __TRAFFIC_H
#include <_mingw_unicode.h>
#include <ntddndis.h>
#ifdef __cpl... | 2,977 |
342 | <gh_stars>100-1000
/*
* Copyright 2001,2003-2005,2010-2011,2013,2015-2016 BitMover, Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2... | 879 |
1,073 | <gh_stars>1000+
//===-- SyntaxHighlighting.cpp ----------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===---------------------------------------... | 558 |
1,538 | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... | 2,737 |
14,668 | <reponame>zealoussnow/chromium
// Copyright 2020 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.
#ifndef ASH_CLIPBOARD_CLIPBOARD_HISTORY_ITEM_H_
#define ASH_CLIPBOARD_CLIPBOARD_HISTORY_ITEM_H_
#include "ash/ash_export.h... | 498 |
3,016 | # encoding: utf-8
# ******************************************************
# Author : zzw922cn
# Last modified: 2017-12-09 11:00
# Email : <EMAIL>
# Filename : functionDictUtils.py
# Description : Common function dictionaries for Automatic Speech Recognition
# *****************************************... | 354 |
3,788 | <gh_stars>1000+
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#include "pch.h"
#include "common.h"
#include "BreadcrumbIterable.h"
#include "BreadcrumbIterator.h"
BreadcrumbIterable::BreadcrumbIterable(... | 268 |
11,351 | package com.netflix.discovery.shared.transport.jersey;
import java.util.Collection;
import java.util.Optional;
import javax.net.ssl.HostnameVerifier;
import javax.net.ssl.SSLContext;
import com.netflix.appinfo.EurekaClientIdentity;
import com.netflix.appinfo.InstanceInfo;
import com.netflix.discovery.EurekaClientCon... | 1,504 |
466 | <filename>src/backend/gporca/libnaucrates/src/md/CMDIdRelStats.cpp
//---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2012 EMC Corp.
//
// @filename:
// CMDIdRelStats.cpp
//
// @doc:
// Implementation of mdids for relation statistics
//----------------... | 1,064 |
2,132 | /*
* This file is part of the OpenKinect Project. http://www.openkinect.org
*
* Copyright (c) 2010 individual OpenKinect contributors. See the CONTRIB file
* for details.
*
* <NAME> <<EMAIL>>
*
* This code is licensed to you under the terms of the Apache License, version
* 2.0, or, at your option, the terms of... | 4,591 |
529 | <filename>DeviceCode/pal/PKCS11/Object.h
#include "cryptoki.h"
struct Object_Cryptoki
{
private:
CK_OBJECT_HANDLE m_handle;
public:
CK_RV Copy(CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount, Object_Cryptoki* pObject);
CK_RV Destroy();
CK_RV GetSize(CK_ULONG_PTR pulSize);
CK_RV GetAttr... | 217 |
975 | <filename>test/insn/for_each.cc<gh_stars>100-1000
/* Copyright (C) 2017 <NAME> <<EMAIL>>
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
*/
#include "../utils/test_helpers.h"
#include "../utils... | 1,343 |
5,941 | /**
* WinPR: Windows Portable Runtime
* Schannel Security Package
*
* Copyright 2012 <NAME> <<EMAIL>>
*
* 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/l... | 4,014 |
438 | {
"DESCRIPTION": "Responde com um número aleatório.",
"USAGE": "aleatório <LowNum> <HighNum>",
"RESPONSE": "🎲 Número aleatório: {{NUMBER}}"
}
| 70 |
1,042 | /********************************************************************************
* ReactPhysics3D physics library, http://www.reactphysics3d.com *
* Copyright (c) 2010-2020 <NAME> *
*********************************************************************************
*... | 2,222 |
1,178 | // Copyright 2020 Makani Technologies LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ... | 20,896 |
4,262 | <filename>components/camel-ehcache/src/main/java/org/apache/camel/component/ehcache/EhcacheConfiguration.java
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright owne... | 3,083 |
2,996 | <filename>engine/src/main/java/org/terasology/engine/world/block/loader/AutoBlockProvider.java
// Copyright 2021 The Terasology Foundation
// SPDX-License-Identifier: Apache-2.0
package org.terasology.engine.world.block.loader;
import com.google.common.collect.Sets;
import org.terasology.gestalt.assets.AssetDataProduc... | 1,062 |
881 | <gh_stars>100-1000
/*
restinio
*/
/*!
Base64 implementation.
*/
#pragma once
#include <restinio/exception.hpp>
#include <restinio/expected.hpp>
#include <restinio/utils/impl/bitops.hpp>
#include <restinio/impl/include_fmtlib.hpp>
#include <string>
#include <array>
#include <exception>
#include <iostream> // std... | 2,415 |
1,337 | <filename>modules/desktop/src/com/haulmont/cuba/desktop/gui/components/DesktopWidgetsTree.java
/*
* Copyright (c) 2008-2016 Haulmont.
*
* 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
*
... | 1,598 |
497 |
class AnyNetCfg:
stem_type = "simple_stem_in"
stem_w = 32
block_type = "res_bottleneck_block"
depths = []
widths = []
strides = []
bot_muls = []
group_ws = []
se_on = True
se_r = 0.25
class RegNetCfg:
stem_type = "simple_stem_in"
stem_w = 32
block_type = "res_bott... | 240 |
1,025 | #import <UIKit/UIKit.h>
@interface CDEPropertyTableViewCell : UITableViewCell
#pragma mark - Properties
@property (nonatomic, strong) NSPropertyDescription *propertyDescription;
@property (nonatomic, strong) NSManagedObject *managedObject;
#pragma mark - UI
// propertyDescription and managedObject have to be set bef... | 106 |
679 | <gh_stars>100-1000
/**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF license... | 4,832 |
6,270 | [
{
"type": "feature",
"category": "EC2",
"description": "This release adds support for UEFI boot on selected AMD- and Intel-based EC2 instances."
},
{
"type": "feature",
"category": "Macie2",
"description": "This release of the Amazon Macie API adds support f... | 221 |
454 | <gh_stars>100-1000
package io.vertx.tp.plugin.jooq.condition.date;
import io.vertx.tp.plugin.jooq.condition.Term;
import io.vertx.up.util.Ut;
import org.jooq.Condition;
import org.jooq.Field;
import java.time.LocalDate;
import java.util.Date;
import java.util.function.Supplier;
public abstract class AbstractDTerm im... | 357 |
3,097 | //
// YPLiveViewController.h
// Wuxianda
//
// Created by MichaelPPP on 16/6/8.
// Copyright © 2016年 michaelhuyp. All rights reserved.
// 直播控制器
#import <UIKit/UIKit.h>
@interface YPLiveViewController : UIViewController
@end
| 101 |
831 | /*
* Copyright (C) 2017 The Android Open Source Project
*
* 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 app... | 353 |
1,345 | <reponame>MaksHess/napari<filename>napari/_qt/menus/window_menu.py
from typing import TYPE_CHECKING
from ...utils.translations import trans
from ._util import NapariMenu, populate_menu
if TYPE_CHECKING:
from ..qt_main_window import Window
class WindowMenu(NapariMenu):
def __init__(self, window: 'Window'):
... | 162 |
317 | //
// refract/dsd/String.cc
// librefract
//
// Created by <NAME> on 04/09/2017
// Copyright (c) 2017 Apiary Inc. All rights reserved.
//
#include "String.h"
#include "Traits.h"
using namespace refract;
using namespace dsd;
const char* String::name = "string";
static_assert(!supports_erase<String>::value, "");... | 443 |
16,989 | <reponame>jobechoi/bazel
// Copyright 2015 The Bazel Authors. All rights reserved.
//
// 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
//
/... | 1,192 |
1,144 | /* SPDX-License-Identifier: GPL-2.0+ */
/*
* (C) Copyright 2009
* <NAME>, STMicroelectronics, <<EMAIL>>
*/
#ifndef __CONFIG_H
#define __CONFIG_H
/*
* High Level Configuration Options
* (easy to change)
*/
#if defined(CONFIG_USBTTY)
#define CONFIG_SPEAR_USBTTY
#endif
#include <configs/spear-common.h>
/* Serial... | 352 |
348 | <reponame>chamberone/Leaflet.PixiOverlay
{"nom":"Saint-Géraud","circ":"2ème circonscription","dpt":"Lot-et-Garonne","inscrits":60,"abs":19,"votants":41,"blancs":7,"nuls":2,"exp":32,"res":[{"nuance":"FN","nom":"<NAME>","voix":16},{"nuance":"REM","nom":"M. <NAME>","voix":16}]} | 116 |
575 | <filename>services/cert_verifier/system_trust_store_provider_chromeos.cc<gh_stars>100-1000
// Copyright 2019 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.
#include "services/cert_verifier/system_trust_store_provider_ch... | 393 |
384 | # Generated by Django 3.1.6 on 2021-03-26 12:32
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('exporter', '0002_exporter_app_name'),
('user', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='user',... | 492 |
577 | package com.jhomlala.better_player;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.net.Uri;
import android.util.Log;
import androidx.annotation.NonNull;
import androidx.work.Data;
import androidx.work.Worker;
import androidx.work.WorkerParameters;... | 2,005 |
3,182 | package de.plushnikov.findusages;
import java.time.LocalDateTime;
interface StartEndable{
LocalDateTime getStart();
LocalDateTime getEnd();
}
| 48 |
395 | <filename>include/lighttpd/backends.h<gh_stars>100-1000
#ifndef _LIGHTTPD_BACKENDS_H_
#define _LIGHTTPD_BACKENDS_H_
#include <lighttpd/base.h>
enum liBackendResult {
LI_BACKEND_SUCCESS, /* got a connection */
LI_BACKEND_WAIT, /* establishing new connection, or waiting for a free slot */
LI_BACKEND_TIMEOUT /* wait ... | 1,231 |
9,957 | <gh_stars>1000+
from Crypto.Cipher import AES
from Crypto import Random
from binascii import b2a_hex
import sys
# get the plaintext
plain_text = sys.argv[1]
# The key length must be 16 (AES-128), 24 (AES-192), or 32 (AES-256) Bytes.
key = b'this is a 16 key'
# Generate a non-repeatable key vector with a length
# equ... | 406 |
1,334 | <reponame>sullis/mockserver
package org.mockserver.model;
import org.junit.Test;
import java.util.Arrays;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.containsInAnyOrder;
import static org.mockserver.model.Header.header;
import static org.mockserver.model.NottableString.st... | 486 |
1,645 | <filename>server/src/io/seldon/mf/RecentMfRecommender.java
/*
* Seldon -- open source prediction engine
* =======================================
*
* Copyright 2011-2015 Seldon Technologies Ltd and Rummble Ltd (http://www.seldon.io/)
*
* ****************************************************************************... | 2,584 |
14,668 | // Copyright 2021 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.
#ifndef CHROMEOS_SERVICES_BLUETOOTH_CONFIG_FAKE_DEVICE_CACHE_H_
#define CHROMEOS_SERVICES_BLUETOOTH_CONFIG_FAKE_DEVICE_CACHE_H_
#include "chromeos/servic... | 432 |
3,282 | // Copyright 2015 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.compositor.bottombar;
import org.chromium.content.browser.ContentViewCore;
/**
* The delegate that is notified when... | 233 |
1,615 | //
// MLNUILazyBlockTask.h
// ArgoUI
//
// Created by <NAME> on 2020/7/6.
//
#import "MLNUIBeforeWaitingTask.h"
NS_ASSUME_NONNULL_BEGIN
@interface MLNUILazyBlockTask : MLNUIBeforeWaitingTask
+ (instancetype)taskWithCallback:(void(^)(void))callabck taskID:(NSValue *)taskID;
@end
NS_ASSUME_NONNULL_END
| 133 |
890 | <filename>tests/smoke/organizations/locations/roles/schedules/base_schedule.py
from datetime import timedelta, datetime
from app.helpers import normalize_to_midnight
from tests.smoke.organizations.locations.roles.base_role import BaseRole
class BaseSchedule(BaseRole):
def setUp(self):
# (if you are copyin... | 1,054 |
335 | {
"word": "Perforation",
"definitions": [
"A hole made by boring or piercing.",
"A small hole or row of small holes punched in a sheet of paper, e.g. of postage stamps, so that a part can be torn off easily.",
"The action or state of perforating or being perforated."
],
"parts-of... | 126 |
649 | <filename>serenity-screenplay/src/main/java/net/serenitybdd/screenplay/questions/ConsequenceGroup.java
package net.serenitybdd.screenplay.questions;
import net.serenitybdd.screenplay.Actor;
import net.serenitybdd.screenplay.BaseConsequence;
import net.serenitybdd.screenplay.Question;
import net.serenitybdd.screenplay.... | 362 |
1,726 | <reponame>ChenChuang/gradient-checkpointing<filename>test/mem_util_test.py
# tests for memory tracking routines
import pytest
import tensorflow as tf
import mem_util
import util
size_mbs = 1 # size of nodes in MB
size = size_mbs * 250000
def _chain_backprop(n):
"""Creates forward backward graph using tf.gradie... | 1,861 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.