- Sort Score
- Num 10 results
- Language All
Results 91 - 98 of 98 for sendfile (0.08 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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 Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Nov 01 12:18:11 GMT 2025 - 59.4K 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 Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 38.4K bytes - Click Count (0) -
src/cmd/api/main_test.go
"os.FileInfo", "fs.FileInfo", "os.FileMode", "fs.FileMode", "os.PathError", "fs.PathError", ) func fileFeatures(filename string, needApproval bool) []string { bs, err := os.ReadFile(filename) if err != nil { log.Fatal(err) } s := string(bs) // Diagnose common mistakes people make, // since there is no apifmt to format these files.
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Feb 20 03:25:33 GMT 2025 - 31.4K bytes - Click Count (0) -
cmd/storage-rest-server.go
} verifier = NewBitrotVerifier(BitrotAlgorithmFromString(r.Form.Get(storageRESTBitrotAlgo)), hash) } buf := make([]byte, length) defer metaDataPoolPut(buf) // Reuse if we can. _, err = s.getStorage().ReadFile(r.Context(), volume, filePath, int64(offset), buf, verifier) if err != nil { s.writeErrorResponse(w, err) return } w.Header().Set(xhttp.ContentLength, strconv.Itoa(len(buf))) w.Write(buf) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 45.7K bytes - Click Count (0) -
src/archive/tar/reader_test.go
var ss []string for _, p := range []string{ "testdata/gnu.tar", "testdata/ustar-file-reg.tar", "testdata/pax-path-hdr.tar", "testdata/sparse-formats.tar", } { buf, err := os.ReadFile(p) if err != nil { t.Fatalf("unexpected error: %v", err) } ss = append(ss, string(buf)) } data1, data2, pax, sparse := ss[0], ss[1], ss[2], ss[3] data2 += strings.Repeat("\x00", 10*512)
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Dec 15 16:34:13 GMT 2025 - 47.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java
this.parent = parent; } public boolean hasParent() { return getParent() != null; } public File getFile() { return file; } public void setFile(File file) { this.file = file; this.basedir = file != null ? file.getParentFile() : null; } /** * Sets project {@code file} without changing project {@code basedir}. *Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Aug 29 12:47:20 GMT 2025 - 67K bytes - Click Count (0) -
impl/maven-core/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
/Commandline$Argument.class package org.codehaus.plexus.util.cli; public synchronized class Commandline$Argument { private String[] parts; public void Commandline$Argument(); public void setValue(String); public void setLine(String); public void setFile(java.io.File); public String[] getParts(); } org/codehaus/plexus/util/cli/Commandline$Marker.class package org.codehaus.plexus.util.cli; public synchronized class Commandline$Marker { private int position; private int realPos; void Commandline$Marker(Commandline,...Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 164.6K bytes - Click Count (0) -
api/go1.1.txt
pkg syscall (darwin-386), const ENEEDAUTH = 81 pkg syscall (darwin-386), const ENETDOWN = 50 pkg syscall (darwin-386), const ENETRESET = 52 pkg syscall (darwin-386), const ENETUNREACH = 51 pkg syscall (darwin-386), const ENFILE = 23 pkg syscall (darwin-386), const ENOATTR = 93 pkg syscall (darwin-386), const ENOBUFS = 55 pkg syscall (darwin-386), const ENODATA = 96 pkg syscall (darwin-386), const ENODEV = 19
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Mar 31 20:37:15 GMT 2022 - 2.6M bytes - Click Count (0)