id
int64
0
458k
file_name
stringlengths
4
119
file_path
stringlengths
14
227
content
stringlengths
24
9.96M
size
int64
24
9.96M
language
stringclasses
1 value
extension
stringclasses
14 values
total_lines
int64
1
219k
avg_line_length
float64
2.52
4.63M
max_line_length
int64
5
9.91M
alphanum_fraction
float64
0
1
repo_name
stringlengths
7
101
repo_stars
int64
100
139k
repo_forks
int64
0
26.4k
repo_open_issues
int64
0
2.27k
repo_license
stringclasses
12 values
repo_extraction_date
stringclasses
433 values
38,100
cpp_bindings_vectors_test.py
ycm-core_ycmd/ycmd/tests/bindings/cpp_bindings_vectors_test.py
# Copyright (C) 2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # # ycmd...
13,268
Python
.py
340
22.838235
77
0.439172
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,101
__init__.py
ycm-core_ycmd/ycmd/tests/bindings/__init__.py
# Copyright (C) 2020 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # # ycmd...
868
Python
.py
20
42.05
72
0.759763
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,102
signature_help_test.py
ycm-core_ycmd/ycmd/tests/python/signature_help_test.py
# Copyright (C) 2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # # ycmd...
10,228
Python
.py
268
24.570896
78
0.476895
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,103
__init__.py
ycm-core_ycmd/ycmd/tests/python/__init__.py
# Copyright (C) 2020 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # # ycmd...
1,778
Python
.py
45
34.511111
72
0.701336
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,104
get_completions_test.py
ycm-core_ycmd/ycmd/tests/python/get_completions_test.py
# Copyright (C) 2015-2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # #...
14,468
Python
.py
381
25.855643
79
0.507442
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,105
subcommands_test.py
ycm-core_ycmd/ycmd/tests/python/subcommands_test.py
# Copyright (C) 2015-2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # #...
38,160
Python
.py
880
27.471591
78
0.45974
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,106
semantic_highlighting_test.py
ycm-core_ycmd/ycmd/tests/python/semantic_highlighting_test.py
# Copyright (C) 2022 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # # ycmd...
3,174
Python
.py
79
33.797468
77
0.658339
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,107
debug_info_test.py
ycm-core_ycmd/ycmd/tests/python/debug_info_test.py
# Copyright (C) 2016-2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # #...
2,083
Python
.py
61
26.295082
70
0.588702
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,108
signature_help.py
ycm-core_ycmd/ycmd/tests/python/testdata/signature_help.py
def MultipleArguments( a, b, c ): pass def KeywordArguments( d, e, *args, **kwargs ): pass class Class: def __init__( self, argument ): self.Method() self.MultipleArgumentsMethod( argument ) KeywordArguments( 1, 2, 4, 5, test=6 ) MultipleArguments( 'test'.center( 100, ' ' ), 10, Class( 10 ) ) ...
604
Python
.py
21
25
67
0.676007
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,109
numpy_docstring.py
ycm-core_ycmd/ycmd/tests/python/testdata/numpy_docstring.py
class SomeClass(): def SomeMethod(self): pass def some_function(some_param): """ Parameters ---------- some_param : SomeClass """ some_param.sm
181
Python
.py
10
13.4
30
0.576471
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,110
GetType.py
ycm-core_ycmd/ycmd/tests/python/testdata/GetType.py
def some_function(): return 123 class SomeClass(): def __init__(self, *args, **kwargs): pass def SomeMethod(self, first_param, second_param): pass some_integer = some_function() some_class = SomeClass() some_class.SomeMethod() if condition: variable = 'test' else: variable = some...
341
Python
.py
15
19.066667
52
0.68323
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,111
basic.py
ycm-core_ycmd/ycmd/tests/python/testdata/basic.py
class Foo(object): def __init__(self): self.a = 1 self.b = 2 f = Foo() f.a
86
Python
.py
6
11.5
21
0.544304
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,112
GetDoc.py
ycm-core_ycmd/ycmd/tests/python/testdata/GetDoc.py
class TestClass: """ Class Documentation""" def TestMethod(self): """ Method Documentation """ return self.member_variable def _ModuleMethod(): """ Module method docs Are dedented, like you might expect""" pass _ModuleMethod() tc = TestClass() tc.TestMethod() class BoringClass: def __in...
411
Python
.py
17
20.588235
44
0.684896
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,113
one.py
ycm-core_ycmd/ycmd/tests/python/testdata/rename/one.py
MODULE_SCOPE = 'module' class One: ClassVariable = 'one' def __init__( self, argument ): self.argument_ = argument + MODULE_SCOPE self.variable_ = One.ClassVariable if not argument else self.argument_ def InstanceMethod( self ): return self.variable_ @classmethod def ClassMethod( cls ): r...
359
Python
.py
11
28.818182
74
0.723032
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,114
two.py
ycm-core_ycmd/ycmd/tests/python/testdata/rename/two.py
import one class Two( one.One ): def __init__( self, argument ): super().__init__( argument ) self.variable_ = 1 def AtTheEndOfTheFile(): x = one.One
166
Python
.py
7
20.428571
33
0.63871
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,115
settings_extra_conf.py
ycm-core_ycmd/ycmd/tests/python/testdata/project/settings_extra_conf.py
import os import sys DIR_OF_THIS_SCRIPT = os.path.abspath( os.path.dirname( __file__ ) ) def Settings( **kwargs ): return { 'interpreter_path': sys.executable, 'sys_path': [ os.path.join( DIR_OF_THIS_SCRIPT, 'third_party' ) ] }
243
Python
.py
8
27.5
69
0.668103
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,116
client_data_extra_conf.py
ycm-core_ycmd/ycmd/tests/python/testdata/project/client_data_extra_conf.py
import os def Settings( **kwargs ): return { 'sys_path': kwargs[ 'client_data' ].get( 'sys_path', [] ) }
115
Python
.py
5
20
61
0.592593
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,117
sys_path_extra_conf.py
ycm-core_ycmd/ycmd/tests/python/testdata/project/sys_path_extra_conf.py
import os import sys DIR_OF_THIS_SCRIPT = os.path.abspath( os.path.dirname( __file__ ) ) def PythonSysPath( **kwargs ): sys_path = kwargs[ 'sys_path' ] sys_path.insert( 0, os.path.join( DIR_OF_THIS_SCRIPT, 'third_party' ) ) return sys_path
249
Python
.py
7
33.285714
73
0.694561
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,118
references.py
ycm-core_ycmd/ycmd/tests/python/testdata/goto/references.py
def f(): pass a = f() b = f() c = f() str
46
Python
.py
6
6
8
0.447368
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,119
multifile1.py
ycm-core_ycmd/ycmd/tests/python/testdata/goto/multifile1.py
from multifile3 import my_function from multifile2 import my_integer, my_function_alias my_integer my_function my_function_alias
130
Python
.py
5
24.8
52
0.870968
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,120
basic.py
ycm-core_ycmd/ycmd/tests/python/testdata/goto/basic.py
my_dict = dict() my_dict class MyClass(): pass my_instance = MyClass() same_instance = my_instance same_instance
119
Python
.py
7
15.142857
27
0.754545
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,121
child.py
ycm-core_ycmd/ycmd/tests/python/testdata/goto/child.py
from parent import P class C( P ): def c( self ): self.from_base()
73
Python
.py
4
15.75
20
0.637681
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,122
parent.py
ycm-core_ycmd/ycmd/tests/python/testdata/goto/parent.py
class P: def from_base( self ): pass def c( self ): pass
61
Python
.py
3
18
29
0.637931
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,123
importer.py
ycm-core_ycmd/ycmd/tests/python/testdata/goto/nested_import/importer.py
from basic import MyClass from nested_import.to_import import import_me from .to_import import relative
104
Python
.py
3
33.666667
45
0.851485
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,124
lang_python.py
ycm-core_ycmd/ycmd/tests/python/testdata/general_fallback/lang_python.py
class DoSomething: def __init__(self): self.this_is_well_known = 'too easy' # Jedi is smart enough to spot self.a_parameter = 1, but not if we just hack # it in some other method hack(self) pass def hack( obj ): obj.a_parameter = 'secret' def a_method( abc, **kwargs ): print abc obj.a...
1,004
Python
.py
29
31.689655
80
0.664943
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,125
global_extra_conf.py
ycm-core_ycmd/ycmd/tests/testdata/extra_conf/global_extra_conf.py
def NoException(): pass def RaiseException(): raise Exception( 'Exception raised' )
94
Python
.py
4
20
41
0.727273
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,126
__init__.py
ycm-core_ycmd/ycmd/tests/tern/__init__.py
# Copyright (C) 2016-2020 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # #...
2,563
Python
.py
62
33.806452
75
0.666264
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,127
event_notification_test.py
ycm-core_ycmd/ycmd/tests/tern/event_notification_test.py
# Copyright (C) 2015-2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # #...
10,323
Python
.py
233
31.424893
78
0.541132
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,128
get_completions_test.py
ycm-core_ycmd/ycmd/tests/tern/get_completions_test.py
# Copyright (C) 2015-2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # #...
17,138
Python
.py
450
28.157778
80
0.548017
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,129
subcommands_test.py
ycm-core_ycmd/ycmd/tests/tern/subcommands_test.py
# Copyright (C) 2015-2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # #...
17,844
Python
.py
488
25.790984
80
0.533168
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,130
debug_info_test.py
ycm-core_ycmd/ycmd/tests/tern/debug_info_test.py
# Copyright (C) 2016-2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # #...
2,136
Python
.py
57
29.263158
70
0.600482
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,131
__init__.py
ycm-core_ycmd/ycmd/tests/javascriptreact/__init__.py
# Copyright (C) 2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # # ycmd...
2,431
Python
.py
59
34.559322
72
0.683764
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,132
get_completions_test.py
ycm-core_ycmd/ycmd/tests/javascriptreact/get_completions_test.py
# Copyright (C) 2015-2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # #...
3,013
Python
.py
78
31.346154
76
0.625769
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,133
subcommands_test.py
ycm-core_ycmd/ycmd/tests/javascriptreact/subcommands_test.py
# Copyright (C) 2015-2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # #...
3,221
Python
.py
86
30.523256
76
0.619718
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,134
go_completer_test.py
ycm-core_ycmd/ycmd/tests/go/go_completer_test.py
# Copyright (C) 2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # # ycmd...
1,665
Python
.py
35
45.028571
80
0.754624
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,135
signature_help_test.py
ycm-core_ycmd/ycmd/tests/go/signature_help_test.py
# Copyright (C) 2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # # ycmd...
5,370
Python
.py
145
27.013793
80
0.551393
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,136
server_management_test.py
ycm-core_ycmd/ycmd/tests/go/server_management_test.py
# Copyright (C) 2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # # ycmd...
4,602
Python
.py
114
31.087719
76
0.623432
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,137
diagnostics_test.py
ycm-core_ycmd/ycmd/tests/go/diagnostics_test.py
# Copyright (C) 2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # # ycmd...
4,906
Python
.py
111
32.666667
78
0.576183
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,138
__init__.py
ycm-core_ycmd/ycmd/tests/go/__init__.py
# Copyright (C) 2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # # ycmd...
2,660
Python
.py
64
34.171875
74
0.665633
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,139
get_completions_test.py
ycm-core_ycmd/ycmd/tests/go/get_completions_test.py
# Copyright (C) 2015-2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # #...
3,223
Python
.py
70
29.285714
80
0.491736
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,140
subcommands_test.py
ycm-core_ycmd/ycmd/tests/go/subcommands_test.py
# Copyright (C) 2015-2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # #...
21,728
Python
.py
611
25.563011
80
0.517651
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,141
semantic_highlighting_test.py
ycm-core_ycmd/ycmd/tests/go/semantic_highlighting_test.py
# Copyright (C) 2022 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # # ycmd...
3,149
Python
.py
78
34.025641
77
0.659254
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,142
inlay_hints_test.py
ycm-core_ycmd/ycmd/tests/go/inlay_hints_test.py
# Copyright (C) 2024 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # # ycmd...
4,197
Python
.py
111
29.603604
77
0.603143
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,143
debug_info_test.py
ycm-core_ycmd/ycmd/tests/go/debug_info_test.py
# Copyright (C) 2016-2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # #...
4,456
Python
.py
119
25.159664
75
0.498268
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,144
signature_help_test.py
ycm-core_ycmd/ycmd/tests/clangd/signature_help_test.py
# Copyright (C) 2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # # ycmd...
22,893
Python
.py
585
25.471795
80
0.482364
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,145
server_management_test.py
ycm-core_ycmd/ycmd/tests/clangd/server_management_test.py
# Copyright (C) 2011-2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # #...
5,650
Python
.py
145
31.151724
79
0.632675
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,146
diagnostics_test.py
ycm-core_ycmd/ycmd/tests/clangd/diagnostics_test.py
# Copyright (C) 2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # # ycmd...
22,442
Python
.py
541
31.116451
80
0.542917
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,147
__init__.py
ycm-core_ycmd/ycmd/tests/clangd/__init__.py
# Copyright (C) 2018-2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # #...
4,589
Python
.py
104
36.567308
80
0.660466
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,148
utilities_test.py
ycm-core_ycmd/ycmd/tests/clangd/utilities_test.py
# Copyright (C) 2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # #...
10,346
Python
.py
211
39.71564
80
0.650555
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,149
get_completions_test.py
ycm-core_ycmd/ycmd/tests/clangd/get_completions_test.py
# Copyright (C) 2015-2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # #...
26,790
Python
.py
834
23.684652
80
0.546976
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,150
subcommands_test.py
ycm-core_ycmd/ycmd/tests/clangd/subcommands_test.py
# Copyright (C) 2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # # ycmd...
54,920
Python
.py
1,359
29.546726
80
0.49011
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,151
semantic_highlighting_test.py
ycm-core_ycmd/ycmd/tests/clangd/semantic_highlighting_test.py
# Copyright (C) 2024 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # # ycmd...
5,502
Python
.py
145
28.365517
78
0.560405
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,152
inlay_hints_test.py
ycm-core_ycmd/ycmd/tests/clangd/inlay_hints_test.py
# Copyright (C) 2024 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # # ycmd...
5,536
Python
.py
168
24.392857
78
0.559439
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,153
debug_info_test.py
ycm-core_ycmd/ycmd/tests/clangd/debug_info_test.py
# Copyright (C) 2011-2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # #...
17,133
Python
.py
487
22.055441
76
0.439677
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,154
global_extra_conf.py
ycm-core_ycmd/ycmd/tests/clangd/testdata/extra_conf/global_extra_conf.py
def Settings( **kwargs ): return { 'ls': {}, 'flags': [ '-I', 'test' ], }
86
Python
.py
5
13.8
30
0.432099
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,155
.ycm_extra_conf.py
ycm-core_ycmd/ycmd/tests/clangd/testdata/extra_conf/.ycm_extra_conf.py
import os DIR_OF_THIS_SCRIPT = os.path.abspath( os.path.dirname( __file__ ) ) def Settings( **kwargs ): if kwargs[ 'language' ] == 'cfamily': basename = os.path.basename( kwargs[ 'filename' ] ) if basename == 'foo.cpp': return { 'flags': ['-I', 'include', '-DFOO'] } if basename == ...
547
Python
.py
15
27.4
74
0.5
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,156
signature_help_test.py
ycm-core_ycmd/ycmd/tests/clang/signature_help_test.py
# Copyright (C) 2015-2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # #...
3,035
Python
.py
60
35.8
79
0.56054
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,157
flags_test.py
ycm-core_ycmd/ycmd/tests/clang/flags_test.py
# Copyright (C) 2011-2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # #...
65,159
Python
.py
1,620
29.362346
80
0.526836
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,158
include_cache_test.py
ycm-core_ycmd/ycmd/tests/clang/include_cache_test.py
# Copyright (C) 2017 Davit Samvelyan davitsamvelyan@gmail.com # Synopsys. # 2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 F...
6,912
Python
.py
137
31.328467
78
0.458339
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,159
diagnostics_test.py
ycm-core_ycmd/ycmd/tests/clang/diagnostics_test.py
# Copyright (C) 2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # # ycmd...
16,537
Python
.py
395
30.777215
80
0.529646
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,160
__init__.py
ycm-core_ycmd/ycmd/tests/clang/__init__.py
# Copyright (C) 2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # # ycmd...
2,791
Python
.py
73
33.684932
78
0.716883
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,161
get_completions_test.py
ycm-core_ycmd/ycmd/tests/clang/get_completions_test.py
# Copyright (C) 2015-2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # #...
54,551
Python
.py
1,453
27.136958
80
0.522328
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,162
subcommands_test.py
ycm-core_ycmd/ycmd/tests/clang/subcommands_test.py
# Copyright (C) 2015-2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # #...
60,195
Python
.py
1,412
31.177762
80
0.50499
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,163
comment_strip_test.py
ycm-core_ycmd/ycmd/tests/clang/comment_strip_test.py
# Copyright (C) 2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # # ycmd...
5,099
Python
.py
133
33.218045
82
0.6456
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,164
debug_info_test.py
ycm-core_ycmd/ycmd/tests/clang/debug_info_test.py
# Copyright (C) 2016-2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # #...
10,061
Python
.py
289
24.525952
79
0.507744
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,165
.ycm_extra_conf.py
ycm-core_ycmd/ycmd/tests/clang/testdata/.ycm_extra_conf.py
import os # These files are all a single TU 'unity.cc' unity_files = [ 'unitya.cc', 'unityb.cc', 'unity.h', ] def Settings( **kwargs ): filename = kwargs[ 'filename' ] if os.path.basename( filename ) in unity_files: return { 'flags': [ '-x', 'c++', '-I', '.' ], 'override_filename': os.path....
532
Python
.py
17
25.411765
69
0.53816
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,166
.ycm_extra_conf.py
ycm-core_ycmd/ycmd/tests/clang/testdata/driver_mode_cl/flag/.ycm_extra_conf.py
import os DIR_OF_THIS_SCRIPT = os.path.dirname( os.path.abspath( __file__ ) ) def Settings( **kwargs ): return { 'flags': [ 'g++', '-xc++', '--driver-mode=cl', '/c', '/I', 'driver_mode_cl_include' ], 'include_paths_relative_to_dir': DIR_OF_THIS_SCRIPT }
269
Python
.py
5
49.8
97
0.599237
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,167
.ycm_extra_conf.py
ycm-core_ycmd/ycmd/tests/clang/testdata/driver_mode_cl/executable/.ycm_extra_conf.py
import os DIR_OF_THIS_SCRIPT = os.path.dirname( os.path.abspath( __file__ ) ) def Settings( **kwargs ): return { 'flags': [ 'clang-cl', '-xc++', '/c', '/I', 'driver_mode_cl_include' ], 'include_paths_relative_to_dir': DIR_OF_THIS_SCRIPT }
254
Python
.py
5
46.8
82
0.611336
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,168
.ycm_extra_conf.py
ycm-core_ycmd/ycmd/tests/clang/testdata/client_data/.ycm_extra_conf.py
def Settings( **kwargs ): return { 'flags': kwargs[ 'client_data' ].get( 'flags', [] ) }
91
Python
.py
2
43.5
64
0.58427
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,169
.ycm_extra_conf.py
ycm-core_ycmd/ycmd/tests/clang/testdata/general_fallback/.ycm_extra_conf.py
ftopts = { 'cpp': [ '-Wall', '-Wextra', '-x', 'c++', '-std=c++11', ], 'c': [ '-Wall', '-Wextra', '-std=c99', '-x', 'c', '-I', '.', ], 'cuda': [ '-Wall', '-Wextra', '-x', 'cuda', '--std=c++11', ], 'objc': [ '-x', 'objective-c', '-I', '.', ], } ...
582
Python
.py
35
12.657143
44
0.458564
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,170
.ycm_extra_conf.py
ycm-core_ycmd/ycmd/tests/clang/testdata/test-include/.ycm_extra_conf.py
import os.path def Settings( **kwargs ): d = os.path.dirname( kwargs[ 'filename' ] ) return { 'flags': [ '-iquote', os.path.join( d, 'quote' ), '-I', os.path.join( d, 'system' ), '-iframework', os.path.join( d, 'Frameworks' ) ] }
280
Python
.py
6
37.333333
72
0.511029
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,171
.ycm_extra_conf.py
ycm-core_ycmd/ycmd/tests/clang/testdata/get_doc/.ycm_extra_conf.py
import os DIR_OF_THIS_SCRIPT = os.path.dirname( os.path.abspath( __file__ ) ) def Settings( **kwargs ): return { 'flags': [ '-isystem', os.path.join( DIR_OF_THIS_SCRIPT, 'include' ) ] }
197
Python
.py
6
30
74
0.638298
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,172
rust_completer_test.py
ycm-core_ycmd/ycmd/tests/rust/rust_completer_test.py
# Copyright (C) 2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # # ycmd...
2,477
Python
.py
51
44.392157
73
0.727009
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,173
signature_help_test.py
ycm-core_ycmd/ycmd/tests/rust/signature_help_test.py
# Copyright (C) 2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # # ycmd...
4,524
Python
.py
119
28.579832
80
0.572242
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,174
get_completions_proc_macro_test.py
ycm-core_ycmd/ycmd/tests/rust/get_completions_proc_macro_test.py
# Copyright (C) 2015-2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # #...
3,038
Python
.py
72
33.291667
78
0.622546
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,175
server_management_test.py
ycm-core_ycmd/ycmd/tests/rust/server_management_test.py
# Copyright (C) 2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # # ycmd...
4,796
Python
.py
116
31.465517
79
0.613617
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,176
diagnostics_test.py
ycm-core_ycmd/ycmd/tests/rust/diagnostics_test.py
# Copyright (C) 2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # # ycmd...
8,265
Python
.py
183
33.480874
79
0.555804
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,177
__init__.py
ycm-core_ycmd/ycmd/tests/rust/__init__.py
# Copyright (C) 2016-2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # #...
2,753
Python
.py
65
32.646154
72
0.625374
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,178
get_completions_test.py
ycm-core_ycmd/ycmd/tests/rust/get_completions_test.py
# Copyright (C) 2015-2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # #...
3,142
Python
.py
77
31.649351
78
0.598559
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,179
subcommands_test.py
ycm-core_ycmd/ycmd/tests/rust/subcommands_test.py
# Copyright (C) 2015-2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # #...
23,102
Python
.py
632
26.131329
80
0.514399
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,180
inlay_hints_test.py
ycm-core_ycmd/ycmd/tests/rust/inlay_hints_test.py
# Copyright (C) 2024 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # # ycmd...
3,869
Python
.py
101
30.693069
77
0.622536
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,181
debug_info_test.py
ycm-core_ycmd/ycmd/tests/rust/debug_info_test.py
# Copyright (C) 2016-2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # #...
4,628
Python
.py
132
24.098485
76
0.505568
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,182
language_server_protocol_test.py
ycm-core_ycmd/ycmd/tests/language_server/language_server_protocol_test.py
# Copyright (C) 2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # # ycmd...
9,602
Python
.py
172
48.569767
78
0.6606
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,183
language_server_completer_test.py
ycm-core_ycmd/ycmd/tests/language_server/language_server_completer_test.py
# Copyright (C) 2017-2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # #...
53,170
Python
.py
1,365
28.739194
80
0.547333
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,184
generic_completer_test.py
ycm-core_ycmd/ycmd/tests/language_server/generic_completer_test.py
# Copyright (C) 2015-2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # #...
27,247
Python
.py
651
29.614439
80
0.51153
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,185
language_server_connection_test.py
ycm-core_ycmd/ycmd/tests/language_server/language_server_connection_test.py
# Copyright (C) 2021 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # # ycmd...
6,243
Python
.py
133
38.849624
78
0.667271
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,186
__init__.py
ycm-core_ycmd/ycmd/tests/language_server/__init__.py
# Copyright (C) 2020 ycmd contributors # # This file is part of ycmd. # # ycmd 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 3 of the License, or # (at your option) any later version. # # ycmd...
1,770
Python
.py
45
35.955556
76
0.72807
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,187
settings_extra_conf.py
ycm-core_ycmd/ycmd/tests/language_server/testdata/extra_confs/settings_extra_conf.py
def Settings( **kwargs ): return { 'ls': { 'java.rename.enabled' : False } }
81
Python
.py
2
37.5
54
0.594937
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,188
.ycm_extra_conf.py
ycm-core_ycmd/ycmd/tests/language_server/testdata/project/settings_extra_conf/.ycm_extra_conf.py
def Settings( **kwargs ): return { 'ls': { 'java.rename.enabled' : False } }
81
Python
.py
2
37.5
54
0.594937
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,189
single_diag.py
ycm-core_ycmd/ycmd/tests/language_server/testdata/generic_server/single_diag.py
def Settings(**kwargs): return { "config_sections": { "languageServerExample": { "maxNumberOfProblems": 1 } } }
186
Python
.py
8
13
39
0.438202
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,190
numpy.h
ycm-core_ycmd/cpp/pybind11/pybind11/numpy.h
/* pybind11/numpy.h: Basic NumPy support, vectorize() wrapper Copyright (c) 2016 Wenzel Jakob <wenzel.jakob@epfl.ch> All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. */ #pragma once #include "pybind11.h" #include "complex.h" #inc...
78,036
Python
.py
1,697
37.170301
108
0.58812
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,191
some_python.py
ycm-core_ycmd/examples/samples/some_python.py
# Copyright (C) 2014 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
774
Python
.pyt
22
33.136364
74
0.722296
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,192
lang_python.py
ycm-core_ycmd/ycmd/tests/python/testdata/general_fallback/lang_python.py
class DoSomething: def __init__(self): self.this_is_well_known = 'too easy' # Jedi is smart enough to spot self.a_parameter = 1, but not if we just hack # it in some other method hack(self) pass def hack( obj ): obj.a_parameter = 'secret' def a_method( abc, **kwargs ): print abc obj.a...
1,004
Python
.pyt
29
31.689655
80
0.664943
ycm-core/ycmd
1,693
764
13
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,193
setup.py
liftoff_pyminifier/setup.py
import sys import pyminifier from setuptools import setup from distutils.command.install import INSTALL_SCHEMES for scheme in INSTALL_SCHEMES.values(): scheme['data'] = scheme['purelib'] extra = {} if isinstance(sys.version_info, tuple): major = sys.version_info[0] else: major = sys.version_info.major i...
2,233
Python
.py
61
30.459016
78
0.646353
liftoff/pyminifier
1,446
222
116
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,194
__main__.py
liftoff_pyminifier/pyminifier/__main__.py
from optparse import OptionParser import sys from . import pyminify from . import __version__ py3 = False lzma = False if not isinstance(sys.version_info, tuple): if sys.version_info.major == 3: py3 = True try: import lzma except ImportError: pass def main(): "...
5,284
Python
.py
170
22.9
83
0.573889
liftoff/pyminifier
1,446
222
116
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,195
analyze.py
liftoff_pyminifier/pyminifier/analyze.py
# -*- coding: utf-8 -*- __doc__ = """\ A module of useful functions for analyzing Python code. """ # Import builtins import os, sys, re, tokenize, keyword try: import cStringIO as io except ImportError: # Ahh, Python 3 import io # Globals py3 = False if not isinstance(sys.version_info, tuple): if sys.ve...
12,808
Python
.py
406
22.428571
79
0.53789
liftoff/pyminifier
1,446
222
116
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,196
__init__.py
liftoff_pyminifier/pyminifier/__init__.py
# -*- coding: utf-8 -*- # # Copyright 2013 Liftoff Software Corporation # # For license information see LICENSE.txt # Meta __version__ = '2.2' __version_info__ = (2, 2) __license__ = "GPLv3" # See LICENSE.txt __author__ = 'Dan McDougall <daniel.mcdougall@liftoffsoftware.com>' # TODO: Add the ability to mark var...
15,051
Python
.py
293
42.474403
592
0.653564
liftoff/pyminifier
1,446
222
116
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,197
obfuscate.py
liftoff_pyminifier/pyminifier/obfuscate.py
#!/usr/bin/env python # -*- coding: utf-8 -*- __doc__ = """\ A collection of functions for obfuscating code. """ import os, sys, tokenize, keyword, sys, unicodedata from random import shuffle, choice from itertools import permutations # Import our own modules from . import analyze from . import token_utils if not i...
30,514
Python
.py
722
32.562327
203
0.60349
liftoff/pyminifier
1,446
222
116
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,198
token_utils.py
liftoff_pyminifier/pyminifier/token_utils.py
# -*- coding: utf-8 -*- __doc__ = """\ A couple of functions for dealing with tokens generated by the `tokenize` module. """ import tokenize try: import cStringIO as io except ImportError: # We're using Python 3 import io def untokenize(tokens): """ Converts the output of tokenize.generate_tokens bac...
1,317
Python
.py
38
28.973684
78
0.643362
liftoff/pyminifier
1,446
222
116
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)
38,199
minification.py
liftoff_pyminifier/pyminifier/minification.py
# -*- coding: utf-8 -*- __doc__ = """\ Module for minification functions. """ # Import built-in modules import re, tokenize, keyword try: import cStringIO as io except ImportError: # We're using Python 3 import io # Import our own modules from . import analyze, token_utils # Compile our regular expressions ...
14,547
Python
.py
370
29.608108
130
0.562854
liftoff/pyminifier
1,446
222
116
GPL-3.0
9/5/2024, 5:15:29 PM (Europe/Amsterdam)