max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
427 | #!/usr/bin/python
# build-swift-cmake.py
#
# This source file is part of the Swift.org open source project
#
# Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
# Licensed under Apache License v2.0 with Runtime Library Exception
#
# See https://swift.org/LICENSE.txt for license information
# See https... | 3,152 |
16,259 | # Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
from dataclasses import dataclass, field
from fairseq import file_utils
from fairseq.data.encoders import register_bpe
from fairseq.dataclass... | 671 |
966 | <filename>examples/callbacks/callbacks.h
/*
* Copyright 2017 Google 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... | 424 |
587 | <gh_stars>100-1000
/*
* Copyright (C) 2013 salesforce.com, 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 requ... | 432 |
348 | <reponame>chamberone/Leaflet.PixiOverlay<gh_stars>100-1000
{"nom":"Desges","circ":"2ème circonscription","dpt":"Haute-Loire","inscrits":64,"abs":17,"votants":47,"blancs":4,"nuls":1,"exp":42,"res":[{"nuance":"LR","nom":"<NAME>","voix":34},{"nuance":"REM","nom":"<NAME>","voix":8}]} | 117 |
557 | <filename>package.json
{
"name": "console-importer",
"private": true,
"scripts": {
"dev": "norm",
"build": "norm build",
"icon": "rm app/images/icon.png; svg2png app/images/icon.svg -o app/images/icon.png",
"lint": "norm lint"
},
"devDependencies": {
"tiza": "^2.0.0"
}
}
| 139 |
677 | // Copyright 2017 The Lynx Authors. All rights reserved.
#if USING_V8
#ifndef RUNTIME_V8_HELPER
#define RUNTIME_V8_HELPER
#include <string>
#include "v8.h"
#include "runtime/base/lynx_value.h"
namespace jscore {
class V8Helper {
public:
static base::ScopedPtr<LynxValue> ConvertToLynxValue(v8::Local<v8::Contex... | 1,317 |
1,337 | /*
* Copyright (c) 2008-2018 Haulmont.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | 4,280 |
6,449 | <reponame>zhouit/motan
/*
* Copyright 2009-2016 Weibo, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | 601 |
2,151 | <reponame>zipated/src
/* liblouis Braille Translation and Back-Translation Library
Based on the Linux screenreader BRLTTY, copyright (C) 1999-2006 by
The BRLTTY Team
Copyright (C) 2004, 2005, 2006, 2009
ViewPlus Technologies, Inc. www.viewplus.com and
JJB Software, Inc. www.jjb-software.com
This p... | 2,321 |
1,997 | /*
* Copyright 2019 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0/
*
* or in the "license" fil... | 480 |
1,341 | #ifndef PX_OBJECT_LABEL_H
#define PX_OBJECT_LABEL_H
#include "PX_Object.h"
typedef enum
{
PX_OBJECT_LABEL_STYLE_RECT,
PX_OBJECT_LABEL_STYLE_ROUNDRECT,
}PX_OBJECT_LABEL_STYLE;
typedef struct
{
PX_ALIGN Align;
px_color borderColor;
px_color TextColor;
px_color BackgroundColor;
px_bool bBorder;
PX_OBJECT_LABE... | 532 |
1,085 | <filename>services/datastore/src/test/java/com/dremio/datastore/indexed/AbstractTestIndexedStore.java<gh_stars>1000+
/*
* Copyright (C) 2017-2019 Dremio Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtai... | 6,045 |
3,427 | /*
* Licensed to GraphHopper GmbH under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* GraphHopper GmbH licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not ... | 1,606 |
763 | package org.batfish.datamodel.answers;
public enum AnswerStatus {
FAILURE,
NOTFOUND,
STALE,
SUCCESS
}
| 47 |
997 | #ifndef PQCLEAN_NTRULPR1277_CLEAN_CRYPTO_SORT_INT32_H
#define PQCLEAN_NTRULPR1277_CLEAN_CRYPTO_SORT_INT32_H
#include <stdint.h>
#define PQCLEAN_NTRULPR1277_CLEAN_crypto_sort_int32_BYTES 4
void PQCLEAN_NTRULPR1277_CLEAN_crypto_sort_int32(int32_t *x, long long n);
#endif
| 140 |
4,372 | <gh_stars>1000+
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "Lic... | 866 |
686 | <filename>dlls/d3dx11_43/tests/d3dx11.c
/*
* Copyright 2016 <NAME> for CodeWeavers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your... | 5,785 |
638 | # defines custom classes
class Thingy(object):
def __init__(self, num):
self.number = num
def __str__(self):
return "<Thingy @" + hex(id(self)) + ", number=" + str(self.number) + ">"
class OtherThingy(object):
def __init__(self, num):
self.number = num
def __str__(self):
... | 170 |
1,192 | <gh_stars>1000+
//==- llvm/Support/ArrayRecycler.h - Recycling of Arrays ---------*- C++ -*-==//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===---------------------------------------... | 1,522 |
512 | import responses
from binance.spot import Spot as Client
from tests.util import random_str
from urllib.parse import urlencode
from tests.util import mock_http_response
mock_item = {"key_1": "value_1", "key_2": "value_2"}
mock_exception = {"code": -1, "msg": "error message"}
key = random_str()
secret = random_str()
... | 306 |
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)
class Mvdefaults(Package):
homepage = "http://www.example.com"
url = "http://www.example.com/mvdefaults-1.0.ta... | 179 |
4,067 | import java.util.ArrayList;
import java.util.Random;
import java.io.*;
class list_java {
public static void main(String[] args) {
ArrayList<Integer> x = new ArrayList<Integer>();
Random rand = new Random();
int n = 10000;
for (int i = 0; i < n; i++) {
x.add(rand.nextInt());
}
... | 233 |
1,738 | <reponame>jeikabu/lumberyard<filename>dev/Gems/LmbrCentral/Code/Source/Animation/SimpleAnimationComponent.h
/*
* 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 "... | 4,570 |
390 | #
# Copyright (c) 2019 Intel Corporation
#
# 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... | 4,728 |
549 | #include "../data-structures/segment_tree.cpp"
const int ID = 0;
int f(int a, int b) { return a + b; }
struct HLD {
int n, curhead, curloc;
vi sz, head, parent, loc;
vvi adj; segment_tree values;
HLD(int _n) : n(_n), sz(n, 1), head(n),
parent(n, -1), loc(n), adj(n) {
vector<ll> tmp(n, ID); v... | 954 |
335 | {
"word": "Nettle",
"definitions": [
"Irritate or annoy (someone)",
"Sting with nettles."
],
"parts-of-speech": "Verb"
} | 76 |
11,351 | <reponame>LearnJavaByus/eureka
package com.netflix.discovery;
/**
* constants pertaining to property based client configs
*
* @author <NAME>
*/
final class PropertyBasedClientConfigConstants {
static final String CLIENT_REGION_FALLBACK_KEY = "eureka.region";
// NOTE: all keys are before any prefixes are a... | 1,678 |
2,151 | <reponame>zipated/src<gh_stars>1000+
// 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 "content/browser/renderer_host/media/audio_input_delegate_impl.h"
#include <utility>
#include "base/bind.h... | 4,131 |
2,151 | <gh_stars>1000+
import sys
if sys.version_info[0] == 2:
def Bchr(value):
return chr(value)
else:
def Bchr(value):
return value
| 75 |
2,113 | //-----------------------------------------------------------------------------
// 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... | 1,978 |
318 | # encoding: utf-8
def main_hrun():
""" API test: parse command line options and run commands.
"""
import argparse
from httprunner import logger
from httprunner.__about__ import __description__, __version__
from httprunner.api import HttpRunner
from httprunner.compat import is_py2
from h... | 2,613 |
841 | <filename>resteasy-core-spi/src/main/java/org/jboss/resteasy/spi/MarshalledEntity.java
package org.jboss.resteasy.spi;
/**
* Allows you to access the entity's raw bytes as well as the marshalled object.
*
* @author <a href="mailto:<EMAIL>"><NAME></a>
* @version $Revision: 1 $
*/
public interface MarshalledEntity<... | 134 |
765 | <reponame>hyu-iot/gem5<filename>src/dev/arm/VExpressFastmodel.py
# Copyright 2019 Google, Inc.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met: redistributions of source code must retain the above copyright
# notice, t... | 955 |
1,720 | #pragma once
#include <QAbstractItemModel>
#include <QModelIndex>
#include <QVariant>
#include <QWidget>
#include "FrameDump.h"
#include <QMetaObject>
class GsPacketData;
class PacketTreeModel : public QAbstractItemModel
{
Q_OBJECT
public:
explicit PacketTreeModel(QWidget* = nullptr);
~PacketTreeModel();
struc... | 360 |
16,989 | // Copyright 2021 The Bazel Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | 644 |
5,102 | package com.nepxion.discovery.common.entity;
/**
* <p>Title: Nepxion Discovery</p>
* <p>Description: Nepxion Discovery</p>
* <p>Copyright: Copyright (c) 2017-2050</p>
* <p>Company: Nepxion</p>
* @author <NAME>
* @version 1.0
*/
import com.nepxion.discovery.common.constant.DiscoveryConstant;
public enum Discov... | 425 |
5,169 | {
"name": "KRSFakeNavigationBar",
"version": "1.0.0",
"summary": "A Fake Navigation Bar For Each View Controller.",
"description": "A fake navigation bar for each view controller, so that you can customlize nav bar style on different screen.",
"homepage": "https://github.com/karosLi/KRSFakeNavigationBar",
"... | 292 |
956 | from trex_stl_lib.api import *
import argparse
class STLS1(object):
def create_stream (self):
# Teredo Ipv6 over Ipv4
pkt = Ether()/IP(src="192.168.127.12",dst="172.16.31.10")/UDP(dport=3797,sport=3544)/IPv6(dst="2001:0:4137:9350:8000:f12a:b9c8:2815",src="fd00:a516:7c1b:17cd:6d81:2137:bd2a:2c5b... | 898 |
483 | <reponame>shridharsahil/cosbench_3
/**
Copyright 2013 Intel Corporation, 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
Unles... | 1,359 |
14,668 | <filename>third_party/blink/renderer/modules/webaudio/audio_basic_processor_handler.cc
/*
* Copyright (C) 2010, Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributi... | 1,746 |
532 | <reponame>Deiv99/cinolib<gh_stars>100-1000
/********************************************************************************
* This file is part of CinoLib *
* Copyright(C) 2016: <NAME> *
* ... | 2,927 |
702 | <gh_stars>100-1000
/*
* Copyright 2016 MongoDB, 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 applicab... | 1,315 |
12,278 | <filename>tests/Futures/Promise-test.cpp
////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2014-2020 ArangoDB GmbH, Cologne, Germany
/// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "Licens... | 3,625 |
521 | <reponame>infinitio/elle
#include <sstream>
#include <string>
#include <elle/UUID.hh>
#include <elle/meta.hh>
#include <elle/test.hh>
#include <elle/das/Symbol.hh>
#include <elle/das/flatten.hh>
#include <elle/das/model.hh>
#include <elle/das/printer.hh>
ELLE_DAS_SYMBOL(name);
ELLE_DAS_SYMBOL(model);
ELLE_DAS_SYMBOL... | 1,458 |
1,020 | <filename>framework/src/test/java/org/robobinding/customviewbinding/KeepFirstAttributesTest.java
package org.robobinding.customviewbinding;
import static org.mockito.Mockito.times;
import static org.mockito.Mockito.verify;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import... | 656 |
348 | {"nom":"Combrit","circ":"7ème circonscription","dpt":"Finistère","inscrits":3462,"abs":1665,"votants":1797,"blancs":170,"nuls":45,"exp":1582,"res":[{"nuance":"REM","nom":"<NAME>","voix":1106},{"nuance":"LR","nom":"<NAME>","voix":476}]} | 93 |
6,098 | <filename>h2o-extensions/steam/src/main/java/hex/steam/SteamHelloMessenger.java
package hex.steam;
import org.apache.log4j.Logger;
import water.H2O;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
public class SteamHelloMessenger implements SteamMessenger {
Logger LOG = Logger.getLog... | 569 |
434 | <filename>parallaxbacklayout/src/main/java/com/github/anzewei/parallaxbacklayout/widget/ParallaxBackLayout.java
package com.github.anzewei.parallaxbacklayout.widget;
import android.annotation.TargetApi;
import android.app.Activity;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics... | 9,586 |
1,018 | /*
* Copyright 2016-2018 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 2,773 |
339 | package org.wso2.carbon.esb.scenarios.test.healthcare;
import org.testng.annotations.AfterTest;
import org.testng.annotations.BeforeTest;
import org.wso2.carbon.aarservices.stub.ExceptionException;
import org.wso2.carbon.authenticator.stub.LoginAuthenticationExceptionException;
import org.wso2.carbon.automation.engine... | 610 |
3,631 | <reponame>kostola/drools<filename>kie-pmml-trusty/kie-pmml-models/kie-pmml-models-drools/kie-pmml-models-drools-common/src/main/java/org/kie/pmml/models/drools/tuples/KiePMMLReasonCodeAndValue.java
/*
* Copyright 2020 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "Licen... | 914 |
1,273 | {
"recordings": [
{
"method": "PUT",
"url": "https://fakestorageaccount.queue.core.windows.net/queue156816848946303887",
"query": {
"timeout": "30"
},
"requestBody": null,
"status": 201,
"response": "",
"responseHeaders": {
"date": "Wed, 11 Sep 2019 02:21:28 GMT",
"server": "Windo... | 1,967 |
1,699 | <gh_stars>1000+
//
// AKMorphingOscillatorDSP.hpp
// AudioKit
//
// Created by <NAME>, revision history on Github.
// Copyright © 2018 AudioKit. All rights reserved.
//
#pragma once
#import <AVFoundation/AVFoundation.h>
typedef NS_ENUM(AUParameterAddress, AKMorphingOscillatorParameter) {
AKMorphingOscillator... | 739 |
3,189 | <reponame>muha0039/dexcount-gradle-plugin
package com.getkeepsafe.dexcount.integration;
public class Lib {
public static void foo() {
android.util.Log.d("Lib", "I'm in an AAR!");
}
}
| 84 |
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... | 865 |
308 | #ifndef __GLABEL_H__
#define __GLABEL_H__
#include "cocos2d.h"
#include "FairyGUIMacros.h"
#include "GComponent.h"
NS_FGUI_BEGIN
class GTextField;
class GLabel : public GComponent
{
public:
GLabel();
virtual ~GLabel();
CREATE_FUNC(GLabel);
const std::string& getTitle() { return ... | 491 |
816 | <gh_stars>100-1000
# --coding:utf-8--
#
# Copyright (c) 2020 vesoft inc. All rights reserved.
#
# This source code is licensed under Apache 2.0 License,
# attached with Common Clause Condition 1.0, found in the LICENSES directory.
from tests.common.nebula_test_suite import NebulaTestSuite
class TestFetchQuery(Nebula... | 671 |
2,100 | /*
* Copyright (C) 2017 Google 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 agree... | 657 |
1,104 | {
"agi": "AGI",
"agility": "Agilidade",
"armor": "Armadura",
"astralcombat": "Combate Astral",
"athletics": "Atletismo",
"attribute": "Atributo",
"attributes": "Atributos",
"awakened": "Awakened",
"biotech": "Biotech",
"cha": "CAR",
"charisma": "Carisma",
"close": "Perto"... | 1,477 |
435 | package datawave.ingest.input.reader;
import org.apache.hadoop.mapreduce.InputSplit;
import org.apache.hadoop.mapreduce.RecordReader;
import org.apache.hadoop.mapreduce.TaskAttemptContext;
import java.io.IOException;
/**
* Empty class that is used to process shard index stats bulk ingest files. The class is only re... | 433 |
745 | <gh_stars>100-1000
#pragma once
#include <unistd.h>
#include "device.hpp"
#include "host_tensor.hpp"
#include "transform_forward_convolution_into_gemm_v6r1_nchw_kcyx_nkhw.hpp"
#include "driver_contraction_dlops_v1r2.hpp"
template <typename TInWei,
typename TAcc,
typename TOut,
typename In... | 7,044 |
922 | package com.redhat.developer.demos.recommendation;
import java.io.IOException;
import java.net.URL;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import okhttp3.logging.HttpLoggingInterceptor;
import org.arquillian.cube.istio.api.IstioResource;
import org.arquillian.cube.istio.api.Resto... | 1,050 |
542 | <filename>monk/keras_tests.py
import os
import sys
import time
from monk.pip_functionality_tests.keras.test_default_train import test_default_train
from monk.pip_functionality_tests.keras.test_default_eval_infer import test_default_eval_infer
from monk.pip_functionality_tests.keras.test_update_copy_from import test_... | 15,657 |
648 | {"resourceType":"ValueSet","id":"v2-0506","meta":{"profile":["http://hl7.org/fhir/StructureDefinition/shareablevalueset"]},"text":{"status":"additional","div":"<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p>Service Request Relationship</p>\n\n <table class=\"grid\">\n <tr>\n ... | 1,901 |
5,169 | <filename>Specs/1/a/e/NetworkResponseSpoofer/10.2.0/NetworkResponseSpoofer.podspec.json<gh_stars>1000+
{
"name": "NetworkResponseSpoofer",
"version": "10.2.0",
"swift_versions": "5.0.1",
"summary": "Network response record and replay library for iOS, watchOS, tvOS and macOS.",
"homepage": "https://github.com/... | 687 |
1,858 | <reponame>aarogyaswamy/100daysofpython
import random
MAX_GUESSES = 5
START, END = 1, 20
def get_random_number():
"""Get a random number between START and END, returns int"""
return random.randint(START, END)
class Game:
"""Number guess class, make it callable to initiate game"""
def __init__(self)... | 1,258 |
488 |
#include <iostream>
#include <sstream>
#include <string>
#include <map>
#include "abstract_handle.h"
#include "loopAdapter.h"
#include <assert.h>
using namespace std;
using namespace AbstractHandle;
// an internal map to avoid duplicated nodes
map<string, abstract_node*> file_node_map;
map<MyLoop*, abstract_node*... | 1,837 |
335 | package examples;
import com.github.kokorin.jaffree.ffprobe.FFprobe;
import com.github.kokorin.jaffree.ffprobe.FFprobeResult;
import com.github.kokorin.jaffree.ffprobe.Stream;
public class ShowStreamsExample {
public static void main(String[] args) {
if (args.length != 1) {
System.err.println(... | 401 |
371 | <filename>tests/data/test_load_statsbomb.py
import os
import socceraction.data.statsbomb as sb
from socceraction.data.statsbomb import (
StatsBombCompetitionSchema,
StatsBombEventSchema,
StatsBombGameSchema,
StatsBombPlayerSchema,
StatsBombTeamSchema,
)
class TestStatsBombLoader:
def setup_me... | 847 |
918 | <reponame>returnnullptr/uplink
# Local imports
from uplink.converters import interfaces, register_default_converter_factory
class StringConverter(interfaces.Converter):
def convert(self, value):
return str(value)
@register_default_converter_factory
class StandardConverter(interfaces.Factory):
"""
... | 361 |
348 | {"nom":"Saint-Junien-les-Combes","dpt":"Haute-Vienne","inscrits":147,"abs":17,"votants":130,"blancs":15,"nuls":5,"exp":110,"res":[{"panneau":"1","voix":77},{"panneau":"2","voix":33}]} | 76 |
783 | void stage_cu()
{
// Writing instruction memory
Xil_Out32(0x50001004, 0);
Xil_Out32(0x50001000, 0xBF000707);
Xil_Out32(0x50001004, 4);
Xil_Out32(0x50001000, 0xBF810000);
// Writing SGPRs for wavefront 1
Xil_Out32(0x50002004, 0);
Xil_Out32(0x50002008, 0x1F);
Xil_Out32(0x5000200C, 0x21);
Xi... | 423 |
19,438 | /*
* Copyright (c) 2021, <NAME> <<EMAIL>>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <LibGUI/Label.h>
#include <LibGUI/SettingsWindow.h>
namespace DisplaySettings {
class FontSettingsWidget final : public GUI::SettingsWindow::Tab {
C_OBJECT(FontSettingsWidget);
public:
virtual ~... | 190 |
534 | <filename>src/main/resources/assets/mekanism/models/block/bin/advanced.json<gh_stars>100-1000
{
"parent": "mekanism:block/machine",
"textures": {
"sides": "mekanism:block/bin/advanced_side",
"front": "mekanism:block/bin/advanced_front",
"west": "mekanism:block/bin/advanced_side",
"east": "mekanism:b... | 206 |
777 | <filename>device/serial/serial_device_enumerator.h
// Copyright 2014 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 DEVICE_SERIAL_SERIAL_DEVICE_ENUMERATOR_H_
#define DEVICE_SERIAL_SERIAL_DEVICE_ENUMERATOR_H_
#i... | 250 |
3,380 | <reponame>jvishnuvardhan/datasets<filename>tensorflow_datasets/d4rl/d4rl_mujoco_ant/d4rl_mujoco_ant_test.py
# coding=utf-8
# Copyright 2021 The TensorFlow Datasets 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 ob... | 1,122 |
679 | <gh_stars>100-1000
/**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF license... | 5,987 |
2,392 | // Copyright (c) 2012 INRIA Sophia-Antipolis (France).
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org).
//
// $URL: https://github.com/CGAL/cgal/blob/v5.1/AABB_tree/include/CGAL/AABB_face_graph_triangle_primitive.h $
// $Id: AABB_face_graph_triangle_primitive.h 18f4e44 2020-07-07T11:44:40+02:00 L... | 3,398 |
3,710 | <gh_stars>1000+
#include "igs_resource_thread.h"
#include "igs_resource_multithread.h"
namespace {
#if defined _WIN32 // vc compile_type
unsigned __stdcall
#else
void *
#endif
function_(void *param) {
igs::resource::thread_execute_interface *pp =
static_cast<igs::resource::thread_execute_interface *>(para... | 631 |
631 | <reponame>QianJianhua1/QPanda-2
#ifndef CHEMIQ_H
#define CHEMIQ_H
#include "Components/ChemiQ/Psi4Wrapper.h"
#include "Components/ChemiQ/ChemiqUtil.h"
#include "Core/QuantumMachine/QVec.h"
#include "Core/Utilities/Tools/OriginCollection.h"
#include "Core/Variational/Optimizer.h"
QPANDA_BEGIN
class QuantumMachine;
/... | 4,766 |
3,459 | /* Mednafen - Multi-system Emulator
*
* 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 version.
*
* This program is distrib... | 313 |
348 | <reponame>chamberone/Leaflet.PixiOverlay
{"nom":"Saint-Jean-de-Touslas","circ":"11ème circonscription","dpt":"Rhône","inscrits":632,"abs":298,"votants":334,"blancs":33,"nuls":5,"exp":296,"res":[{"nuance":"REM","nom":"<NAME>","voix":171},{"nuance":"LR","nom":"<NAME>","voix":125}]} | 115 |
381 | # Generated by pypy/tool/import_cffi.py
import cffi
ffi = cffi.FFI()
ffi.embedding_api("""
int add3(int, int, int, int);
""")
ffi.embedding_init_code(r"""
from _add3_cffi import ffi
import sys
@ffi.def_extern()
def add3(x, y, z, t):
sys.stdout.write("adding %d, %d, %d, %d\n" % (x, y, z, ... | 254 |
947 | /*-------------------------------------------------------------------------
*
* key_bitmap.c
* Routines for bitmap scan of orioledb table
*
* Copyright (c) 2021-2022, Oriole DB Inc.
*
* IDENTIFICATION
* contrib/orioledb/src/tableam/key_bitmap.c
*--------------------------------------------------------------... | 4,665 |
578 | <reponame>JesusGonfer/syndesis
/*
* Copyright (C) 2016 Red Hat, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless req... | 1,306 |
333 | package com.alipay.api.domain;
import java.util.List;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.internal.mapping.ApiListField;
/**
* 支付宝门店绑定默认小程序
*
* @author auto create
* @since 1.0, 2020-12-04 15:16:03
*/
public class AlipayMerchan... | 534 |
17,104 | // boost/io/quoted_manip.hpp ---------------------------------------------------------//
// Copyright <NAME> 2010
// Distributed under the Boost Software License, Version 1.0.
// See http://www.boost.org/LICENSE_1_0.txt
// Library home page http://www.boost.org/libs/io
//-----------------------------... | 2,966 |
461 | <filename>系统综合能力—虚拟机/ics2019/nexus-am/am/src/native/cte.c
#include <am.h>
#include <klib.h>
static _Context* (*user_handler)(_Event, _Context*) = NULL;
void __am_asm_trap();
void __am_ret_from_trap();
void __am_get_example_uc(_Context *c);
void __am_get_cur_as(_Context *c);
void __am_switch(_Context *c);
void __am_... | 552 |
965 | // The command handler for ID_SHAPE_COLOR (menu command to change
// the color of the currently selected shape) was added to the message
// map of CMyShape (note, not CMyView) using the Properties window.
// The menu item will be automatically enabled or disabled, depending
// on whether a CMyShape is currently selecte... | 181 |
364 | <reponame>akawalsky/hapi-fhir
package ca.uhn.fhir.rest.server.interceptor;
/*-
* #%L
* HAPI FHIR - Server Framework
* %%
* Copyright (C) 2014 - 2021 Smile CDR, Inc.
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ma... | 953 |
435 | {
"description": "<NAME>\u010dius \u201eFabric\"\n\nPyCon LT 2012 Prezentacija",
"duration": 1591,
"language": "lit",
"recorded": "2012-04-28",
"speakers": [
"<NAME>\u010dius"
],
"thumbnail_url": "https://i.ytimg.com/vi/A6sFU1unpZs/hqdefault.jpg",
"title": "Fabric",
"videos": [
{
"type":... | 197 |
4,772 | <reponame>Balkerm/spring-data-examples
package example.service;
import example.repo.Customer1297Repository;
import org.springframework.stereotype.Service;
@Service
public class Customer1297Service {
public Customer1297Service(Customer1297Repository repo) {}
}
| 80 |
307 | <filename>halyard-cli/src/main/java/com/netflix/spinnaker/halyard/cli/command/v1/config/security/ui/UiSecurityEditCommand.java
/*
* Copyright 2017 Google, 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 co... | 995 |
404 | package io.github.memfis19.cadar.event;
import java.util.Calendar;
public interface OnDayChangeListener {
void onDayChanged(Calendar calendar);
} | 50 |
14,668 | <reponame>chromium/chromium
// Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/enterprise/connectors/device_trust/navigation_throttle.h"
#include <memory>
#include "base/run_loop... | 2,055 |
2,577 | /*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under the Apache License,
* Version 2.0; y... | 4,546 |
887 | package org.javers.core.json.typeadapter.change;
import com.google.gson.JsonDeserializationContext;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.google.gson.JsonSerializationContext;
import org.javers.common.collections.Lists;
import org.javers.common.exception.JaversException;
imp... | 952 |
381 | package com.tngtech.jgiven.integration.spring.junit5.test;
import com.tngtech.jgiven.integration.spring.junit5.SpringScenarioTest;
import com.tngtech.jgiven.integration.spring.junit5.config.TestSpringConfig;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.... | 323 |
310 | <gh_stars>100-1000
{
"name": "EKKO 616 MKII",
"description": "A delay pedal.",
"url": "https://malekkoheavyindustry.com/product/ekko-616-mkii/"
} | 64 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.