comment_sentence_id
int64
1
5.52k
class
stringlengths
9
50
comment_sentence
stringlengths
1
1.32k
partition
int64
0
1
instance_type
int64
0
1
category
stringclasses
1 value
label
int64
0
1
combo
stringlengths
15
1.35k
__index_level_0__
int64
7.6k
16.5k
3,895
SmoothRateLimiter.java
integrals .
0
0
Pointer
0
integrals . | SmoothRateLimiter.java
8,998
2,872
CacheBuilder.java
@link cache interfaces.
0
0
Pointer
0
@link cache interfaces. | CacheBuilder.java
8,999
2,873
CacheBuilder.java
the @code asmap view and its collection views have i weakly
0
0
Pointer
0
the @code asmap view and its collection views have i weakly | CacheBuilder.java
9,000
2,874
CacheBuilder.java
consistent iterators i .
0
0
Pointer
0
consistent iterators i . | CacheBuilder.java
9,001
3,898
SmoothRateLimiter.java
cost as fresh ones 1 qps is the cost for each .
0
0
Pointer
0
cost as fresh ones 1 qps is the cost for each . | SmoothRateLimiter.java
9,002
2,875
CacheBuilder.java
this means that they are safe for concurrent use, but if other threads
0
0
Pointer
0
this means that they are safe for concurrent use, but if other threads | CacheBuilder.java
9,003
2,876
CacheBuilder.java
modify the cache after the iterator is created, it is undefined which of these changes, if any,
0
0
Pointer
0
modify the cache after the iterator is created, it is undefined which of these changes, if any, | CacheBuilder.java
9,004
2,877
CacheBuilder.java
are reflected in that iterator.
0
0
Pointer
0
are reflected in that iterator. | CacheBuilder.java
9,005
3,903
SmoothRateLimiter.java
underutilization.
0
0
Pointer
0
underutilization. | SmoothRateLimiter.java
9,006
2,880
CacheBuilder.java
p b note b by default, the returned cache uses equality comparisons the @link
0
0
Pointer
0
p b note b by default, the returned cache uses equality comparisons the @link | CacheBuilder.java
9,007
2,881
CacheBuilder.java
object#equals equals method to determine equality for keys or values.
0
0
Pointer
0
object#equals equals method to determine equality for keys or values. | CacheBuilder.java
9,008
2,882
CacheBuilder.java
however, if @link
0
0
Pointer
0
however, if @link | CacheBuilder.java
9,009
2,883
CacheBuilder.java
#weakkeys was specified, the cache uses identity @code comparisons instead for keys.
0
0
Pointer
0
#weakkeys was specified, the cache uses identity @code comparisons instead for keys. | CacheBuilder.java
9,010
3,907
SmoothRateLimiter.java
last, but not least consider a ratelimiter with rate of 1 permit per second, currently
0
0
Pointer
0
last, but not least consider a ratelimiter with rate of 1 permit per second, currently | SmoothRateLimiter.java
9,011
2,884
CacheBuilder.java
likewise, if @link #weakvalues or @link #softvalues was specified, the cache uses identity
0
0
Pointer
0
likewise, if @link #weakvalues or @link #softvalues was specified, the cache uses identity | CacheBuilder.java
9,012
3,908
SmoothRateLimiter.java
completely unused, and an expensive acquire 100 request comes.
0
0
Pointer
0
completely unused, and an expensive acquire 100 request comes. | SmoothRateLimiter.java
9,013
2,885
CacheBuilder.java
comparisons for values.
0
0
Pointer
0
comparisons for values. | CacheBuilder.java
9,014
3,909
SmoothRateLimiter.java
it would be nonsensical to just
0
0
Pointer
0
it would be nonsensical to just | SmoothRateLimiter.java
9,015
2,886
CacheBuilder.java
p entries are automatically evicted from the cache when any of @linkplain #maximumsize long
0
0
Pointer
0
p entries are automatically evicted from the cache when any of @linkplain #maximumsize long | CacheBuilder.java
9,016
2,887
CacheBuilder.java
maximumsize , @linkplain #maximumweight long maximumweight , @linkplain #expireafterwrite
0
0
Pointer
0
maximumsize , @linkplain #maximumweight long maximumweight , @linkplain #expireafterwrite | CacheBuilder.java
9,017
3,911
SmoothRateLimiter.java
why wait without doing anything?
0
0
Pointer
0
why wait without doing anything? | SmoothRateLimiter.java
9,018
2,888
CacheBuilder.java
expireafterwrite , @linkplain #expireafteraccess expireafteraccess , @linkplain #weakkeys
0
0
Pointer
0
expireafterwrite , @linkplain #expireafteraccess expireafteraccess , @linkplain #weakkeys | CacheBuilder.java
9,019
3,912
SmoothRateLimiter.java
a much
0
0
Pointer
0
a much | SmoothRateLimiter.java
9,020
2,889
CacheBuilder.java
weakkeys , @linkplain #weakvalues weakvalues , or @linkplain #softvalues softvalues are
0
0
Pointer
0
weakkeys , @linkplain #weakvalues weakvalues , or @linkplain #softvalues softvalues are | CacheBuilder.java
9,021
2,890
CacheBuilder.java
requested.
0
0
Pointer
0
requested. | CacheBuilder.java
9,022
3,914
SmoothRateLimiter.java
instead , and postpone subsequent requests as needed.
0
0
Pointer
0
instead , and postpone subsequent requests as needed. | SmoothRateLimiter.java
9,023
2,891
CacheBuilder.java
p if @linkplain #maximumsize long maximumsize or @linkplain #maximumweight long
0
0
Pointer
0
p if @linkplain #maximumsize long maximumsize or @linkplain #maximumweight long | CacheBuilder.java
9,024
2,892
CacheBuilder.java
maximumweight is requested entries may be evicted on each cache modification.
0
0
Pointer
0
maximumweight is requested entries may be evicted on each cache modification. | CacheBuilder.java
9,025
3,916
SmoothRateLimiter.java
task immediately, and postpone by 100 seconds future requests, thus we allow for work to get
0
0
Pointer
0
task immediately, and postpone by 100 seconds future requests, thus we allow for work to get | SmoothRateLimiter.java
9,026
2,893
CacheBuilder.java
p if @linkplain #expireafterwrite expireafterwrite or @linkplain #expireafteraccess
0
0
Pointer
0
p if @linkplain #expireafterwrite expireafterwrite or @linkplain #expireafteraccess | CacheBuilder.java
9,027
2,894
CacheBuilder.java
expireafteraccess is requested entries may be evicted on each cache modification, on occasional
0
0
Pointer
0
expireafteraccess is requested entries may be evicted on each cache modification, on occasional | CacheBuilder.java
9,028
3,918
SmoothRateLimiter.java
this has important consequences it means that the ratelimiter doesn t remember the time of the
0
0
Pointer
0
this has important consequences it means that the ratelimiter doesn t remember the time of the | SmoothRateLimiter.java
9,029
2,895
CacheBuilder.java
cache accesses, or on calls to @link cache#cleanup .
0
0
Pointer
0
cache accesses, or on calls to @link cache#cleanup . | CacheBuilder.java
9,030
3,919
SmoothRateLimiter.java
last request, but it remembers the expected time of the next request.
0
0
Pointer
0
last request, but it remembers the expected time of the next request. | SmoothRateLimiter.java
9,031
2,896
CacheBuilder.java
expired entries may be counted by @link
0
0
Pointer
0
expired entries may be counted by @link | CacheBuilder.java
9,032
3,920
SmoothRateLimiter.java
this also enables
0
0
Pointer
0
this also enables | SmoothRateLimiter.java
9,033
2,897
CacheBuilder.java
cache#size , but will never be visible to read or write operations.
0
0
Pointer
0
cache#size , but will never be visible to read or write operations. | CacheBuilder.java
9,034
3,921
SmoothRateLimiter.java
us to tell immediately see tryacquire timeout whether a particular timeout is enough to get
0
0
Pointer
0
us to tell immediately see tryacquire timeout whether a particular timeout is enough to get | SmoothRateLimiter.java
9,035
2,898
CacheBuilder.java
p if @linkplain #weakkeys weakkeys , @linkplain #weakvalues weakvalues , or @linkplain
0
0
Pointer
0
p if @linkplain #weakkeys weakkeys , @linkplain #weakvalues weakvalues , or @linkplain | CacheBuilder.java
9,036
3,922
SmoothRateLimiter.java
us to the point of the next scheduling time, since we always maintain that.
0
0
Pointer
0
us to the point of the next scheduling time, since we always maintain that. | SmoothRateLimiter.java
9,037
3,923
SmoothRateLimiter.java
and what we mean by
0
0
Pointer
0
and what we mean by | SmoothRateLimiter.java
9,038
2,900
CacheBuilder.java
be reclaimed by the garbage collector.
0
0
Pointer
0
be reclaimed by the garbage collector. | CacheBuilder.java
9,039
3,924
SmoothRateLimiter.java
an unused ratelimiter is also defined by that notion when we observe that the
0
0
Pointer
0
an unused ratelimiter is also defined by that notion when we observe that the | SmoothRateLimiter.java
9,040
2,901
CacheBuilder.java
entries with reclaimed keys or values may be removed from
0
0
Pointer
0
entries with reclaimed keys or values may be removed from | CacheBuilder.java
9,041
3,925
SmoothRateLimiter.java
expected arrival time of the next request is actually in the past, then the difference now
0
0
Pointer
0
expected arrival time of the next request is actually in the past, then the difference now | SmoothRateLimiter.java
9,042
2,902
CacheBuilder.java
the cache on each cache modification, on occasional cache accesses, or on calls to @link
0
0
Pointer
0
the cache on each cache modification, on occasional cache accesses, or on calls to @link | CacheBuilder.java
9,043
3,926
SmoothRateLimiter.java
past is the amount of time that the ratelimiter was formally unused, and it is that amount of
0
0
Pointer
0
past is the amount of time that the ratelimiter was formally unused, and it is that amount of | SmoothRateLimiter.java
9,044
2,903
CacheBuilder.java
cache#cleanup such entries may be counted in @link cache#size , but will never be visible to
0
0
Pointer
0
cache#cleanup such entries may be counted in @link cache#size , but will never be visible to | CacheBuilder.java
9,045
3,927
SmoothRateLimiter.java
time which we translate to storedpermits.
0
0
Pointer
0
time which we translate to storedpermits. | SmoothRateLimiter.java
9,046
2,904
CacheBuilder.java
read or write operations.
0
0
Pointer
0
read or write operations. | CacheBuilder.java
9,047
3,928
SmoothRateLimiter.java
we increase storedpermits with the amount of permits
0
0
Pointer
0
we increase storedpermits with the amount of permits | SmoothRateLimiter.java
9,048
2,905
CacheBuilder.java
p certain cache configurations will result in the accrual of periodic maintenance tasks which
0
0
Pointer
0
p certain cache configurations will result in the accrual of periodic maintenance tasks which | CacheBuilder.java
9,049
3,929
SmoothRateLimiter.java
that would have been produced in that idle time .
0
0
Pointer
0
that would have been produced in that idle time . | SmoothRateLimiter.java
9,050
2,906
CacheBuilder.java
will be performed during write operations, or during occasional read operations in the absence of
0
0
Pointer
0
will be performed during write operations, or during occasional read operations in the absence of | CacheBuilder.java
9,051
3,930
SmoothRateLimiter.java
so, if rate 1 permit per second, and
0
0
Pointer
0
so, if rate 1 permit per second, and | SmoothRateLimiter.java
9,052
2,907
CacheBuilder.java
writes.
0
0
Pointer
0
writes. | CacheBuilder.java
9,053
3,931
SmoothRateLimiter.java
arrivals come exactly one second after the previous, then storedpermits is never increased
0
0
Pointer
0
arrivals come exactly one second after the previous, then storedpermits is never increased | SmoothRateLimiter.java
9,054
2,908
CacheBuilder.java
the @link cache#cleanup method of the returned cache will also perform maintenance, but
0
0
Pointer
0
the @link cache#cleanup method of the returned cache will also perform maintenance, but | CacheBuilder.java
9,055
3,932
SmoothRateLimiter.java
we would only increase it for arrivals later than the expected one second.
0
0
Pointer
0
we would only increase it for arrivals later than the expected one second. | SmoothRateLimiter.java
9,056
2,909
CacheBuilder.java
calling it should not be necessary with a high throughput cache.
0
0
Pointer
0
calling it should not be necessary with a high throughput cache. | CacheBuilder.java
9,057
3,933
SmoothRateLimiter.java
the time when the next request no matter its size will be granted.
0
0
Pointer
0
the time when the next request no matter its size will be granted. | SmoothRateLimiter.java
9,058
2,910
CacheBuilder.java
only caches built with
0
0
Pointer
0
only caches built with | CacheBuilder.java
9,059
3,934
SmoothRateLimiter.java
after granting a request,
0
0
Pointer
0
after granting a request, | SmoothRateLimiter.java
9,060
2,911
CacheBuilder.java
@linkplain #removallistener removallistener , @linkplain #expireafterwrite expireafterwrite ,
0
0
Pointer
0
@linkplain #removallistener removallistener , @linkplain #expireafterwrite expireafterwrite , | CacheBuilder.java
9,061
3,935
SmoothRateLimiter.java
this is pushed further in the future.
0
0
Pointer
0
this is pushed further in the future. | SmoothRateLimiter.java
9,062
2,912
CacheBuilder.java
@linkplain #expireafteraccess expireafteraccess , @linkplain #weakkeys weakkeys , @linkplain
0
0
Pointer
0
@linkplain #expireafteraccess expireafteraccess , @linkplain #weakkeys weakkeys , @linkplain | CacheBuilder.java
9,063
3,936
SmoothRateLimiter.java
large requests push this further than small requests.
0
0
Pointer
0
large requests push this further than small requests. | SmoothRateLimiter.java
9,064
2,913
CacheBuilder.java
#weakvalues weakvalues , or @linkplain #softvalues softvalues perform periodic maintenance.
0
0
Pointer
0
#weakvalues weakvalues , or @linkplain #softvalues softvalues perform periodic maintenance. | CacheBuilder.java
9,065
3,937
SmoothRateLimiter.java
this implements a bursty ratelimiter, where storedpermits are translated to zero throttling.
0
0
Pointer
0
this implements a bursty ratelimiter, where storedpermits are translated to zero throttling. | SmoothRateLimiter.java
9,066
3,938
SmoothRateLimiter.java
the maximum number of permits that can be saved when the ratelimiter is unused is defined in
0
0
Pointer
0
the maximum number of permits that can be saved when the ratelimiter is unused is defined in | SmoothRateLimiter.java
9,067
2,915
CacheBuilder.java
retain all the configuration properties of the original cache.
0
0
Pointer
0
retain all the configuration properties of the original cache. | CacheBuilder.java
9,068
3,939
SmoothRateLimiter.java
terms of time, in this sense if a ratelimiter is 2qps, and this time is specified as 10
0
0
Pointer
0
terms of time, in this sense if a ratelimiter is 2qps, and this time is specified as 10 | SmoothRateLimiter.java
9,069
2,916
CacheBuilder.java
note that the serialized form does
0
0
Pointer
0
note that the serialized form does | CacheBuilder.java
9,070
3,940
SmoothRateLimiter.java
seconds, we can save up to 2 10 20 permits.
0
0
Pointer
0
seconds, we can save up to 2 10 20 permits. | SmoothRateLimiter.java
9,071
2,917
CacheBuilder.java
i not i include cache contents, but only configuration.
0
0
Pointer
0
i not i include cache contents, but only configuration. | CacheBuilder.java
9,072
2,922
CacheBuilder.java
this is
0
0
Pointer
0
this is | CacheBuilder.java
9,073
2,923
CacheBuilder.java
normally @code object unless it is constrained by using a method like @code
0
0
Pointer
0
normally @code object unless it is constrained by using a method like @code | CacheBuilder.java
9,074
2,924
CacheBuilder.java
#removallistener
0
0
Pointer
0
#removallistener | CacheBuilder.java
9,075
2,926
CacheBuilder.java
this is
0
0
Pointer
0
this is | CacheBuilder.java
9,076
2,927
CacheBuilder.java
normally @code object unless it is constrained by using a method like @code
0
0
Pointer
0
normally @code object unless it is constrained by using a method like @code | CacheBuilder.java
9,077
2,928
CacheBuilder.java
#removallistener
0
0
Pointer
0
#removallistener | CacheBuilder.java
9,078
2,929
CacheBuilder.java
@author charles fry
0
0
Pointer
0
@author charles fry | CacheBuilder.java
9,079
2,930
CacheBuilder.java
@author kevin bourrillion
0
0
Pointer
0
@author kevin bourrillion | CacheBuilder.java
9,080
2,931
CacheBuilder.java
@since 100
0
0
Pointer
0
@since 100 | CacheBuilder.java
9,081
3,040
CacheLoaderTest.java
unit tests for @link cacheloader .
0
0
Pointer
0
unit tests for @link cacheloader . | CacheLoaderTest.java
9,082
3,041
CacheLoaderTest.java
@author charles fry
0
0
Pointer
0
@author charles fry | CacheLoaderTest.java
9,083
3,044
CacheManualTest.java
@author charles fry
0
0
Pointer
0
@author charles fry | CacheManualTest.java
9,084
3,046
ClassToInstanceMap.java
a map, each entry of which maps a java a href http tinyurl^com 2cmwkz raw type a to an
0
0
Pointer
0
a map, each entry of which maps a java a href http tinyurl^com 2cmwkz raw type a to an | ClassToInstanceMap.java
9,085
3,047
ClassToInstanceMap.java
instance of that type.
0
0
Pointer
0
instance of that type. | ClassToInstanceMap.java
9,086
3,048
ClassToInstanceMap.java
in addition to implementing @code map , the additional type safe
0
0
Pointer
0
in addition to implementing @code map , the additional type safe | ClassToInstanceMap.java
9,087
3,049
ClassToInstanceMap.java
operations @link #putinstance and @link #getinstance are available.
0
0
Pointer
0
operations @link #putinstance and @link #getinstance are available. | ClassToInstanceMap.java
9,088
3,050
ClassToInstanceMap.java
p like any other @code map class, object , this map may contain entries for primitive types,
0
0
Pointer
0
p like any other @code map class, object , this map may contain entries for primitive types, | ClassToInstanceMap.java
9,089
3,051
ClassToInstanceMap.java
and a primitive type and its corresponding wrapper type may map to different values.
0
0
Pointer
0
and a primitive type and its corresponding wrapper type may map to different values. | ClassToInstanceMap.java
9,090
3,055
ClassToInstanceMap.java
p to map a generic type to an instance of that type, use @link
0
0
Pointer
0
p to map a generic type to an instance of that type, use @link | ClassToInstanceMap.java
9,091
3,056
ClassToInstanceMap.java
com^google.common^reflect.typetoinstancemap instead.
0
0
Pointer
0
com^google.common^reflect.typetoinstancemap instead. | ClassToInstanceMap.java
9,092
3,057
ClassToInstanceMap.java
@param b the common supertype that all entries must share often this is simply @link object
0
0
Pointer
0
@param b the common supertype that all entries must share often this is simply @link object | ClassToInstanceMap.java
9,093
3,058
ClassToInstanceMap.java
@author kevin bourrillion
0
0
Pointer
0
@author kevin bourrillion | ClassToInstanceMap.java
9,094
3,059
ClassToInstanceMap.java
@since 20
0
0
Pointer
0
@since 20 | ClassToInstanceMap.java
9,095
4,151
AbstractModule.java
a support class for @link module s which reduces repetition and results in a more readable
0
0
Pointer
0
a support class for @link module s which reduces repetition and results in a more readable | AbstractModule.java
9,096
4,152
AbstractModule.java
configuration.
1
0
Pointer
0
configuration. | AbstractModule.java
9,097