max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
317 | <reponame>neha03071990/tutorial-examples
/**
* Copyright (c) 2014 Oracle and/or its affiliates. All rights reserved.
*
* You may not modify, use, reproduce, or distribute this software except in
* compliance with the terms of the License at:
* https://github.com/javaee/tutorial-examples/LICENSE.txt
*/
pac... | 300 |
1,338 | {
"enterConferenceNameOrUrl": "Entrez un nom pour votre conférence ou une URL Jitsi",
"go": "Rejoindre",
"help": "Aide",
"termsLink": "Conditions d'utilisation",
"privacyLink": "Politique de confidentialité",
"sendFeedbackLink": "Envoyer des commentaires",
"aboutLink": "A propos",
"sourceLink": "Code so... | 797 |
2,329 | <filename>shenyu-admin/src/main/java/org/apache/shenyu/admin/utils/ShenyuDictH2Trigger.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 ownership.
* The ASF ... | 757 |
1,176 | // Copyright (c) 2014 <NAME>.
// See the LICENSE file.
//
#include "src/browser/session/thrust_session_visitedlink_store.h"
#include "url/gurl.h"
#include "content/public/browser/browser_thread.h"
#include "src/browser/session/thrust_session.h"
#include "src/browser/visitedlink/visitedlink_master.h"
using namespace ... | 515 |
465 | #include "realtime_srv/net/ClientProxy.h"
#include "realtime_srv/net/NetworkMgr.h"
#include "realtime_srv/game_obj/GameObj.h"
using namespace realtime_srv;
GameObj::GameObj() :
isPendingToDie_(false),
hasMaster_(false),
objId_(0)
{}
void GameObj::SetStateDirty(uint32_t repState)
{
assert(networkMgr_);
networkM... | 426 |
376 |
extern zend_class_entry *ice_validation_validator_notin_ce;
ZEPHIR_INIT_CLASS(Ice_Validation_Validator_NotIn);
PHP_METHOD(Ice_Validation_Validator_NotIn, validate);
ZEND_BEGIN_ARG_INFO_EX(arginfo_ice_validation_validator_notin_validate, 0, 0, 2)
ZEND_ARG_OBJ_INFO(0, validation, Ice\\Validation, 0)
ZEND_ARG_INFO(0... | 239 |
434 | <gh_stars>100-1000
/*
* TP-LINK TL-WR1041 v2 board support
*
* Copyright (C) 2010-2012 <NAME> <<EMAIL>>
* Copyright (C) 2011-2012 <NAME> <<EMAIL>>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the... | 2,232 |
5,142 | # Copyright (c) 2016-2019 Uber Technologies, 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 required by applicable law or a... | 713 |
337 | /**
* synflood API generated from synflood.yang
*
* NOTE: This file is auto generated by polycube-codegen
* https://github.com/polycube-network/polycube-codegen
*/
/* Do not edit this file manually */
/*
* SynfloodApiImpl.h
*
*
*/
#pragma once
#include <memory>
#include <map>
#include <mutex>
#include "../Synfloo... | 604 |
346 | void star1(const int n, prk::vector<double> & in, prk::vector<double> & out) {
auto dim = ranges::views::iota(1,n-1);
auto inside = ranges::views::cartesian_product(dim,dim);
for (auto ij : inside) {
auto [i, j] = ij;
out[i*n+j] += +in[(i)*n+(j-1)] * -0.5
+in[(i... | 34,453 |
473 | /*
* Copyright (c) 2014 Kaprica Security, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, mer... | 2,273 |
636 | package org.hyperledger.indy.sdk.ledger;
import org.hyperledger.indy.sdk.IndyIntegrationTest;
import org.json.JSONObject;
import org.junit.Test;
public class AuthorAgreementRequestTest extends IndyIntegrationTest {
private String TEXT = "indy agreement";
private String VERSION = "1.0.0";
@Test
public void test... | 1,044 |
348 | <reponame>chamberone/Leaflet.PixiOverlay
{"nom":"Solesmes","circ":"4ème circonscription","dpt":"Sarthe","inscrits":1087,"abs":465,"votants":622,"blancs":30,"nuls":13,"exp":579,"res":[{"nuance":"LR","nom":"M. <NAME>","voix":391},{"nuance":"SOC","nom":"M. <NAME>","voix":188}]} | 115 |
715 | <reponame>JVuns/Driver-Log-Recorder---Final-Project
import numpy as np
from PIL import Image, ImageDraw, ImageFont, ImageMath
from pyray.rotation import general_rotation, planar_rotation, axis_rotation,\
rotate_point_about_axis
from pyray.shapes.twod.plot import Canvas
from pyray.axes import ZigZagPath
import pyray... | 5,562 |
5,169 | <reponame>Gantios/Specs<gh_stars>1000+
{
"name": "Retrofire",
"version": "1.0",
"summary": "Simply and elegant HTTP Networking in Swift. Based on Alamofire and Retrofit",
"description": "Retrofire is a framework written in swift that generate API requests and build models elegantly. We combine two powerful libs... | 415 |
2,151 | // Copyright (c) 2012 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 "remoting/host/dns_blackhole_checker.h"
#include "base/callback_helpers.h"
#include "net/url_request/url_fetcher.h"
#include "net/url_reques... | 928 |
358 | # -*- coding: utf-8 -*-
# pyswip -- Python SWI-Prolog bridge
# Copyright (c) 2007-2018 <NAME>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limit... | 644 |
309 | custom_params = {}
custom_params['model_dir'] = 'nn_models/pb_only/model_data/'
custom_params['out_dir'] = 'output/pb_only/'
custom_params['feat_mask'] = [0.0, 0.0, 0.0, 1.0, 0.0]
| 79 |
736 | <gh_stars>100-1000
#include "StdAfx.h"
#include "InjectionBuffer.h"
namespace FSecure::WinTools
{
InjectionBuffer::InjectionBuffer(FSecure::ByteView code) : m_Size(code.size())
{
// Allocate memory as R/W
auto codePointer = VirtualAlloc(0, m_Size, MEM_COMMIT, PAGE_READWRITE);
if (!codePointer)
throw std::ru... | 378 |
7,471 | <filename>DearPyGui/src/ui/Theming/mvImGuiColors.h
#pragma once
#define mvImGuiCol_Text mvColor(255, 255, 255, 255)
#define mvImGuiCol_TextSelectedBg mvColor(66, 150, 250, 51)
#define mvImGuiCol_TextDisabled mvColor(128, 128, 128, 255)
#define mvImGuiCol_WindowBg mvColor(15, 15, 15, 240)
#define mvImGuiCol_ChildBg mvC... | 1,759 |
3,073 | /* j/2/scag.c
**
*/
#include "all.h"
u3_noun
u3qb_scag(u3_atom a, u3_noun b)
{
if ( u3_nul == b ) {
return u3_nul;
}
else if ( !_(u3a_is_cat(a)) ) {
return u3m_bail(c3__fail);
}
else {
u3_noun pro;
u3_noun* lit = &pro;
{
c3_w len_w = (c3_w)a;
u3_noun* hed;
u3_noun* t... | 493 |
1,144 | package de.metas.bpartner.service;
import de.metas.bpartner.BPGroupId;
import de.metas.bpartner.BPartnerId;
import de.metas.bpartner.name.strategy.BPartnerNameAndGreetingStrategyId;
import de.metas.util.ISingletonService;
import lombok.NonNull;
import org.adempiere.service.ClientId;
import org.compiere.model.I_C_BP_Gr... | 587 |
3,976 | <filename>Jaccorot/0010/0010.py
#!/usr/bin/python
#coding=utf-8
"""
第 0010 题:使用 Python 生成字母验证码图片
"""
from PIL import Image, ImageDraw, ImageFont, ImageFilter
import random
IMAGE_MODE = 'RGB'
IMAGE_BG_COLOR = (255,255,255)
Image_Font = 'arial.ttf'
text = ''.join(random.sample('abcdefghijklmnopqrstuvwxyz\
ABCDEFGHIJ... | 624 |
4,020 | <gh_stars>1000+
package me.coley.recaf.util;
import org.objectweb.asm.tree.AbstractInsnNode;
import java.lang.reflect.Field;
import static org.objectweb.asm.Opcodes.*;
/**
* Instruction level utilities.
*
* @author Matt
*/
public class InsnUtil {
private static Field INSN_INDEX;
/**
* @param opcode
* I... | 864 |
311 | <reponame>zcf7822/joyqueue<gh_stars>100-1000
package org.joyqueue.broker.network.command;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import org.joyqueue.network.command.CommandType;
import org.joyqueue.network.transport.command.JoyQueuePayload;
import java.util.List;
import java.ut... | 1,788 |
349 | #!/usr/bin/python
# -*- coding: utf-8 -*-
# monkey 任务
from library.api.db import EntityModel, db
class Monkey(EntityModel):
ACTIVE = 0
DISABLE = 1
TEST_TYPE = {'monkey': 1, 'performance': 2}
app_name = db.Column(db.String(100)) # app 名称,例如:萌推
package_name = db.Column(db.String(100)) # 要测试的包名
... | 2,525 |
1,354 | <reponame>erraghawmishra/HackerRank-All-Solutions-in-Java<filename>HackerRankDashboard/CoreCS/Algorithms/src/main/java/com/javaaid/hackerrank/solutions/algorithms/sorting/LuckBalance.java<gh_stars>1000+
/**
*
* Problem Statement-
* [Luck Balance](https://www.hackerrank.com/challenges/luck-balance/problem)
*
... | 818 |
1,068 | <gh_stars>1000+
#include "mini.h"
#ifdef DEBUG_MODE
#include "leaktracker.h"
#endif
#define STYPE_NULL 0
#define STYPE_SECTION 1
#define STYPE_KEY 2
#define SINI_MAX_SIZE 4096
SSECTION * newSECTION( const char * name ) {
SSECTION * newSection = NULL ;
if( name==NULL ) return NULL ;
if( strlen(name)<=0 ) return ... | 6,696 |
9,717 | /*
* LD_PRELOAD trick to make c3pldrv handle the absolute path to /usr/{bin,lib,share)}.
* As c3pldrv is a 32 bit executable, /lib will be rewritten to /lib32.
*
* Usage:
* gcc -shared -fPIC -DOUT="$out" preload.c -o preload.so -ldl
* LD_PRELOAD=$PWD/preload.so ./c3pldrv
*/
#define _GNU_SOURCE
#include <std... | 811 |
5,081 | <filename>app/src/main/java/com/example/jingbin/cloudreader/adapter/NavigationAdapter.java
package com.example.jingbin.cloudreader.adapter;
import com.example.jingbin.cloudreader.R;
import com.example.jingbin.cloudreader.bean.wanandroid.NaviJsonBean;
import com.example.jingbin.cloudreader.databinding.ItemNavigationBin... | 547 |
651 | package com.ncipher.nfast.marshall;
public class M_Act_Details_NVMemOpPerms extends M_Act_Details implements Marshallable {
public static final int perms_Read = 1;
public static final int perms_Write = 2;
public static final int perms_GetACL = 1024;
public M_Act_Details_NVMemOpPerms(long var1) {
throw new... | 119 |
435 | <gh_stars>100-1000
{
"copyright_text": "Standard YouTube License",
"description": "",
"duration": 2322,
"language": "ita",
"recorded": "2016-06-23",
"related_urls": [],
"speakers": [
"<NAME>"
],
"tags": [],
"thumbnail_url": "https://i.ytimg.com/vi/FMAG3XOzgwg/maxresdefault.jpg",
"title": "Intr... | 211 |
1,025 | package com.baidu.unbiz.fluentvalidator.validator;
import com.baidu.unbiz.fluentvalidator.Validator;
import com.baidu.unbiz.fluentvalidator.ValidatorContext;
import com.baidu.unbiz.fluentvalidator.ValidatorHandler;
import com.baidu.unbiz.fluentvalidator.error.CarError;
import com.baidu.unbiz.fluentvalidator.support.Me... | 323 |
2,338 | <reponame>jhh67/chapel
//===-- unittests/Tooling/RecursiveASTVisitorTests/CallbacksCallExpr.cpp --===//
//
// 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
//
//===----... | 3,004 |
360 | /*-------------------------------------------------------------------------
*
* unaccent.c
* Text search unaccent dictionary
*
* Copyright (c) 2009-2012, PostgreSQL Global Development Group
*
* IDENTIFICATION
* contrib/unaccent/unaccent.c
*
*----------------------------------------------------------------... | 5,191 |
9,717 | {
"url": "https://github.com/nvim-neorg/tree-sitter-norg",
"rev": "665736e400cfd52ae92ead244ca9f5d44db98151",
"date": "2021-12-14T15:04:57+01:00",
"path": "/nix/store/crbl24rj54f8c9pjq8igadz3wqcw6qrw-tree-sitter-norg",
"sha256": "0hxar07a7n3ghqagr0qjxbz4sgzcpyxwgd4dbj1vvy4xnk07i0br",
"fetchLFS": false,
"f... | 213 |
672 | /*
* Copyright 2014-2019 Netflix, 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 required by applicable law or agr... | 1,145 |
612 | <filename>SRT/lib/xvision/functional.py<gh_stars>100-1000
# Copyright (c) Facebook, Inc. and its affiliates.
# All rights reserved.
#
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.
#
#
from __future__ import division
import torch
import sys
import... | 1,050 |
5,169 | <reponame>Gantios/Specs<filename>Specs/3/6/2/ClaySDK/1.7.1/ClaySDK.podspec.json
{
"name": "ClaySDK",
"version": "1.7.1",
"summary": "The Clay mobile SDK make it easy to build a seamless door opening experience in your application.",
"description": "This SDK for iOS contains the most up-to-date frameworks for in... | 426 |
1,056 | /*
* 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 ... | 7,128 |
348 | <gh_stars>100-1000
{"nom":"<NAME>","circ":"3ème circonscription","dpt":"Dordogne","inscrits":140,"abs":70,"votants":70,"blancs":9,"nuls":1,"exp":60,"res":[{"nuance":"SOC","nom":"<NAME>","voix":33},{"nuance":"MDM","nom":"<NAME>","voix":27}]} | 101 |
376 | /*
Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
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; version 2 of the License.
This program is distributed... | 585 |
1,442 | #ifndef POINCARE_POLYNOMIAL_H
#define POINCARE_POLYNOMIAL_H
#include <poincare/expression.h>
#include <poincare/rational.h>
namespace Poincare {
class Polynomial {
public:
static int QuadraticPolynomialRoots(Expression a, Expression b, Expression c, Expression * root1, Expression * root2, Expression * delta, Conte... | 442 |
665 | <filename>security/keycloak/src/main/java/org/apache/isis/security/keycloak/IsisModuleSecurityKeycloak.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... | 2,645 |
509 | <filename>core/src/main/java/com/onelogin/saml2/settings/SettingsBuilder.java
package com.onelogin.saml2.settings;
import java.io.IOException;
import java.io.InputStream;
import java.net.MalformedURLException;
import java.net.URL;
import java.security.Key;
import java.security.KeyStore;
import java.security.KeyStoreEx... | 10,417 |
1,017 | <gh_stars>1000+
package com.xiaolyuh;
import org.springframework.boot.Banner.Mode;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class SpringBootStudentCompletableFutureApplication {
// 标准的JAVA应用main方法,主要作用作为项... | 313 |
2,338 | <filename>lld/MachO/Arch/ARM64_32.cpp
//===- ARM64_32.cpp
//----------------------------------------------------------===//
//
// 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-ex... | 1,779 |
892 | {
"schema_version": "1.2.0",
"id": "GHSA-w64p-hf49-ggf8",
"modified": "2022-05-02T03:25:45Z",
"published": "2022-05-02T03:25:45Z",
"aliases": [
"CVE-2009-1508"
],
"details": "SQL injection vulnerability in the xforum_validateUser function in Common.php in X-Forum 0.6.2 allows remote attackers to execu... | 455 |
532 | <reponame>shalupov/gradle-download-task<filename>src/main/java/de/undercouch/gradle/tasks/download/DownloadTaskPlugin.java
// Copyright 2013 <NAME>
//
// 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 Li... | 531 |
460 | #include "../../../src/scripttools/debugging/qscriptdebuggercommandexecutor_p.h"
| 28 |
348 | {"nom":"Bize-Minervois","circ":"1ère circonscription","dpt":"Aude","inscrits":913,"abs":488,"votants":425,"blancs":18,"nuls":34,"exp":373,"res":[{"nuance":"REM","nom":"<NAME>","voix":254},{"nuance":"FN","nom":"<NAME>","voix":119}]} | 91 |
1,612 | package yyydjk.com.library;
import android.content.Context;
import android.graphics.Canvas;
import android.util.AttributeSet;
import android.widget.FrameLayout;
public class CouponView extends FrameLayout {
private CouponViewHelper helper;
public CouponView(Context context) {
this(context, null);
... | 1,909 |
3,083 | // Copyright 2011-2016 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 ... | 386 |
1,233 | /*
* Copyright 2021 Netflix, 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 required by applicable law or agreed t... | 1,519 |
427 | <reponame>TigerBSD/FreeBSD-Custom-ThinkPad
//===-- MICmdData.cpp -------------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===------------... | 122 |
409 | #ifndef RAZERS_PARALLEL_MISC_H_
#define RAZERS_PARALLEL_MISC_H_
namespace seqan {
template <typename TPos, typename TSize, typename TCount>
void computeSplittersBySlotCount(String<TPos> & splitters, TSize size, TCount count)
{
resize(splitters, count + 1, Exact());
splitters[0] = 0;
TSize blockLength = si... | 669 |
5,166 | <filename>javav2/example_code/route53/src/main/java/com/example/route/DeleteHealthCheck.java
// snippet-comment:[These are tags for the AWS doc team's sample catalog. Do not remove.]
// snippet-sourcedescription:[DeleteHealthCheck.java demonstrates how to delete a health check.]
//snippet-keyword:[AWS SDK for Java v2... | 1,117 |
2,603 | /***********************************************************************************************************************
* DISCLAIMER
* This software is supplied by Renesas Electronics Corporation and is only
* intended for use with Renesas products. No other uses are authorized. This
* software is owned by Renes... | 1,113 |
544 | //
// XMLString.cpp
//
// Library: XML
// Package: XML
// Module: XMLString
//
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#include "Poco/XML/XMLString.h"
#if defined(XML_UNICODE_WCHAR_T)
#include <stdlib.h>
#endif
name... | 411 |
778 | <filename>applications/SolidMechanicsApplication/tests/material_tests/isotropic_damage_material_model/PlaneStress_FourPointShear_parameters.json
{
"model_settings" : {
"dimension" : 2,
"domain_parts_list" : ["Parts_Parts_Auto1"],
"processes_parts_list" : ["Parts_Parts... | 1,463 |
1,014 | <filename>Database/Equities/Countries/South Korea/Technology/_Technology Industries.json
[
"Communication Equipment",
"Computer Hardware",
"Consumer Electronics",
"Electronic Components",
"Electronics & Computer Distribution",
"Information Technology Services",
"Scientific & Technical... | 131 |
8,747 | // Copyright 2015-2019 Espressif Systems (Shanghai) PTE 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.org/licenses/LICENSE-2.0
//
// Unless required by a... | 2,942 |
381 | package com.tngtech.jgiven.report.config.converter;
import java.io.File;
/**
* Total conversion function
*/
public class ToFile implements StringConverter{
public Object apply (String input) {
return new File(input);
}
} | 81 |
32,544 | <filename>core-java-modules/core-java-exceptions-3/src/main/java/com/baeldung/exceptions/classcastexception/Amphibian.java
package com.baeldung.exceptions.classcastexception;
public class Amphibian implements Animal {
@Override
public String getName() {
return "Amphibian";
}
}
| 111 |
348 | <filename>docs/data/leg-t2/053/05303093.json<gh_stars>100-1000
{"nom":"<NAME>","circ":"3ème circonscription","dpt":"Mayenne","inscrits":224,"abs":96,"votants":128,"blancs":5,"nuls":4,"exp":119,"res":[{"nuance":"UDI","nom":"M. <NAME>","voix":95},{"nuance":"REM","nom":"M. <NAME>","voix":24}]} | 123 |
416 | <filename>iPhoneOS12.4.sdk/System/Library/Frameworks/Intents.framework/Headers/INSpatialEventTrigger.h
//
// INSpatialEventTrigger.h
// Intents
//
// Copyright (c) 2016-2017 Apple Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <Intents/INSpatialEvent.h>
@class CLPlacemark;
NS_ASSUME_NONNU... | 329 |
1,210 | // Boost.Geometry (aka GGL, Generic Geometry Library)
// Copyright (c) 2007-2012 <NAME>, Amsterdam, the Netherlands.
// Copyright (c) 2008-2012 <NAME>, Paris, France.
// Copyright (c) 2009-2012 <NAME>, London, UK.
// This file was modified by Oracle on 2014.
// Modifications copyright (c) 2014 Oracle and/or its affil... | 1,014 |
1,958 | package com.freetymekiyan.algorithms.level.medium;
import java.util.HashMap;
import java.util.Map;
import java.util.Random;
/**
* 535. Encode and Decode TinyURL
* <p>
* Note: This is a companion problem to the System Design problem: Design TinyURL.
* TinyURL is a URL shortening service where you enter a URL such ... | 820 |
571 | <gh_stars>100-1000
package com.handsomezhou.contactssearch.activity;
import android.support.v4.app.Fragment;
import com.handsomezhou.contactssearch.fragment.T9SearchFragment;
public class T9SearchActivity extends BaseSingleFragmentActivity{
@Override
protected Fragment createFragment() {
return new T9SearchF... | 134 |
335 | <filename>I/Intermittently_adverb.json
{
"word": "Intermittently",
"definitions": [
"At irregular intervals; not continuously or steadily."
],
"parts-of-speech": "Adverb"
} | 78 |
329 | <gh_stars>100-1000
r##"#pragma once
//for assert
#include <cassert>
//for std::abort
#include <cstdlib>
//for std::move
#include <utility>
#include "c_Foo.h"
namespace org_examples {
class Foo {
public:
using SelfType = FooOpaque *;
using CForeignType = FooOpaque;
Foo(Foo &&o) noexcept: self_(o.self_... | 1,572 |
521 | <filename>tests/config/base_tests.cpp
/**
* @file tests/config/base_tests.cpp
* @brief Tests for the @c address module.
* @copyright (c) 2017 Avast Software, licensed under the MIT license
*/
#include <gtest/gtest.h>
#include "retdec/config/base.h"
#include "retdec/config/functions.h"
#include "retdec/config/obje... | 2,878 |
568 | <reponame>GeekDaniel/bizsocket
package bizsocket.tcp;
/**
* Created by tong on 16/10/19.
*/
public interface PacketPool {
Packet pull();
void push(Packet packet);
}
| 66 |
1,558 | #ifndef AUTOCOMPLETESETTINGSEDITOR_H
#define AUTOCOMPLETESETTINGSEDITOR_H
#include <QWidget>
//#include "ui_autocompletesettingsform.h"
#include "lib/qtmaterialoverlaywidget.h"
class QtMaterialAutoComplete;
class AutoCompleteSettingsEditor : public QWidget
{
Q_OBJECT
public:
explicit AutoCompleteSettingsEd... | 226 |
463 | <filename>client/labml/internal/monitor/__init__.py
import typing
from typing import Optional, List, Union, Tuple
from labml.internal.util.colors import StyleCode
from .iterator import Iterator
from .loop import Loop
from .mix import Mix
from .sections import Section, OuterSection
from ..logger import logger_singleton... | 4,246 |
841 | /*
* Copyright 2017 Red Hat, Inc. and/or its affiliates.
*
* 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... | 613 |
470 | #pragma once
// project header
#include "Struct/AssetManager/FAssetDependenciesInfo.h"
#include "FExternFileInfo.h"
// engine header
#include "CoreMinimal.h"
#include "FPlatformExternAssets.h"
#include "Engine/EngineTypes.h"
#include "FPatchVersionAssetDiff.generated.h"
USTRUCT(BlueprintType)
struct FPa... | 267 |
348 | <reponame>chamberone/Leaflet.PixiOverlay
{"nom":"Loudes","circ":"2ème circonscription","dpt":"Haute-Loire","inscrits":761,"abs":409,"votants":352,"blancs":24,"nuls":13,"exp":315,"res":[{"nuance":"LR","nom":"<NAME>","voix":206},{"nuance":"REM","nom":"<NAME>","voix":109}]} | 111 |
679 | /**************************************************************
*
* 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 y... | 9,075 |
585 | <reponame>KevinKecc/caffe2<gh_stars>100-1000
/**
* Copyright (c) 2016-present, Facebook, 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/LIC... | 1,995 |
473 | <reponame>metc/especial-backend
/*
* Tester for VSCARD protocol, client side.
*
* Can be used with ccid-card-passthru.
*
* Copyright (c) 2011 Red Hat.
* Written by <NAME>.
*
* This work is licensed under the terms of the GNU LGPL, version 2.1 or later.
* See the COPYING.LIB file in the top-level directory.
*/... | 12,088 |
626 | package org.jsmart.zerocode.integration.tests.kafka.consume.intercept;
import org.jsmart.zerocode.core.domain.Scenario;
import org.jsmart.zerocode.core.domain.TargetEnv;
import org.jsmart.zerocode.core.runner.ZeroCodeUnitRunner;
import org.junit.Test;
import org.junit.runner.RunWith;
@TargetEnv("kafka_servers/interce... | 299 |
1,972 | package com.ramotion.garlandview.example.main.outer;
import android.content.Context;
import android.graphics.Color;
import android.text.Spannable;
import android.text.SpannableString;
import android.text.style.AbsoluteSizeSpan;
import android.text.style.ForegroundColorSpan;
import android.view.View;
import android.vie... | 3,731 |
14,668 | <gh_stars>1000+
/*
* Copyright 2017 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | 3,499 |
2,843 | package com.ns.yc.lifehelper.ui.find.view.fragment;
import android.content.Context;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import com.alibaba.android.vlayout.DelegateAdapter;
import com.blankj.utilcode.util.Activit... | 5,099 |
599 | # -*- coding: utf-8 -*-
"""
Tencent is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community
Edition) available.
Copyright (C) 2017-2021 THL A29 Limited, a Tencent company. All rights reserved.
Licensed under the MIT License (the "License"); you may not use this file except in co... | 7,481 |
1,139 | package com.journaldev.spring.autowiring.service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import com.journaldev.spring.autowiring.model.Employee;
public class EmployeeAutowiredByConstructorService {
private Employee employee;
/... | 189 |
348 | {"nom":"Saint-Etienne","circ":"1ère circonscription","dpt":"Loire","inscrits":38678,"abs":24975,"votants":13703,"blancs":788,"nuls":292,"exp":12623,"res":[{"nuance":"REM","nom":"<NAME>","voix":6425},{"nuance":"SOC","nom":"<NAME>","voix":6198}]} | 97 |
1,103 | from hachoir_core.field import CompressedField
try:
from zlib import decompressobj, MAX_WBITS
class DeflateStream:
def __init__(self, stream, wbits=None):
if wbits:
self.gzip = decompressobj(-MAX_WBITS)
else:
self.gzip = decompressobj()
... | 446 |
530 | from tartiflette.language.validators.query.rule import (
June2018ReleaseValidationRule,
)
from tartiflette.language.validators.query.utils import find_field_reduced_type
from tartiflette.types.type import GraphQLCompositeType
from tartiflette.utils.errors import graphql_error_from_nodes
class LeafFieldSelections(... | 918 |
3,702 | <gh_stars>1000+
// Copyright (c) YugaByte, 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 required by applicable law or a... | 934 |
348 | <filename>docs/data/leg-t2/032/03201205.json<gh_stars>100-1000
{"nom":"Laveraët","circ":"1ère circonscription","dpt":"Gers","inscrits":82,"abs":39,"votants":43,"blancs":2,"nuls":4,"exp":37,"res":[{"nuance":"REM","nom":"<NAME>","voix":29},{"nuance":"SOC","nom":"<NAME>","voix":8}]} | 118 |
473 | <gh_stars>100-1000
/*
Copyright (c) 2009-2016, <NAME>
All rights reserved.
This file is part of Elemental and is under the BSD 2-Clause License,
which can be found in the LICENSE file in the root directory, or at
http://opensource.org/licenses/BSD-2-Clause
*/
#include <El.hpp>
// This driver is an adap... | 3,139 |
309 | /*
This example demonstrates the usage of the vtNamedColor class.
*/
#include <vtkActor.h>
#include <vtkAlgorithm.h>
#include <vtkBandedPolyDataContourFilter.h>
#include <vtkConeSource.h>
#include <vtkElevationFilter.h>
#include <vtkLookupTable.h>
#include <vtkNamedColors.h>
#include <vtkPolyData.h>
#include <vtkPolyDa... | 3,393 |
6,989 | #include <library/cpp/iterator/functools.h>
#include <library/cpp/testing/gtest/gtest.h>
#include <util/generic/vector.h>
#include <util/generic/xrange.h>
#include <util/generic/adaptor.h>
#include <set>
// default-win-x86_64-release compiler can't decompose tuple to structure binding (02.03.2019)
#ifndef _WINDOWS
... | 10,824 |
3,627 | #ifndef OLC_OPENLOCATIONCODE_H_
#define OLC_OPENLOCATIONCODE_H_
#include <stdlib.h>
#define OLC_VERSION_MAJOR 1
#define OLC_VERSION_MINOR 0
#define OLC_VERSION_PATCH 0
// OLC version number: 2.3.4 => 2003004
// Useful for checking against a particular version or above:
//
// #if OLC_VERSION_NUM < OLC_MAKE_VERSION_NU... | 950 |
1,338 | <reponame>Kirishikesan/haiku<filename>headers/private/kernel/platform/atari_m68k/MFP.h
/*
* Copyright 2008, Haiku Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
* <NAME> <<EMAIL>>
*/
#ifndef _MFP_H
#define _MFP_H
/*
* references:
* http://alive.atari.org/hosting/docs/... | 388 |
14,668 | <reponame>chromium/chromium<filename>chrome/browser/ui/views/tabs/tab_close_button.cc
// 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 "chrome/browser/ui/views/tabs/tab_close_button.h"
#include... | 2,788 |
4,140 | /*
* 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,112 |
2,086 | #ifndef NEWSBOAT_GLOBALS_H_
#define NEWSBOAT_GLOBALS_H_
#include <string>
namespace newsboat {
const std::string LOCK_SUFFIX(".lock");
}
#endif /* NEWSBOAT_GLOBALS_H_ */
| 75 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.