max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
460
/* This file is part of the KDE project. Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 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 versio...
678
1,650
<filename>src/util.c<gh_stars>1000+ /* * Copyright (c) 2015 <NAME> * * This file is part of libsoundio, which is MIT licensed. * See http://opensource.org/licenses/MIT */ #include <stdlib.h> #include <stdio.h> #include <stdarg.h> #include "util.h" void soundio_panic(const char *format, ...) { va_list ap; ...
416
1,336
/* * 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,624
1,179
// SPDX-License-Identifier: BSD-2-Clause /* Copyright (c) 2018, Linaro Limited */ #include <compiler.h> #include <crypto/crypto.h> #include <rng_support.h> #include <tee/tee_cryp_utl.h> #include <types_ext.h> TEE_Result __weak crypto_rng_init(const void *data __unused, size_t dlen __unused) { return TEE_SUCCES...
325
401
/* * Hedgewars, a free turn based strategy game * Copyright (C) 2012 <NAME> <<EMAIL>> * * 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 opti...
395
3,200
<filename>tests/ut/cpp/dataset/c_api_vision_slice_patches_test.cc /** * Copyright 2021 Huawei Technologies Co., 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.apach...
1,403
578
#----------------------------------------------------------------------------- # Copyright (c) 2012 - 2018, Anaconda, Inc. and Intake contributors # All rights reserved. # # The full license is in the LICENSE file, distributed with this software. #------------------------------------------------------------------------...
722
922
<reponame>clementpoiret/sparseml<filename>integrations/pytorch/vision.py # Copyright (c) 2021 - present / Neuralmagic, 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 a...
345
1,056
<reponame>timfel/netbeans /* * 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....
463
994
""" Tests the linguistic similarity between two sentences in English Usage: python3 spacy_similarity.py --reference="the sun rises in the east" --hypothesis="the sun sets in the west" """ import spacy import argparse nlp = spacy.load('en') if __name__ == '__main__': parser = argparse.ArgumentParser() help...
339
1,935
<reponame>parmance/HIP /* Copyright (c) 2020 - 2021 Advanced Micro Devices, Inc. All rights reserved. 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 limitati...
1,923
348
<reponame>chamberone/Leaflet.PixiOverlay {"nom":"Loubès-Bernac","circ":"2ème circonscription","dpt":"Lot-et-Garonne","inscrits":249,"abs":101,"votants":148,"blancs":14,"nuls":4,"exp":130,"res":[{"nuance":"REM","nom":"M. <NAME>","voix":91},{"nuance":"FN","nom":"<NAME>","voix":39}]}
118
347
<filename>backend/manager/tools/src/main/java/org/ovirt/engine/core/config/entity/helper/DeviceCustomPropertiesValueHelper.java package org.ovirt.engine.core.config.entity.helper; import org.ovirt.engine.core.config.entity.ConfigKey; import org.ovirt.engine.core.utils.customprop.DevicePropertiesUtils; /** * Validate...
483
1,979
/* * 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 ...
537
1,823
from .Word2VecFromParsedCorpus import Word2VecFromParsedCorpus, Word2VecFromParsedCorpusBigrams, CorpusAdapterForGensim from .CategoryEmbeddings import CategoryEmbeddingsResolver, EmbeddingAligner
64
451
""" Copyright (c) 2016-2017 Dell Inc. or its subsidiaries. All Rights Reserved. """ from log_type import LoggingMarker from self_test_source import SelfTestStreamMonitor from amqp_source import AMQPStreamMonitor from ssh_helper import SSHHelper __all__ = [LoggingMarker, SelfTestStreamMonitor, AMQPStreamMonitor, SSHHel...
93
522
<reponame>konny0311/algorithms-nutshell-2ed /** * @file Sorting/Ints/heapSort.c Optimized (and efficient) Heap Sort implementation. * * @brief * This implementation of Heap Sort is taken from: * * http://en.wikibooks.org/wiki/Algorithm_implementation/Sorting/Heapsort * * It is one of the more efficien...
652
2,338
INITIALIZE = True
7
3,102
// RUN: %clang_cc1 -triple i386-apple-macosx -fblocks -fsyntax-only -verify %s extern int h(int *); extern void g(int, void (^)(void)); extern int fuzzys; // expected-note {{'fuzzys' declared here}} static void f(void *v) { g(fuzzy, ^{ // expected-error {{did you mean 'fuzzys'...
169
1,801
package com.budwk.app.sys.services; import com.budwk.app.base.service.BaseService; import com.budwk.app.sys.models.Sys_menu; import org.nutz.lang.util.NutMap; import java.util.List; /** * Created by wizzer on 2016/12/22. */ public interface SysMenuService extends BaseService<Sys_menu> { /** * 保存菜单 * ...
504
407
package com.alibaba.tesla.appmanager.deployconfig.service; import com.alibaba.fastjson.JSONObject; import com.alibaba.tesla.appmanager.common.constants.DefaultConstant; import com.alibaba.tesla.appmanager.common.enums.ComponentTypeEnum; import com.alibaba.tesla.appmanager.common.util.SchemaUtil; import com.alibaba.tes...
2,814
14,668
<gh_stars>1000+ // 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 "chromeos/dbus/resourced/fake_resourced_client.h" #include "base/bind.h" #include "base/threading/thread_task_runner_handle.h" ...
598
3,269
# Time: O(n) # Space: O(1) class Solution(object): def largestAltitude(self, gain): """ :type gain: List[int] :rtype: int """ result = curr = 0 for g in gain: curr += g result = max(result, curr) return result
158
335
<gh_stars>100-1000 { "word": "Phonetic", "definitions": [ "relating to speech sounds", "(of a system of writing) having a direct correspondence between symbols and sounds." ], "parts-of-speech": "Adjective" }
94
1,047
<filename>src/uTensor/tensors/BufferTensor.cpp #include "BufferTensor.hpp" #include <cstdio> #include "uTensor/core/context.hpp" namespace uTensor { void BufferTensor::resize(const TensorShape& new_shape) { uTensor_printf("[ERROR] Cannot resize a BufferTensor\n"); Context::get_default_context()->throwError(new ...
625
383
<reponame>idefav/java-gitlab-api<filename>src/main/java/org/gitlab/api/models/CreateUserRequest.java package org.gitlab.api.models; import java.io.UnsupportedEncodingException; import org.gitlab.api.http.Query; /** * Model for customized creater-user requests. * */ public class CreateUserRequest { private Strin...
1,826
324
<gh_stars>100-1000 /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "...
1,176
717
#!/usr/bin/python2 # -*- coding: utf-8 -*- # $File: test-feature.py # $Date: Wed Dec 11 22:01:13 2013 +0800 # $Author: <NAME> <zxytim[at]gmail[dot]com> import glob import traceback import sys import random import os import time import numpy as np from itertools import izip import multiprocessing import operator from c...
1,964
5,422
// // multiple_exceptions.hpp // ~~~~~~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2021 <NAME> (chris at kohlhoff dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #ifndef ASIO_MULTIPLE_EXCEPTIONS_HPP #...
552
8,805
<filename>osx/KBKit/KBKit/App/KBApp.h // // KBApp.h // Keybase // // Created by Gabriel on 6/10/15. // Copyright (c) 2015 Keybase. All rights reserved. // #import <Foundation/Foundation.h> #import <AppKit/AppKit.h> #import <KBKit/KBAppView.h> #import <KBKit/KBPreferences.h> #import <KBKit/KBEnvironment.h> #import...
625
892
<filename>advisories/unreviewed/2022/05/GHSA-26jc-2mw8-4jp3/GHSA-26jc-2mw8-4jp3.json { "schema_version": "1.2.0", "id": "GHSA-26jc-2mw8-4jp3", "modified": "2022-05-13T01:10:20Z", "published": "2022-05-13T01:10:20Z", "aliases": [ "CVE-2017-15518" ], "details": "All versions of OnCommand API Services pr...
492
317
import java.awt.*; import java.io.*; import java.awt.event.*; import javax.swing.*; import javax.swing.event.*; class nwchem_Free extends JFrame implements ActionListener, ChangeListener, WindowListener { Font defaultFont; int setnumber=0; JFileChooser chooser; ExtensionFilter gibFilter; JFram...
4,011
974
// Blend2D - 2D Vector Graphics Powered by a JIT Compiler // // * Official Blend2D Home Page: https://blend2d.com // * Official Github Repository: https://github.com/blend2d/blend2d // // Copyright (c) 2017-2020 The Blend2D Authors // // This software is provided 'as-is', without any express or implied // warranty. I...
1,602
2,151
<reponame>ravitejavalluri/catapult<gh_stars>1000+ # Copyright 2014 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Provides implementations of basic image processing functions. Implements basic image processing functio...
1,249
1,380
<reponame>Passw/pmwkaa-sophia<filename>sophia/std/ss_stdvfs.h #ifndef SS_STDVFS_H_ #define SS_STDVFS_H_ /* * sophia database * sphia.org * * Copyright (c) <NAME> * BSD License */ extern ssvfsif ss_stdvfs; #endif
108
390
import os import logging import traceback from collections import namedtuple from funcy.objects import cached_property from PyQt5.QtGui import * from PyQt5.QtWidgets import * from PyQt5.QtWidgets import QApplication from PyQt5 import uic from PyQt5.QtCore import QDir from hexview import HexViewWidget from vstructui im...
12,262
14,425
<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 *...
781
1,025
<reponame>eas5/fluent-validator package com.baidu.unbiz.fluentvalidator.registry.impl; import java.util.ArrayList; import java.util.List; import java.util.Map; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.BeansException; import org.springframework.beans.factory.BeanFactory...
795
402
package com.vaadin.flow.router.internal; import java.util.Arrays; import java.util.EnumSet; import com.vaadin.flow.router.RouteParameterFormatOption; import com.vaadin.flow.router.RouteParameterRegex; import org.junit.Assert; import org.junit.Test; import com.vaadin.flow.component.Component; import com.vaadin.flow.c...
3,674
1,792
<filename>whatsmars-spring/src/main/java/org/hongxi/whatsmars/spring/context/generic/TestSpring.java package org.hongxi.whatsmars.spring.context.generic; import org.hongxi.whatsmars.spring.model.Mars; import org.springframework.beans.factory.support.PropertiesBeanDefinitionReader; import org.springframework.beans.fact...
384
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...
987
5,169
{ "name": "Redefine", "version": "1.0.4", "summary": "Redefine makes easier to overwrite methods implementations during runtime using the objc runtime.", "homepage": "https://github.com/danielalves/redefine", "license": "MIT", "authors": "<NAME>", "platforms": { "ios": "6.0", "osx": "10.7" }, ...
191
428
package org.test; import loon.LSystem; import loon.events.Updateable; import loon.utils.TArray; import loon.utils.ArrayMap.Entry; public class SearchModel { private static int DEPTH = 2; private Board board; private GameController controller = new GameController(); public AlphaBetaNode search(Board board) { th...
1,475
30,023
{ "config": { "error": { "bad_station_id": "Stasjons -ID er ugyldig, mangler eller finnes ikke i stasjons -ID -databasen", "cannot_connect": "Tilkobling mislyktes", "error_response": "Svar fra Environment Canada feilaktig", "too_many_attempts": "Tilkoblinger t...
765
3,462
#!/usr/bin/python # -*- coding: utf-8 -*- import os from argparse import ArgumentParser import list_white import list_ip def parse_args(): parser = ArgumentParser() parser.add_argument('-i', '--input', dest='input', default=os.path.join('data','whitelist.pac'), help='path to gfwlist') parser.add_argument('-o', '...
585
852
<reponame>ckamtsikis/cmssw import FWCore.ParameterSet.Config as cms from Alignment.CommonAlignmentProducer.GlobalPosition_Frontier_cff import * from CalibMuon.Configuration.Muon_FrontierAlignment_cfi import * muonAlignment.connect = 'frontier://FrontierProd/CMS_COND_21X_ALIGNMENT'
100
323
<filename>spot_real/Control/Teensy/SpotMiniMini/lib/ros_lib/baxter_core_msgs/CloseCamera.h #ifndef _ROS_SERVICE_CloseCamera_h #define _ROS_SERVICE_CloseCamera_h #include <stdint.h> #include <string.h> #include <stdlib.h> #include "ros/msg.h" namespace baxter_core_msgs { static const char CLOSECAMERA[] = "baxter_core_...
1,304
1,087
#include "../staticres.cpp"
10
1,085
/* * Copyright (C) 2017-2019 Dremio Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
492
323
/** * @file PybindPlaceDB.cpp * @author <NAME> * @date Apr 2020 * @brief Python binding for PlaceDB */ #include "PyPlaceDB.h" PYBIND11_MAKE_OPAQUE(std::vector<bool>); //PYBIND11_MAKE_OPAQUE(std::vector<char>); //PYBIND11_MAKE_OPAQUE(std::vector<unsigned char>); PYBIND11_MAKE_OPAQUE(std::vector<DREAMPLACE_N...
17,027
629
<filename>src/gameutils/microscenarioproviderrandom.h /* * Copyright (c) 2017-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include "microscenarioprovider.h" namespace cherrypi { /** * Gene...
978
4,002
package me.zeroX150.cornos.features.module.impl.world; import me.zeroX150.cornos.Cornos; import me.zeroX150.cornos.etc.config.KeyBind; import me.zeroX150.cornos.etc.helper.Renderer; import me.zeroX150.cornos.etc.helper.STL; import me.zeroX150.cornos.etc.render.Notification; import me.zeroX150.cornos.features.module.Mo...
2,371
4,002
<filename>src/main/java/me/zeroX150/cornos/features/module/impl/combat/Criticals.java<gh_stars>1000+ package me.zeroX150.cornos.features.module.impl.combat; import me.zeroX150.cornos.Cornos; import me.zeroX150.cornos.etc.config.MConfMultiOption; import me.zeroX150.cornos.etc.event.EventHelper; import me.zeroX150.corno...
1,597
609
<filename>base/new/include/user/security/usession.h #ifndef ____USESSION_H #define ____USESSION_H 1 //user session start //No caso de termos apenas uma user session, esse será o endereço dela. unsigned long usersession_start; // The persistent window server. // This is a window server embedded into the base kerne...
1,461
1,444
<reponame>amc8391/mage package mage.cards.m; import mage.MageInt; import mage.abilities.common.DiesSourceTriggeredAbility; import mage.abilities.effects.common.counter.ProliferateEffect; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.constants.CardType; import mage.constants.SubType; import ja...
434
322
// // Gridlines.h // Pods // // Created by Jason on 2018/1/19. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> #import "Define.h" @class GridStyle; @interface Gridlines : NSObject @property (nonatomic, strong) GridStyle *top; @property (nonatomic, strong) GridStyle *bottom; @property (nonatomic, stron...
623
868
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may n...
1,946
975
<gh_stars>100-1000 { "serverAddress": "${hostname} al port ${port}", "newProject": { "title": "Nou Projecte", "prompt": "Escriu un nom i selecciona un tipus de projecte.", "namePlaceholder": "Nom del projecte", "descriptionPlaceholder": "Descripció (opcional)", "emptyProject": { "title": "...
251
1,408
/* * Copyright (c) 2021, Arm Limited. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <stddef.h> #include <stdint.h> #include <common/debug.h> #include <common/fdt_wrappers.h> #include <lib/fconf/fconf.h> #include <lib/fconf/fconf_mpmm_getter.h> #include <libfdt.h> #include <plat/commo...
718
565
<reponame>BigDataHa/Nonlinear_Face_3DMM from utils import * from rendering_ops import * import tensorflow as tf import numpy as np import time VERTEX_NUM = 53215 def main(_): batch_size = 16 output_size = 224 texture_size = [192, 224] mDim = 8 vertexNum = VERTEX_NUM channel_num = 3 data ...
2,838
377
<filename>src/jpa-engine/core/src/main/java/com/impetus/kundera/metadata/model/type/DefaultMappedSuperClass.java /******************************************************************************* * * Copyright 2012 Impetus Infotech. * * * * Licensed under the Apache License, Version 2.0 (the "License"); * * you ma...
566
677
#!/usr/bin/env python # # Copyright (c) 2015 Apple Inc. All rights reserved. # Copyright (c) 2009 Google Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code mu...
820
2,782
<gh_stars>1000+ // // M13ProgressSuiteFramework.h // M13ProgressSuiteFramework // // Created by <NAME> on 8/10/15. // Copyright (c) 2015 <NAME>. All rights reserved. // #import <UIKit/UIKit.h> //! Project version number for M13ProgressSuiteFramework. FOUNDATION_EXPORT double M13ProgressSuiteFrameworkVersionNumber...
531
3,799
/* * Copyright 2020 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...
365
544
/* * Copyright (c) 2014 Plausible Labs Cooperative, Inc. * All rights reserved. * * 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 th...
1,355
389
<filename>MJCSegmentInterface/MJCSegmentInterface/testController/MJCTestCollectVC.h // // MJCTestCollectVC.h // MJCSegmentInterface // // Created by mjc on 17/8/4. // Copyright © 2017年 MJC. All rights reserved. // #import <UIKit/UIKit.h> @interface MJCTestCollectVC : UICollectionViewController @end
112
14,668
<reponame>zealoussnow/chromium /* * Copyright (C) 2013 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 ...
1,676
326
<gh_stars>100-1000 /*BEGIN_LEGAL Intel Open Source License Copyright (c) 2002-2017 Intel Corporation. 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 a...
676
2,570
{ "$id": "https://raw.githubusercontent.com/ory/oathkeeper/master/.schemas/authorizers.allow.schema.json", "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "title": "Allow Authorizer Configuration", "description": "This section is optional when the authorizer is disabled.", "propertie...
119
3,631
<filename>kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/java/org/kie/pmml/compiler/commons/testutils/CodegenTestUtils.java /* * Copyright 2020 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 complia...
4,242
852
<filename>Configuration/ProcessModifiers/python/dd4hep_cff.py import FWCore.ParameterSet.Config as cms dd4hep = cms.Modifier()
47
623
/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2012 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
1,749
3,459
#ifdef SSMP_CPP void sSMPDebugger::op_step() { bool break_event = false; usage[regs.pc] |= UsageExec; opcode_pc = regs.pc; if(debugger.step_smp) { debugger.break_event = Debugger::SMPStep; scheduler.exit(Scheduler::DebuggerEvent); } else { debugger.breakpoint_test(Debugger::Breakpoint::APURAM, ...
439
4,798
// Copyright 2019-present the Material Components for iOS authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 //...
415
458
<filename>core/common/src/Nullable.h /* * Copyright 2016 <NAME> <<EMAIL>> * * 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 * * ...
2,747
369
/* * Copyright © 2015 <NAME>, 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 i...
361
1,997
<reponame>delgadofarid/djl { "metadataVersion": "0.2", "resourceType": "dataset", "application": "tabular", "groupId": "ai.djl.basicdataset", "artifactId": "airfoil", "name": "Airfoil", "description": "Airfoil Self-Noise Data Set", "website": "https://archive.ics.uci.edu/ml/datasets/Airfoil+Self-Noise#"...
373
5,169
<reponame>morizotter/Specs<filename>Specs/Glazum/0.4/Glazum.podspec.json<gh_stars>1000+ { "name": "Glazum", "version": "0.4", "summary": "Glazum SDK framework for iOS", "description": " Glazum is a simple and effective tool for collecting feedback from your iOS users and asking them any question you like at any...
657
1,260
<filename>ETWInsights/etw_reader/generate_history_from_trace.cc /* Copyright 2015 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...
5,967
1,604
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. #include "seal/randomgen.h" #include "seal/util/blake2.h" #include "seal/util/common.h" #include "seal/util/fips202.h" #include <algorithm> #include <iostream> #include <random> #if (SEAL_SYSTEM == SEAL_SYSTEM_WINDOWS) #inc...
3,248
9,106
<reponame>terrorizer1980/react-native-windows // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #pragma once #include <Windows.h> #include <functional> #include <memory> #include <sstream> #include <string> #include <vector> namespace facebook { namespace react { class StorageFileIO { publi...
303
1,414
<filename>src/Constants.java /* * Copyright 2013 Inmite s.r.o. (www.inmite.eu). * * 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 * *...
807
1,510
// Copyright 2012 the V8 project authors. 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 ...
5,568
14,668
<reponame>chromium/chromium // Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "cc/trees/property_tree_builder.h" #include <stddef.h> #include <map> #include <memory> #include <set> #include <ut...
11,467
5,169
{ "name": "Sidebox", "version": "1.0.3", "summary": "Library for ViewController with Temporary storage function.", "description": "Sidebox\n\nThis library enable user to\n* temporary storage\n* quick comparison", "homepage": "https://github.com/recruit-lifestyle/Sidebox", "screenshots": [ "https://githu...
346
426
// // ZZFDGoodDetailViewController.h // ZZFLEXDemo // // Created by 李伯坤 on 2017/11/28. // Copyright © 2017年 李伯坤. All rights reserved. // #import "ZZFLEXCollectionViewController.h" #import "ZZFDGoodListModel.h" @interface ZZFDGoodDetailViewController : ZZFLEXCollectionViewController @property (nonatomic, strong) ...
162
1,178
<filename>stm32/tools/win/gcc/share/gcc-arm-none-eabi/samples/src/fpin/fpin.c<gh_stars>1000+ #include <stdio.h> float f=1.11; double d=3.14; char s[] = "2.22,1.234567"; int main() { sscanf(s, "%f,%lf", &f, &d); printf("f=%f, d=%lf\n", f, d); return 0; } #ifndef __NO_SYSTEM_INIT void SystemInit() {} #endif
170
16,143
# Copyright 2022 The Magenta 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 applicable law or agreed to in ...
1,769
3,782
import os import deepchem as dc def test_sdf_load(): current_dir = os.path.dirname(os.path.realpath(__file__)) featurizer = dc.feat.CircularFingerprint(size=16) loader = dc.data.SDFLoader( ["LogP(RRCK)"], featurizer=featurizer, sanitize=True) dataset = loader.create_dataset( os.path.join(current_d...
1,189
362
/* * Copyright (c) 2003, The JUNG Authors * All rights reserved. * * This software is open-source under the BSD license; see either "license.txt" * or https://github.com/jrtom/jung/blob/master/LICENSE for a description. * */ package edu.uci.ics.jung.samples; import com.google.common.graph.MutableNetwork; import...
3,008
307
<reponame>trgswe/fs2open.github.com /* * Copyright (C) Volition, Inc. 1999. All rights reserved. * * All source code herein is the property of Volition, Inc. You may not sell * or otherwise commercially exploit the source or things you created based on the * source. * */ #ifndef __TARGA_H #define __TARGA_H ...
412
338
<filename>resources/devices/tablet/zenithink.json { "Zenithink P7901A": { "type": "tablet", "properties": { "Device_Name": "Epad P7901A", "Device_Code_Name": "P7901A", "Device_Maker": "Zenithink", "Device_Pointing_Method": "touchscreen", "Device_Brand_Name": "Epad" }, "st...
156
2,413
# Copyright 1999-2021 Alibaba Group Holding 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.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
1,886
310
<reponame>dreeves/usesthis<filename>gear/software/a/are.na.json<gh_stars>100-1000 { "name": "Are.na", "description": "A service for collecting ideas.", "url": "https://www.are.na/" }
74
1,160
<reponame>fengjixuchui/src """ summary: triggering bits of code by pressing a shortcut description: `ida_kernwin.add_hotkey` is a simpler, but much less flexible alternative to `ida_kernwin.register_action` (though it does use the same mechanism under the hood.) It's particularly useful during prototyping, bu...
373
977
<filename>src/external/IntelRDFPMathLib20U2/LIBRARY/src/bid_gcc_intrinsics.h /****************************************************************************** Copyright (c) 2007-2018, Intel Corp. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permi...
4,703
1,339
<reponame>luoyudong593/Keras-TextClassification # -*- coding: UTF-8 -*- # !/usr/bin/python # @time :2019/6/8 11:45 # @author :Mo # @function :char CNN of '<NAME>' # paper: 2015, Character-Aware Neural Language Models(https://arxiv.org/abs/1508.06615) from __future__ import print_function, division impo...
5,395
1,604
package org.bouncycastle.cms.jcajce; import java.io.IOException; import java.io.InputStream; import java.security.Key; import java.security.PrivateKey; import javax.crypto.Cipher; import org.bouncycastle.asn1.x509.AlgorithmIdentifier; import org.bouncycastle.cms.CMSException; import org.bouncycastle.cms.KeyTransReci...
644
319
<reponame>Celebrate-future/openimaj<filename>hadoop/tools/HadoopTwitterTokenTool/src/main/java/org/openimaj/hadoop/tools/twitter/token/mode/pointwisemi/sort/PMIPairSort.java<gh_stars>100-1000 /** * Copyright (c) 2011, The University of Southampton and the individual contributors. * All rights reserved. * * Redistri...
1,989
2,053
<reponame>yuyupapa/OpenSource package scouter.agent.netio.data.net; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.IOException; import java.net.InetSocketAddress; import java.net.Socket; import scouter.agent.Configure; import scouter.agent.netio.request.ReqestHandlingProxy; im...
936