max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
854 | __________________________________________________________________________________________________
sample 20 ms submission
class Solution {
private:
/*
* This problem can be reduced to LIS (Longest Increasing Sub-sequence) problem.
* See LeetCode 300 - Longest Increasing Subsequence.
*
* In LIS ... | 1,111 |
525 | // *****************************************************************************
// *****************************************************************************
// Copyright 2013 - 2015, Cadence Design Systems
//
// This file is part of the Cadence LEF/DEF Open Source
// Distribution, Product Version 5.8. ... | 3,511 |
3,765 | /**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.java.rule.bestpractices.unusedprivatemethod;
/**
*
* ClassWithPublicEnum.java
*
* Copyright 2014 Expedia, Inc. All rights reserved.
* EXPEDIA PROPRIETARY/CONFIDENTIAL. Use is subject to licens... | 199 |
852 | <filename>DQM/SiStripMonitorHardware/src/FEDErrors.cc
#include "FWCore/Utilities/interface/Exception.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "DataFormats/FEDRawData/interface/FEDNumbering.h"
#include "DataFormats/DetId/interface/DetId.h"
#include "DataFormats/TrackerCommon/interface/Track... | 18,020 |
892 | {
"schema_version": "1.2.0",
"id": "GHSA-hcj7-m6jj-hmx6",
"modified": "2022-05-13T01:33:45Z",
"published": "2022-05-13T01:33:45Z",
"aliases": [
"CVE-2018-17927"
],
"details": "In Delta Industrial Automation TPEditor, TPEditor Versions 1.90 and prior, multiple out-of-bounds write vulnerabilities may be... | 495 |
11,356 | // Boost.Geometry (aka GGL, Generic Geometry Library)
// Copyright (c) 2007-2015 <NAME>, Amsterdam, the Netherlands.
// Copyright (c) 2008-2015 <NAME>, Paris, France.
// Copyright (c) 2009-2015 <NAME>, London, UK.
// Copyright (c) 2013-2015 <NAME>, Lodz, Poland
// This file was modified by Oracle on 2013, 2014, 2015,... | 2,994 |
3,372 | /*
*
* Copyright (c) 2016 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 "lic... | 1,469 |
16,461 | <filename>packages/expo-updates/ios/EXUpdates/AppLauncher/EXUpdatesAppLauncherNoDatabase.h
// Copyright © 2019 650 Industries. All rights reserved.
#import <EXUpdates/EXUpdatesAppLauncher.h>
#import <EXUpdates/EXUpdatesConfig.h>
NS_ASSUME_NONNULL_BEGIN
@interface EXUpdatesAppLauncherNoDatabase : NSObject <EXUpdates... | 148 |
2,308 | <gh_stars>1000+
/**
* Copyright 2016 vip.com.
* <p>
* 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 o... | 1,466 |
711 | <reponame>jingetiema2100/MicroCommunity<filename>service-user/src/main/java/com/java110/user/listener/owner/AbstractOwnerBusinessServiceDataFlowListener.java<gh_stars>100-1000
package com.java110.user.listener.owner;
import com.alibaba.fastjson.JSONObject;
import com.java110.utils.constant.ResponseConstant;
import com... | 1,879 |
347 | /*
* Copyright (c) 2020, NVIDIA 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 ... | 1,041 |
1,056 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | 2,954 |
348 | {"nom":"Sainte-Vaubourg","dpt":"Ardennes","inscrits":71,"abs":11,"votants":60,"blancs":3,"nuls":4,"exp":53,"res":[{"panneau":"1","voix":28},{"panneau":"2","voix":25}]} | 73 |
1,338 | <gh_stars>1000+
/*
* Copyright 2009 <NAME>, <EMAIL>
* Copyright 2014 Haiku, Inc. All rights reserved.
*
* Distributed under the terms of the MIT License.
*
* Authors:
* <NAME>, <EMAIL>
* <NAME>, <EMAIL>
*/
#ifndef VECTOR_ICON_H
#define VECTOR_ICON_H
struct vector_icon {
uint8* data;
size_t size;
};
#en... | 138 |
1,144 | /*
* #%L
* de.metas.adempiere.adempiere.base
* %%
* Copyright (C) 2020 metas GmbH
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of the
* License, or (at your opt... | 628 |
2,406 | <gh_stars>1000+
// Copyright (C) 2018-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include "ngraph/ngraph_visibility.hpp"
#include "ngraph/node.hpp"
#include "ngraph/op/assign.hpp"
#include "ngraph/op/parameter.hpp"
#include "ngraph/op/read_value.hpp"
#include "ngraph/op/result.hpp"
... | 199 |
302 | <reponame>cashlisa/mos
#ifndef _LIBC_SETJMP_H
#define _LIBC_SETJMP_H 1
#include <stdbool.h>
#include <stdint.h>
#include <sys/cdefs.h>
#include <sys/types.h>
struct __jmp_buf
{
uint32_t regs[6];
bool did_save_signal_mask;
sigset_t saved_signal_mask;
};
typedef struct __jmp_buf jmp_buf[1];
typedef struct __jmp_buf... | 226 |
1,755 | <filename>Rendering/OpenGL2/Testing/Cxx/TestOutlineGlowPass.cxx
/*=========================================================================
Program: Visualization Toolkit
Module: TestOutlineGlowPass.cxx
Copyright (c) <NAME>, <NAME>, <NAME>
All rights reserved.
See Copyright.txt or http://www.kitware.co... | 1,062 |
852 | //---- This is CSCXonStrip_MatchGatti.cc
//---- These values should never change
//---- Maybe should be but in DB...
//---- author <NAME> - NU
#include <RecoLocalMuon/CSCRecHitD/src/CSCXonStrip_MatchGatti.h>
//#include <vector>
void CSCXonStrip_MatchGatti::hardcodedCorrectionInitialization() {
//---- Corrections ... | 73,818 |
308 | <gh_stars>100-1000
from fabric.api import puts, sudo
from fabtools.require.files import directory as require_directory
def test_list_partitions():
"""
List disk partitions
"""
from fabtools.disk import partitions
partitions = partitions()
for pname, ptype in partitions.items():
puts... | 492 |
852 | <gh_stars>100-1000
// -*- C++ -*-
//
// Package: DataRecord
// Class : RPCObGasMixRcd
//
// Implementation:
// <Notes on implementation>
//
// Author:
// Created: Fri Oct 10 09:56:32 CEST 2008
// $Id: RPCObGasMixRcd.cc,v 1.2 2008/12/12 17:32:40 dpagano Exp $
#include "CondFormats/DataRecord/interface/... | 191 |
1,173 | <reponame>SergoMorello/testAppDistance
{
"title": "phpgeo",
"tagline": "A Simple Yet Powerful Geo Library for PHP",
"author": "<NAME>",
"format": "html",
"timezone": "Europe/Berlin",
"html": {
"theme": "daux-red",
"breadcrumbs": true,
"breadcrumb_separator": "Chevrons",
... | 441 |
918 | /*
* 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,595 |
32,544 | package com.baeldung.jsonoptimization;
import java.io.IOException;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.core.ObjectCodec;
import com.fasterxml.jackson.databind.DeserializationContext;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.deser.std.... | 443 |
1,459 | <gh_stars>1000+
{
"CurrVersion": 15,
"MinCompatibleVersion": 8,
"Description": "Add Delay",
"SchemaUpdateCqlFiles": [
"201706160000_delay.cql"
]
}
| 68 |
374 | <filename>testing/UnitTests/ForEach.h
//
// ForEach.h
// UnitTests
//
// Created by <NAME> on 18.04.08.
// Copyright 2008 __MyCompanyName__. All rights reserved.
//
#import <SenTestingKit/SenTestingKit.h>
@interface ForEach : SenTestCase {
}
@end
| 95 |
839 | <reponame>AnEmortalKid/cxf
/**
* 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.... | 780 |
448 | <reponame>thefool76/hacktoberfest2021
class Node:
def __init__(self, data=None):
self.data = data
self.next = None
class LnkdList:
def __init__(self):
self.head = None
l1 = LnkdList()
l1.head = Node("Mon")
e2 = Node("Tue")
e3 = Node("Wed")
# Link first Node to second node
l1.head.next = e2
# L... | 158 |
3,167 | <filename>open_spiel/python/examples/cfr_cpp_example.py
# Copyright 2019 DeepMind Technologies Ltd. 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.apa... | 870 |
14,668 | <filename>chrome/browser/share/link_to_text_bridge.cc<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 <jni.h>
#include "chrome/browser/share/android/jni_headers/LinkToTextBridge... | 537 |
1,052 | <gh_stars>1000+
/* ----------------------------------------------------------------------- *
*
* Copyright 1996-2020 The NASM Authors - All Rights Reserved
* See the file AUTHORS included with the NASM distribution for
* the specific copyright holders.
*
* Redistribution and use in source and binary forms... | 6,589 |
310 | {
"name": "Brain Wave (iOS)",
"description": "A binaural app.",
"url": "https://itunes.apple.com/us/app/brain-wave-32-advanced-binaural/id307219387"
} | 64 |
310 | {
"name": "LensFlare (iOS)",
"description": "A photo effects app.",
"url": "https://itunes.apple.com/us/app/lensflare/id349424050"
} | 56 |
3,631 | /*
* Copyright 2021 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... | 2,048 |
4,036 | package javax.xml.xquery;
public interface XQStaticContext {}
| 20 |
1,337 | /*
* Copyright (c) 2008-2016 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... | 518 |
2,921 | {
"name": "1World",
"symbol": "1WO",
"type": "ERC20",
"decimals": 8,
"description": "1World is first of its kind media token and new generation Adsense. 1WO is used for increasing user engagement by sharing 10% ads revenue with participants and for buying ads.",
"website": "https://ico.1worldonl... | 156 |
3,508 | package com.fishercoder.solutions;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
public class _296 {
public static class Solution1 {
/**
* Credit: https://leetcode.com/problems/best-meeting-point/solution/ Approach 3
*/
public int minTotalDistan... | 675 |
763 | package org.batfish.representation.cumulus_nclu;
import static org.batfish.representation.cumulus_nclu.CumulusConversions.DEFAULT_LOOPBACK_BANDWIDTH;
import static org.hamcrest.Matchers.equalTo;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertThat;
import static org.junit.Assert.assert... | 1,537 |
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,468 |
3,631 | /*
* Copyright 2010 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 ap... | 1,256 |
654 | import pytest
import py_cui
import py_cui.debug as dbg
import py_cui.grid
@pytest.fixture
def LOGGER():
return dbg.PyCUILogger('PYCUI TEST')
@pytest.fixture
def RENDERER(request, LOGGER):
return py_cui.renderer.Renderer(None, None, LOGGER)
@pytest.fixture
def GRID(request, LOGGER):
def _GRID(rows, ... | 1,657 |
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.billing.models;
import com.azure.resourcemanager.billing.fluent.models.ValidateProductTransferEligibilityResultInner;
/** An im... | 335 |
2,443 | <filename>Tests/HAPUTF8Test.c<gh_stars>1000+
// Copyright (c) 2015-2019 The HomeKit ADK Contributors
//
// Licensed under the Apache License, Version 2.0 (the “License”);
// you may not use this file except in compliance with the License.
// See [CONTRIBUTORS.md] for the list of HomeKit ADK project authors.
#include "... | 1,290 |
861 | package cn.springcloud.gray.server.app2.web.domain.vo;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Arrays;
import java.util.List;
@Data
@NoArgsConstructor
public class UserInfoVO {
private List<String> roles = Arrays.asList("admin");
private String introduction = "I am a super admin... | 179 |
347 | package org.ovirt.engine.core.common.action;
import java.util.HashMap;
import java.util.Map;
import org.ovirt.engine.core.common.businessentities.qos.CpuQos;
import org.ovirt.engine.core.common.businessentities.qos.StorageQos;
import org.ovirt.engine.core.common.businessentities.storage.DiskImage;
import org.ovirt.en... | 526 |
2,249 | # ============================================================================
# FILE: tag.py
# AUTHOR: <NAME> <<EMAIL>go.Matsu at g<EMAIL>>
# License: MIT license
# ============================================================================
import re
import typing
from pathlib import Path
from pynvim import Nvim
fr... | 1,694 |
2,180 | package com.xiaojukeji.kafka.manager.common.entity.vo.common;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
* Topic信息
* @author zengqiao
* @date 19/4/1
*/
@ApiModel(description = "Topic信息概览")
public class TopicOverviewVO {
@ApiModelProperty(value = "集群ID")
pri... | 1,787 |
335 | <reponame>Safal08/Hacktoberfest-1
{
"word": "Guitarfish",
"definitions": [
"A fish of shallow warm seas, related to the rays and having a body likened to a guitar in shape."
],
"parts-of-speech": "Noun"
} | 93 |
372 | /*
* 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, software distributed under t... | 60,163 |
1,909 | <reponame>grmkris/XChange
package org.knowm.xchange.tradeogre;
import java.io.IOException;
import java.util.List;
import java.util.Map;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import org.knowm.xchange.tradeogre.dto.marketdata.TradeOgreOrderBook;
import org.knowm.xchange.tradeogre... | 268 |
3,799 | /*
* Copyright 2018 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 applica... | 3,225 |
1,269 | <gh_stars>1000+
/*
* This class is based on the C# open source freeware library Clipper:
* http://www.angusj.com/delphi/clipper.php
* The original classes were distributed under the Boost Software License:
*
* Freeware for both open source and commercial applications
* Copyright 2010-2014 <NAME>
* Boost Software... | 55,993 |
14,668 | // 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 <limits>
#include <memory>
#include <string>
#include <vector>
#include "base/check_op.h"
#include "base/strings/string_piece.h"
#include "net/d... | 878 |
2,406 | <filename>src/common/preprocessing/ie_preprocess_gapi_kernels_simd_impl.hpp
// Copyright (C) 2018-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#ifndef IE_PREPROCESS_GAPI_KERNELS_SIMD_IMPL_H
#define IE_PREPROCESS_GAPI_KERNELS_SIMD_IMPL_H
#include <algorithm>
#include <utility>
#include "ie_preproc... | 14,071 |
3,102 | <reponame>medismailben/llvm-project
// REQUIRES: x86-registered-target
// RUN: %clang_cc1 -triple x86_64-macho -emit-llvm %s -o %t
// <rdar://problem/10657500>: Check that the backing store of CFStrings are
// constant with the -fwritable-strings flag.
//
// RUN: %clang_cc1 -triple x86_64-macho -fwritable-strings -em... | 366 |
5,169 | <filename>Specs/e/2/d/FitCloudWFKit/1.0.3/FitCloudWFKit.podspec.json
{
"name": "FitCloudWFKit",
"version": "1.0.3",
"summary": "FitCloud 智能手表自定义表盘创建框架, 旨在帮助您轻松创建属于您自己的表盘文件。",
"description": "iOS framework help you creating customized watchface for fitcloud smart watch easily. \nFitCloud 智能手表自定义表盘创建框架, 旨在帮助您轻松创建... | 635 |
1,007 | ##############################################################
# Copyright (c) 2018-present, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.
##############################################################
"""... | 666 |
348 | <reponame>chamberone/Leaflet.PixiOverlay<filename>docs/data/leg-t2/043/04301162.json<gh_stars>100-1000
{"nom":"Retournac","circ":"1ère circonscription","dpt":"Haute-Loire","inscrits":2250,"abs":1197,"votants":1053,"blancs":69,"nuls":31,"exp":953,"res":[{"nuance":"LR","nom":"<NAME>","voix":582},{"nuance":"REM","nom":"<N... | 139 |
313 | /* prmcw3i3.c: MUTATOR CONTEXT INTEL 386 (Windows)
*
* $Id$
* Copyright (c) 2001-2020 Ravenbrook Limited. See end of file for license.
*
* PURPOSE
*
* .purpose: Implement the mutator context module. <design/prmc>.
*
* SOURCES
*
* .source.i486: Intel486 Microprocessor Family Programmer's
* Reference Manual ... | 1,432 |
524 | <reponame>Ewenwan/nontrivial-mips<filename>testbench/cache/cases/gen/from_raw.cpp<gh_stars>100-1000
#include <iostream>
#include <random>
#include <iomanip>
#include <unordered_map>
using namespace std;
#define ADDR_SLICE true
int main() {
random_device rd;
mt19937 gen(rd());
unordered_map<uint32_t, uint32_t>... | 405 |
1,413 | #!/usr/bin/python
import pytest
def pytest_addoption(parser):
parser.addoption("--ebs", action="store_true",
help="enable EBS test. Must be on EC2 instance. You would be billed for this")
parser.addoption("--container", action="store_true",
help="test against container instead of local ... | 115 |
408 | import os
import json
import shlex
import shutil
import subprocess
from subprocess import STDOUT, check_output
from distutils.version import LooseVersion
from blacklist import BLACKLIST
from random import shuffle
def attrget(item, key):
keys = key.split('.')
for key in keys:
if item:
it... | 1,069 |
328 | package nlp.tool;
import java.util.List;
import qa.Globals;
import nlp.ds.Sentence;
import nlp.ds.Word;
import edu.stanford.nlp.ie.AbstractSequenceClassifier;
import edu.stanford.nlp.ie.crf.CRFClassifier;
import edu.stanford.nlp.ling.CoreAnnotations.AnswerAnnotation;
import edu.stanford.nlp.ling.CoreAnnotations.Pos... | 677 |
65,371 | <filename>src/crc32c/src/crc32c_round_up.h
// Copyright 2017 The CRC32C Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
#ifndef CRC32C_CRC32C_ROUND_UP_H_
#define CRC32C_CRC32C_ROUND_UP_... | 397 |
1,350 | <reponame>Shashi-rk/azure-sdk-for-java<filename>sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/models/ComputePolicies.java<gh_stars>1000+
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code gener... | 2,240 |
398 | package io.joyrpc.codec.serialization.protostuff.schema;
/*-
* #%L
* joyrpc
* %%
* Copyright (C) 2019 joyrpc.io
* %%
* 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://w... | 1,044 |
12,964 | /**
* This file shows you how to find the smaller of the two angles between two vectors in R3
*
* <p>Time Complexity: O(1)
*
* @author <NAME>, <EMAIL>
*/
package com.williamfiset.algorithms.geometry;
import static java.lang.Math.*;
public class AngleBetweenVectors3D {
// Return the smaller of the two angles ... | 764 |
665 | <reponame>kstepanmpmg/mldb
#
# MLDB-668-object-column-name.py
# mldb.ai inc, 2015
# this file is part of mldb. copyright 2015 mldb.ai inc. all rights reserved.
#
from mldb import mldb
ds1 = mldb.create_dataset({
'type': 'sparse.mutable',
'id': 'dataset1'})
for i in range(1):
ds1.record_row('row_' + str(i)... | 319 |
2,151 | /*
* Copyright (C) 2015 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... | 2,745 |
1,056 | <reponame>Antholoj/netbeans<gh_stars>1000+
package org.netbeans.test.java.hints;
import java.util.List;
public abstract class CreateParam5 {
private List<String> x;
public void test(int a) {
foo = x;
}
}
| 108 |
348 | {"nom":"Saint-Rome","circ":"10ème circonscription","dpt":"Haute-Garonne","inscrits":54,"abs":17,"votants":37,"blancs":2,"nuls":0,"exp":35,"res":[{"nuance":"REM","nom":"<NAME>","voix":22},{"nuance":"FI","nom":"<NAME>","voix":13}]} | 93 |
460 | <reponame>dyzmapl/BumpTop
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//... | 5,695 |
928 | <filename>demos/rust/rust_app/src/util.cpp
extern "C"
void increment_by_one(int *input) {
*input += 1;
}
| 48 |
515 | <reponame>kraehlit/CTK
/*=============================================================================
Library: CTK
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except ... | 481 |
4,772 | package example.service;
import example.repo.Customer1196Repository;
import org.springframework.stereotype.Service;
@Service
public class Customer1196Service {
public Customer1196Service(Customer1196Repository repo) {}
}
| 64 |
334 | /*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwar... | 3,026 |
353 | <reponame>stachu86/lhotse<gh_stars>100-1000
from math import ceil
import numpy as np
import pytest
from lhotse.features.librosa_fbank import LibrosaFbank, pad_or_truncate_features
from lhotse.utils import is_module_available
@pytest.mark.parametrize(
"feats,expected_num_frames,abs_tol",
[
(np.zeros(... | 777 |
539 | <reponame>nstng/magma<filename>lte/gateway/c/core/oai/common/common_utility_funs.hpp
#define pragma once
#ifdef __cplusplus
extern "C" {
#endif
#include "lte/gateway/c/core/common/common_defs.h"
#include "lte/gateway/c/core/oai/common/conversions.h"
#include "lte/gateway/c/core/oai/common/log.h"
#include "lte/gateway... | 443 |
6,989 | /* Threading for AtheOS.
Based on thread_beos.h. */
#include <atheos/threads.h>
#include <atheos/semaphore.h>
#include <atheos/atomic.h>
#include <errno.h>
#include <string.h>
/* Missing decl from threads.h */
extern int exit_thread(int);
/* Undefine FASTLOCK to play with simple semaphores. */
#define FASTLOCK
... | 2,708 |
9,734 | /*
* 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 ... | 11,786 |
771 | {
"name": "Font style matcher",
"desc": "Matches the x-heights and widths of two fonts (webfont and fallback font)",
"url": "https://meowni.ca/font-style-matcher/",
"tags": [
"CSS",
"Fonts",
"Typography"
],
"maintainers": [
"notwaldorf"
],
"addedAt": "2020-01-30"
}
| 129 |
2,701 | <filename>components/wifi_provisioning/src/wifi_scan.c
// Copyright 2019 Espressif Systems (Shanghai) PTE LTD
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.o... | 5,037 |
844 | {
"github-username": "Devblaise",
"favourite-emoji": "😙",
"favourite-music": "https://soundcloud.com/burnaboy/sets/african-giant-1",
"favourite-color": "#eeeeee"
} | 74 |
18,621 | <filename>tests/integration_tests/fixtures/energy_dashboard.py
# 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 t... | 2,830 |
2,023 | def StringVersion( seq ):
return '.'.join( ['%s'] * len( seq )) % tuple( seq )
def TupleVersion( str ):
return map( int, str.split( '.' ))
| 56 |
1,053 | /*
* Copyright (c) 2008 Stanford University.
* 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 c... | 1,150 |
32,544 | package com.baeldung.kubernetes.admission.dto;
public class AdmissionReviewException extends RuntimeException {
private static final long serialVersionUID = 1L;
private final int code;
public AdmissionReviewException(int code, String message) {
super(message);
this.code = code;
}
... | 175 |
1,875 | /*
* Copyright 2019 <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 ... | 799 |
1,006 | /****************************************************************************
* sched/sched/sched_critmonitor.c
*
* 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 o... | 4,227 |
397 | // sciplot - a modern C++ scientific plotting library powered by gnuplot
// https://github.com/sciplot/sciplot
//
// Licensed under the MIT License <http://opensource.org/licenses/MIT>.
//
// Copyright (c) 2018-2021 <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this sof... | 1,092 |
679 | <filename>main/package/source/package/manifest/ManifestDefines.hxx
/**************************************************************
*
* 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
*... | 1,206 |
2,177 | /*
* Copyright 2021 LinkedIn Corp. Licensed under the BSD 2-Clause License (the "License"). See License in the project root for license information.
*/
package com.linkedin.kafka.cruisecontrol.servlet.parameters;
import com.linkedin.kafka.cruisecontrol.servlet.CruiseControlEndPoint;
import java.io.UnsupportedEncodi... | 922 |
360 | /*
* Copyright (c) 2020 Huawei Technologies Co.,Ltd.
*
* openGauss is licensed under Mulan PSL v2.
* You can use this software according to the terms and conditions of the Mulan PSL v2.
* You may obtain a copy of Mulan PSL v2 at:
*
* http://license.coscl.org.cn/MulanPSL2
*
* THIS SOFTWARE IS PROVIDED ... | 2,655 |
1,056 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | 1,320 |
713 | // 1. Obtain a reference to a cache
Cache cache = ...
Address address = cache.getCacheManager().getAddress();
// 2. Create the affinity service
KeyAffinityService keyAffinityService = KeyAffinityServiceFactory.newLocalKeyAffinityService(
cache,
new RndKeyGenerator(),
Executors.newSingleThreadExecutor... | 167 |
640 | /* data.c */
extern char amivers[];
extern char titlec[];
extern char Banner[];
extern char Version[];
extern SYMBOL *symtab;
extern SYMBOL *loctab;
extern SYMBOL *locptr;
extern int glbcnt;
extern WHILE_TAB *wqueue;
extern WHILE_TAB *wqptr;
extern unsigned char *litq;
extern unsigned char *dubq;
extern unsigned char *... | 694 |
3,175 | # coding=utf-8
# Copyright 2020 The TF-Agents 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 applicable la... | 9,013 |
14,668 | <filename>third_party/harfbuzz-ng/utils/hb_scoped.h
// 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.
#ifndef THIRD_PARTY_HARFBUZZ_NG_UTILS_HB_SCOPED_H_
#define THIRD_PARTY_HARFBUZZ_NG_UTILS_HB_SCOPED_H_
... | 971 |
5,169 | {
"name": "YFCatagroy",
"version": "1.0.1",
"summary": "A collection of categories commonly used in iOS projects",
"description": "image browser for iOS (powerful, superior performance), \nan easy way to use.",
"homepage": "https://github.com/YFBig-Heart/YYFCatagroy",
"license": "MIT",
"authors": {
"刘... | 260 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.