max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
405 | {
"apiVersion": "v1",
"kind": "Secret",
"metadata": {
"name": "onepanel",
"namespace": "$(applicationDefaultNamespace)",
"labels": {
"app.kubernetes.io/component": "onepanel",
"app.kubernetes.io/instance": "onepanel-v0.5.0",
"app.kubernetes.io/managed-by": "onepanel-cli",
"app.... | 288 |
1,099 | <gh_stars>1000+
package com.example.chat.mvp.commentdetail;
import android.app.Activity;
import android.content.Intent;
import android.view.View;
import com.example.chat.base.ChatApplication;
import com.example.chat.R;
import com.example.chat.adapter.CommentDetailAdapter;
import com.example.chat.base.ChatBaseActivity... | 2,254 |
374 | <reponame>EMinsight/SARibbon<filename>src/SARibbonBar/SARibbonStackedWidget.cpp
#include "SARibbonStackedWidget.h"
#include <QEventLoop>
#include <QMouseEvent>
#include <QDebug>
#include <QApplication>
/**
* @brief The SARibbonStackedWidgetPrivate class
*/
class SARibbonStackedWidgetPrivate
{
public:
... | 1,332 |
375 | <reponame>chrissnell/HeaterMeter
/*
* Project: LevenbergMarquardtLeastSquaresFitting
*
* File: lmmin.c
*
* Contents: Public interface to the Levenberg-Marquardt core implementation.
*
* Author: <NAME> 2004-8
*
* Homepage: www.messen-und-deuten.de/lmfit
*
* Licence: Public domain.
*/
#ifndef LMMI... | 1,186 |
1,056 | <filename>platform/o.n.bootstrap/src/org/netbeans/ProxyURLStreamHandlerFactory.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 license... | 2,963 |
836 | <reponame>mooreandrew/zsign
#pragma once
#include "common/common.h"
#include "common/json.h"
#include "openssl.h"
class ZAppBundle
{
public:
ZAppBundle();
public:
bool SignFolder(ZSignAsset *pSignAsset, const string &strFolder, const string &strBundleID, const string &strBundleVersion, const string &strDisplayName,... | 403 |
460 | <gh_stars>100-1000
/*
# This file is part of the Astrometry.net suite.
# Licensed under a 3-clause BSD style license - see LICENSE
*/
#include <stdlib.h>
#include <math.h>
#include <assert.h>
#include "os-features.h"
#include "index.h"
#include "starutil.h"
#include "log.h"
#include "errors.h"
#include "ioutils.h"... | 3,351 |
838 | import sx127x
import config_lora
# import LoRaDumpRegisters
import LoRaSender
import LoRaReceiver
# import LoRaSetSpread
# import LoRaSetSyncWord
# import LoRaReceiverCallback
# import LoRaReceiverCallback_dual_channels
# import LoRaDuplex
# import LoRaDuplexCallback
# import LoRaPingPong
PIN_ID_SS = 26
PIN_ID_FOR_LO... | 1,210 |
14,668 | <gh_stars>1000+
# 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:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of con... | 1,767 |
854 | <reponame>timxor/leetcode-journal
__________________________________________________________________________________________________
class Solution {
public:
void duplicateZeros(vector<int>& A) {
int n = A.size(), j = n + count(A.begin(), A.end(), 0);
for (int i = n - 1; i >= 0; --i) {
i... | 217 |
1,561 | <filename>endpoints/bookstore-grpc/server/src/main/java/com/google/endpoints/examples/bookstore/BookstoreData.java
// Copyright 2016 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 Licen... | 1,958 |
1,568 | #!/usr/bin/env python3
"""
module to operations with prime numbers
"""
def check_prime(number):
"""
it's not the best solution
"""
special_non_primes = [0,1,2]
if number in special_non_primes[:2]:
return 2
elif number == special_non_primes[-1]:
... | 334 |
4,603 | from rockstar import RockStar
eiffel_code = """class
HELLO_WORLD
create
make
feature
make
do
print ("Hello, world!%N")
end
end
"""
rock_it_bro = RockStar(days=400, file_name='helloworld.e', code=eiffel_code)
rock_it_bro.make_me_a_rockstar()
| 135 |
702 | /*
* Copyright ConsenSys AG.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing... | 543 |
1,430 | <reponame>nko3/AtomOS
#ifndef _SYSCALL_H
#define _SYSCALL_H
#include <_ansi.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <stdint.h>
#include <string.h>
/********************************************************************
SYSCALL FUNCTIONS
*******************... | 1,542 |
702 | /*
* Copyright ConsenSys AG.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing... | 1,376 |
892 | <gh_stars>100-1000
{
"schema_version": "1.2.0",
"id": "GHSA-hvp5-xq7g-8w42",
"modified": "2022-05-13T01:36:18Z",
"published": "2022-05-13T01:36:18Z",
"aliases": [
"CVE-2017-7530"
],
"details": "In CloudForms Management Engine (cfme) before 5.7.3 and 5.8.x before 5.8.1, it was found that privilege chec... | 570 |
852 | <reponame>ckamtsikis/cmssw
#ifndef AlphaTVarAnalyzer_h
#define AlphaTVarAnalyzer_h
#include "DQM/DataScouting/interface/ScoutingAnalyzerBase.h"
class AlphaTVarAnalyzer : public ScoutingAnalyzerBase {
public:
explicit AlphaTVarAnalyzer(const edm::ParameterSet &);
~AlphaTVarAnalyzer() override;
void bookHistogram... | 283 |
854 | <reponame>timxor/leetcode-journal
__________________________________________________________________________________________________
sample 4 ms submission
class Solution {
public:
vector<int> singleNumber(vector<int>& nums) {
std::ios::sync_with_stdio(false);std::cin.tie(NULL);std::cout.tie(NULL);
... | 593 |
381 | """
An interpreter for a strange word-based language: the program is a list
of space-separated words. Most words push themselves on a stack; some
words have another action. The result is the space-separated words
from the stack.
Hello World => 'Hello World'
6 7 ADD => '13' ... | 3,934 |
2,151 | <filename>third_party/blink/renderer/platform/blob/testing/fake_blob.cc
// 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 "third_party/blink/renderer/platform/blob/testing/fake_blob.h"
#include ... | 544 |
551 | <reponame>pjm073/beeper-android-smsmms
/*
* Copyright (C) 2011 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/L... | 3,151 |
848 | <reponame>gilteunchoi/clstm
#include "clstm_compute.h"
#include <iomanip>
#include <iostream>
#include <memory>
#include <unsupported/Eigen/CXX11/Tensor>
// The NOINLINE attribute is used before all forward_/backward_ steps
// to make execution profiles a little more readable (probably not
// needed).
#ifndef NOINLIN... | 7,838 |
706 | #!/usr/bin/env python
"""
This script shows how to use shellpython directly from python without using the shellpy command
"""
import shellpython
shellpython.init() # installs the shellpython import hook. Call uninit() to remove the hook if no longer needed
import shared # imports shellpy module
def main():
pr... | 117 |
618 | <gh_stars>100-1000
package hprose.example.promise;
import hprose.util.concurrent.Promise;
public class Exam11 {
public static void main(String[] args) throws InterruptedException {
Promise.forEach((Integer element) -> {
System.out.println(element);
}, 1, Promise.value(2), 3);
P... | 263 |
337 | <filename>idea/testData/copyPaste/conversion/FieldWithNoModifierAndNoSemicolon.java
public class JavaClass {
public <selection>volatile int field = 1</selection>;
} | 53 |
4,013 | <gh_stars>1000+
from checkov.common.models.enums import CheckResult, CheckCategories
from checkov.cloudformation.checks.resource.base_resource_value_check import BaseResourceValueCheck
from checkov.common.models.consts import ANY_VALUE
class CloudtrailEncryption(BaseResourceValueCheck):
def __init__(self):
... | 282 |
2,542 | <gh_stars>1000+
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#pragma once
... | 465 |
319 | <reponame>Celebrate-future/openimaj
/**
* Copyright (c) 2011, The University of Southampton and the individual contributors.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* * Redistr... | 1,742 |
2,542 | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#include "stdafx.h"
using na... | 2,719 |
3,428 | <gh_stars>1000+
{"id":"00482","group":"easy-ham-2","checksum":{"type":"MD5","value":"dcb4dd7822137630e5659b86336082c3"},"text":"From <EMAIL> Wed Aug 21 12:41:30 2002\nReturn-Path: <<EMAIL>>\nDelivered-To: y<EMAIL>.netnoteinc.com\nReceived: from localhost (localhost [127.0.0.1])\n\tby phobos.labs.netnoteinc.com (Postfi... | 1,142 |
488 | #ifndef H_SATIRE_DATAFLOW_ANALYSIS
#define H_SATIRE_DATAFLOW_ANALYSIS
#include "satire.h"
#include <cstdarg>
namespace SATIrE {
class DataFlowAnalysis: public Analysis
{
public:
virtual std::string identifier() const;
virtual std::string description() const;
// DataFlowAnalysis defines a common way to run... | 1,000 |
648 | {"resourceType":"DataElement","id":"Contract.term","meta":{"lastUpdated":"2015-10-24T07:41:03.495+11:00"},"url":"http://hl7.org/fhir/DataElement/Contract.term","name":"term","status":"draft","experimental":true,"stringency":"fully-specified","element":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/struc... | 174 |
335 | <filename>T/Tiff_noun.json<gh_stars>100-1000
{
"word": "Tiff",
"definitions": [
"A petty quarrel, especially one between friends or lovers."
],
"parts-of-speech": "Noun"
} | 84 |
402 | /*
* Copyright 2000-2021 <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/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | 1,461 |
335 | {
"word": "Splendid",
"definitions": [
"Magnificent; very impressive.",
"Excellent; very good."
],
"parts-of-speech": "Adjective"
} | 74 |
3,459 | #ifndef _SHARED_H_
#define _SHARED_H_
#include <mednafen/mednafen.h>
#include <mednafen/hw_cpu/z80-fuse/z80.h>
using namespace Mednafen;
#include "sms.h"
#include "pio.h"
#include "memz80.h"
#include "vdp.h"
#include "render.h"
#include "sound.h"
#include "system.h"
#include "tms.h"
#include "cart.h"... | 199 |
364 | <filename>app/src/main/java/com/markzhai/lyrichere/ui/AboutActivity.java
package com.markzhai.lyrichere.ui;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import android.support.v7.app.AppCompatActivity;
import... | 556 |
314 | <reponame>syamasakigoodrx/astronomer
from tests.helm_template_generator import render_chart
import pytest
from . import supported_k8s_versions
import jmespath
@pytest.mark.parametrize(
"kube_version",
supported_k8s_versions,
)
def test_astronomer_commander_deployment(kube_version):
"""Test that helm rende... | 923 |
337 | <filename>app/src/main/java/com/edotassi/amazmod/event/ResultDownloadFileChunk.java
package com.edotassi.amazmod.event;
import com.huami.watch.transport.DataBundle;
import amazmod.com.transport.data.ResultDownloadFileChunkData;
public class ResultDownloadFileChunk {
private ResultDownloadFileChunkData resultDow... | 206 |
499 | <reponame>ivasanpag/datasource-proxy
package net.ttddyy.dsproxy.support;
import net.ttddyy.dsproxy.proxy.ProxyConfig;
import org.springframework.beans.factory.BeanNameAware;
/**
* Extending {@link ProxyDataSource} to use
* spring bean name(id) as dataSourceName when it is not set.
*
* @author <NAME>
*/
public cl... | 263 |
441 | <reponame>mrdziuban/basex
package org.basex.query.func.inspect;
import java.util.*;
import org.basex.query.*;
import org.basex.query.func.*;
import org.basex.query.value.*;
import org.basex.query.value.item.*;
import org.basex.query.value.type.*;
import org.basex.util.*;
import org.basex.util.options.*;
/**
* Funct... | 799 |
1,006 | <reponame>zhuyanlinzyl/incubator-nuttx<gh_stars>1000+
/****************************************************************************
* include/nuttx/sensors/hall3ph.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this... | 1,265 |
405 | #!/usr/bin/python3
import struct
import sys
import os
import argparse
def read_labels(filename):
""" read labels from given file. """
contents = bytes()
with open(filename, "rb") as f:
f.seek(0, 2) # move the cursor to the end of the file
num_points = int(f.tell() / 4)
f.seek(0, 0)
contents = ... | 1,389 |
1,093 | /*
* Copyright 2002-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 502 |
30,023 | <reponame>liangleslie/core<gh_stars>1000+
"""Representation of a sensorMultilevel."""
from __future__ import annotations
from collections.abc import Callable
from dataclasses import dataclass
from zwave_me_ws import ZWaveMeData
from homeassistant.components.sensor import (
SensorDeviceClass,
SensorEntity,
... | 2,143 |
2,460 |
package io.fabric8.openshift.api.model;
import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fast... | 2,141 |
478 | <reponame>undeadinu/minko
/*
Copyright (c) 2014 Aerys
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, merge, publ... | 2,305 |
19,438 | /*
* Copyright (c) 2018-2021, <NAME> <<EMAIL>>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <AK/MACAddress.h>
#include <Kernel/Bus/PCI/API.h>
#include <Kernel/Bus/PCI/IDs.h>
#include <Kernel/Debug.h>
#include <Kernel/Net/Intel/E1000NetworkAdapter.h>
#include <Kernel/Net/NetworkingManagement.h>
#include <K... | 8,059 |
3,269 | // Time: O(m * n)
// Space: O(n)
class Solution {
public:
int smallestCommonElement(vector<vector<int>>& mat) {
// values could be duplicated in each row
unordered_set<int> intersections(mat[0].cbegin(), mat[0].cend());
for (int i = 1; i < mat.size(); ++i) {
const auto a = move... | 611 |
571 | <reponame>ManiLikhdhari/camelinaction2
package camelinaction;
import java.util.ArrayList;
import java.util.List;
import org.apache.camel.test.spring.CamelSpringTestSupport;
import org.junit.Test;
import org.springframework.context.support.AbstractXmlApplicationContext;
import org.springframework.context.support.Class... | 455 |
678 | /**
* This header is generated by class-dump-z 0.2b.
*
* Source: /System/Library/PrivateFrameworks/Message.framework/MailServices/IMAP.framework/IMAP
*/
#import <IMAP/IMAP-Structs.h>
#import <IMAP/XXUnknownSuperclass.h>
@class NSString, MFIMAPFetchResult, NSDictionary, NSArray;
@interface MFIMAPResponse : XXUnkn... | 1,697 |
528 | <reponame>egorodet/MethaneK<filename>Modules/Graphics/Core/Sources/Methane/Graphics/Vulkan/BufferVK.h
/******************************************************************************
Copyright 2019-2020 <NAME>
Licensed under the Apache License, Version 2.0 (the "License"),
you may not use this file except in complianc... | 661 |
3,212 | /*
* 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 ... | 1,175 |
2,151 | <filename>third_party/angle/third_party/glmark2/src/src/gl-state.h
/*
* Copyright © 2013 Canonical Ltd
*
* This file is part of the glmark2 OpenGL (ES) 2.0 benchmark.
*
* glmark2 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... | 449 |
1,008 | <reponame>Mshuu/Pizzly
{
"name": "Microsoft Teams",
"image": "https://upload.wikimedia.org/wikipedia/commons/c/c9/Microsoft_Office_Teams_%282018%E2%80%93present%29.svg",
"auth": {
"authorizationURL": "https://login.microsoftonline.com/common/oauth2/v2.0/authorize",
"tokenURL": "https://login.microsoftonli... | 256 |
461 | <gh_stars>100-1000
#include "socketthread.h"
#include "config.h"
SocketThread::SocketThread():QThread ()
{
}
void SocketThread::run(){
tcpServer=new TCPServer(Config::port,Config::ip,5);
tcpServer->loop();
}
void SocketThread::endThread(){
tcpServer->close_socket();
}
SocketThread::~SocketThread(){
... | 127 |
789 | /*-
* Copyright 2016 <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/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wri... | 827 |
3,263 | /*
* Copyright 2020 Immutables Authors and Contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 2,062 |
2,487 | <reponame>lichongbing/lswagger
/*
* Copyright (C) 2018 Zhejiang xiaominfo Technology CO.,LTD.
* All rights reserved.
* Official Web Site: http://www.xiaominfo.com.
* Developer Web Site: http://open.xiaominfo.com.
*/
package com.github.xiaoymin.knife4j.aggre.nacos;
import cn.hutool.core.collection.CollectionUtil;... | 2,112 |
375 | /*
Copyright (c) 2014, Intel Corporation
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,
this list of conditions and the following disclaime... | 11,884 |
11,548 | <reponame>UStarGao/mall-learning
package com.macro.mall.tiny.service;
import com.macro.mall.tiny.domain.AdminUserDetails;
/**
* 后台用于管理Service
* Created by macro on 2020/10/15.
*/
public interface UmsAdminService {
/**
* 根据用户名获取用户信息
*/
AdminUserDetails getAdminByUsername(String username);
/**... | 198 |
785 | <gh_stars>100-1000
#ifdef __OpenBSD__
#include <stdlib.h>
#else
#include <alloca.h>
#endif
#include <string.h>
#include <stdio.h>
static int foo(int n, const char *str) {
char *data = alloca(n);
memcpy(data, str, n);
return printf("%s\n", data);
}
static const char hello[] = "Hello world!";
int main(void) {
ret... | 145 |
2,978 | <reponame>nonomal/CommonDevKnowledge
package com.lzw.part1_creation_mode.builder.chainsaw;
/**
* 测试类
*/
public class Test {
public static void main(String[] args) {
HardwareStoreBoss hardwareStoreBoss = new HardwareStoreBoss();
Chainsaws chainsaws = hardwareStoreBoss.notify(new ChainsawBuilder... | 209 |
435 | {
"description": "Tytu\u0142/Topic: PyCon PL 2014 \"Projekty sprz\u0119towe \u2013 bo nie tylko webem cz\u0142owiek \u017cyje\" [PL}\nPrelegent/Speaker: <NAME>\u0144ski \n\nRozw\u00f3j mobilnych urz\u0105dze\u0144 i post\u0119puj\u0105ca cyfryzacja \u017cycia, popularyzacja bezprzewodowego dost\u0119pu dost\u0119pu d... | 561 |
14,668 | <reponame>zealoussnow/chromium
// 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 "components/zucchini/rel32_finder.h"
#include <algorithm>
#include "base/numerics/safe_conversions.h"
namespace... | 4,608 |
565 | <filename>quantities/elementary_functions_test.cpp
#include <functional>
#include <string>
#include "google/protobuf/stubs/common.h"
#include "glog/logging.h"
#include "gtest/gtest.h"
#include "quantities/astronomy.hpp"
#include "quantities/bipm.hpp"
#include "quantities/constants.hpp"
#include "quantities/elementar... | 3,184 |
591 | <filename>client/src/main/java/com/github/yeecode/objectlogger/client/richText/Html2Text.java
package com.github.yeecode.objectlogger.client.richText;
import javax.swing.text.MutableAttributeSet;
import javax.swing.text.html.HTML;
import javax.swing.text.html.HTMLEditorKit;
import javax.swing.text.html.parser.ParserDe... | 1,044 |
1,975 | // Copyright 2013 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 agreed to in... | 555 |
2,071 | /*
* Copyright 2019 WeBank
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, ... | 3,265 |
403 | <gh_stars>100-1000
package io.craft.atom.redis;
import io.craft.atom.redis.api.MasterSlaveRedis;
import io.craft.atom.redis.api.Redis;
import io.craft.atom.redis.api.RedisException;
import io.craft.atom.redis.api.RedisPubSub;
import io.craft.atom.redis.api.RedisTransaction;
import io.craft.atom.redis.api.ScanResult;
i... | 13,300 |
348 | {"nom":"Candor","circ":"6ème circonscription","dpt":"Oise","inscrits":230,"abs":131,"votants":99,"blancs":5,"nuls":2,"exp":92,"res":[{"nuance":"FN","nom":"M. <NAME>","voix":61},{"nuance":"REM","nom":"<NAME>","voix":31}]} | 89 |
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... | 6,182 |
457 | package denominator.route53;
import com.squareup.okhttp.mockwebserver.MockResponse;
import org.junit.Rule;
import org.junit.Test;
import denominator.DNSApiManager;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
public class HostedZonesReadableMockTest {
@Rule
public Moc... | 567 |
435 | <reponame>amaajemyfren/data<filename>pydata-indy-2018/videos/sparkflow-utilizing-pyspark-for-training-tensorflow-models-on-large-datasets-by-derek-miller.json
{
"copyright_text": "Creative Commons Attribution license (reuse allowed)",
"description": "As more public, large datasets are becoming available, distribute... | 549 |
14,668 | <reponame>zealoussnow/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 "chromecast/renderer/feature_manager.h"
#include <iostream>
#include <map>
#include <string>
#include <vector>
#... | 2,003 |
1,083 | //===--- Syntax.cpp - Swift Syntax Implementation -------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | 917 |
852 | #ifndef TkDetLayers_TIBLayer_h
#define TkDetLayers_TIBLayer_h
#include "TBLayer.h"
#include "TIBRing.h"
#include "TrackingTools/DetLayers/interface/GeneralBinFinderInZforGeometricSearchDet.h"
/** A concrete implementation for TIB layer
* built out of TIBRings
*/
#pragma GCC visibility push(hidden)
class TIBLayer... | 677 |
412 | <filename>scripts/redact_cli_py/tests/test_helpers/redact_policy_helper.py
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project
# root for license information.
import re
class RedactPolicyHelper:
@staticmethod
def is_first_char(text: str... | 154 |
432 | #include <common.h>
int
main(void) {
struct stat sb;
sem_t *id;
int error;
id = sem_open(TEST_PATH, O_CREAT, 0777, 0);
if (id == SEM_FAILED) {
perror("sem_open");
return 1;
}
error = stat("/var/run/sem", &sb);
if (error) {
perror("stat");
return 1;
}
if ((sb.st_mode & ALLPERMS) != (S_IRWXU|S_IRWXG|... | 239 |
1,766 | /*
* Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | 2,757 |
5,169 | {
"name": "incelerPod",
"version": "0.0.1",
"summary": "Her projeye extension yazmaya bıktıysanız size bir haberimiz var!",
"description": "Bu pod tamamen eğitim amaçlıdır.",
"homepage": "https://github.com/Egemenclr/incelerPod",
"authors": {
"<NAME>": "<EMAIL>"
},
"platforms": {
"ios": "11.0"
... | 214 |
60,067 | <gh_stars>1000+
// Intentionally blank so I get a compile_commands.json entry for the header
| 28 |
1,838 | '''
Main module to launch an example hyperopt search on EC2.
Launch this from outside the rllab main dir. Otherwise, rllab will try to ship the logfiles being written by this process,
which will fail because tar doesn't want to tar files that are being written to. Alternatively, disable the packaging of
log files by r... | 775 |
1,118 | {"deu":{"common":"Amerikanisch-Samoa","official":"Amerikanisch-Samoa"},"fin":{"common":"Amerikan Samoa","official":"Amerikan Samoa"},"fra":{"common":"Samoa américaines","official":"Samoa américaines"},"hrv":{"common":"Američka Samoa","official":"američka Samoa"},"ita":{"common":"Samoa Americane","official":"Samoa ameri... | 223 |
1,538 | <filename>examples/ex_threads.c
/*
* Example program for the Allegro library, by <NAME>.
*
* In this example, each thread handles its own window and event queue.
*/
#include <math.h>
#include <allegro5/allegro.h>
#include <allegro5/allegro_primitives.h>
#include "common.c"
#define MAX_THREADS 100
#defi... | 2,739 |
424 | package com.twitter.elephantbird.pig.store;
import java.io.IOException;
import org.apache.hadoop.mapreduce.OutputFormat;
import org.apache.pig.data.Tuple;
import com.google.protobuf.Message;
import com.google.protobuf.Message.Builder;
import com.twitter.elephantbird.mapreduce.io.ProtobufWritable;
import com.twitter.... | 480 |
647 | <gh_stars>100-1000
#ifndef TEST_VIEW_HH
#define TEST_VIEW_HH
#include <sstream>
#include "string.h"
#include "DPV/DPV_view.hh"
#include "DPC/DPC_product.hh"
class Test_view: public DPV_view {
public:
Test_view() {};
~Test_view() {};
DPV_pointer render_product( DPC_product* product);
DPV_pointer render_... | 478 |
764 | <gh_stars>100-1000
{"symbol": "ALPHR","address": "0xaa99199d1e9644b588796F3215089878440D58e0","overview":{"en": ""},"email": "","website": "https://www.alphr.finance/","state": "NORMAL","links": {"blog": "https://medium.com/alphr-finance","twitter": "https://twitter.com/alphrfinance","telegram": "","github": ""}} | 117 |
309 | // Copyright 2019 the deepx authors.
// Author: <NAME> (<EMAIL>)
//
#include <deepx_core/common/array_view_io.h>
#include <deepx_core/ps/dist_message.h>
namespace deepx_core {
/************************************************************************/
/* DistMessage */
/***********************************************... | 2,287 |
462 | #include <gb/gb.h>
#include <stdint.h>
int var_0; /* In external RAM bank 0 */
| 34 |
8,633 | from prefect.agent.ecs.agent import ECSAgent
| 15 |
318 | <filename>Gep/Source/dc/main.cpp
#include <kos.h>
#include <string.h>
#include "types.h"
#include "main.h"
#include "console.h"
#include "mainloop.h"
/* You can safely remove this line if you don't use a ROMDISK */
//extern uint8 romdisk[];
/* Your program's main entry point */
int main(int argc, char ... | 518 |
14,668 | <reponame>zealoussnow/chromium
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef THIRD_PARTY_BLINK_RENDERER_PLATFORM_LOADER_FETCH_BUFFERING_BYTES_CONSUMER_H_
#define THIRD_PARTY_BLINK_RENDERER_PLA... | 1,354 |
1,166 | // Copyright (c) 2021 Ximalaya Speech Team (<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/LICENSE-2.0
//
// Unless required by applicable ... | 989 |
3,212 | <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... | 703 |
2,805 | <gh_stars>1000+
# encoding: utf-8
"""057 Tracking
Revision ID: 660a5aae527e
Revises: <PASSWORD>
Create Date: 2018-09-04 18:49:08.573692
"""
from alembic import op
import sqlalchemy as sa
from ckan.migration import skip_based_on_legacy_engine_version
# revision identifiers, used by Alembic.
revision = '<KEY>'
down_rev... | 842 |
2,151 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_ARC_CONNECTION_NOTIFIER_H_
#define COMPONENTS_ARC_CONNECTION_NOTIFIER_H_
#include "base/macros.h"
#include "base/observer_list.h"
#inc... | 344 |
1,323 | {
"stages": [
{
"services": {},
"stageName": "quality-gate-test"
}
],
"creationDate": "1629211070179837245",
"gitRemoteURI": "https://github.com/carpe-github/claus-tenant-dev.git",
"gitUser": "carpe-github",
"projectName": "testproject",
"shipyard": "apiVersion: \"spec.keptn.sh/0.2.0\"... | 198 |
5,169 | {
"name": "QueueITLibrary",
"version": "3.0.1",
"summary": "Library for integrating Queue-it into an iOS app using web uI",
"homepage": "https://github.com/queueit/ios-webui-sdk",
"license": "MIT",
"authors": {
"Queue-It": "https://queue-it.com"
},
"platforms": {
"ios": "9.3"
},
"source": {
... | 206 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.