max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
1,647
#ifndef PYTHONIC_UTILS_INT_HPP #define PYTHONIC_UTILS_INT_HPP #include "pythonic/include/utils/int_.hpp" #endif
55
1,350
<gh_stars>1000+ [{"id":"LNAME","type":"alpha","calc":true,"value":""},{"id":"SSN","type":"ssn","calc":true,"value":""},{"id":"POLICECD","type":"number","calc":false,"value":""},{"id":"STCD_1_","type":"alpha","calc":false,"value":""},{"id":"AMT_1_","type":"number","calc":false,"value":""},{"id":"STCD_2_","type":"alpha",...
417
1,995
from functools import partial from itertools import ( dropwhile, takewhile, islice, count, product, chain, starmap, filterfalse, ) import collections import types from functional.execution import ExecutionStrategies #: Defines a Transformation from a name, function, and execution_stra...
6,540
1,561
<gh_stars>1000+ /* * Copyright 2021 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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
520
1,043
<filename>micro-events/src/main/java/com/oath/micro/server/events/StartedAt.java package com.oath.micro.server.events; public interface StartedAt { public long getStartedAt(); }
61
2,112
/** * Autogenerated by Thrift * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package test.fixtures.enums; import com.facebook.swift.codec.*; @SwiftGenerated public enum Metasyntactic { FOO(1), BAR(2), BAZ(3), BAX(4); private final int value; Metas...
369
347
<reponame>hbraha/ovirt-engine package org.ovirt.engine.core.bll.executor; public interface CommandControllerMXBean { void monitorAll(boolean monitor); void monitorActions(boolean monitor); void monitorQueries(boolean monitor); void monitorVdsBroker(boolean monitor); boolean isMonitorActionsEnabled...
131
404
<filename>java-backend/src/main/java/org/kframework/backend/java/symbolic/VariableOccurrencesCounter.java // Copyright (c) 2014-2019 K Team. All Rights Reserved. package org.kframework.backend.java.symbolic; import org.kframework.backend.java.kil.Term; import org.kframework.backend.java.kil.Variable; import com.googl...
324
1,980
#include "modules_enum.h" #include <psapi.h> #pragma comment(lib,"psapi.lib") size_t pesieve::util::enum_modules(IN HANDLE hProcess, IN OUT HMODULE hMods[], IN const DWORD hModsMax, IN DWORD filters) //throws exceptions { if (hProcess == nullptr) { return 0; } const char err_msg[] = "Could not enumerate modules....
330
348
{"nom":"Saint-Félix","circ":"2ème circonscription","dpt":"Lot","inscrits":359,"abs":161,"votants":198,"blancs":13,"nuls":9,"exp":176,"res":[{"nuance":"REM","nom":"<NAME>","voix":100},{"nuance":"SOC","nom":"<NAME>","voix":76}]}
91
1,770
<filename>hyperion-sqlite/src/main/java/com/willowtreeapps/hyperion/sqlite/presentation/database/DatabaseListActivity.java package com.willowtreeapps.hyperion.sqlite.presentation.database; import android.os.Bundle; import androidx.annotation.Nullable; import androidx.appcompat.app.ActionBar; import androidx.appcompat....
863
12,718
#if __mips_isa_rev < 6 #define LLSC_M "m" #else #define LLSC_M "ZC" #endif #define a_ll a_ll static inline int a_ll(volatile int *p) { int v; #if __mips < 2 __asm__ __volatile__ ( ".set push ; .set mips2\n\t" "ll %0, %1" "\n\t.set pop" : "=r"(v) : "m"(*p)); #else __asm__ __volatile__ ( "ll %0, %1" : "=r...
524
558
<reponame>leroyjvargis/workflows // SPDX-License-Identifier: BSD-3-Clause // // Copyright (C) 2021 Micron Technology, Inc. // // This code is derived from and modifies the LevelDB project. #include "hse_binding/hse_kvs_cursor.h" #include <hse/hse.h> #include "leveldb/status.h" namespace leveldb { static const int ...
871
582
<filename>pocs/apache_shrio_deserialize_CVE-2016-4437/2.py # -*- encoding:utf-8 -*- import sys import base64 import uuid import subprocess import requests from Crypto.Cipher import AES def encode_rememberme(command): JAR_FILE = './ysoserial-0.0.6-SNAPSHOT-BETA-all.jar' popen = subprocess.Popen(['java', '-jar...
464
651
package net.serenitybdd.screenplay.jenkins; import net.serenitybdd.screenplay.Actor; import java.util.UUID; public class JenkinsUser extends Actor { public static JenkinsUser named(String username) { return new JenkinsUser(username, UUID.randomUUID().toString()); } private final String password;...
177
759
<reponame>tonytw1/rome /* * Opml10Generator.java * * Created on April 24, 2006, 11:35 PM * * 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/LICENS...
2,476
2,092
<gh_stars>1000+ """URL configuration for builds app.""" from django.conf.urls import url from django.views.generic.base import RedirectView urlpatterns = [ url( r'^(?P<project_slug>[-\w]+)/(?P<build_pk>\d+)/$', RedirectView.as_view(pattern_name='builds_detail', permanent=True), name='old_...
237
72,551
//===--- TypeResolutionStage.h - Type Resolution Stage ----------*- C++ -*-===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2018 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
365
6,989
#include "explicit_type.h"
11
4,812
//===- PDBSymbolData.cpp - PDB data (e.g. variable) accessors ---*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
852
965
// Define myList. CList<CString,CString&> myList; // Add two elements to the list. myList.AddHead(CString(_T("ABC"))); myList.AddHead(CString(_T("123"))); // Dump the list elements to the debug window, // in reverse order. POSITION pos = myList.G...
237
370
<reponame>thpryrchn/UltraGrid /** * @file video_display/deltacast.cpp * @author <NAME> <<EMAIL>> */ /* * Copyright (c) 2012-2019 CESNET, z. s. p. o. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, is permitted provided that the following condit...
11,700
372
<reponame>arithmetic1728/google-api-java-client-services /* * 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 ...
6,735
791
<filename>engine/runtime/rendering/generator/cone_mesh.hpp #ifndef GENERATOR_CONEMESH_HPP #define GENERATOR_CONEMESH_HPP #include "axis_swap_mesh.hpp" #include "lathe_mesh.hpp" #include "line_shape.hpp" #include "uv_flip_mesh.hpp" namespace generator { /// A cone centered at origin tip pointing towards z-axis. /// @...
475
377
<reponame>MoathOthman/blinkid-ios // // MBResultSubview.h // MicroblinkDev // // Created by <NAME> on 02/05/2018. // #import "MBRecognizerResult.h" /** * Protocol for processing MBRecognizerResult. Subviews implementing this protocol process and draw result data on the screen (e.g. letting users know is scanning ...
179
988
<filename>platform/openide.util/src/org/openide/util/NbBundle.java /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to...
26,437
307
<reponame>trgswe/fs2open.github.com #pragma once #include "scripting/ade_api.h" #include "model/model.h" namespace scripting { namespace api { class mc_info_h { protected: mc_info info; bool valid = false; public: explicit mc_info_h(const mc_info& val); mc_info_h(); mc_info *Get(); bool IsValid(); }; DE...
156
430
# Copyright 2020 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://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
2,314
1,531
package org.ngrinder.http.cookie; import org.apache.hc.client5.http.impl.cookie.BasicClientCookie; import java.time.Instant; import java.util.Date; import static java.time.temporal.ChronoUnit.SECONDS; public class Cookie { private final BasicClientCookie realCookie; public Cookie(String name, String value) { r...
499
32,544
<gh_stars>1000+ package com.baeldung.jpa.removal; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence.Persistence; import javax.persistence.PersistenceException; import javax.persistenc...
1,205
5,169
{ "name": "ZCAlertFrame", "version": "0.0.2", "summary": "自定义Alert弹框", "homepage": "https://github.com/xiaowu2016/ZCAlertFrame", "license": { "type": "MIT", "file": "FILE_LICENSE" }, "authors": { "zhangchao": "<EMAIL>" }, "platforms": { "ios": null }, "source": { "git": "https:...
244
999
package marquez.client.models; import com.fasterxml.jackson.core.type.TypeReference; import com.google.common.collect.ImmutableMap; import java.net.URL; import java.time.Instant; import java.util.List; import java.util.Optional; import java.util.UUID; import javax.annotation.Nullable; import lombok.EqualsAndHashCode; ...
630
559
/** * Copyright (c) 2012-2014 Netflix, 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 requir...
799
502
<reponame>frewsxcv/WavTap #ifndef _SAMPLEAUDIODEVICE_HPP #define _SAMPLEAUDIODEVICE_HPP #include <IOKit/audio/IOAudioDevice.h> #define AUDIO_ENGINE_KEY "AudioEngine" #define DESCRIPTION_KEY "Description" #define BLOCK_SIZE_KEY "BlockSize" #define NUM_BLOCKS_KEY "NumBlocks" #define NUM_STREAMS_KEY "NumStreams" #define...
666
450
/*------------------------------------------------------------------------- * * pg_backup_db.c * * Implements the basic DB functions used by the archiver. * * IDENTIFICATION * $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_db.c,v 1.75 2006/10/04 00:30:05 momjian Exp $ * *---------------------------------------...
7,866
2,856
# Copyright 2020 <NAME>. All rights reserved. # # This file is part of the Biopython distribution and governed by your # choice of the "Biopython License Agreement" or the "BSD 3-Clause License". # Please see the LICENSE file that should have been included as part of this # package. """Unit tests for the Bio.PDB.SASA ...
2,559
348
{"nom":"Champigneulles-en-Bassigny","dpt":"Haute-Marne","inscrits":44,"abs":11,"votants":33,"blancs":4,"nuls":0,"exp":29,"res":[{"panneau":"1","voix":21},{"panneau":"2","voix":8}]}
78
2,486
import logging import os import unittest import pytest from integration_tests.env_variable_names import ( SLACK_SDK_TEST_GRID_ORG_ADMIN_USER_TOKEN, ) from integration_tests.helpers import async_test, is_not_specified from slack_sdk.http_retry import RateLimitErrorRetryHandler from slack_sdk.http_retry.builtin_asy...
693
1,213
import pytest pytest.importorskip("channels")
17
314
package com.ys.yoosir.zzshow.di.component; import com.ys.yoosir.zzshow.di.module.VideoListModule; import com.ys.yoosir.zzshow.di.scope.FragmentScope; import com.ys.yoosir.zzshow.mvp.ui.fragments.VideoListFragment; import dagger.Component; /** * @version 1.1.0 * @author yoosir * Created by Administrator o...
187
1,367
package com.wanjian.sak.proxy; import android.support.annotation.NonNull; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.List; import java.util.ListIterator; public class ProxyArrayList<E> extends ArrayList<E> { private ArrayL...
1,632
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...
7,458
14,668
<filename>chrome/test/data/native_messaging/native_hosts/empty_app.py #!/usr/bin/env python # Copyright (c) 2012 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. # This native client will read full messages, but do nothing ...
218
383
import os from os.path import join, realpath, exists import pandas as pd import numpy as np from tqdm import tqdm import json import argparse import sys sys.path.append('../..') from blender_render.render_random_pose import RenderMachine parser = argparse.ArgumentParser() parser.add_argument('--dataset_dir', type=st...
1,162
333
package com.alipay.api.domain; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; /** * 消费送信息列表 * * @author auto create * @since 1.0, 2016-11-24 22:26:22 */ public class ConsumeInfo extends AlipayObject { private static final long serialVersionUID = 76152679439566...
475
4,036
<filename>java/ql/test/stubs/apache-commons-collections4-4.4/org/apache/commons/collections4/MultiSet.java // Generated automatically from org.apache.commons.collections4.MultiSet for testing purposes package org.apache.commons.collections4; import java.util.Collection; import java.util.Iterator; import java.util.Set...
384
364
package com.github.wangji92.arthas.plugin.action.arthas; import com.github.wangji92.arthas.plugin.utils.ClipboardUtils; import com.github.wangji92.arthas.plugin.utils.NotifyUtils; import com.intellij.openapi.actionSystem.AnAction; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.openapi.acti...
595
686
/* * MS debug info dumping utility * * Copyright 2006 <NAME> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later ...
31,790
1,759
<gh_stars>1000+ /** * @file memref.h * @author <NAME> <<EMAIL>> * * @section LICENSE * * 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 * no...
1,994
1,018
/* * Copyright 2011-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
19,505
782
/* ****************************************************************************** *\ Copyright (C) 2012-2020 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 sour...
28,452
493
/* ========================= eCAL LICENSE ================================= * * Copyright (C) 2016 - 2019 Continental 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 * * ...
2,795
5,250
/* 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...
767
3,212
{ "client_id": "123456789012-af23m23321knfg00ekrjlwke90rjkewl.apps.googleusercontent.com", "client_secret": "<KEY>", "refresh_token": "1/cvZBer532GBbzsxdf7jj7LOvd-IcmbSa5tgVcls5j5z", "type": "authorized_user" }
106
606
<reponame>AKuHAK/ps2sdk<gh_stars>100-1000 /* # _____ ___ ____ ___ ____ # ____| | ____| | | |____| # | ___| |____ ___| ____| | \ PS2DEV Open Source Project. #----------------------------------------------------------------------- # Copyright 2001-2004, ps2dev - http://www.ps2dev.org...
855
651
<reponame>abhisek-kundu/libxsmm /****************************************************************************** * Copyright (c) Intel Corporation - All rights reserved. * * This file is part of the LIBXSMM library. * * ...
2,299
2,535
#pragma once #include <pybind11/numpy.h> #include <pybind11/pybind11.h> #include <iostream> #include <vector> #include "opencv2/core/core.hpp" namespace py = pybind11; namespace foundation { typedef py::array_t<float, py::array::c_style | py::array::forcecast> pyarray_f; typedef py::array_t<double, py::array::c_sty...
911
360
<filename>src/include/vecexecutor/vecnestloop.h /* * 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.o...
1,013
854
<gh_stars>100-1000 __________________________________________________________________________________________________ sample 116 ms submission class Solution: def minFallingPathSum(self, A): n = len(A) tmp = [ A[0][::] for i in range(2)] for i in range(1, n): for j in range(n):...
611
3,058
package de.johanneskuhlmann.gainput; import android.content.Context; import android.hardware.input.InputManager; import android.view.InputDevice; import android.view.KeyEvent; import android.view.MotionEvent; import java.util.HashMap; import java.util.Map; public class Gainput implements InputManager.InputDeviceList...
4,540
5,169
<reponame>Gantios/Specs { "name": "CometDClient", "version": "1.0.0", "summary": "Swift client for CometD", "description": "CometD is a scalable web event routing bus that allows you to write low-latency, server-side, event-driven web applications. Typical examples of such applications are stock trading applica...
399
1,534
{ "version": { "message": "Versión" }, "definitionsVersion": { "message": "Omitir definiziónes" }, "changelog": { "message": "Rechistro de cambio." } }
78
2,023
#!/usr/bin/env python import os, sys usage = "usage: %s search_text replace_text [infile [outfile]]" % os.path.basename(sys.argv[0]) if len(sys.argv) < 3: print usage else: stext = sys.argv[1] rtext = sys.argv[2] input = sys.stdin output = sys.stdout if len(sys.argv) > 3: input ...
305
1,088
package com.riversoft.weixin.pay.base; import com.riversoft.weixin.common.exception.WxRuntimeException; import com.riversoft.weixin.common.util.XmlObjectMapper; import org.apache.commons.io.IOUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.IOException; import java.io.InputStrea...
2,045
471
from typing import Optional, Tuple, Union import torch from piq.base import BaseFeatureMetric from piq.utils import _validate_input def _polynomial_kernel(X: torch.Tensor, Y: torch.Tensor = None, degree: int = 3, gamma: Optional[float] = None, coef0: float = 1.) -> torch.Tensor: """ C...
4,457
349
/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2020-2021 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided th...
643
333
<gh_stars>100-1000 /** * Copyright 2016 Red Hat, Inc. * * Red Hat 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 License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * *...
1,351
3,301
package com.alibaba.alink.params.feature; import com.alibaba.alink.params.dataproc.HasHandleInvalid; import com.alibaba.alink.params.mapper.ModelMapperParams; import com.alibaba.alink.params.shared.colname.HasOutputColsDefaultAsNull; import com.alibaba.alink.params.shared.colname.HasReservedColsDefaultAsNull; import c...
231
392
<gh_stars>100-1000 package com.luminous.pick.Adapter; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import com.luminous.pick.CustomGallery; import com.luminous...
2,446
640
<filename>libsrc/_DEVELOPMENT/EXAMPLES/sms/MoggyMaster/src/menu.h<gh_stars>100-1000 #define LAST_CHOICE 1 unsigned char menu (void) { // Set palettes SMS_loadBGPalette (palette_2); // Load patterns for tiles. TITLE_NPATTERNS tiles, 32 bytes per tile. SMS_loadTiles (title_patterns, 0, TITLE_NPATTERNS * 32); // ...
1,570
4,002
<filename>src/main/java/me/zeroX150/cornos/features/module/impl/misc/ClientProgression.java<gh_stars>1000+ /* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ # Project: Cornos # File: ClientProgression # Created by constantin at 17:56, Mär 31 2021 PLEASE READ THE COPYRIGHT NOTICE IN THE PROJECT ROOT, IF EXISTENT @@@@@...
291
370
/** @file protomset.h * @brief ProtoMSet class */ /* Copyright (C) 2004,2007,2017,2018,2019 <NAME> * * 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 * ...
8,104
653
from paypalrestsdk import Invoice import logging logging.basicConfig(level=logging.INFO) invoice = Invoice.find("INV2-9DRB-YTHU-2V9Q-7Q24") if invoice.send(): # return True or False print("Invoice[%s] send successfully" % (invoice.id)) else: print(invoice.error)
107
732
// // DSEmotionToolbar.h // DSLolita // // Created by <NAME> on 15/5/28. // Copyright (c) 2015年 samDing. All rights reserved. // #import <UIKit/UIKit.h> @class DSEmotionToolbar; typedef enum { DSEmotionTypeRecent = 1, DSEmotionTypeDefault , DSEmotionTypeEmoji, DSEmotionTypeLxh }DSEmotionTYype; @pr...
250
1,104
<gh_stars>1000+ { "html": "heartbeats.html", "css": "heartbeats.css", "authors": "<NAME>", "roll20userid": "1332302", "preview": "heartbeats.png", "instructions": "A sheet for Heartbeats in Perfect Sync by <NAME>." }
93
606
<reponame>zjcs/ICE-BA<gh_stars>100-1000 /****************************************************************************** * Copyright 2017-2018 Baidu Robotic Vision Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with t...
2,622
629
<filename>hardware/laser/include/laser/ros/laser_nodelet.h /* Copyright (c) 2017, United States Government, as represented by the * Administrator of the National Aeronautics and Space Administration. * * All rights reserved. * * The Astrobee platform is licensed under the Apache License, Version 2.0 * (the "Lic...
614
5,169
<reponame>Gantios/Specs { "name": "SNAugusPopView", "version": "0.1.1", "summary": "A very lightweight popView.", "description": "The popView support some directions of arrow,and show gradient and border effect.", "homepage": "https://github.com/venn0126/SNAugusPopView", "license": { "type": "MIT", ...
247
14,499
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import javax.annotation.concurrent.ThreadSafe; // Test may_alias treatment of arrays // two arrays of types in a subtype relation m...
616
1,253
#include<bits/stdc++.h> using namespace std; void call (vector<string>& ans, string st, int A, int cur){ if(cur==0 && A==0){ ans.push_back(st); return ; } if(cur==0){ st+='('; call(ans,st,A-1,1); return ; } if(A){ call(ans,st+'(',A-1...
470
376
<reponame>alphavip/friso /* * friso hash table functions implementation defined in header file "friso_API.h". * @author lionsoul<<EMAIL>> */ #include "friso_API.h" #include <stdlib.h> #include <string.h> //-166411799L //31 131 1331 13331 133331 .. //31 131 1313 13131 131313 .. the best #define HASH_FACTOR 131...
3,404
501
/* * 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 ma...
1,418
682
<reponame>sk89q/WorldEdit /* * WorldEdit, a Minecraft world manipulation toolkit * Copyright (C) sk89q <http://www.sk89q.com> * Copyright (C) WorldEdit team and contributors * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published...
888
679
<reponame>Grosskopf/openoffice<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 copyrig...
5,500
335
<gh_stars>100-1000 package moze_intel.projecte.rendering.entity; import javax.annotation.Nonnull; import moze_intel.projecte.PECore; import moze_intel.projecte.gameObjs.entity.EntityWaterProjectile; import net.minecraft.client.renderer.entity.EntityRendererManager; import net.minecraft.util.ResourceLocation; public c...
207
404
<reponame>nrdxp/k // Copyright (c) 2018-2019 K Team. All Rights Reserved. package org.kframework.compile; import org.kframework.attributes.Att; import org.kframework.builtin.KLabels; import org.kframework.builtin.Sorts; import org.kframework.builtin.BooleanUtils; import org.kframework.definition.Context; import org.kf...
3,651
640
<reponame>jpoikela/z88dk double double_post_increment() { double x = 3.0; x++; return x; } double double_post_increment_assign() { double x = 3.0; double y; y = x++; return x; } double double_pre_increment() { double x = 3.0; ++x; return x...
485
1,738
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
23,066
310
{ "name": "Stitcher (iOS)", "description": "A radio and podcast app.", "url": "https://itunes.apple.com/us/app/stitcher-for-podcasts/id288087905" }
60
496
<reponame>jamescodesthings/android-runtime package org.nativescript.staticbindinggenerator.generating.writing; public interface PackageNameWriter { void writePackageName(String packageName); }
57
2,504
// Copyright (c) Microsoft. All rights reserved. #include "pch.h" #include "DeviceWatcherHelper.h" #include "MainPage.xaml.h" using namespace SDKTemplate; using namespace Platform; using namespace Windows::Foundation; using namespace Windows::UI::Core; using namespace Windows::Devices::Enumeration; void ...
2,578
354
// Boost.Geometry // Copyright (c) 2017, Oracle and/or its affiliates. // Contributed and/or modified by <NAME>, on behalf of Oracle // Use, modification and distribution is subject to 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...
815
348
<gh_stars>100-1000 {"nom":"Saint-Géréon","circ":"6ème circonscription","dpt":"Loire-Atlantique","inscrits":2450,"abs":979,"votants":1471,"blancs":18,"nuls":9,"exp":1444,"res":[{"nuance":"REM","nom":"<NAME>","voix":714},{"nuance":"LR","nom":"<NAME>","voix":249},{"nuance":"FI","nom":"Mme <NAME>","voix":211},{"nuance":"FN...
287
495
/****************************************************************************** Copyright (c) 2017, <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 t...
2,603
32,544
package com.baeldung.resourcebundle; import java.util.Arrays; import java.util.List; import java.util.Locale; import java.util.ResourceBundle; public class ExampleControl extends ResourceBundle.Control { @Override public List<Locale> getCandidateLocales(String s, Locale locale) { return Arrays.asList...
126
348
<filename>docs/data/leg-t2/065/06501260.json<gh_stars>100-1000 {"nom":"Lapeyre","circ":"1ère circonscription","dpt":"Hautes-Pyrénées","inscrits":76,"abs":27,"votants":49,"blancs":2,"nuls":0,"exp":47,"res":[{"nuance":"REM","nom":"<NAME>","voix":31},{"nuance":"FI","nom":"Mme <NAME>","voix":16}]}
125
337
""" tests for recurrence class """ import numpy as np import theano import agentnet from agentnet.memory import RNNCell,GRUCell, LSTMCell import lasagne from lasagne.layers import * def test_recurrence(): """minimalstic test""" sequence = InputLayer((None, None, 3), name='input sequence') initial = InputL...
2,900
544
#include "countryview.h" CountryView::CountryView(QObject *parent) : QObject(parent) { }
36
1,248
<filename>src/pretix/base/migrations/0122_orderposition_web_secret.py<gh_stars>1000+ # Generated by Django 2.2.1 on 2019-05-15 13:23 from django.db import migrations, models import pretix.base.models.orders class Migration(migrations.Migration): dependencies = [ ('pretixbase', '0121_order_email_known_t...
246
2,151
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_FIELD_H_ #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_FIELD_H_ #include <stddef.h> #include <stri...
2,502