index
int64
1
10.7k
class
stringclasses
782 values
comment_sentence
stringlengths
1
1.78k
partition
int64
0
0
combo
stringlengths
17
1.81k
labels
listlengths
7
7
1,753
SmoothRateLimiter.java
we increase storedpermits with the amount of permits
0
we increase storedpermits with the amount of permits | SmoothRateLimiter.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,754
SmoothRateLimiter.java
that would have been produced in that idle time .
0
that would have been produced in that idle time . | SmoothRateLimiter.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,755
SmoothRateLimiter.java
so, if rate 1 permit per second, and
0
so, if rate 1 permit per second, and | SmoothRateLimiter.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,758
SmoothRateLimiter.java
we would only increase it for arrivals later than the expected one second.
0
we would only increase it for arrivals later than the expected one second. | SmoothRateLimiter.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,759
SmoothRateLimiter.java
the time when the next request no matter its size will be granted.
0
the time when the next request no matter its size will be granted. | SmoothRateLimiter.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,760
SmoothRateLimiter.java
after granting a request,
0
after granting a request, | SmoothRateLimiter.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,761
SmoothRateLimiter.java
this is pushed further in the future.
0
this is pushed further in the future. | SmoothRateLimiter.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,765
SmoothRateLimiter.java
the maximum number of permits that can be saved when the ratelimiter is unused is defined in
0
the maximum number of permits that can be saved when the ratelimiter is unused is defined in | SmoothRateLimiter.java
[ 0, 0, 0, 1, 0, 0, 1 ]
1,767
SmoothRateLimiter.java
seconds, we can save up to 2 10 20 permits.
0
seconds, we can save up to 2 10 20 permits. | SmoothRateLimiter.java
[ 0, 0, 0, 0, 0, 0, 1 ]
1,769
SortedSetNavigationTester.java
can t be invoked directly please see
0
can t be invoked directly please see | SortedSetNavigationTester.java
[ 0, 0, 0, 1, 1, 0, 0 ]
1,774
SubscriberTest.java
@author cliff biffle
0
@author cliff biffle | SubscriberTest.java
[ 0, 1, 0, 0, 0, 0, 0 ]
1,779
TestStringListGenerator.java
@author kevin bourrillion
0
@author kevin bourrillion | TestStringListGenerator.java
[ 0, 1, 0, 0, 0, 0, 0 ]
1,781
WrappingScheduledExecutorService.java
#wraptask callable wrap tasks before they are submitted to the underlying executor.
0
#wraptask callable wrap tasks before they are submitted to the underlying executor. | WrappingScheduledExecutorService.java
[ 1, 0, 0, 0, 0, 0, 0 ]
1,783
WrappingScheduledExecutorService.java
@author luke sandberg
0
@author luke sandberg | WrappingScheduledExecutorService.java
[ 0, 1, 0, 0, 0, 0, 0 ]
1,784
AbstractModule.java
a support class for @link module s which reduces repetition and results in a more readable
0
a support class for @link module s which reduces repetition and results in a more readable | AbstractModule.java
[ 1, 0, 0, 0, 0, 0, 0 ]
1,786
AbstractModule.java
simply extend this class, implement @link #configure , and call the inherited
0
simply extend this class, implement @link #configure , and call the inherited | AbstractModule.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,790
AbstractModule.java
public class mymodule extends abstractmodule
0
public class mymodule extends abstractmodule | AbstractModule.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,792
AbstractModule.java
bind service^class ^to serviceimpl^class ^in singleton^class
0
bind service^class ^to serviceimpl^class ^in singleton^class | AbstractModule.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,794
AbstractModule.java
bind paymentservice^class ^to creditcardpaymentservice^class
0
bind paymentservice^class ^to creditcardpaymentservice^class | AbstractModule.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,802
Binder.java
h3 the guice binding edsl h3
0
h3 the guice binding edsl h3 | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,804
Binder.java
simply and readably.
0
simply and readably. | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,806
Binder.java
instead, you should consult the series of examples below.
0
instead, you should consult the series of examples below. | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,808
Binder.java
examples omit the opening @code binder , just as you will if your module extends @link
0
examples omit the opening @code binder , just as you will if your module extends @link | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,812
Binder.java
@link module class to serve as an explicit i manifest i for the services it provides.
0
@link module class to serve as an explicit i manifest i for the services it provides. | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,814
Binder.java
given explicitly.
0
given explicitly. | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,816
Binder.java
specifies that a request for a @code service instance with no binding annotations should be
0
specifies that a request for a @code service instance with no binding annotations should be | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,818
Binder.java
this i overrides i the
0
this i overrides i the | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,820
Binder.java
annotations found on @code service , since guice will have already moved on to @code
0
annotations found on @code service , since guice will have already moved on to @code | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,824
Binder.java
this
0
this | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,828
Binder.java
p the @link provider you use here does not have to be a factory that is, a provider which
0
p the @link provider you use here does not have to be a factory that is, a provider which | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,834
Binder.java
@code @red .
0
@code @red . | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,836
Binder.java
of @code @red that have no exact match in the bindings.
0
of @code @red that have no exact match in the bindings. | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,838
Binder.java
bind serviceimpl^class ^in singleton^class
0
bind serviceimpl^class ^in singleton^class | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,839
Binder.java
or, alternatively
0
or, alternatively | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,840
Binder.java
either of these statements places the @code serviceimpl class into singleton scope.
0
either of these statements places the @code serviceimpl class into singleton scope. | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,841
Binder.java
guice will
0
guice will | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,842
Binder.java
create only one instance of @code serviceimpl and will reuse it for all injection requests of
0
create only one instance of @code serviceimpl and will reuse it for all injection requests of | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,843
Binder.java
note that it is still possible to bind another instance of @code serviceimpl if the
0
note that it is still possible to bind another instance of @code serviceimpl if the | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,844
Binder.java
guice is not overly
0
guice is not overly | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,845
Binder.java
with i enabling i your application to share only one instance if that s all you tell guice you
0
with i enabling i your application to share only one instance if that s all you tell guice you | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,847
Binder.java
an annotation on the @code serviceimpl class.
0
an annotation on the @code serviceimpl class. | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,850
Binder.java
their own custom scopes for use here as well.
0
their own custom scopes for use here as well. | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,852
Binder.java
bind new typeliteral&lt paymentservice&lt creditcard
0
bind new typeliteral&lt paymentservice&lt creditcard | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,853
Binder.java
it tells guice how to
0
it tells guice how to | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,854
Binder.java
honor an injection request for an element of type @code paymentservice creditcard .
0
honor an injection request for an element of type @code paymentservice creditcard . | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,856
Binder.java
@code creditcardpaymentservice must implement the @code paymentservice creditcard interface.
0
@code creditcardpaymentservice must implement the @code paymentservice creditcard interface. | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,857
Binder.java
guice cannot currently bind or inject a generic type, such as @code set e all type parameters
0
guice cannot currently bind or inject a generic type, such as @code set e all type parameters | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,860
Binder.java
bind service^class ^toinstance new serviceimpl
0
bind service^class ^toinstance new serviceimpl | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,861
Binder.java
or, alternatively
0
or, alternatively | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,862
Binder.java
@code service injection requests.
0
@code service injection requests. | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,865
Binder.java
that you can t control.
0
that you can t control. | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,867
Binder.java
sets up a constant binding.
0
sets up a constant binding. | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,868
Binder.java
constant injections must always be annotated.
0
constant injections must always be annotated. | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,869
Binder.java
when a constant
0
when a constant | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,870
Binder.java
binding s value is a string, it is eligible for conversion to all primitive types, to @link
0
binding s value is a string, it is eligible for conversion to all primitive types, to @link | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,871
Binder.java
enum#valueof class, string all enums , and to @link class#forname class literals .
0
enum#valueof class, string all enums , and to @link class#forname class literals . | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,874
Binder.java
converttotypes .
0
converttotypes . | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,877
Binder.java
red mymodule^class.getdeclaredfield red ^getannotation color^class
0
red mymodule^class.getdeclaredfield red ^getannotation color^class | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,879
Binder.java
values of your annotation.
0
values of your annotation. | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,883
Binder.java
bind service^class
0
bind service^class | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,885
Binder.java
differentiating by names is a common enough use case that we provided a standard annotation,
0
differentiating by names is a common enough use case that we provided a standard annotation, | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,886
Binder.java
@link com^google.inject^name.named @named .
0
@link com^google.inject^name.named @named . | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,888
Binder.java
is quite easier than in the arbitrary binding annotation case we just saw.
0
is quite easier than in the arbitrary binding annotation case we just saw. | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,889
Binder.java
however, remember that
0
however, remember that | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,893
Binder.java
constructor t lonector getlonectorfromserviceimplviareflection
0
constructor t lonector getlonectorfromserviceimplviareflection | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,894
Binder.java
bind serviceimpl^class
0
bind serviceimpl^class | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,895
Binder.java
implementation.
0
implementation. | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,898
Binder.java
it is
0
it is | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,901
Binder.java
p the above list of examples is far from exhaustive.
0
p the above list of examples is far from exhaustive. | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,903
Binder.java
example might coexist with the concepts from another, you can most likely weave the two together.
0
example might coexist with the concepts from another, you can most likely weave the two together. | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,906
Binder.java
runtime, as soon as you try to create your injector.
0
runtime, as soon as you try to create your injector. | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,907
Binder.java
p the other methods of binder such as @link #bindscope , @link #bindinterceptor , @link
0
p the other methods of binder such as @link #bindscope , @link #bindinterceptor , @link | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,908
Binder.java
#install , @link #requeststaticinjection , @link #adderror and @link #currentstage are not
0
#install , @link #requeststaticinjection , @link #adderror and @link #currentstage are not | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,909
Binder.java
part of the binding edsl you can learn how to use these in the usual way, from the method
0
part of the binding edsl you can learn how to use these in the usual way, from the method | Binder.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,914
DefaultMethodInterceptionTest.java
tests for interception of default methods.
0
tests for interception of default methods. | DefaultMethodInterceptionTest.java
[ 1, 0, 0, 0, 0, 0, 0 ]
1,918
DefaultMethodInterceptionTest.java
a base class defining a method with the same signature as foo s default method.
0
a base class defining a method with the same signature as foo s default method. | DefaultMethodInterceptionTest.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,919
DefaultMethodInterceptionTest.java
foo implementation that should use superclass method rather than default method.
0
foo implementation that should use superclass method rather than default method. | DefaultMethodInterceptionTest.java
[ 0, 0, 0, 1, 0, 0, 0 ]
1,920
Element.java
an internal binding annotation applied to each element in a multibinding.
0
an internal binding annotation applied to each element in a multibinding. | Element.java
[ 1, 0, 0, 0, 0, 0, 0 ]
1,922
Element.java
assigned a globally unique id to allow different modules to contribute multibindings
0
assigned a globally unique id to allow different modules to contribute multibindings | Element.java
[ 0, 0, 1, 0, 0, 0, 0 ]
1,923
Element.java
independently.
0
independently. | Element.java
[ 0, 0, 1, 0, 0, 0, 0 ]
1,926
ImplicitBindingTest.java
@author crazybob@google^com bob lee an enum cannot be implemented by anything, so it should not be possible to have a successful valid jitable binding
0
@author crazybob@google^com bob lee an enum cannot be implemented by anything, so it should not be possible to have a successful valid jitable binding | ImplicitBindingTest.java
[ 0, 1, 0, 0, 0, 0, 1 ]
1,928
ManagedFilterPipeline.java
pipeline.
0
pipeline. | ManagedFilterPipeline.java
[ 1, 0, 0, 0, 0, 0, 0 ]
1,929
ManagedFilterPipeline.java
@author dhanji@gmail^com dhanji r. prasanna
0
@author dhanji@gmail^com dhanji r. prasanna | ManagedFilterPipeline.java
[ 0, 1, 0, 0, 0, 0, 0 ]
1,930
PrivateElementProcessor
handles @code binder^newprivatebinder elements.
0
handles @code binder^newprivatebinder elements. | PrivateElementProcessor
[ 1, 0, 0, 0, 0, 0, 0 ]
1,933
SpiUtils.java
utilities for testing the multibinder & mapbinder extension spi.
0
utilities for testing the multibinder & mapbinder extension spi. | SpiUtils.java
[ 1, 0, 0, 0, 0, 0, 0 ]
1,940
AbstractMultiSelectState.java
shared state for @code abstractmultiselect .
0
shared state for @code abstractmultiselect . | AbstractMultiSelectState.java
[ 1, 0, 0, 0, 1, 0, 0 ]
1,942
AbstractMultiSelectState.java
@since 80
0
@since 80 | AbstractMultiSelectState.java
[ 0, 0, 0, 0, 0, 1, 0 ]
1,943
AbstractProperty.java
abstract base class for @link property implementations.
0
abstract base class for @link property implementations. | AbstractProperty.java
[ 1, 0, 0, 0, 1, 0, 0 ]
1,944
AbstractProperty.java
handles listener management for @link valuechangelistener s and
0
handles listener management for @link valuechangelistener s and | AbstractProperty.java
[ 1, 0, 0, 0, 1, 0, 0 ]
1,945
AbstractProperty.java
@link readonlystatuschangelistener s.
0
@link readonlystatuschangelistener s. | AbstractProperty.java
[ 1, 0, 0, 0, 1, 0, 0 ]
1,946
AbstractProperty.java
@since 66
0
@since 66 | AbstractProperty.java
[ 0, 0, 0, 0, 0, 1, 0 ]
1,947
AbstractProperty.java
@deprecated as of 80, replaced by @link valueprovider , @link setter , see
0
@deprecated as of 80, replaced by @link valueprovider , @link setter , see | AbstractProperty.java
[ 0, 0, 0, 0, 1, 1, 0 ]
1,952
AbstractProperty.java
status has been changed.
0
status has been changed. | AbstractProperty.java
[ 0, 0, 1, 0, 0, 0, 0 ]
1,954
AbstractSingleComponentContainerState.java
default shared state implementation for abstractsinglecomponentcontainer.
0
default shared state implementation for abstractsinglecomponentcontainer. | AbstractSingleComponentContainerState.java
[ 1, 0, 0, 0, 0, 0, 0 ]
1,959
ApplicationConfiguration.java
wraps a native javascript object containing fields for an error message.
0
wraps a native javascript object containing fields for an error message. | ApplicationConfiguration.java
[ 1, 0, 0, 0, 0, 0, 0 ]
1,961
BootstrapPageResponse.java
a representation of a bootstrap page being generated.
0
a representation of a bootstrap page being generated. | BootstrapPageResponse.java
[ 1, 0, 0, 0, 0, 0, 0 ]
1,962
BootstrapPageResponse.java
the bootstrap page
0
the bootstrap page | BootstrapPageResponse.java
[ 0, 0, 1, 0, 0, 0, 0 ]
1,963
BootstrapPageResponse.java
contains of the full dom of the html document as well as the http headers
0
contains of the full dom of the html document as well as the http headers | BootstrapPageResponse.java
[ 0, 0, 1, 0, 0, 0, 0 ]
1,964
BootstrapPageResponse.java
that will be included in the corresponding http response.
0
that will be included in the corresponding http response. | BootstrapPageResponse.java
[ 0, 0, 1, 0, 0, 0, 0 ]
1,967
ButtonRenderer.java
a renderer that displays a button with a textual caption.
0
a renderer that displays a button with a textual caption. | ButtonRenderer.java
[ 1, 0, 0, 0, 0, 0, 0 ]