max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
830 | <gh_stars>100-1000
# Copyright 2017 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
#
# Unless required by ... | 2,762 |
1,272 | <reponame>AndersSpringborg/avs-device-sdk
/*
* Copyright 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.... | 1,528 |
580 | <reponame>shuaijunlan/floodlight
package net.floodlightcontroller.cpanalyzer;
import java.util.Collection;
import java.util.Map;
import org.projectfloodlight.openflow.protocol.OFMessage;
import org.projectfloodlight.openflow.protocol.OFPacketIn;
import org.projectfloodlight.openflow.protocol.OFPacketOut;
import org.p... | 2,833 |
2,132 | <filename>nvcodec/src/gen/java/org/bytedeco/nvcodec/nvcuvid/CCtxAutoLock.java
// Targeted by JavaCPP version 1.5.6: DO NOT EDIT THIS FILE
package org.bytedeco.nvcodec.nvcuvid;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.javacpp.presets.javacp... | 356 |
787 | <filename>leetcode/1376. Time Needed to Inform All Employees/s2.cpp
// OJ: https://leetcode.com/problems/time-needed-to-inform-all-employees/
// Author: github.com/lzl124631x
// Time: O(N)
// Space: O(N)
class Solution {
vector<vector<int>> m; // manager => subordinates
int dfs(int id, vector<int>& time) {
... | 343 |
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.
#include "ios/chrome/browser/desktop_promotion/desktop_promotion_sync_service.h"
#include "components/pref_registry/pref_registry_syncable.h"
#include "c... | 615 |
1,056 | <reponame>timfel/netbeans<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 Lice... | 1,700 |
1,347 | <filename>Source/Ejecta/EJUtils/EJBindingKeyInput.h
// EJBindingKeyInput allows you to bring up and control the on-screen keyboard
// and prompt the user for text.
// The implementation somewhat mimics an invisible <input/> field in the browser
// - you can .focus() and .blur() it and read the .value. The Ejecta.js al... | 404 |
1,524 | #!/usr/bin/env python
from gcloud import GCInstance
gci = GCInstance("vexriscv")
gci.create()
gci.start()
gci.remoteToLocal("run.txt","run.txt")
gci.stop()
gci.delete()
| 71 |
1,768 | <gh_stars>1000+
// Copyright (c) Dec 08, 2016 Microsoft Corporation. All rights reserved.
package org.lamport.tla.toolbox;
import java.io.File;
import java.util.HashMap;
import java.util.Map;
import org.eclipse.e4.core.services.events.IEventBroker;
import org.eclipse.e4.ui.workbench.UIEvents;
import org.eclipse.e4.u... | 1,414 |
316 | <reponame>pcrane70/Argus
/*
* Copyright (c) 2016, Salesforce.com, 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. Redistributions of source code must retain the above copyright ... | 2,822 |
460 | <reponame>dyzmapl/BumpTop
#include "../../src/sql/drivers/ibase/qsql_ibase.h"
| 38 |
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.
// ------------------------------------------------------------
#pragma once
namespace Store
... | 530 |
6,160 | /*
* 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 ... | 2,379 |
2,151 | <filename>chrome/browser/vr/skia_surface_provider.h<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.
#ifndef CHROME_BROWSER_VR_SKIA_SURFACE_PROVIDER_H_
#define CHROME_BROWSER_VR_SKIA_SURFA... | 377 |
4,054 | /*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.util.zstd;
import javax.annotation.*;
import java.nio.*;
import org.lwjgl.*;
import org.lwjgl.system.*;
import static org.lwjgl.system.MemoryUtil.*;
import static ... | 4,671 |
4,071 | <filename>xdl/ps-plus/ps-plus/server/udf/test/aggregate_slice_test.cc
/* Copyright (C) 2016-2018 Alibaba Group Holding Limited
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.... | 5,519 |
1,442 | <reponame>didichuxing/delta<filename>delta/data/frontend/plp.py
# Copyright (C) 2017 Beijing Didi Infinity Technology and Development Co.,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 ... | 1,243 |
1,609 | # Copyright (C) 2002 <NAME> and Rational Discovery LLC
#
# 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 of the License, or (at your option) any later version.
#
# T... | 4,749 |
870 | {
"editor.formatOnSave": true,
"files.exclude": {
"node_modules/**": true,
"dist/": true,
".nyc_output/": true,
"coverage/": true
},
"search.exclude": {
"node_modules/**": true,
"dist/": true,
".nyc_output/": true,
"coverage/": true
}
}
| 129 |
14,668 | // 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.
#ifndef IOS_CHROME_BROWSER_OPTIMIZATION_GUIDE_OPTIMIZATION_GUIDE_SERVICE_H_
#define IOS_CHROME_BROWSER_OPTIMIZATION_GUIDE_OPTIMIZATION_GUIDE_SERVICE_H_
#... | 1,294 |
2,151 | <gh_stars>1000+
/*
* Copyright 2009 The Android Open Source Project
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkBlitRow_opts_SSE2_DEFINED
#define SkBlitRow_opts_SSE2_DEFINED
#include "SkBlitRow.h"
void S32_Blend_BlitRow32_SSE2(SkPMColor* S... | 468 |
605 | package com.sohu.tv.mq.cloud.web.controller.admin;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.Reque... | 1,057 |
450 | /*
* Copyright (c) 2004, 2005, 2006 TADA AB - Taby Sweden
* Distributed under the terms shown in the file COPYRIGHT
* found in the root directory of this distribution or at
* http://eng.tada.se/osprojects/COPYRIGHT.html
*/
package org.postgresql.pljava;
import java.sql.SQLException;
public interface ObjectPool
{... | 299 |
450 | <gh_stars>100-1000
#include <onnc/Runtime/operator/squeeze.h>
#include <stdint.h>
#include <stdbool.h>
void ONNC_RUNTIME_squeeze_float(
void * restrict onnc_runtime_context
,const float * restrict input_data
,int32_t input_data_ndim, const int32_t * restrict input_data_dims
,float * restrict output_squeezed
... | 290 |
419 | /*
* Copyright 2017 - 2018 The ModiTect 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 applic... | 750 |
348 | {"nom":"Montenoison","circ":"2ème circonscription","dpt":"Nièvre","inscrits":112,"abs":55,"votants":57,"blancs":4,"nuls":11,"exp":42,"res":[{"nuance":"SOC","nom":"<NAME>","voix":22},{"nuance":"REM","nom":"M. <NAME>","voix":20}]} | 92 |
612 | /* Copyright (c) 2005-2011, <NAME>
* 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 conditi... | 983 |
975 | /**
* Copyright (c) 2018-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "gloo/alltoall.h"
#include <cstring>
#include "gloo/common/logging.h"
#include "gloo/types.h"
... | 577 |
615 | <reponame>ChaseKnowlden/vscode-jupyter
import unittest
class Tst_test2(unittest.TestCase):
def tst_A2(self):
self.fail("Not implemented")
def tst_B2(self):
self.assertEqual(1,1,'Not equal')
def tst_C2(self):
self.assertEqual(1,2,'Not equal')
def tst_D2(self):
raise Ar... | 194 |
317 | <filename>include/edyn/serialization/constraint/generic_constraint_s11n.hpp
#ifndef EDYN_SERIALIZATION_CONSTRAINT_GENERIC_CONSTRAINT_S11N_HPP
#define EDYN_SERIALIZATION_CONSTRAINT_GENERIC_CONSTRAINT_S11N_HPP
#include "edyn/constraints/generic_constraint.hpp"
namespace edyn {
template<typename Archive>
void serialize... | 206 |
335 | <reponame>Safal08/Hacktoberfest-1
{
"word": "Omnipotence",
"definitions": [
"The quality of having unlimited or very great power."
],
"parts-of-speech": "Noun"
} | 82 |
309 | <reponame>rdenham/jug
from itertools import product, chain
import numpy as np
from jug import TaskGenerator
from crypt import decode, letters, isgood, preprocess
with open('secret.msg', 'rb') as f:
ciphertext = f.read()
ciphertext = preprocess(ciphertext)
@TaskGenerator
def decrypt(prefix):
res = []
f... | 293 |
1,310 | <filename>media/papers/OpenPatternMatching/artifact/code/msvc/Versity/versity-types.hpp<gh_stars>1000+
#pragma once
#include <ostream>
#include <string>
#include <vector>
typedef double CDouble;
typedef float CFloat;
typedef char CChar;
typedef unsigned char ... | 2,384 |
13,006 | /*******************************************************************************
* Copyright (c) 2015-2018 Skymind, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
*
*... | 630 |
839 | <filename>core/src/main/java/org/apache/cxf/bus/osgi/ManagedWorkQueueList.java<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... | 1,952 |
1,006 | <filename>include/nuttx/sensors/lis331dl.h
/****************************************************************************
* include/nuttx/sensors/lis331dl.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for ... | 1,712 |
864 | #ifndef IIT_CT_INVERTEDPENDULUM_JOINT_DATA_MAP_H_
#define IIT_CT_INVERTEDPENDULUM_JOINT_DATA_MAP_H_
#include "declarations.h"
namespace iit {
namespace ct_InvertedPendulum {
/**
* A very simple container to associate a generic data item to each joint
*/
template<typename T> class JointDataMap {
private:
T data... | 774 |
2,496 | //
// openfirePrefPane.h
// Preference panel for Openfire
//
// Created by <NAME> on 7/7/06.
// Copyright (C) 2005-2008 Jive Software. All rights reserved.
//
// Concept taken from MySQL preference panel, as well as some borrowed code.
//
#import <PreferencePanes/PreferencePanes.h>
#import <Security/Security.h>
#... | 445 |
519 | /*
* Copyright (c) 2019-2021 Morwenn
* SPDX-License-Identifier: MIT
*/
#ifndef CPPSORT_TESTSUITE_MEMORY_EXHAUSTION_H_
#define CPPSORT_TESTSUITE_MEMORY_EXHAUSTION_H_
// Class to make memory exhaustion fail in the current scope
struct scoped_memory_exhaustion
{
scoped_memory_exhaustion() noexcept;
~scoped_mem... | 161 |
2,039 | package org.nd4j.linalg.schedule;
import lombok.Data;
import org.nd4j.shade.jackson.annotation.JsonProperty;
/**
* Step decay schedule, with 3 parameters: initial value, gamma and step.<br>
* value(i) = initialValue * gamma^( floor(iter/step) )
* where i is the iteration or epoch (depending on the setting)
*
* @... | 509 |
17,809 | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#include "pch.h"
#include "Microsoft/Schema/1_0/OneToOneTable.h"
#include "Microsoft/Schema/1_0/ManifestTable.h"
#include "SQLiteStatementBuilder.h"
namespace AppInstaller::Repository::Microsoft::Schema::V1_0
{
namespace details
... | 3,378 |
1,745 | //********************************* bs::framework - Copyright 2018-2019 <NAME> ************************************//
//*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********//
#pragma once
#include "BsScriptEnginePrerequisites.h"
#include "BsScriptObje... | 275 |
1,179 | /// @copyright
/// Copyright (C) 2020 Assured Information Security, Inc.
///
/// @copyright
/// 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 limita... | 3,676 |
5,964 | # 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 conditions and the f... | 1,257 |
502 | /**
* <copyright>
*
* Copyright (c) 2010 SAP AG.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
... | 424,578 |
1,844 | <reponame>reshmabidikar/killbill
/*
* Copyright 2010-2014 Ning, Inc.
* Copyright 2014-2019 Groupon, Inc
* Copyright 2014-2019 The Billing Project, LLC
*
* The Billing Project licenses this file to you under the Apache License, version 2.0
* (the "License"); you may not use this file except in compliance with the
... | 2,635 |
436 | /**
* The MIT License
* Copyright (c) 2019- Nordic Institute for Interoperability Solutions (NIIS)
* Copyright (c) 2018 Estonian Information System Authority (RIA),
* Nordic Institute for Interoperability Solutions (NIIS), Population Register Centre (VRK)
* Copyright (c) 2015-2017 Estonian Information System Autho... | 2,093 |
515 | /*=============================================================================
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 in compliance with the ... | 902 |
826 | package io.eventuate.examples.tram.sagas.ordersandcustomers.customers.domain;
public class CustomerCreditLimitExceededException extends RuntimeException {
}
| 44 |
1,025 | <reponame>jeongjoonyoo/CodeXL
//==================================================================================
// Copyright (c) 2016 , Advanced Micro Devices, Inc. All rights reserved.
//
/// \author AMD Developer Tools Team
/// \file afCreatorAction.h
///
//========================================================... | 551 |
56,632 | <reponame>thisisgopalmandal/opencv
// This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html.
#include "test_precomp.hpp"
namespace opencv_test { namespace {
TEST(Features2D_KeypointU... | 536 |
585 | <reponame>samideliceli/CookieBar2
package org.aviran.cookiebarsample;
import android.os.Bundle;
import androidx.appcompat.app.AppCompatActivity;
import android.view.Gravity;
import android.view.View;
import android.widget.Button;
import android.widget.Toast;
import org.aviran.cookiebar2.CookieBar;
import org.aviran.c... | 233 |
5,535 | <reponame>bradfordb-vmware/gpdb<filename>gpcontrib/gp_internal_tools/gp_ao_co_diagnostics.c
/*
* Copyright (c) 2011 EMC Corporation All Rights Reserved
*
* This software is protected, without limitation, by copyright law
* and international treaties. Use of this software and the intellectual
* property contained t... | 3,647 |
827 | """
Remove a file after a certain time. This is run in a subprocess
by nilearn.plotting.html_surface.SurfaceView to remove the temporary
file it uses to open a plot in a web browser.
"""
import os
import time
import warnings
import argparse
if __name__ == '__main__':
parser = argparse.ArgumentParser()
parser.... | 252 |
7,713 | /**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
package co... | 874 |
2,728 | <reponame>rsdoherty/azure-sdk-for-python
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsof... | 788 |
333 | <reponame>alipay/alipay-sdk-java-all
package com.alipay.api.domain;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
/**
* 人脸识别机具信息
*
* @author auto create
* @since 1.0, 2018-11-20 14:56:05
*/
public class FaceMachineInfo extends AlipayObject {
private static fi... | 986 |
551 | {
"image": "https://user-images.githubusercontent.com/24633059/107117015-17972b00-6899-11eb-8670-b7bf41a77d32.png",
"issueId": 340,
"name": "<NAME>",
"username": "muhammadawaisshaikh"
}
| 85 |
575 | <reponame>DimaRU/Fast-DDS
#include "FlowControllerPublishModesTests.hpp"
using namespace eprosima::fastdds::rtps;
using namespace testing;
TYPED_TEST(FlowControllerPublishModes, pure_sync_publish_mode)
{
FlowControllerDescriptor flow_controller_descr;
FlowControllerImpl<FlowControllerPureSyncPublishMode, Type... | 1,605 |
1,319 | # coding=utf-8
# Copyright 2018 The Google AI Language Team 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... | 13,044 |
1,296 | /**
* @file DelegateMRequestListener.cpp
* @brief Delegate to receive information about requests.
*
* (c) 2013-2014 by Mega Limited, Auckland, New Zealand
*
* This file is part of the MEGA SDK - Client Access Engine.
*
* Applications using the MEGA API must present a valid application key
* and comply with the the rule... | 621 |
2,123 | /*
* Copyright 2002-2019 <NAME> 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... | 655 |
7,746 | <reponame>jar-ben/z3
/*++
Copyright (c) 2017 Microsoft Corporation
Module Name:
<name>
Abstract:
<abstract>
Author:
<NAME> (nbjorner)
<NAME> (levnach)
Revision History:
--*/
#pragma once
#include "math/lp/lp_utils.h"
#include "util/map.h"
#include "util/hashtable.h"
namespace lp {
class explanat... | 1,583 |
478 | <reponame>amvb/GUCEF<gh_stars>100-1000
//-----------------------------------------------------------------------------
//
// ImageLib Sources
// Copyright (C) 2000-2017 by <NAME>
// Last modified: 05/25/2001 <--Y2K Compliant! =]
//
// Filename: src-IL/include/il_doompal.h
//
// Description: The default Doom palette
//
... | 2,218 |
2,828 | /**
* 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... | 449 |
576 | <reponame>tdegueul/japicmp<gh_stars>100-1000
package japicmp.maven.util;
import japicmp.util.ModifierHelper;
import javassist.CannotCompileException;
import javassist.CtClass;
import javassist.CtField;
import javassist.Modifier;
import javassist.bytecode.AnnotationsAttribute;
import javassist.bytecode.ClassFile;
impor... | 1,120 |
347 | package org.ovirt.engine.ui.common.widget.tree;
import org.ovirt.engine.ui.common.idhandler.HasElementId;
import com.google.gwt.user.cellview.client.CellTree;
/**
* A {@link CellTree} that supports assigning DOM element IDs to tree nodes through {@link HasElementId} interface.
*/
public class ElementIdCellTree<M e... | 289 |
3,385 | import abc
class AppServiceInterface(abc.ABC):
@abc.abstractmethod
def start_sniffer_untrusted_agents(self):
"""
Cyclic function that repeatedly checks if there are agents to be marked as untrusted
:return: None
"""
pass
@abc.abstractmethod
def find_link(self,... | 653 |
349 | <gh_stars>100-1000
/*********************************************************************************
*
* Inviwo - Interactive Visualization Workshop
*
* Copyright (c) 2016-2021 Inviwo Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are pe... | 1,166 |
334 |
from mock import Mock
from calvin.utilities import calvinuuid
from calvin.runtime.north.plugins.port.queue.fanout_fifo import FanoutFIFO
from calvin.utilities import attribute_resolver
class SerMock(Mock):
def _todict(self):
pass
def todict(self):
pass
def str(self):
return self.... | 873 |
1,663 | /*
Copyright (c) 2018 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribut... | 1,949 |
3,102 | // RUN: %clang_analyze_cc1 -analyzer-checker core,cplusplus -std=c++14 \
// RUN: -analyzer-checker debug.ExprInspection -verify %s
void clang_analyzer_eval(bool);
struct A {
int x;
};
A getA();
struct B {
int *p;
A a;
B(int *p) : p(p), a(getA()) {}
};
void foo() {
B b1(nullptr);
cla... | 247 |
1,631 | #pragma once
#include "WAVM/Inline/BasicTypes.h"
#include "WAVM/Platform/Defines.h"
namespace WAVM { namespace Platform {
struct Thread;
WAVM_API Thread* createThread(Uptr numStackBytes, I64 (*threadEntry)(void*), void* argument);
WAVM_API void detachThread(Thread* thread);
WAVM_API I64 joinThread(Thread* thread)... | 147 |
348 | {"nom":"Verdenal","circ":"4ème circonscription","dpt":"Meurthe-et-Moselle","inscrits":117,"abs":65,"votants":52,"blancs":1,"nuls":1,"exp":50,"res":[{"nuance":"LR","nom":"<NAME>","voix":29},{"nuance":"REM","nom":"<NAME>","voix":21}]} | 96 |
12,496 | /* getargs implementation copied from Python 3.8 and stripped down to only include
* the functions we need.
* We also add support for required kwonly args and accepting *args / **kwargs.
* A good idea would be to also vendor in the Fast versions and get our stuff
* working with *that*.
* Another probably good idea... | 8,487 |
604 | # Copyright 2008 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
#
# unless required by applicable law or a... | 13,799 |
1,585 | <filename>VCameraDemo/src/com/yixia/camera/demo/ui/record/VideoPlayerActivity.java
package com.yixia.camera.demo.ui.record;
import android.annotation.TargetApi;
import android.media.MediaPlayer;
import android.media.MediaPlayer.OnCompletionListener;
import android.media.MediaPlayer.OnErrorListener;
import android.medi... | 2,034 |
2,139 | package org.jruby.ir.targets;
public enum BytecodeMode { AOT, MIXED, INDY }
| 31 |
411 | <gh_stars>100-1000
/* OUTPUT: ERROR: INVALID MEMORY REFERENCE
* Program Terminated
* Child exited with status 11
* Note: Terminated due to segfault from trying to dereference a null pointer
* Message located in execute.cpp
*/
#include <iostream>
void foo(int * i)
{
std::cout << *i;
}
int main()
{
... | 136 |
585 | /*
* 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 ... | 5,313 |
665 | <reponame>kstepanmpmg/mldb
/** dataset_types.h -*- C++ -*-
<NAME>, 16 February 2015
Copyright (c) 2015 mldb.ai inc. All rights reserved.
This file is part of MLDB. Copyright 2015 mldb.ai inc. All rights reserved.
*/
#pragma once
#include "cell_value.h"
#inc... | 958 |
369 | // Copyright (c) 2017-2021, Mudita <NAME>.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#include "gtest/gtest.h"
#include <sstream>
#include "gui/dom/Item2JsonSerializer.hpp"
#include "Item.hpp"
#include "Rect.hpp"
#include "Label.hpp"
#include "Text.hpp"
#include "Fon... | 749 |
5,813 | <reponame>RomaKoks/druid<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 Licen... | 4,970 |
811 | <gh_stars>100-1000
{
"description": "Selectors - :first-line with ::first-line (css3-modsel-167a)",
"selectors": {
"p::first-line": "css3-modsel-167a.expected0.html",
"p:first-line": "css3-modsel-167a.expected1.html"
},
"src": "css3-modsel-167a.src.html"
} | 121 |
531 | // 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
//
// Unless required by applicable... | 2,982 |
1,767 | package com.annimon.stream.intstreamtests;
import com.annimon.stream.Functions;
import com.annimon.stream.IntStream;
import com.annimon.stream.function.IntPredicate;
import org.junit.Test;
import static com.annimon.stream.test.hamcrest.IntStreamMatcher.assertElements;
import static org.hamcrest.Matchers.arrayContainin... | 593 |
385 | <filename>include/sead/runtime.h
/**
* @file runtime.h
* @brief Static Runtime Info for classes.
*/
#pragma once
namespace sead
{
class RuntimeTypeInfo
{
public:
class Interface;
template<typename T>
class Derive
{
public:
virtual bool isDerived(sead... | 169 |
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.applicationinsights.implementation;
import com.azure.core.annotation.BodyParam;
import com.azure.core.annotation.Delete;
import ... | 37,498 |
2,759 | // Copyright (c) YugaByte, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
// in compliance with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writ... | 1,308 |
999 | /*
* 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
* distribut... | 476 |
508 | package com.github.instagram4j.instagram4j.models.feed;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.github.instagram4j.instagram4j.models.IGBaseModel;
import com.github.instagram4j.instagram4j.models.media.reel.ReelMedia;
import com.github.instagram4j.instagram4j.models.user... | 318 |
335 | <filename>U/Unplug_verb.json
{
"word": "Unplug",
"definitions": [
"Disconnect (an electrical device) by removing its plug from a socket.",
"Remove an obstacle or blockage from."
],
"parts-of-speech": "Verb"
} | 96 |
409 | /*
This file is a part of libcds - Concurrent Data Structures library
(C) Copyright <NAME> (<EMAIL>) 2006-2016
Source code repo: http://github.com/khizmax/libcds/
Download: http://sourceforge.net/projects/libcds/files/
Redistribution and use in source and binary forms, with or without
mod... | 11,567 |
5,133 | <filename>processor/src/test/java/org/mapstruct/ap/test/collection/adder/source/SourceWithPets.java
/*
* Copyright MapStruct Authors.
*
* Licensed under the Apache License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
*/
package org.mapstruct.ap.test.collection.adder.source;
import java.util... | 204 |
475 | <filename>neural-core/src/main/java/org/micro/neural/retryer/RetryListener.java
package org.micro.neural.retryer;
import org.micro.neural.retryer.support.Attempt;
/**
* The Retry Listener
*
* @author lry
*/
public interface RetryListener {
/**
* The on retry
*
* @param attempt
* @param <V... | 157 |
451 | <reponame>spacemonster-interactive/unreal.hx<gh_stars>100-1000
#include "HaxeRuntime.h"
#include "uhx/utils/Sha256.h"
/*
* SHA256 hash adapted from: SHA-256 hash in C and x86 assembly
*
* Copyright (c) 2017 Project Nayuki. (MIT License)
* https://www.nayuki.io/page/fast-sha2-hashes-in-x86-assembly
*
* P... | 4,496 |
432 | <filename>setup.py
import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
__version_info__ = (1, 2)
__version__ = '.'.join([str(v) for v in __version_info__])
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
os.ch... | 489 |
3,083 | <filename>src/main/java/com/google/security/zynamics/binnavi/Gui/GraphWindows/JGraphTab.java
// Copyright 2011-2016 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http:/... | 2,648 |
317 | <reponame>neha03071990/tutorial-examples
/**
* Copyright (c) 2014 Oracle and/or its affiliates. All rights reserved.
*
* You may not modify, use, reproduce, or distribute this software except in
* compliance with the terms of the License at:
* https://github.com/javaee/tutorial-examples/LICENSE.txt
*/
pac... | 1,152 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.