This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!-- Dependencies: | |
| curl https://repo1.maven.org/maven2/com/microsoft/azure/msal4j/1.13.10/msal4j-1.13.10.jar --output msal4j.jar && | |
| curl https://repo1.maven.org/maven2/com/nimbusds/oauth2-oidc-sdk/10.7.1/oauth2-oidc-sdk-10.7.1.jar --output oauth2-oidc-sdk.jar && | |
| curl https://repo1.maven.org/maven2/net/minidev/json-smart/2.4.10/json-smart-2.4.10.jar --output json-smart.jar && | |
| curl https://repo1.maven.org/maven2/com/nimbusds/nimbus-jose-jwt/9.30.2/nimbus-jose-jwt-9.30.2.jar --output nimbus-jose-jwt.jar && | |
| curl https://repo1.maven.org/maven2/com/nimbusds/content-type/2.2/content-type-2.2.jar --output content-type.jar && | |
| curl https://repo1.maven.org/maven2/net/minidev/accessors-smart/2.4.9/accessors-smart-2.4.9.jar --output accessors-smart.jar | |
| --> | |
| <module xmlns="urn:jboss:module:1.3" name="com.microsoft.sqlserver.jdbc"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Benchmark Mode Cnt Score Error Units | |
| //JMHSample_01_HelloWorld.patternSplit thrpt 25 831450.861 ? 78091.588 ops/s | |
| //JMHSample_01_HelloWorld.patternSplit:·gc.alloc.rate thrpt 25 818.282 ? 76.857 MB/sec | |
| //JMHSample_01_HelloWorld.patternSplit:·gc.alloc.rate.norm thrpt 25 1032.000 ? 0.001 B/op | |
| //JMHSample_01_HelloWorld.patternSplit:·gc.count thrpt 25 539.000 counts | |
| //JMHSample_01_HelloWorld.patternSplit:·gc.time thrpt 25 339.000 ms | |
| //JMHSample_01_HelloWorld.splitStrip thrpt 25 2474969.088 ? 397192.916 ops/s | |
| //JMHSample_01_HelloWorld.splitStrip:·gc.alloc.rate thrpt 25 2020.346 ? 324.228 MB/sec | |
| //JMHSample_01_HelloWorld.splitStrip:·gc.alloc.rate.norm thrpt 25 856.000 ? 0.001 B/op | |
| //JMHSample_01_H |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // java -version | |
| // curl https://repo1.maven.org/maven2/junit/junit/4.13.2/junit-4.13.2.jar --output junit.jar | |
| // javac -cp junit.jar SplitTest.java | |
| // java -cp .;junit.jar SplitTest | |
| import java.util.ArrayList; | |
| import java.util.Arrays; | |
| import java.util.Collections; | |
| import java.util.Enumeration; | |
| import java.util.List; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import org.springframework.context.ApplicationContextInitializer; | |
| import org.springframework.context.ConfigurableApplicationContext; | |
| import org.springframework.test.context.support.TestPropertySourceUtils; | |
| import org.springframework.util.SocketUtils; | |
| public class ServerPortInitializer implements ApplicationContextInitializer<ConfigurableApplicationContext> { | |
| @Override | |
| public void initialize(ConfigurableApplicationContext applicationContext) { | |
| TestPropertySourceUtils.addInlinedPropertiesToEnvironment(applicationContext, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class GetBytesTest { | |
| private static final int CNT = 262144; | |
| private static final java.nio.charset.Charset CHARSET = java.nio.charset.StandardCharsets.UTF_8; | |
| private static final String[] STR = new String[CNT]; | |
| static { | |
| for (int i = 0; i < CNT; ++i) { | |
| STR[i] = Integer.toString(i); | |
| } | |
| } |