- Sort Score
- Num 10 results
- Language All
Results 321 - 330 of 460 for readTime (0.42 seconds)
-
docs/recipes.md
It's easy to use a file as a request body. === ":material-language-kotlin: Kotlin" ```kotlin private val client = OkHttpClient() fun run() { val file = File("README.md") val request = Request.Builder() .url("https://api.github.com/markdown/raw") .post(file.asRequestBody(MEDIA_TYPE_MARKDOWN)) .build()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:01:42 GMT 2026 - 47.8K bytes - Click Count (0) -
docs/debugging/xl-meta/main.go
func readAndMap(files []string, partNum, blockNum int) (*mappedData, error) { var m mappedData sort.Strings(files) m.parityData = make(map[int]map[int][]byte) for _, file := range files { meta, err := os.ReadFile(file + ".json") if err != nil { return nil, err } type erasureInfo struct { V2Obj *struct { EcDist []int EcIndex int EcM int EcN int
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 40.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt
fun explicitRemoveAppliedToDiskImmediately() { val editor = cache.edit("k1")!! editor.setString(0, "ABC") editor.setString(1, "B") editor.commit() val k1 = getCleanFile("k1", 0) assertThat(readFile(k1)).isEqualTo("ABC") cache.remove("k1") assertThat(filesystem.exists(k1)).isFalse() } @Test fun removePreventsActiveEditFromStoringAValue() { set("a", "a", "a")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 59.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
} @Test @DisplayName("Should get and set read size") void testReadSizeProperty() { testMessage.setReadSize(1024); // No getter for readSize, but it's used internally in decode } @Test @DisplayName("Should check if async") void testAsyncProperty() { assertFalse(testMessage.isAsync()); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 39.5K bytes - Click Count (0) -
CONTRIBUTING.md
This will build the whole documentation locally in [platforms/documentation](./platforms/documentation). For more commands and examples, including local development, see [this guide](./platforms/documentation/docs/README.md). ### Creating commits and writing commit messages The commit messages that accompany your code changes are an important piece of documentation. Please follow these guidelines when creating commits:
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Mar 27 18:43:39 GMT 2026 - 19.1K bytes - Click Count (0) -
cmd/metacache-stream_test.go
func loadMetacacheSample(t testing.TB) *metacacheReader { b, err := os.ReadFile("testdata/metacache.s2") if err != nil { t.Fatal(err) } return newMetacacheReader(bytes.NewReader(b)) } func loadMetacacheSampleEntries(t testing.TB) metaCacheEntriesSorted { r := loadMetacacheSample(t)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 15K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 38.4K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Oct 16 09:03:48 GMT 2025 - 38.5K bytes - Click Count (0) -
TESTING.asciidoc
operations to be executed and the obtained results that need to be tested. The YAML tests support various operators defined in the link:/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/README.asciidoc[rest-api-spec] and adhere to the link:/rest-api-spec/README.markdown[Elasticsearch REST API JSON specification] In order to run the YAML tests, the relevant API specification needs to be on the test classpath. Any gradle project that has support for REST
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Jun 07 13:55:20 GMT 2021 - 32.5K bytes - Click Count (0) -
internal/s3select/csv/reader_contrib_test.go
t.Errorf("Case %d failed: expected %v result %v", i, c.content, result.String()) } } } type tester interface { Fatal(...any) } func openTestFile(t tester, file string) []byte { f, err := os.ReadFile("testdata/testdata.zip") if err != nil { t.Fatal(err) } z, err := zip.NewReader(bytes.NewReader(f), int64(len(f))) if err != nil { t.Fatal(err) } for _, f := range z.File { if f.Name == file {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 38.4K bytes - Click Count (0)