Project Name
stringclasses
422 values
Package Name
stringlengths
1
89
Type Name
stringlengths
1
112
NOF
int64
0
1.33k
NOPF
int64
0
1.33k
NOM
int64
0
778
NOPM
int64
0
656
LOC
int64
0
9.42k
WMC
int64
0
2.05k
NC
int64
0
203
DIT
int64
0
9
LCOM
float64
-1
1
FANIN
int64
0
350
FANOUT
int64
0
139
Line no
int64
1
94.8k
code
stringlengths
12
4.03M
yahoofinance-api
yahoofinance.histquotes2
HistDividendsRequest
7
3
6
4
76
8
0
0
0
1
6
18
package yahoofinance.histquotes2; import yahoofinance.Utils; import yahoofinance.YahooFinance; import yahoofinance.util.RedirectableRequest; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.URL; import java.net.URLConnection; import java.net.URLEncoder; impo...
yahoofinance-api
yahoofinance.histquotes2
QueryInterval
1
0
0
0
11
0
0
0
-1
5
0
4
package yahoofinance.histquotes2; /** * * @author Stijn Strickx */ public enum QueryInterval { DAILY("1d"), WEEKLY("5d"), MONTHLY("1mo"); private final String tag; QueryInterval(String tag) { this.tag = tag; } public String getTag() { return this.tag;...
yahoofinance-api
yahoofinance.histquotes2
HistoricalDividend
3
0
9
9
43
9
0
0
0.222222
1
0
7
package yahoofinance.histquotes2; import java.math.BigDecimal; import java.text.SimpleDateFormat; import java.util.Calendar; /** * At the time of this writing Yahoo returns ADJUSTED dividends. Which means that as soon as * split occurs, all past dividends are divided by split factor. * All getters can return null ...
yahoofinance-api
yahoofinance.histquotes2
HistSplitsRequest
7
3
6
4
77
8
0
0
0
1
6
18
package yahoofinance.histquotes2; import yahoofinance.Utils; import yahoofinance.YahooFinance; import yahoofinance.util.RedirectableRequest; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.URL; import java.net.URLConnection; import java.net.URLEncoder; impo...
android-fb-like-slideout-navigation
com.korovyansk.android.sample.slideout
MenuFragment
0
0
2
2
11
2
0
0
-1
0
0
9
package com.korovyansk.android.sample.slideout; import android.os.Bundle; import android.support.v4.app.ListFragment; import android.view.View; import android.widget.ArrayAdapter; import android.widget.ListView; public class MenuFragment extends ListFragment { @Override public void onActivityCreated(Bundle savedIn...
android-fb-like-slideout-navigation
com.korovyansk.android.sample.slideout
SampleActionbarActivity
0
0
2
2
18
4
0
0
-1
0
1
12
package com.korovyansk.android.sample.slideout; import android.app.Activity; import android.content.Intent; import android.os.Build; import android.os.Bundle; import android.util.TypedValue; import android.view.MenuItem; import com.korovyansk.android.slideout.SlideoutActivity; public class SampleActionbarActivity ex...
android-fb-like-slideout-navigation
com.korovyansk.android.sample.slideout
MenuActivity
1
0
3
3
20
4
0
0
0
0
1
9
package com.korovyansk.android.sample.slideout; import android.os.Bundle; import android.support.v4.app.FragmentActivity; import android.view.KeyEvent; import com.korovyansk.android.slideout.SlideoutHelper; public class MenuActivity extends FragmentActivity{ @Override public void onCreate(Bundle savedInstanceStat...
android-fb-like-slideout-navigation
com.korovyansk.android.sample.slideout
SampleActivity
0
0
2
2
18
3
0
0
-1
0
1
13
package com.korovyansk.android.sample.slideout; import android.annotation.TargetApi; import android.app.Activity; import android.content.Intent; import android.os.Build; import android.os.Bundle; import android.util.TypedValue; import android.view.View; import com.korovyansk.android.slideout.SlideoutActivity; public...
android-fb-like-slideout-navigation
com.korovyansk.android.slideout
SlideoutHelper
8
0
14
13
98
17
0
0
0.428571
2
0
18
package com.korovyansk.android.slideout; import android.app.Activity; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Rect; import android.view.View; import android.view.View.OnClickListener; import android.view.ViewGroup; import android.view.Window; import android.view.WindowMa...
android-fb-like-slideout-navigation
com.korovyansk.android.slideout
SlideoutActivity
1
0
3
3
18
4
0
0
0.666667
2
1
7
package com.korovyansk.android.slideout; import android.app.Activity; import android.os.Bundle; import android.view.KeyEvent; public class SlideoutActivity extends Activity { public static void prepare(Activity activity, int id, int width){ SlideoutHelper.prepare(activity, id, width); } @Override public void...
android-fb-like-slideout-navigation
com.korovyansk.android.slideout.utils
ScreenShot
1
0
4
4
31
4
0
0
0
0
0
9
package com.korovyansk.android.slideout.utils; import android.app.Activity; import android.graphics.Bitmap; import android.graphics.Bitmap.Config; import android.graphics.Canvas; import android.view.View; public class ScreenShot { private final View view; /** Create snapshots based on the view and its children. */...
reactivesocket-java
io.rsocket.transport.local
LocalClientTransportTest
0
0
4
0
22
4
0
0
-1
0
3
28
/* * Copyright 2015-2020 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 app...
reactivesocket-java
io.rsocket.transport.local
LocalServerTransportTest
0
0
10
0
43
10
0
0
-1
0
1
27
/* * Copyright 2015-2020 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 app...
reactivesocket-java
io.rsocket.transport.local
LocalResumableWithFragmentationTransportTest
1
0
3
2
12
3
0
0
0.666667
0
2
25
/* * Copyright 2015-2023 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 app...
reactivesocket-java
io.rsocket.transport.local
LocalPingPong
0
0
1
1
10
1
0
0
-1
0
6
29
/* * Copyright 2015-2020 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 app...
reactivesocket-java
io.rsocket.transport.local
LocalResumableTransportTest
1
0
3
2
12
3
0
0
0.666667
0
2
25
/* * Copyright 2015-2023 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 app...
reactivesocket-java
io.rsocket.transport.local
LocalTransportWithFragmentationTest
1
0
3
2
12
3
0
0
0.666667
0
2
25
/* * Copyright 2015-2023 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 app...
reactivesocket-java
io.rsocket.transport.local
LocalTransportTest
1
0
3
2
12
3
0
0
0.666667
0
2
25
/* * Copyright 2015-2023 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 app...
reactivesocket-java
io.rsocket.transport.local
LocalSocketAddressTest
0
0
2
0
8
2
0
0
-1
0
0
25
/* * Copyright 2015-2018 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 app...
reactivesocket-java
io.rsocket.transport.local
LocalClientTransport
2
0
4
3
49
5
0
0
0
10
2
28
/* * Copyright 2015-2021 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 app...
reactivesocket-java
io.rsocket.transport.local
LocalServerTransport
6
0
8
5
100
10
0
0
0
11
2
34
/* * Copyright 2015-2021 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 app...
reactivesocket-java
io.rsocket.transport.local
LocalServerTransport.ServerCloseableAcceptor
4
0
0
0
28
0
0
0
-1
0
1
124
/* * Copyright 2015-2021 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 app...
reactivesocket-java
io.rsocket.transport.local
LocalSocketAddress
2
0
3
3
24
3
0
0
0
3
0
22
/* * Copyright 2015-2020 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 app...
reactivesocket-java
io.rsocket.transport.local
LocalDuplexConnection
8
0
10
9
111
11
0
0
0
1
4
34
/* * Copyright 2015-2021 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 app...
reactivesocket-java
io.rsocket.transport.local
LocalDuplexConnection.ByteBufReleaserOperator
3
0
0
0
53
0
0
0
-1
0
1
119
/* * Copyright 2015-2021 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 app...
reactivesocket-java
io.rsocket.micrometer
MicrometerDuplexConnectionInterceptorTest
2
0
4
0
16
4
0
0
0.5
0
2
30
/* * Copyright 2015-2018 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 app...
reactivesocket-java
io.rsocket.micrometer
MicrometerRSocketTest
2
0
9
0
46
9
0
0
0
0
3
39
/* * Copyright 2015-2018 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 app...
reactivesocket-java
io.rsocket.micrometer
MicrometerDuplexConnectionTest
2
0
8
0
72
8
0
0
0
0
3
43
/* * Copyright 2015-2018 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 app...
reactivesocket-java
io.rsocket.micrometer
MicrometerRSocketInterceptorTest
2
0
3
0
13
3
0
0
0.666667
0
2
29
/* * Copyright 2015-2018 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 app...
reactivesocket-java
io.rsocket.micrometer
MicrometerRSocket
13
0
8
7
110
8
0
0
0
2
2
40
/* * Copyright 2015-2018 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 app...
reactivesocket-java
io.rsocket.micrometer
MicrometerRSocket.InteractionCounters
3
0
0
0
26
0
0
0
-1
0
0
125
/* * Copyright 2015-2018 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 app...
reactivesocket-java
io.rsocket.micrometer
MicrometerRSocket.InteractionTimers
4
0
0
0
31
0
0
0
-1
0
0
162
/* * Copyright 2015-2018 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 app...
reactivesocket-java
io.rsocket.micrometer
MicrometerDuplexConnectionInterceptor
2
0
2
2
23
2
0
0
0
0
2
27
/* * Copyright 2015-2018 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 app...
reactivesocket-java
io.rsocket.micrometer
MicrometerRSocketInterceptor
2
0
2
2
22
2
0
0
0
0
2
27
/* * Copyright 2015-2018 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 app...
reactivesocket-java
io.rsocket.micrometer
MicrometerDuplexConnection
24
0
8
7
0
8
0
0
0
3
2
37
/* * Copyright 2015-2020 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 app...
reactivesocket-java
io.rsocket.micrometer
MicrometerDuplexConnection.FrameCounters
20
0
0
0
0
0
0
0
-1
0
0
124
/* * Copyright 2015-2020 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 app...
reactivesocket-java
io.rsocket.micrometer.observation
RSocketContext
6
0
7
6
34
7
0
0
0.285714
9
2
25
/* * Copyright 2013-2021 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
reactivesocket-java
io.rsocket.micrometer.observation
RSocketContext.Side
0
0
0
0
1
0
0
0
-1
0
0
48
/* * Copyright 2013-2021 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
reactivesocket-java
io.rsocket.micrometer.observation
DefaultRSocketRequesterObservationConvention
0
0
4
4
26
6
0
1
-1
1
3
24
/* * Copyright 2013-2021 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
reactivesocket-java
io.rsocket.micrometer.observation
RSocketRequesterObservationConvention
0
0
1
0
10
1
1
0
-1
1
1
22
/* * Copyright 2013-2021 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
reactivesocket-java
io.rsocket.micrometer.observation
DefaultRSocketResponderObservationConvention
0
0
4
4
26
6
0
1
-1
0
3
24
/* * Copyright 2013-2021 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
reactivesocket-java
io.rsocket.micrometer.observation
ByteBufSetter
0
0
1
1
6
1
0
0
-1
0
1
25
/* * Copyright 2013-2021 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
reactivesocket-java
io.rsocket.micrometer.observation
ObservationResponderRSocketProxy
3
0
8
6
78
12
0
0
0
0
9
35
/* * Copyright 2013-2021 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
reactivesocket-java
io.rsocket.micrometer.observation
DefaultRSocketObservationConvention
1
0
3
1
26
6
2
0
0
0
2
21
/* * Copyright 2013-2021 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
reactivesocket-java
io.rsocket.micrometer.observation
RSocketResponderTracingObservationHandler
5
0
8
6
78
14
0
0
0.5
0
9
39
/* * Copyright 2013-2021 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
reactivesocket-java
io.rsocket.micrometer.observation
RSocketObservationDocumentation
0
0
0
0
163
0
0
0
-1
4
0
24
/* * Copyright 2013-2021 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
reactivesocket-java
io.rsocket.micrometer.observation
RSocketObservationDocumentation.RequesterTags
0
0
0
0
25
0
0
0
-1
0
0
187
/* * Copyright 2013-2021 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
reactivesocket-java
io.rsocket.micrometer.observation
RSocketObservationDocumentation.ResponderTags
0
0
0
0
17
0
0
0
-1
0
0
214
/* * Copyright 2013-2021 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
reactivesocket-java
io.rsocket.micrometer.observation
ByteBufGetter
0
0
1
1
11
3
0
0
-1
0
1
24
/* * Copyright 2013-2021 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
reactivesocket-java
io.rsocket.micrometer.observation
CompositeMetadataUtils
0
0
2
0
15
4
0
0
-1
3
1
23
/* * Copyright 2013-2021 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
reactivesocket-java
io.rsocket.micrometer.observation
RSocketRequesterTracingObservationHandler
5
0
7
6
62
11
0
0
0.571429
0
4
33
/* * Copyright 2013-2021 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
reactivesocket-java
io.rsocket.micrometer.observation
ObservationRequesterRSocketProxy
3
0
11
6
90
15
0
0
0.454545
0
10
38
/* * Copyright 2013-2021 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
reactivesocket-java
io.rsocket.micrometer.observation
PayloadUtils
0
0
3
0
38
7
0
0
-1
2
6
31
/* * Copyright 2013-2021 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
reactivesocket-java
io.rsocket.micrometer.observation
RSocketResponderObservationConvention
0
0
1
0
10
1
1
0
-1
1
1
22
/* * Copyright 2013-2021 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
reactivesocket-java
io.rsocket.test
ByteBufRepresentation
0
0
1
0
20
3
0
0
-1
0
0
23
/* * Copyright 2015-2018 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 app...
reactivesocket-java
io.rsocket.test
CountdownBaseSubscriber
2
0
5
3
31
7
0
0
0
1
1
24
/* * Copyright 2015-2018 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 app...
reactivesocket-java
io.rsocket.test
LeaksTrackingByteBufAllocator
10
0
26
23
195
39
0
0
0.115385
3
0
21
package io.rsocket.test; import static java.util.concurrent.locks.LockSupport.parkNanos; import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBufAllocator; import io.netty.buffer.CompositeByteBuf; import io.netty.util.IllegalReferenceCountException; import io.netty.util.ResourceLeakDetector; import java.lang.re...
reactivesocket-java
io.rsocket.test
TestFrames
2
0
14
13
87
14
0
0
0.142857
0
2
27
/* * Copyright 2015-2018 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 app...
reactivesocket-java
io.rsocket.test
TransportTest
28
0
32
2
0
37
0
0
-1
0
8
76
/* * Copyright 2015-2023 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 app...
reactivesocket-java
io.rsocket.test
TransportTest.TransportPair
21
0
0
0
234
0
0
0
-1
0
6
485
/* * Copyright 2015-2023 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 app...
reactivesocket-java
io.rsocket.test
TransportTest.AsyncDuplexConnection
3
0
0
0
38
0
0
0
-1
0
1
703
/* * Copyright 2015-2023 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 app...
reactivesocket-java
io.rsocket.test
TransportTest.DisconnectingDuplexConnection
5
0
0
0
47
0
0
0
-1
0
1
783
/* * Copyright 2015-2023 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 app...
reactivesocket-java
io.rsocket.test
TransportTest.ByteBufReleaserOperator
3
0
0
0
58
0
0
0
-1
0
0
868
/* * Copyright 2015-2023 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 app...
reactivesocket-java
io.rsocket.test
TransportTest.PayloadPredicate
2
0
0
0
14
0
0
0
-1
0
0
962
/* * Copyright 2015-2023 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 app...
reactivesocket-java
io.rsocket.test
PingHandler
1
0
5
5
24
5
0
0
0
0
4
28
/* * Copyright 2015-2018 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 app...
reactivesocket-java
io.rsocket.test
TestSubscriber
0
0
4
4
28
5
0
0
-1
2
1
27
/* * Copyright 2015-2018 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 app...
reactivesocket-java
io.rsocket.test
BaseClientServerTest
1
1
21
19
0
23
0
0
0.095238
0
2
31
/* * Copyright 2015-2018 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 app...
reactivesocket-java
io.rsocket.test
TriFunction
0
0
1
0
3
1
0
0
-1
0
0
3
package io.rsocket.test; @FunctionalInterface public interface TriFunction<T1, T2, T3, R> { R apply(T1 t1, T2 t2, T3 t3); }
reactivesocket-java
io.rsocket.test
TestDuplexConnection
6
0
10
10
87
10
0
0
0.4
6
3
20
package io.rsocket.test; import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBufAllocator; import io.rsocket.DuplexConnection; import io.rsocket.RSocketErrorException; import io.rsocket.frame.PayloadFrameCodec; import java.net.SocketAddress; import java.util.function.BiFunction; import org.reactivestreams.Subsc...
reactivesocket-java
io.rsocket.test
TestDuplexConnection.ByteBufReleaserOperator
2
0
0
0
47
0
0
0
-1
0
0
91
package io.rsocket.test; import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBufAllocator; import io.rsocket.DuplexConnection; import io.rsocket.RSocketErrorException; import io.rsocket.frame.PayloadFrameCodec; import java.net.SocketAddress; import java.util.function.BiFunction; import org.reactivestreams.Subsc...
reactivesocket-java
io.rsocket.test
PingClient
2
0
5
4
39
5
0
0
0.4
3
2
29
/* * Copyright 2015-2018 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 app...
reactivesocket-java
io.rsocket.test
ClientSetupRule
7
0
6
6
31
6
0
0
0
0
3
30
/* * Copyright 2015-2020 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 app...
reactivesocket-java
io.rsocket.test
TestRSocket
4
0
8
8
61
12
0
0
0
2
2
30
/* * Copyright 2015-2018 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 app...
reactivesocket-java
io.rsocket
PayloadAssert
1
0
16
15
100
30
0
0
0.3125
7
1
22
package io.rsocket; import static org.assertj.core.error.ShouldBeEqual.shouldBeEqual; import static org.assertj.core.error.ShouldHave.shouldHave; import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBufUtil; import io.netty.buffer.Unpooled; import io.netty.util.CharsetUtil; import io.rsocket.frame.ByteBufRepres...
reactivesocket-java
io.rsocket
RaceTestConstants
1
1
0
0
3
0
0
0
-1
14
0
3
package io.rsocket; public class RaceTestConstants { public static final int REPEATS = Integer.parseInt(System.getProperty("rsocket.test.race.repeats", "1000")); }
reactivesocket-java
io.rsocket
FrameTest
0
0
0
0
2
0
0
0
-1
0
0
19
/* * Copyright 2015-2018 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 app...
reactivesocket-java
io.rsocket
FrameAssert
1
0
25
24
212
53
0
0
0.2
19
1
23
package io.rsocket; import static org.assertj.core.error.ShouldBe.shouldBe; import static org.assertj.core.error.ShouldBeEqual.shouldBeEqual; import static org.assertj.core.error.ShouldHave.shouldHave; import static org.assertj.core.error.ShouldNotHave.shouldNotHave; import io.netty.buffer.ByteBuf; import io.netty.bu...
reactivesocket-java
io.rsocket
TestScheduler
6
1
3
2
51
8
0
0
1
1
0
11
package io.rsocket; import java.util.Queue; import java.util.concurrent.atomic.AtomicIntegerFieldUpdater; import reactor.core.Disposable; import reactor.core.Disposables; import reactor.core.Exceptions; import reactor.core.scheduler.Scheduler; import reactor.util.concurrent.Queues; /** * This is an implementation of...
reactivesocket-java
io.rsocket
TestScheduler.TestWorker
1
0
0
0
11
0
0
0
-1
0
1
64
package io.rsocket; import java.util.Queue; import java.util.concurrent.atomic.AtomicIntegerFieldUpdater; import reactor.core.Disposable; import reactor.core.Disposables; import reactor.core.Exceptions; import reactor.core.scheduler.Scheduler; import reactor.util.concurrent.Queues; /** * This is an implementation of...
reactivesocket-java
io.rsocket
SocketAcceptor
0
0
10
4
63
10
0
0
-1
24
3
25
/* * Copyright 2015-2020 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 app...
reactivesocket-java
io.rsocket
DuplexConnection
0
0
6
0
35
6
0
1
-1
38
1
26
/* * Copyright 2015-2020 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 app...
reactivesocket-java
io.rsocket
Payload
0
0
13
0
58
13
1
0
-1
94
0
25
/* * Copyright 2015-2018 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 app...
reactivesocket-java
io.rsocket
Availability
0
0
1
0
6
1
2
0
-1
0
0
19
/* * Copyright 2015-2018 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 app...
reactivesocket-java
io.rsocket
Closeable
0
0
1
0
10
1
2
0
-1
7
0
23
/* * Copyright 2015-2018 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 app...
reactivesocket-java
io.rsocket
RSocketErrorException
4
0
4
4
42
5
0
0
0
12
0
21
/* * Copyright 2015-2020 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 app...
reactivesocket-java
io.rsocket
ConnectionSetupPayload
0
0
11
11
22
11
0
1
-1
4
0
23
/* * Copyright 2015-2020 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
reactivesocket-java
io.rsocket
RSocket
0
0
9
0
56
9
0
1
-1
76
2
23
/* * Copyright 2015-2020 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 app...
reactivesocket-java
io.rsocket
RSocketAdapter
6
0
5
0
36
5
0
0
1
1
1
23
/* * Copyright 2015-2020 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 app...
reactivesocket-java
io.rsocket
RSocketAdapter.UnsupportedInteractionException
1
0
0
0
6
0
0
0
-1
0
0
70
/* * Copyright 2015-2020 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 app...
reactivesocket-java
io.rsocket
PayloadsPerfSubscriber
0
0
2
2
9
2
0
1
-1
1
1
5
package io.rsocket; import org.openjdk.jmh.infra.Blackhole; public class PayloadsPerfSubscriber extends PerfSubscriber<Payload> { public PayloadsPerfSubscriber(Blackhole blackhole) { super(blackhole); } @Override public void onNext(Payload payload) { payload.release(); super.onNext(payload); }...
reactivesocket-java
io.rsocket
MaxPerfSubscriber
1
0
5
5
20
5
1
0
0.6
0
0
8
package io.rsocket; import java.util.concurrent.CountDownLatch; import org.openjdk.jmh.infra.Blackhole; import org.reactivestreams.Subscription; import reactor.core.CoreSubscriber; public class MaxPerfSubscriber<T> extends CountDownLatch implements CoreSubscriber<T> { final Blackhole blackhole; public MaxPerfSu...
reactivesocket-java
io.rsocket
PayloadsMaxPerfSubscriber
0
0
2
2
9
2
0
1
-1
1
1
5
package io.rsocket; import org.openjdk.jmh.infra.Blackhole; public class PayloadsMaxPerfSubscriber extends MaxPerfSubscriber<Payload> { public PayloadsMaxPerfSubscriber(Blackhole blackhole) { super(blackhole); } @Override public void onNext(Payload payload) { payload.release(); super.onNext(payl...
reactivesocket-java
io.rsocket
PerfSubscriber
2
0
5
5
23
5
1
0
0.4
0
0
8
package io.rsocket; import java.util.concurrent.CountDownLatch; import org.openjdk.jmh.infra.Blackhole; import org.reactivestreams.Subscription; import reactor.core.CoreSubscriber; public class PerfSubscriber<T> extends CountDownLatch implements CoreSubscriber<T> { final Blackhole blackhole; Subscription s; ...
reactivesocket-java
io.rsocket.loadbalance
LoadbalanceRSocketClientTest
7
2
2
1
22
2
0
0
1
0
5
26
package io.rsocket.loadbalance; import static java.util.Collections.singletonList; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.verifyNoMoreInteractions; import static org.mockito.Mockito.when; import io.rsocket.Payload; import i...
reactivesocket-java
io.rsocket.loadbalance
WeightedLoadbalanceStrategyTest
2
0
9
7
129
15
0
0
1
0
9
25
package io.rsocket.loadbalance; import io.rsocket.Payload; import io.rsocket.RSocket; import io.rsocket.RaceTestConstants; import io.rsocket.core.RSocketConnector; import io.rsocket.transport.ClientTransport; import io.rsocket.util.Clock; import io.rsocket.util.EmptyPayload; import java.util.Arrays; import java.util.C...
reactivesocket-java
io.rsocket.loadbalance
WeightedLoadbalanceStrategyTest.WeightedTestRSocket
2
0
0
0
26
0
0
2
-1
0
1
216
package io.rsocket.loadbalance; import io.rsocket.Payload; import io.rsocket.RSocket; import io.rsocket.RaceTestConstants; import io.rsocket.core.RSocketConnector; import io.rsocket.transport.ClientTransport; import io.rsocket.util.Clock; import io.rsocket.util.EmptyPayload; import java.util.Arrays; import java.util.C...
reactivesocket-java
io.rsocket.loadbalance
RoundRobinLoadbalanceStrategyTest
0
0
7
5
87
15
0
0
-1
0
7
23
package io.rsocket.loadbalance; import io.rsocket.Payload; import io.rsocket.RSocket; import io.rsocket.RaceTestConstants; import io.rsocket.core.RSocketConnector; import io.rsocket.transport.ClientTransport; import io.rsocket.util.EmptyPayload; import java.util.Arrays; import java.util.Collections; import java.util.L...
reactivesocket-java
io.rsocket.loadbalance
LoadbalanceTest
3
0
14
12
247
24
0
0
0.857143
1
10
49
/* * Copyright 2015-2021 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 app...
reactivesocket-java
io.rsocket.loadbalance
LoadbalanceTest.TestRSocket
1
0
0
0
15
0
0
0
-1
0
0
402
/* * Copyright 2015-2021 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 app...
reactivesocket-java
io.rsocket.loadbalance
LoadbalanceTest.WeightedRSocket
1
0
0
0
15
0
0
2
-1
0
0
425
/* * Copyright 2015-2021 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 app...