- Sort Score
- Result 10 results
- Languages All
Results 451 - 460 of 2,167 for myitem (0.06 sec)
-
src/test/java/jcifs/util/EncdecTest.java
String testString = "Hello"; byte[] buffer = new byte[testString.length()]; // When - Manual string encoding using individual bytes byte[] strBytes = testString.getBytes(); System.arraycopy(strBytes, 0, buffer, 0, strBytes.length); // Then String decoded = new String(buffer); assertEquals(testString, decoded); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
container-tests/src/test/java/okhttp3/containers/BasicLoomTest.kt
val capturedOut = ByteArrayOutputStream() private lateinit var executor: ExecutorService private lateinit var client: OkHttpClient @BeforeEach fun setUp() { platform.assumeLoom() assertThat(System.getProperty("jdk.tracePinnedThreads")).isNotEmpty() client = OkHttpClient .Builder() .trustMockServer() .dispatcher(Dispatcher(newVirtualThreadPerTaskExecutor())) .build()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.7K bytes - Viewed (1) -
okhttp/src/jvmTest/kotlin/okhttp3/RequestBodyTest.kt
closedRequestBody.writeTo(Buffer()) } } @Test fun testPathRead() { assertOnPath(content = "Hello") { path -> val requestBody = path.asRequestBody(FileSystem.SYSTEM) val buffer = Buffer() requestBody.writeTo(buffer) assertThat(buffer.readUtf8()).isEqualTo("Hello") } } @Test fun testSha256() {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Oct 07 14:16:29 UTC 2025 - 3.8K bytes - Viewed (1) -
okhttp/src/jvmTest/kotlin/okhttp3/CipherSuiteTest.kt
assertThat(cs.hashCode(), cs.toString()) .isEqualTo(System.identityHashCode(cs)) } @Test fun hashCode_usesIdentityHashCode_regularCase() { // This one's javaName matches the identifier. val cs = CipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA256 assertThat(cs.hashCode(), cs.toString()) .isEqualTo(System.identityHashCode(cs)) } @Test fun instancesAreInterned() {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 8.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/net/protocol/gcs/Handler.java
if (connected) { return; } final String projectId = System.getenv("GCS_PROJECT_ID"); final String endpoint = System.getenv("GCS_ENDPOINT"); final String credentialsFile = System.getenv("GCS_CREDENTIALS_FILE"); // Validate projectId before attempting connection if (StringUtil.isBlank(projectId)) {
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 9.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
long timeout = RESPONSE_TIMEOUT; resp.expiration = System.currentTimeMillis() + timeout; while (resp.hasMoreElements()) { wait(timeout); timeout = resp.expiration - System.currentTimeMillis(); if (timeout <= 0) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.8K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
// wait for yellow status runner.ensureYellow(); System.setProperty(FesenClient.HTTP_ADDRESS, "localhost:" + runner.node().settings().get("http.port", "9201")); super.setUp(); // logging System.setProperty("java.util.logging.SimpleFormatter.format", "%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS %4$s %2$s %5$s%6$s%n");Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 7.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NetServerEnum2Test.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.6K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java
context.invokerRequest.stdIn().ifPresent(System::setIn); context.invokerRequest .stdOut() .ifPresent(out -> System.setOut(out instanceof PrintStream pw ? pw : new PrintStream(out, true))); context.invokerRequest .stdErr() .ifPresent(err -> System.setErr(err instanceof PrintStream pw ? pw : new PrintStream(err, true))); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Oct 28 13:01:07 UTC 2025 - 43.2K bytes - Viewed (0)