max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
449 | <gh_stars>100-1000
from unfurl.core import Unfurl
import unittest
class TestBing(unittest.TestCase):
def test_bing(self):
""" Test a typical and a unique Bing url """
# test a Bing search url
test = Unfurl()
test.add_to_queue(
data_type='url', key=None,
... | 440 |
13,937 | <gh_stars>1000+
[{"id":"2d14f1a7.e776ce","type":"comment","z":"39759fee.3ffb6","name":"Slow down messages passing through a flow","info":"Delay node can be used to slow down messages passing through a flow.\n\nSee Node-RED cookbook [item](https://cookbook.nodered.org/basic/rate-limit-messages).","x":230,"y":80,"wires":... | 492 |
14,668 | <filename>content/browser/devtools/devtools_issue_storage.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 "content/browser/devtools/devtools_issue_storage.h"
#include "content/browser/devto... | 949 |
2,151 | <reponame>zipated/src
// 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.
#include "ash/wm/wm_shadow_controller_delegate.h"
#include "ash/shell.h"
#include "ash/wm/overview/window_selector.h"
#include "ash... | 491 |
852 | import FWCore.ParameterSet.Config as cms
# The line below always has to be included to make VarParsing work
from FWCore.ParameterSet.VarParsing import VarParsing
options = VarParsing ('analysis')
options.parseArguments()
process = cms.Process("Demo")
process.load("FWCore.MessageService.MessageLogger_cfi")
process.lo... | 1,748 |
316 | /*
==============================================================================
This is an automatically generated GUI class created by the Projucer!
Be careful when adding custom code to these files, as only the code within
the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loade... | 5,557 |
1,821 | <reponame>hangqiu/pixie<gh_stars>1000+
/*
* Copyright 2018- The Pixie 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
*
* ... | 584 |
1,379 | # Copyright (c) 2021 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/LICENSE-2.0
#
# Unless required by appli... | 16,266 |
388 | <gh_stars>100-1000
/*
* Copyright 2019 Amazon.com, Inc. 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... | 594 |
376 | <gh_stars>100-1000
package net.zhuoweizhang.boardwalk.model;
import java.util.Map;
public class MinecraftAssets {
public Map<String, MinecraftAssetInfo> objects;
}
| 56 |
417 | //-----------------------------------------------------------------------------
// Copyright (c) 2012 GarageGames, LLC
//
// 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 restrictio... | 713 |
4,538 |
#ifndef _RTL_LIB_ROM_H_
#define _RTL_LIB_ROM_H_
#include "memproc.h"
#include "strproc.h"
#include "diag.h"
#endif /* _RTL_LIB_ROM_H_ */
| 74 |
416 | <reponame>onezens/sdks
//
// MKScaleView.h
// Maps
//
// Copyright 2017, Apple. All rights reserved.
//
// System
#import <UIKit/UIKit.h>
#import <MapKit/MKTypes.h>
@class MKMapView;
typedef NS_ENUM(NSInteger, MKScaleViewAlignment) {
MKScaleViewAlignmentLeading,
MKScaleViewAlignmentTrailing,
} NS_AVAILABL... | 299 |
901 | <filename>serialization/src/main/java/com/twitter/serial/serializer/BuilderSerializer.java
/*
* Copyright 2017 Twitter
*
* 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://ww... | 1,162 |
14,668 | <reponame>chromium/chromium<filename>chrome/browser/ash/login/screens/update_required_screen_browsertest.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 "chrome/browser/ash/login/screens/upd... | 8,745 |
13,648 | # Driver for Mboot, the MicroPython boot loader
# MIT license; Copyright (c) 2018 <NAME>
import struct, time, os, hashlib
I2C_CMD_ECHO = 1
I2C_CMD_GETID = 2
I2C_CMD_GETCAPS = 3
I2C_CMD_RESET = 4
I2C_CMD_CONFIG = 5
I2C_CMD_GETLAYOUT = 6
I2C_CMD_MASSERASE = 7
I2C_CMD_PAGEERASE = 8
I2C_CMD_SETRDADDR = 9
I2C_CMD_SETWRAD... | 3,260 |
1,875 | <filename>core/src/main/java/org/teavm/debugging/Debugger.java
/*
* Copyright 2014 <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 License at
*
* http://www.apache.org/licenses/... | 8,293 |
377 | /*******************************************************************************
* * Copyright 2012 Impetus Infotech.
* *
* * 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
* *
*... | 3,654 |
2,151 | <filename>media/gpu/windows/return_on_failure.h
// 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 MEDIA_GPU_WINDOWS_RETURN_ON_FAILURE_H_
#define MEDIA_GPU_WINDOWS_RETURN_ON_FAILURE_H_
#define RET... | 349 |
348 | {"nom":"Soulangy","circ":"3ème circonscription","dpt":"Calvados","inscrits":210,"abs":113,"votants":97,"blancs":10,"nuls":2,"exp":85,"res":[{"nuance":"MDM","nom":"<NAME>","voix":54},{"nuance":"LR","nom":"<NAME>","voix":31}]} | 90 |
12,278 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2020 <NAME>
#
# 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)
from generate_unicode_normalization_data import cccs
from generate_unicode_normalization_... | 10,562 |
465 | package com.ansel.dao;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import com.ansel.bean.ManageFee;
public interface IManageFeeDao extends JpaRepository<ManageFee, Long>{
public List<ManageFee> findByPayoutMonth(String PayoutMonth);
public ManageFee findById(int id);
}
| 119 |
807 | <filename>Master/ThirdParty/x360ce/branches/v4.x/x360ce/InputHook/HookCOM.h
#pragma once
#include "Common.h"
#include "Logger.h"
#include "Utils.h"
#define CINTERFACE
#define _WIN32_DCOM
#include <wbemidl.h>
#include <ole2.h>
#include <oleauto.h>
#include <dinput.h>
class InputHookDevice;
class InputHook;
class Ho... | 1,332 |
575 | <reponame>iridium-browser/iridium-browser<filename>chrome/android/java/src/org/chromium/chrome/browser/ChromeBackupAgentImpl.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.chr... | 8,400 |
1,738 | <reponame>BadDevCode/lumberyard
/*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if pro... | 748 |
625 | package javatest.sleep;
import com.jtransc.io.JTranscConsole;
import jtransc.jtransc.nativ.JTranscJsNativeMixedTest;
public class SleepTest {
static public void main(String[] args) {
JTranscConsole.log(1234560007);
JTranscConsole.log("SleepTest.main:");
long start = System.currentTimeMillis();
try {
Thr... | 199 |
8,456 | package redis.clients.jedis.graph.entities;
import java.util.Objects;
/**
* A Graph entity property. Has a name, type, and value
*
* @param <T>
*/
public class Property<T> {
private final String name;
private final T value;
public Property(String name, T value) {
this.name = name;
this.value = val... | 475 |
1,127 | <reponame>ryanloney/openvino-1
// Copyright (C) 2018-2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include "deconvolution_kernel_selector.h"
#include "deconvolution_kernel_ref.h"
#include "deconvolution_kernel_bfyx_opt.h"
#include "deconvolution_kernel_b_fs_zyx_fsv16.h"
#include "deconvolution_ker... | 433 |
17,275 | /*
* The MIT License
*
* Copyright (c) 2004-2009, Sun Microsystems, Inc., <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 limitation t... | 1,896 |
1,639 | <gh_stars>1000+
#include<bits/stdc++.h>
using namespace std;
using ll = long long;
const ll INF = 1e18;
template<typename T>
struct heap {
struct node{
node* ch[2] = {0, 0};
int sz; T val;
int from, to;
node(T val, int from, int to): sz(1), val(val), from(from), to(to) {}
};
node* root = 0;
he... | 1,731 |
1,420 | <gh_stars>1000+
/*
*
* Copyright 2018 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
*
* Unles... | 2,239 |
30,023 | """The Oncue integration."""
from __future__ import annotations
from datetime import timedelta
import logging
from aiooncue import LoginFailedException, Oncue
from homeassistant.config_entries import ConfigEntry
from homeassistant.const import CONF_PASSWORD, CONF_USERNAME, Platform
from homeassistant.core import Hom... | 696 |
337 | <gh_stars>100-1000
//file
class Test {
public static int foo(String[] args) {
return args.length;
}
} | 41 |
14,668 | // 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.
#ifndef CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_VPN_PROVIDER_MESSAGE_FILTER_CHROMEOS_H_
#define CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_VPN_PROVID... | 1,785 |
679 | <reponame>Grosskopf/openoffice<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 copyrig... | 2,865 |
575 | // Copyright 2019 Proyectos y Sistemas de Mantenimiento SL (eProsima).
//
// 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 re... | 5,023 |
4,409 | /*
* Copyright 2008 Web Cohesion
*
* 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 or agreed to ... | 3,390 |
1,568 | <gh_stars>1000+
# -*- coding: utf-8 -*-
def boot(application, config):
if config and config['origins']:
try:
from flask.ext.cors import CORS
for i in config.keys():
application.config['CORS_%s' % i.upper()] = config[i]
CORS(application)
except Ex... | 190 |
967 | <gh_stars>100-1000
//
// ECOMLeaksMessenger.h
// EchoSDK
//
// Created by 陈爱彬 on 2020/1/7. Maintain by 陈爱彬
// Description
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface ECOMLeaksMessenger : NSObject
@end
NS_ASSUME_NONNULL_END
| 121 |
1,350 | <reponame>Shashi-rk/azure-sdk-for-java
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.ai.formrecognizer.administration.models;
import com.azure.core.annotation.Fluent;
/**
* Options that may be passed when copying models into the target Form Recogni... | 296 |
852 | #ifndef RecoLocalTracker_ESProducers_SiTrackerMultiRecHitUpdatorESProducer_h
#define RecoLocalTracker_ESProducers_SiTrackerMultiRecHitUpdatorESProducer_h
#include "FWCore/Framework/interface/ESProducer.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "RecoTracker/Record/interface/MultiRecHitRecord.h... | 278 |
30,023 | <filename>homeassistant/components/hyperion/translations/lb.json
{
"config": {
"abort": {
"already_configured": "Service ass scho konfigur\u00e9iert",
"already_in_progress": "Konfiguratioun's Oflaf ass schon am gaang",
"auth_new_token_not_granted_error": "Nei erstallte Je... | 1,284 |
459 | /*
* This file is part of choco-solver, http://choco-solver.org/
*
* Copyright (c) 2021, IMT Atlantique. All rights reserved.
*
* Licensed under the BSD 4-clause license.
*
* See LICENSE file in the project root for full license information.
*/
package org.chocosolver.solver.constraints.nary.nvalue;
import org... | 5,245 |
416 | <reponame>khauser/SimpleFlatMapper<gh_stars>100-1000
package org.simpleflatmapper.datastax.test.beans;
import com.datastax.driver.core.TupleValue;
public class DbObjectsWithTupleValue {
private long id;
private TupleValue t;
public long getId() {
return id;
}
public void setId(long id) {... | 210 |
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 ... | 1,090 |
376 | #pragma once
#include <Register/Utility.hpp>
namespace Kvasir {
//cyclic redundancy check calculation unit
namespace CrcDr{ ///<Data register
using Addr = Register::Address<0x40023000,0x00000000,0x00000000,unsigned>;
///Data register bits
constexpr Register::FieldLocation<Addr,Regis... | 618 |
652 | <filename>plugin/src/test/java/com/stratio/cassandra/lucene/search/SearchBuildersTest.java<gh_stars>100-1000
/*
* Copyright (C) 2014 Stratio (http://stratio.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a... | 1,834 |
1,909 | <filename>spring-batch-core/src/test/java/org/springframework/batch/core/launch/support/TestJobParametersIncrementer.java
/*
* Copyright 2009-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.
*... | 336 |
930 | package com.dianping.pigeon.remoting.netty.codec;
/**
* @author qi.yin
* 2016/05/11 上午12:12.
*/
public class CodecConstants {
public static final int MEGIC_FIELD_LENGTH = 2;
public static final int BODY_FIELD_LENGTH = 4;
public static final int HEAD_LENGTH = 3;
public static final int SEQ... | 713 |
806 | package net2.lingala.zip4j.util;
import net2.lingala.zip4j.exception.ZipException;
public class CRCUtil {
private static final int BUF_SIZE = 16384;
public static long computeFileCRC(String inputFile) throws ZipException {
return computeFileCRC(inputFile, null);
}
/* JADX WARNING: inconsiste... | 2,377 |
362 | <filename>tests/framegraph/UnitTests/UnitTest_VBuffer.cpp<gh_stars>100-1000
// Copyright (c) 2018-2020, <NAME>. For more information see 'LICENSE'
#ifdef FG_ENABLE_VULKAN
#include "VLocalBuffer.h"
#include "VBarrierManager.h"
#include "framegraph/Public/FrameGraph.h"
#include "UnitTest_Common.h"
#include "DummyTask.... | 5,156 |
332 | <gh_stars>100-1000
/**
* Package for DIRT utils.
*/
package org.springframework.xd.dirt.util;
| 37 |
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... | 1,869 |
679 | <reponame>Grosskopf/openoffice<filename>main/salhelper/test/dynamicloader/samplelib.cxx
/**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for addi... | 476 |
2,983 | {
"baseBranch": "feature/proto",
"automerge": true,
"semanticCommits":true,
"unpublishSafe":true,
"prCreation":"not-pending",
"masterIssue":true,
"extends": [
"config:base"
]
}
| 86 |
359 | <reponame>sahilg-xilinx/XRT
/**
* Copyright (C) 2016-2019 Xilinx, Inc
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may
* not use this file except in compliance with the License. A copy of the
* License is located at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... | 2,114 |
1,192 | <gh_stars>1000+
//===--- OacrIgnoreCond.h - OACR directives ---------------------*- C++ -*-===//
///////////////////////////////////////////////////////////////////////////////
// //
// OacrIgnoreCond.h ... | 744 |
985 | <filename>tests/FullScreenTest.h
#import "cocos2d.h"
#import "BaseAppController.h"
@interface AppController : BaseAppController
@end
@interface FullScreenDemo: CCLayer
{
}
-(NSString*) title;
-(NSString*) subtitle;
@end
@interface FullScreenScale : FullScreenDemo
{}
-(void) addNewSpriteWithCoords:(CGPoint)p;
@end
... | 191 |
1,615 | //
// MLNUICollectionViewLayoutProtocol.h
// MLNUI
//
// Created by MoMo on 2019/9/16.
//
#ifndef MLNUICollectionViewLayoutProtocol_h
#define MLNUICollectionViewLayoutProtocol_h
#import <UIKit/UIKit.h>
#import "MLNUIScrollViewConst.h"
@protocol MLNUICollectionViewLayoutProtocol <NSObject>
@required
@property (no... | 180 |
359 | import logging
import sys
from obsei.source import OSGoogleMapsReviewsSource, OSGoogleMapsReviewsConfig
logger = logging.getLogger(__name__)
logging.basicConfig(stream=sys.stdout, level=logging.INFO)
source_config = OSGoogleMapsReviewsConfig(
api_key="<Enter Your API Key>", # Get API key from https://outscraper.... | 287 |
852 | <filename>L1Trigger/L1TMuonCPPF/test/cppf_emulator_MC.py
# Auto generated configuration file
# using:
# Revision: 1.19
# Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v
# with command line options: SingleMuPt10_pythia8_cfi.py -s GEN,SIM,DIGI --pileup=NoPileUp --geometry DB --cond... | 2,126 |
997 | #ifndef _BLAS_H_
#define _BLAS_H_
/// @file blas.h
/// @brief Functions for implementing basic linear algebra functions.
///
#include "rainbow_config.h"
#include <stddef.h>
#include <stdint.h>
void PQCLEAN_RAINBOWIIICIRCUMZENITHAL_CLEAN_gf256v_predicated_add(uint8_t *accu_b, uint8_t predicate, const uint8_t *a, size_... | 331 |
1,883 | <gh_stars>1000+
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright 2012 The MITRE Corporation *
* *
* Licensed under the Apache License, Version 2.0 (the "License"); ... | 1,079 |
1,442 | <filename>poincare/src/arc_tangent.cpp
#include <poincare/arc_tangent.h>
#include <poincare/complex.h>
#include <poincare/layout_helper.h>
#include <poincare/serialization_helper.h>
#include <poincare/simplification_helper.h>
#include <cmath>
namespace Poincare {
constexpr Expression::FunctionHelper ArcTangent::s_fun... | 1,052 |
677 | <filename>Core/base/poller/utility.cc<gh_stars>100-1000
#include "base/poller/utility.h"
#include <fcntl.h>
namespace base {
bool SetNonBlocking(int fd) {
int flags = fcntl(fd, F_GETFL, 0);
if (flags == -1)
return false;
if (flags & O_NONBLOCK)
return true;
if (fcntl(fd, F_SETFL, flags | O_NONBLOCK) =... | 169 |
852 | #!/usr/bin/env python3
# test for pytables
# taken from https://kastnerkyle.github.io/posts/using-pytables-for-larger-than-ram-data-processing/
# but with some interface modifications (presumably due to pytables changes)
import numpy as np
import matplotlib
matplotlib.use('Agg')
import matplotlib.pyplot as plt
impor... | 680 |
449 | # Copyright (c) OpenMMLab. All rights reserved.
import torch
from mmcv.utils import to_2tuple
from mmdet.core.anchor import AnchorGenerator
from .builder import ROTATED_ANCHOR_GENERATORS
@ROTATED_ANCHOR_GENERATORS.register_module()
class RotatedAnchorGenerator(AnchorGenerator):
"""Fake rotate anchor generator fo... | 1,217 |
2,151 | /*
* Copyright (C) 2014 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... | 3,613 |
1,350 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.botservice.implementation;
import com.azure.core.annotation.BodyParam;
import com.azure.core.annotation.Delete;
import com.azure... | 25,347 |
32,544 | package com.baeldung.o;
import java.security.InvalidParameterException;
public class Calculator {
public void calculate(CalculatorOperation operation) {
if (operation == null) {
throw new InvalidParameterException("Can not perform operation");
}
operation.perform();
}
}
| 110 |
758 | <reponame>Mr-ssk/Spika<filename>Android/SpikaChatModule/app/src/main/java/com/clover_studio/spikachatmodule/view/menu/OnMenuButtonsListener.java
package com.clover_studio.spikachatmodule.view.menu;
/**
* Created by ubuntu_ivo on 24.07.15..
*/
public interface OnMenuButtonsListener {
public void onCameraClicked(... | 185 |
1,253 | //k-means clustering for tabular data having different attributes
#include <iostream>
#include <vector>
#include <cmath>
using namespace std;
int main()
{
int n, nAttr, nClusters;
cout<<"Enter number of entries, attributes and clusters : ";
cin>>n>>nAttr>>nClusters;
vector< vector<double>> entries(n, vector<doubl... | 1,234 |
469 | {
"continue": "Continuer",
"copy": "Copier",
"copySeed": "Copier la phrase secrète",
"createAccount": "Créer un compte",
"goBack": "Retour",
"notHaveAccounts": "Vous n'avez pas de comptes enregistrés",
"nothingHere": "Il n'y a rien ici...",
"password": {
"error": "Mot de passe <P... | 439 |
988 | <reponame>AlexeyMochalov/firebird<filename>examples/extauth/TcWrapper.cpp<gh_stars>100-1000
/*
* Tomcrypt library <= firebird : c++ wrapper.
*
* The contents of this file are subject to the Initial
* Developer's Public License Version 1.0 (the "License");
* you may not use this file except in compliance with th... | 1,039 |
1,724 | <reponame>GeGuNa/skift_oss2
#include <libgraphic/Painter.h>
#include <libwidget/Elements.h>
#include <libwidget/Layouts.h>
namespace Widget
{
void ButtonElement::paint(Graphic::Painter &painter, const Math::Recti &rectangle)
{
UNUSED(rectangle);
if (enabled())
{
if (_style == OUTLINE)
{
... | 2,627 |
640 | <filename>include/_DEVELOPMENT/sdcc/arch/zxn/nirvana-.h
// automatically generated by m4 from headers in proto subdir
#include <arch/zx/nirvana-.h>
| 51 |
1,350 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import ... | 1,645 |
14,668 | <gh_stars>1000+
// 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 "components/services/storage/service_worker/service_worker_disk_cache.h"
#include "base/callback_helpers.h"
#include "base/files... | 2,451 |
812 | <filename>tables/log-parsers/get-predictions.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Get predictions from the log file of SEMPRE."""
import sys, os, shutil, re, argparse
PATTERN = re.compile(r'Pred@0000: '
r'\(derivation \(formula (.*)\)\) '
r'\(value (.*)\) '
r'\(type (.*)\)\) \[s... | 1,663 |
610 | <reponame>florian-hamberger/VulkanPBRT<filename>external/vsg/src/vsg/io/BinaryInput.cpp<gh_stars>100-1000
/* <editor-fold desc="MIT License">
Copyright(c) 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 d... | 1,018 |
370 | /** @file multi_postlist.h
* @brief Class for merging PostList objects from subdatabases.
*/
/* Copyright (C) 2007,2008,2009,2011,2015,2017 <NAME>
* Copyright (C) 2009 Lemur Consulting Ltd
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licen... | 1,541 |
965 | int i = 1;
ATLTRACE2(atlTraceGeneral, 4, "Integer = %d\n", i);
// Output: 'Integer = 1' | 43 |
6,098 | package hex.psvm;
import hex.psvm.psvm.*;
import org.junit.Ignore;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
@Ignore // CI (Jenkins) uses a different approach, this is only for convenience in development
@RunWith(Suite.class)
@Suite.SuiteClasses({
KernelTest.class,
LLMatrixTest.... | 201 |
338 | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import collections
try:
import cPickle as pickle
except ImportError:
import pickle
from multiprocessing import Pool
def _lower(s):
return s.lower()
class SimpleTokenizer():
def __init__(self):... | 978 |
3,034 | /*
* 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 n... | 1,563 |
921 | <filename>curv/export_mesh.cc
// Copyright 2016-2021 <NAME>
// Licensed under the Apache License, version 2.0
// See accompanying file LICENSE or https://www.apache.org/licenses/LICENSE-2.0
#include <iostream>
#include <climits>
#include <cmath>
#include <cstdlib>
#include <chrono>
#include <thread>
#include <glm/geom... | 2,674 |
566 | <filename>args4j/test/org/kohsuke/args4j/Setter.java
package org.kohsuke.args4j;
public class Setter {
public String str = "default";
@Option(name="-str",usage="set a string")
public void setStr(String str) {
this.str = str.toUpperCase();
}
}
| 114 |
318 | <filename>server/src/core/com/bj58/spat/gaea/server/core/convert/ConvertFacotry.java
/*
* Copyright Beijing 58 Information Technology Co.,Ltd.
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for addi... | 767 |
650 | <filename>core/engine/src/main/java/cn/netdiscovery/core/registry/Registry.java
package cn.netdiscovery.core.registry;
/**
* Created by tony on 2019-06-08.
*/
public abstract class Registry {
protected Provider provider;
public Provider getProvider() {
return provider;
}
public abstract vo... | 118 |
317 | '''
Created on Feb 7, 2012
@author: marat
'''
class PDBAtomParser(object):
'''
class PDBAtomParser parses ATOM or HETATM line in PDB file.
It can only properly handle ATOM or HETATM records.
Before getting individual fields one should test
whether the record is atom based using PDBAtomParser.i... | 2,580 |
304 | {
"name": "slither-server",
"description": "Open source slither server implementation",
"version": "0.0.12-dev",
"main": "./index.js",
"bin": {
"slither": "./bin/slither"
},
"repository": {
"type": "git",
"url": "https://github.com/iiegor/slither"
},
"license": "MIT",
"dependencies": {
... | 304 |
3,227 | <reponame>ffteja/cgal
namespace CGAL {
/*!
\addtogroup PkgHandlesAndCirculatorsTags
Iterators and circulators as well as different categories of
circulators can be distinguished with the use of discriminating
functions and the following circulator tags. A couple of base classes
simplify the task of writing own circu... | 922 |
6,224 | /*
* Copyright (c) 2021 Microchip Technology Inc. and its subsidiaries.
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef _MEC172X_I2C_SMB_H
#define _MEC172X_I2C_SMB_H
#include <stdint.h>
#include <stddef.h>
/* Version 3.7 MCHP I2C/SMBus Controller specification */
#define MCHP_I2C_BAUD_CLK_HZ 16000000u
#def... | 6,116 |
362 | // Copyright (c) 2018-2020, <NAME>. For more information see 'LICENSE'
#pragma once
#include "framegraph/Public/EResourceState.h"
#include "framegraph/Shared/ResourceDataRange.h"
#include "VBuffer.h"
namespace FG
{
//
// Vulkan Buffer thread local
//
class VLocalBuffer final
{
friend class VBufferUnitTest;... | 1,016 |
451 | #include "include/MMVII_all.h"
/*
Caracteristiques envisagees :
* L1 sur tout pixel
* L1 pondere par 1/Scale sur tout pixel
* L1 sur le + petit rayon
* census (pondere ?)
* correlation (pondere ? 1 pixel? 2 pixel ? ...)
* gradient de L1 sur paralaxe (mesure ambiguite residu... | 6,591 |
600 | /*
* OpenBOR - http://www.chronocrash.com
* -----------------------------------------------------------------------
* All rights reserved, see LICENSE in OpenBOR root for details.
*
* Copyright (c) 2004 - 2014 OpenBOR Team
*/
#include "Stack.h"
void Stack_Push( Stack *stack, void *e)
{
List_Reset(stack);
... | 232 |
635 | <filename>alembic/versions/098ab7c733ea_add_user_to_flag.py
"""add user_to_flag
Revision ID: 098ab7c733ea
Revises: <KEY>
Create Date: 2021-08-08 23:03:49.444306
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = "098ab7c733ea"
down_revision = "<KEY>"
branch_labels... | 475 |
303 | from sqlobject import *
from sqlobject.tests.dbtest import *
########################################
## Transaction test
########################################
class TestSOTrans(SQLObject):
#_cacheValues = False
class sqlmeta:
defaultOrder = 'name'
name = StringCol(length=10, alternateID=True, ... | 1,044 |
303 | <filename>www/draw/metadata/2/2274.json
{"id":2274,"line-1":"Community of Madrid","line-2":"Spain","attribution":"©2014 DigitalGlobe","url":"https://www.google.com/maps/@40.468889,-3.722294,18z/data=!3m1!1e3"} | 83 |
915 | package org.nzbhydra.tests.pageobjects;
import org.nzbhydra.misc.Sleep;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
import org.popper.fw.webdriver.elements.impl.AbstractWebElement;
import org.popper.fw.webdriver.elements.impl.WebElementReference;
import java.util.List;
public class ColumnSo... | 995 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.