max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
2,338 | //===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 294 |
782 | /*
* Copyright (c) 2021, <NAME>. All Rights Reserved.
*
* This file is part of BoofCV (http://boofcv.org).
*
* 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... | 1,064 |
713 | <reponame>franz1981/infinispan
package org.infinispan.scattered.statetransfer;
import static org.testng.AssertJUnit.assertEquals;
import java.util.Collections;
import java.util.concurrent.BrokenBarrierException;
import java.util.concurrent.CyclicBarrier;
import java.util.concurrent.ExecutionException;
import java.uti... | 2,467 |
2,030 | <reponame>paultimothymooney/docker-python-2
import unittest
from sklearn import datasets
from rgf.sklearn import RGFClassifier
class TestRGF(unittest.TestCase):
def test_classifier(self):
iris = datasets.load_iris()
X, y = iris.data, iris.target
rgf = RGFClassifier(max_leaf=400,
... | 211 |
404 | package org.frameworkset.elasticsearch;
public class EventDeliveryException extends RuntimeException {
public EventDeliveryException() {
// TODO Auto-generated constructor stub
}
public EventDeliveryException(String message) {
super(message);
// TODO Auto-generated constructor stub
}
public EventDelivery... | 216 |
463 | <reponame>dentou/Hive2Hive
package org.hive2hive.core.events;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import java.io.File;
import java.io.IOException;
import java.util.List;
import org.apache.commons.io.FileUtils;
import org.hive2hive.core.events.framework.interfaces.fi... | 513 |
348 | {"nom":"Etretat","circ":"9ème circonscription","dpt":"Seine-Maritime","inscrits":1228,"abs":632,"votants":596,"blancs":63,"nuls":15,"exp":518,"res":[{"nuance":"REM","nom":"<NAME>","voix":375},{"nuance":"FN","nom":"<NAME>","voix":143}]} | 94 |
3,102 | // RUN: %clang_cc1 -std=c++1y -triple x86_64-linux-gnu -emit-llvm %s -o - | FileCheck %s
// CHECK: @x = global {{.*}} zeroinitializer
// CHECK: define {{.*}} @_Z1fv
inline auto f() {
int n = 0;
// CHECK: load i32
// CHECK: store i32
// CHECK: ret
return [=] () mutable { return ++n; };
}
auto x = f();
temp... | 342 |
1,459 | <filename>src/camlsnark_c/libsnark-caml/libsnark/gadgetlib1/gadgets/set_commitment/set_commitment_gadget.hpp
/** @file
*****************************************************************************
* @author This file is part of libsnark, developed by SCIPR Lab
* and contributors (see AUTHORS).
* @co... | 985 |
522 | <filename>plugins/sip/src/main/java/org/jivesoftware/sparkplugin/preferences/SipCodecsPreference.java
package org.jivesoftware.sparkplugin.preferences;
import javax.swing.Icon;
import javax.swing.JComponent;
import org.jivesoftware.resource.SparkRes;
import org.jivesoftware.spark.plugin.phone.resource.PhoneRes;
impor... | 842 |
1,144 | /*
* #%L
* de.metas.business
* %%
* Copyright (C) 2021 metas GmbH
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of the
* License, or (at your option) any later v... | 1,599 |
518 | //
// XHBaseCollectionViewController.h
// PinterestExample
//
// Created by dw_iOS on 14-7-21.
// Copyright (c) 2014年 嗨,我是曾宪华(@xhzengAIB),曾加入YY Inc.担任高级移动开发工程师,拍立秀App联合创始人,热衷于简洁、而富有理性的事物 QQ:543413507 主页:http://zengxianhua.com All rights reserved.
//
#import <UIKit/UIKit.h>
#import "XHUIKitMacro.h"
#import "UICol... | 308 |
2,854 | # Copyright 2021 Google 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 agreed to in writing, s... | 1,840 |
528 | from ..._utils import deprecated
from ...lib.cdc import ResetSynchronizer as NativeResetSynchronizer
__all__ = ["AsyncResetSynchronizer"]
@deprecated("instead of `migen.genlib.resetsync.AsyncResetSynchronizer`, "
"use `amaranth.lib.cdc.ResetSynchronizer`; note that ResetSynchronizer accepts "
... | 208 |
327 | <filename>dp/third-party/urcu/urcu/rculfqueue.h
#ifndef _URCU_RCULFQUEUE_H
#define _URCU_RCULFQUEUE_H
/*
* rculfqueue.h
*
* Userspace RCU library - Lock-Free RCU Queue
*
* Copyright 2010 - <NAME> <<EMAIL>>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU ... | 1,005 |
648 | {"resourceType":"SearchParameter","id":"CapabilityStatement-format","url":"http://hl7.org/fhir/SearchParameter/CapabilityStatement-format","name":"format","status":"draft","experimental":false,"date":"2017-04-19T07:44:43+10:00","publisher":"Health Level Seven International (FHIR Infrastructure)","contact":[{"telecom":[... | 198 |
575 | // 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 CHROME_BROWSER_UI_VIEWS_CHROME_TYPOGRAPHY_H_
#define CHROME_BROWSER_UI_VIEWS_CHROME_TYPOGRAPHY_H_
#include "base/macros.h"
#include "build/chrome... | 1,436 |
4,283 | <reponame>larrydiamond/hazelcast<filename>extensions/cdc-debezium/src/test/java/com/hazelcast/jet/cdc/DebeziumCdcIntegrationTest.java
/*
* Copyright (c) 2008-2021, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in complianc... | 11,561 |
3,459 | <reponame>ianclawson/Provenance
/******************************************************************************/
/* Mednafen Fast SNES Emulation Module */
/******************************************************************************/
/* ppu.h:
** Copyright (C) 2015-2019 Mednafe... | 1,209 |
1,459 | <reponame>BlockInfinity/libsnark<gh_stars>1000+
/** @file
*****************************************************************************
Declaration of interfaces for pairing-check gadgets.
Given that e(.,.) denotes a pairing,
- the gadget "check_e_equals_e_gadget" checks the equation "e(P1,Q1)=e(P2,Q2)"; and
- t... | 1,682 |
410 | // Copyright (c) 2014 <NAME><<EMAIL>>
package com.iwebpp.node.api;
import java.util.LinkedList;
import java.util.List;
import com.iwebpp.EventHandler;
import com.iwebpp.node.NodeContext;
/*
* @description
* SimpleApi run node-android context in a separate thread,
* and communicate with UI thread through E... | 557 |
1,354 | /**
*
*/
package com.javaaid.hackerrank.solutions.languages.java.bignumber;
import java.math.BigInteger;
import java.util.Scanner;
/**
* @author <NAME>
*
*/
public class JavaPrimalityTest {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
BigInteger n = in.next... | 172 |
2,530 | <filename>node_modules/react-native-icons/ios/ReactNativeIcons/Libraries/FontAwesomeKit/FAKZocial.h
#import "FAKIcon.h"
@interface FAKZocial : FAKIcon
// Generated Code
+ (instancetype)acrobatIconWithSize:(CGFloat)size;
+ (instancetype)amazonIconWithSize:(CGFloat)size;
+ (instancetype)androidIconWithSize:(CGFloat)siz... | 2,158 |
2,542 | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#include "stdafx.h"
#include "... | 1,135 |
521 | <reponame>Andrik-555/retdec
/**
* @file include/retdec/bin2llvmir/optimizations/stack_pointer_ops/stack_pointer_ops.h
* @brief Remove the remaining stack pointer operations.
* @copyright (c) 2017 Avast Software, licensed under the MIT license
*/
#ifndef RETDEC_BIN2LLVMIR_OPTIMIZATIONS_STACK_POINTER_OPS_STACK_POINTER_O... | 385 |
488 | // t0161.cc
// multiple introduction of alias base class members
struct B {
int f();
};
struct D : B {
using B::f;
//ERROR(1): using B::f;
};
| 60 |
655 | package com.tmall.pokemon.bulbasaur.persist;
import com.tmall.pokemon.bulbasaur.core.CoreModule;
import com.tmall.pokemon.bulbasaur.core.Machine;
import com.tmall.pokemon.bulbasaur.core.Result;
import com.tmall.pokemon.bulbasaur.core.annotation.NeedDAOMeta;
import com.tmall.pokemon.bulbasaur.core.model.StateLike;
impo... | 6,633 |
7,737 | <gh_stars>1000+
extern zend_class_entry *phalcon_15__closure_ce;
ZEPHIR_INIT_CLASS(phalcon_15__closure);
PHP_METHOD(phalcon_15__closure, __invoke);
ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_15__closure___invoke, 0, 0, 5)
ZEND_ARG_INFO(0, number)
ZEND_ARG_INFO(0, message)
ZEND_ARG_INFO(0, file)
ZEND_ARG_INFO(0, lin... | 259 |
1,144 | /* Copyright 2015-present Samsung Electronics Co., Ltd. and other contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* U... | 445 |
2,762 | <reponame>artembo/tarantool
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>
static ssize_t
read_safe(int pfd, char *dest, ssize_t bytes)
{
ssize_t left = bytes;
ssize_t off = 0;
while (left > 0) {
ssize_t nr = read(pfd, &dest[off], left);
if (nr < 0) {
if (e... | 1,061 |
488 | <gh_stars>100-1000
// template<T> operator T*
// originally found in package djvulibre_3.5.14-2
// k0047.cc:14:36: error: there is no type called `T'
// ERR-MATCH: there is no type called
template <class T> struct S1 {
operator T*();
};
template <class T> S1<T>::operator T*()
{
T *p = new T;
return p;
... | 161 |
1,070 | <reponame>matthewjrobinson/gnucash-android<filename>app/src/main/java/org/gnucash/android/ui/transaction/dialog/TransferFundsDialogFragment.java<gh_stars>1000+
/*
* Copyright (c) 2015 <NAME> <<EMAIL>>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in complianc... | 4,368 |
595 |
/*
* Copyright (C) <NAME>
* Copyright (C) NGINX, Inc.
*/
#ifndef _NJS_ENCODING_H_INCLUDED_
#define _NJS_ENCODING_H_INCLUDED_
extern const njs_object_type_init_t njs_text_encoder_type_init;
extern const njs_object_type_init_t njs_text_decoder_type_init;
#endif /* _NJS_ENCODING_H_INCLUDED_ */
| 138 |
3,442 | <filename>src/net/java/sip/communicator/impl/gui/main/chat/replacers/URLReplacer.java
/*
* 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 ... | 1,069 |
640 | /*-----------------------------------------------------------------------
第11章 PE文件格式
《加密与解密(第四版)》
(c) 看雪学院 www.kanxue.com 2000-2018
-----------------------------------------------------------------------*/
#include "stdafx.h"
#include "resource.h"
#include "DataDirDlg.h"
#include "ExportDlg.h"
#include ... | 1,587 |
777 | <gh_stars>100-1000
// 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.
#include "content/browser/bad_message.h"
#include "base/bind.h"
#include "base/debug/crash_logging.h"
#include "base/debug/dump_withou... | 803 |
1,016 | package com.thinkbiganalytics.alerts.rest.model;
/*-
* #%L
* thinkbig-alerts-model
* %%
* Copyright (C) 2017 ThinkBig Analytics
* %%
* 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
* ... | 792 |
1,093 | /*
* Copyright 2002-2019 the original author or 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 1,503 |
2,113 | <gh_stars>1000+
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
// Arcane-FX for MIT Licensed Open Source version of Torque 3D from GarageGames
// Copyright (C) 2015 Faust Logic, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of th... | 1,881 |
4,857 | /**
* 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... | 2,071 |
2,085 | import spacy
# Carga el modelo "es_core_news_sm"
nlp = spacy.load("es_core_news_sm")
text = (
"De acuerdo con la revista Fortune, Apple fue la empresa "
"más admirada en el mundo entre 2008 y 2012."
)
# Procesa el texto
doc = nlp(text)
# Imprime en pantalla el texto del documento
print(doc.text)
| 126 |
410 | /**
* @file
* This module is deprecated and exists only for backwards compatibility.
*/
#ifndef ML99_CONTROL_H
#define ML99_CONTROL_H
#include <metalang99/bool.h> // ML99_if, ML99_IF
#include <metalang99/gen.h> // ML99_times, ML99_repeat
#include <metalang99/variadics.h> // ML99_OVERLOAD
#endif // ML99... | 135 |
2,816 | import duckdb
import numpy
class TestBoolean(object):
def test_bool(self, duckdb_cursor):
duckdb_cursor.execute("SELECT TRUE")
results = duckdb_cursor.fetchall()
assert results[0][0] == True | 89 |
348 | <gh_stars>100-1000
{"nom":"Creuzier-le-Vieux","circ":"3ème circonscription","dpt":"Allier","inscrits":2842,"abs":1312,"votants":1530,"blancs":22,"nuls":6,"exp":1502,"res":[{"nuance":"REM","nom":"Mme <NAME>","voix":599},{"nuance":"LR","nom":"<NAME>","voix":311},{"nuance":"FN","nom":"<NAME>","voix":171},{"nuance":"RDG","... | 268 |
1,030 | {
"requiredRetentionDays": {
"type": "String",
"defaultValue": "365",
"metadata": {
"displayName": "Required retention (days)",
"description": "The required diagnostic logs retention in days"
}
}
}
| 111 |
553 |
/* lua_debugger.c */
#if __cplusplus
extern "C" {
#endif
#include "lua.h"
#include "lauxlib.h"
#include "lua_debugger.h"
/* debugger */
static const char lua_m_debugger[] = {
0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,
0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x2d,0x... | 628,939 |
5,272 | <filename>PLMMPRJK/PLMMPRJK/Classes/BSJie/View/BSJTopicCmtCell.h
//
// BSJTopicCmtCell.h
// PLMMPRJK
//
// Created by HuXuPeng on 2017/6/4.
// Copyright © 2017年 GoMePrjk. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "BSJComment.h"
@interface BSJTopicCmtCell : UITableViewCell
+ (instancetype)cmtCellWit... | 186 |
921 | <filename>src/main/java/com/vladsch/md/nav/psi/element/MdAttributes.java
// Copyright (c) 2015-2020 <NAME> <<EMAIL>> Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.vladsch.md.nav.psi.element;
import org.jetbrains.annotations.NotNull;
import org.jetbrain... | 203 |
412 | public class StringValueOf06
{
public static void main(String[] args)
{
int integerValue = 7;
String tmp=String.valueOf(integerValue);
assert tmp.equals("77");
}
}
| 74 |
613 | <filename>src/api/java/mezz/jei/api/registration/IAdvancedRegistration.java
package mezz.jei.api.registration;
import mezz.jei.api.IModPlugin;
import mezz.jei.api.helpers.IJeiHelpers;
import mezz.jei.api.recipe.advanced.IRecipeManagerPlugin;
/**
* The IAdvancedRegistration instance is passed to your mod plugin in {@... | 188 |
1,408 | <filename>include/lib/cpus/aarch64/cortex_hayes.h
/*
* Copyright (c) 2021, Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef CORTEX_HAYES_H
#define CORTEX_HAYES_H
#define CORTEX_HAYES_MIDR U(0x410FD800)
/********************************************************************... | 275 |
678 | <reponame>bzxy/cydia<gh_stars>100-1000
/**
* This header is generated by class-dump-z 0.2b.
*
* Source: /System/Library/PrivateFrameworks/HomeSharing.framework/HomeSharing
*/
#import <HomeSharing/HSRequest.h>
@interface HSBulkAddPlaylistRequest : HSRequest {
}
+ (id)requestWithDatabaseID:(unsigned)databaseID ses... | 219 |
628 | <reponame>gaybro8777/osf.io
# -*- coding: utf-8 -*-
# Generated by Django 1.11.15 on 2018-10-16 20:22
from __future__ import unicode_literals
from django.db import migrations
OLD_NAME = 'AsPredicted Preregistration'
NEW_NAME = 'Preregistration Template from AsPredicted.org'
def rename_schema(model, from_name, to_nam... | 458 |
474 | <gh_stars>100-1000
// Copyright 2019 ETH Zürich, <NAME>
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice,
// this list of conditions an... | 17,237 |
1,697 | package iot.technology.actor;
import iot.technology.actor.core.ActorRef;
import iot.technology.actor.message.ActorId;
import iot.technology.actor.message.ActorMsg;
import java.util.List;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.ScheduledExecutorService;
import java.util.function.Predic... | 361 |
1,062 | <reponame>icarazob/mr4c
/**
* Copyright 2014 Google 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.... | 1,402 |
713 | <reponame>franz1981/infinispan
package org.infinispan.rest.cachemanager.exceptions;
import org.infinispan.commons.CacheException;
public class CacheUnavailableException extends CacheException {
public CacheUnavailableException(String msg) {
super(msg);
}
}
| 86 |
720 | from copy import copy
import cloudpickle
from sortedcontainers import SortedDict, SortedSet
from adaptive.learner.base_learner import BaseLearner
class _IgnoreFirstArgument:
"""Remove the first argument from the call signature.
The SequenceLearner's function receives a tuple ``(index, point)``
but the ... | 1,786 |
963 | {
"parser": "@typescript-eslint/parser",
"extends": [
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/ban-ts-comment": ... | 243 |
393 |
#ifndef __UNITYHELPERS__
#define __UNITYHELPERS__
#include <string>
#include <sstream>
#include "mTypes.h"
#include "IUnityInterface.h"
enum ELogLevel{
ELL_INFO,
ELL_SUCCESS,
ELL_WARNING,
ELL_ERROR
};
extern void LogMessage(const std::string& msg, ELogLevel level);
extern float GetEngineTime();
extern void Bli... | 265 |
1,230 | <filename>tests/test_case1/main.cpp
#include <Windows.h>
#include <iostream>
//#define WITH_MESSAGE //only for manual tests
int get_date()
{
SYSTEMTIME SystemTime;
GetSystemTime(&SystemTime);
char pszDate[200];
GetDateFormatA( LOCALE_USER_DEFAULT, DATE_LONGDATE, &SystemTime, NULL, pszDate, 200 );
... | 267 |
2,360 | # Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class Kubernetes(Package):
"""Kubernetes is an open source system for managing containerized
... | 405 |
1,481 | package apoc.refactor.util;
import apoc.refactor.GraphRefactoring;
import apoc.util.ArrayBackedList;
import apoc.util.TestUtil;
import apoc.util.Util;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.neo4j.graphdb.Node;
import org.neo4j.graphdb.Relationship;
import org.neo4j.graphdb.Tr... | 3,248 |
348 | {"nom":"Brivezac","circ":"2ème circonscription","dpt":"Corrèze","inscrits":149,"abs":58,"votants":91,"blancs":0,"nuls":17,"exp":74,"res":[{"nuance":"REM","nom":"Mme <NAME>","voix":47},{"nuance":"LR","nom":"Mme <NAME>","voix":27}]} | 94 |
6,197 | package com.kickstarter.models;
import android.os.Parcelable;
import com.kickstarter.libs.qualifiers.AutoGson;
import androidx.annotation.Nullable;
import java.util.Objects;
import auto.parcel.AutoParcel;
@AutoGson
@AutoParcel
public abstract class Location implements Parcelable, Relay {
public abstract long id... | 652 |
3,603 | <filename>core/trino-main/src/test/java/io/trino/execution/scheduler/TestFileBasedNetworkTopology.java
/*
* 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/lice... | 1,493 |
937 | package com.oath.cyclops.internal.stream.spliterators.push;
import cyclops.data.Seq;
import java.util.function.Consumer;
/**
* Created by johnmcclean on 12/01/2017.
*/
public class MultiCastOperator<T> extends BaseOperator<T,T> {
public MultiCastOperator(Operator<T> source,int expect){
super(source... | 619 |
373 | // Crypto/ZipStrong.h
#ifndef __CRYPTO_ZIP_STRONG_H
#define __CRYPTO_ZIP_STRONG_H
#include "../../Common/MyBuffer.h"
#include "../IPassword.h"
#include "MyAes.h"
namespace NCrypto {
namespace NZipStrong {
/* ICompressFilter::Init() does nothing for this filter.
Call to init:
Decoder:
[CryptoSetPasswor... | 438 |
1,133 | <filename>app/localization/locales/bg/translation.json
{
"Hello": "Здравейте",
"File": "Файл",
"Exit": "Изход",
"Edit": "Pедактиране",
"Undo": "Отмяна",
"Redo": "Повторно",
"Cut": "Разрез",
"Copy": "копие",
"Paste": "Поставете",
"Delete": "Изтрий",
"Select All": "Избери всички",
"View": "Изглед"... | 565 |
1,848 | <reponame>pcwalton/rust-bindgen
class VirtualMethods {
virtual void foo();
};
template<typename K>
class Set {
int bar;
};
class ServoElementSnapshotTable
: public Set<VirtualMethods>
{};
| 68 |
474 | <filename>QNShortVideo-With-TuTu-iOS/tusdkfilterprocessormodule/tusdkfilterprocessormodule/Views/FilterView/FilterPanelView.h<gh_stars>100-1000
//
// FilterListView.h
// TuSDKVideoDemo
//
// Created by bqlin on 2018/7/23.
// Copyright © 2018年 TuSDK. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "OverlayV... | 318 |
1,587 | package io.reflectoring.conditionals.conditionalonjndi;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import static org.assertj.core.api.Assertions.*;
@SpringBootTest(classes = OnJndiModule.class)
class On... | 162 |
1,350 | <reponame>Shashi-rk/azure-sdk-for-java
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.containerregistry.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.... | 569 |
348 | <gh_stars>100-1000
{"nom":"<NAME>","circ":"19ème circonscription","dpt":"Nord","inscrits":2095,"abs":1204,"votants":891,"blancs":13,"nuls":7,"exp":871,"res":[{"nuance":"FN","nom":"<NAME>","voix":287},{"nuance":"MDM","nom":"M<NAME>","voix":167},{"nuance":"FI","nom":"M. <NAME>","voix":150},{"nuance":"SOC","nom":"Mme <NAM... | 268 |
2,829 | <reponame>HuangLED/euler<filename>tf_euler/python/mp_utils/base_gnn.py<gh_stars>1000+
# Copyright 2020 Alibaba Group Holding Limited. 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... | 2,971 |
4,036 | <filename>java/ql/test/stubs/jsr223-api/javax/script/ScriptContext.java
package javax.script;
public interface ScriptContext {} | 43 |
3,262 | <reponame>sunhay/halley<filename>src/engine/utils/include/halley/file_formats/json_forward.h<gh_stars>1000+
/*****************************************************************\
__
/ /
/ / __ __
/ /______ _______ / / / / ________ __ __
/ ______ \ /_____ ... | 498 |
764 | {"symbol": "BTCT","address": "0x820A8481451e893Bc66DCe50C84d45617CaC3705","overview":{"en": ""},"email": "","website": "https://bitcointrue.org/","state": "NORMAL","links": {"blog": "https://bitcointrue.org/#blog","twitter": "https://twitter.com/BitcoinTrue2","telegram": "","github": ""}} | 107 |
348 | {"nom":"Espirat","circ":"4ème circonscription","dpt":"Puy-de-Dôme","inscrits":297,"abs":160,"votants":137,"blancs":28,"nuls":6,"exp":103,"res":[{"nuance":"MDM","nom":"<NAME>","voix":67},{"nuance":"LR","nom":"<NAME>","voix":36}]} | 95 |
2,072 | <filename>databuilder/databuilder/extractor/es_metadata_extractor.py
# Copyright Contributors to the Amundsen project.
# SPDX-License-Identifier: Apache-2.0
import json
from typing import (
Dict, Iterator, Optional, Union,
)
from databuilder.extractor.es_base_extractor import ElasticsearchBaseExtractor
from databu... | 2,072 |
988 | <gh_stars>100-1000
//------------------------------------------------------------------------------
// GB_AxB_saxpy3_coarseGus_notM_phase1: symbolic coarse Gustavson, with !M
//------------------------------------------------------------------------------
// SuiteSparse:GraphBLAS, <NAME>, (c) 2017-2021, All Rights Res... | 1,126 |
721 | <filename>enderio-base/src/main/java/crazypants/enderio/base/potion/PotionUtil.java<gh_stars>100-1000
package crazypants.enderio.base.potion;
import javax.annotation.Nonnull;
import net.minecraft.init.Items;
import net.minecraft.init.PotionTypes;
import net.minecraft.item.ItemStack;
import net.minecraft.potion.Potion... | 1,281 |
3,777 | """
This module handles server and client certificates for ajenti.
"""
import json
import random
import socket
import OpenSSL.crypto
import base64
import aj
from jadi import component
from aj.api.http import url, HttpPlugin
from aj.api.endpoint import endpoint
@component(HttpPlugin)
class Handler(HttpPlugin):
... | 2,073 |
4,403 | package cn.hutool.crypto.test.symmetric;
import cn.hutool.core.util.CharsetUtil;
import cn.hutool.core.util.RandomUtil;
import cn.hutool.crypto.symmetric.ZUC;
import org.junit.Assert;
import org.junit.Test;
public class ZucTest {
@Test
public void zuc128Test(){
final byte[] secretKey = ZUC.generateKey(ZUC.ZUCAlg... | 441 |
305 | #ifndef RENDERER_H_
#define RENDERER_H_
#include <SDL.h>
#include "color.h"
#include "math/vec.h"
#include "math/triangle.h"
// TODO(#474): there are no logging SDL wrappers (similar to system/nth_alloc)
int draw_triangle(SDL_Renderer *render,
Triangle t);
int fill_triangle(SDL_Renderer *render,
... | 226 |
372 | /*
* Copyright © BeyondTrust Software 2004 - 2019
* 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
*
* Un... | 3,833 |
977 | <filename>src/test/java/io/leangen/graphql/NonNullTest.java
package io.leangen.graphql;
import graphql.Scalars;
import graphql.schema.GraphQLFieldDefinition;
import graphql.schema.GraphQLSchema;
import io.leangen.graphql.annotations.GraphQLArgument;
import io.leangen.graphql.annotations.GraphQLInputField;
import io.le... | 1,074 |
4,054 | <reponame>Anlon-Burke/vespa<filename>searchlib/src/main/java/com/yahoo/searchlib/expression/BoolResultNode.java
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.searchlib.expression;
import com.yahoo.vespa.objects.Deserializer;
import com.yahoo.... | 891 |
479 | // 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 applicable ... | 1,964 |
926 | <gh_stars>100-1000
{
"modelName": "Post",
"queryPredicate": null,
"queryPagination": null,
"querySort": null
}
| 54 |
301 | <reponame>jonghenhan/iotivity<filename>bridging/plugins/lifx_plugin/lifx_objects/lifx.cpp
//******************************************************************
//
// Copyright 2017 Intel Mobile Communications GmbH All Rights Reserved.
//
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
//
// Licensed u... | 3,281 |
11,356 | /* Copyright © 2017 Apple Inc. All rights reserved.
*
* Use of this source code is governed by a BSD-3-clause license that can
* be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause
*/
#include <core/system/cppipc/cppipc.hpp>
#include "test_object_base.hpp"
int main(int argc, char** ... | 408 |
852 | import FWCore.ParameterSet.Config as cms
# This modifier is used to adapt input configurations of tau producers if input files with old tau ID format are used.
tau_readOldDiscriminatorFormat = cms.Modifier()
| 58 |
460 | <gh_stars>100-1000
#include "../../../tools/designer/src/lib/shared/actionrepository_p.h"
| 37 |
14,668 | <filename>chrome/browser/permissions/last_tab_standing_tracker_tab_helper.cc
// 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.
#include "chrome/browser/permissions/last_tab_standing_tracker_tab_helper.h"
... | 594 |
3,269 | <reponame>Sourav692/FAANG-Interview-Preparation
# Time: O(|V| + |E|) = O(|E|) since graph is connected, O(|E|) >= O(|V|)
# Space: O(|V| + |E|) = O(|E|)
class Solution(object):
def networkBecomesIdle(self, edges, patience):
"""
:type edges: List[List[int]]
:type patience: List[int]
... | 584 |
373 | /*
* #%L
* ACS AEM Commons Bundle
* %%
* Copyright (C) 2013 Adobe
* %%
* 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
*
* Unle... | 1,251 |
12,278 | #!/usr/bin/env python
# Copyright 2015 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from collections import namedtuple
from os import path
import search_related_commits
import shutil
from subprocess import Popen, PIPE... | 3,225 |
439 | // Copyright 2015 Google 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
//
// Unless required by applicable ... | 461 |
356 | <gh_stars>100-1000
/* Copyright 2013 Google Inc.
Licensed under Apache 2.0: http://www.apache.org/licenses/LICENSE-2.0.html
Source - https://gist.github.com/broady/6314689
Video - https://www.youtube.com/watch?v=WKfZsCKSXVQ&feature=youtu.be
*/
package org.onebusaway.android.map.googlemapsv2;
import com.go... | 2,307 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.