- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 1,147 for enclosing (0.33 seconds)
-
src/test/java/jcifs/tests/persistent/DurableHandleContextTest.java
DurableHandleRequest request = new DurableHandleRequest(); assertEquals("DHnQ", new String(request.getName())); assertTrue(request.size() > 0); // Test encoding byte[] buffer = new byte[request.size()]; int encoded = request.encode(buffer, 0); assertEquals(request.size(), encoded); } @Test public void testDurableHandleV2Request() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 4.6K bytes - Click Count (0) -
okhttp-zstd/src/main/kotlin/okhttp3/zstd/Zstd.kt
import okhttp3.CompressionInterceptor import okio.BufferedSource import okio.Source /** * Support for Zstandard encoding. Use via the [CompressionInterceptor]. */ object Zstd : CompressionInterceptor.DecompressionAlgorithm { override val encoding: String get() = "zstd" override fun decompress(compressedSource: BufferedSource): Source = compressedSource.zstdDecompress()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 31 18:34:32 GMT 2025 - 1K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.groovy-dsl-gradle-plugin.gradle.kts
} tasks.withType<GroovyCompile>().configureEach { groovyOptions.apply { encoding = "utf-8" forkOptions.jvmArgs?.add("-XX:+HeapDumpOnOutOfMemoryError") } options.apply { isFork = true encoding = "utf-8" compilerArgs = mutableListOf("-Xlint:-options", "-Xlint:-path") } } tasks.withType<Test>().configureEach {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Jan 30 15:37:56 GMT 2026 - 2.3K bytes - Click Count (0) -
scripts/translation_fixer.py
print(f"Skipping English document: {path}") return True en_doc_path = Path("docs") / "en" / Path(*path.parts[2:]) doc_lines = path.read_text(encoding="utf-8").splitlines() en_doc_lines = en_doc_path.read_text(encoding="utf-8").splitlines() doc_lines = check_translation( doc_lines=doc_lines, en_doc_lines=en_doc_lines, lang_code=lang_code,
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Jan 10 21:48:08 GMT 2026 - 3.2K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
.addHeader("Transfer-encoding: chunked") .build(), ) getResponse(newRequest("/")).use { response -> assertContent("ABCDE", response) } } @Test fun missingChunkBody() { server.enqueue( MockResponse .Builder() .body("5") .clearHeaders() .addHeader("Transfer-encoding: chunked")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 133.3K bytes - Click Count (0) -
src/archive/zip/writer_test.go
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package zip import ( "bytes" "compress/flate" "encoding/binary" "fmt" "hash/crc32" "io" "io/fs" "math/rand" "os" "strings" "testing" "testing/fstest" "time" ) // TODO(adg): a more sophisticated test suite type WriteTest struct {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Jan 28 04:20:09 GMT 2025 - 14.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java
} @Test public void testUnicodeEncoding() { // Test Unicode string encoding String msg = "\u00A1\u00A2"; // two Unicode characters byte[] encoded = encodeUnicode(msg); assertEquals(4, encoded.length, "Encoded Unicode string should be 4 bytes"); // Verify little-endian encoding assertEquals((byte) 0xA1, encoded[0], "First byte of first character");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.2K bytes - Click Count (0) -
scripts/topic_repos.py
repos_old_content = repos_path.read_text(encoding="utf-8") new_repos_content = yaml.dump(data, sort_keys=False, width=200, allow_unicode=True) if repos_old_content == new_repos_content: logging.info("The data hasn't changed. Finishing.") return repos_path.write_text(new_repos_content, encoding="utf-8") logging.info("Setting up GitHub Actions git user")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Dec 16 12:34:01 GMT 2025 - 2.7K bytes - Click Count (0) -
samples/slack/src/main/java/okhttp3/slack/RtmSession.java
// TOOD(jwilson): decode incoming messages and dispatch them somewhere. @Override public void onMessage(WebSocket webSocket, String text) { System.out.println("onMessage: " + text); } @Override public void onClosing(WebSocket webSocket, int code, String reason) { webSocket.close(1000, null); System.out.println("onClose (" + code + "): " + reason); }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Nov 19 20:16:58 GMT 2016 - 2.4K bytes - Click Count (0) -
build-logic/cleanup/src/test/groovy/gradlebuild/cleanup/services/LeakingProcessKillPatternTest.groovy
=C:\\some\\agent\\workspace\\build\\daemon -Dorg.gradle.native.dir=C:\\some\\agent\\workspace\\intTestHomeDir\\worker-1\\native -Dorg.gradle.deprecation.trace=true -Djava.io.tmpdir=C:\\some\\agent\\workspace\\subprojects\\osgi\\build\\tmp -Dfile.encoding=windows-1252 -Dorg.gradle.classloaderscope.strict=true -ea -ea "-Dorg.gradle.appname=gradle" -classpath "C:\\some\\agent\\workspace\\subprojects\\osgi\\build\\integ test\\bin\\..\\lib\\gradle-launcher-4.5.jar" org.gradle.launcher.GradleMain --init-script...
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Jul 12 03:42:46 GMT 2024 - 14.8K bytes - Click Count (0)