- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 71 for TempDir (0.06 sec)
-
internal/store/queuestore_test.go
"github.com/valyala/bytebufferpool" ) type TestItem struct { Name string `json:"Name"` Property string `json:"property"` } var ( // TestDir queueDir = filepath.Join(os.TempDir(), "minio_test") // Sample test item. testItem = TestItem{Name: "test-item", Property: "property"} // Ext for test item testItemExt = ".test" ) // Initialize the queue store.Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 10.2K bytes - Viewed (0) -
build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts
if (project.buildRunningOnCi.get() && project.hasProperty("teamcity")) { @Suppress("UNCHECKED_CAST") val teamcity = project.property("teamcity") as MutableMap<String, Any> teamcity["teamcity.build.tempDir"] = "" } } fun Project.isPerformanceProject() = setOf("build-scan-performance", "performance").contains(name) fun Project.isNativeProject() = name.contains("native")
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Fri Dec 19 06:44:41 UTC 2025 - 18.9K bytes - Viewed (0) -
api/go1.19.txt
pkg io/ioutil, func NopCloser //deprecated #42026 pkg io/ioutil, func ReadAll //deprecated #42026 pkg io/ioutil, func ReadDir //deprecated #42026 pkg io/ioutil, func ReadFile //deprecated #42026 pkg io/ioutil, func TempDir //deprecated #42026 pkg io/ioutil, func TempFile //deprecated #42026 pkg io/ioutil, func WriteFile //deprecated #42026
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Dec 02 16:29:41 UTC 2022 - 17.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
import org.junit.jupiter.api.io.TempDir import org.opentest4j.TestAbortedException /** Android's URLConnectionTest, ported to exercise OkHttp's Call API. */ @Tag("Slow") class URLConnectionTest { @RegisterExtension val platform = PlatformRule() @RegisterExtension val clientTestRule = OkHttpClientTestRule() @TempDir lateinit var tempDir: File @StartStop
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 133.2K bytes - Viewed (0) -
src/archive/tar/tar_test.go
} if g, e := h.ModTime, fi.ModTime(); !g.Equal(e) { t.Errorf("ModTime = %v; want %v", g, e) } } func TestFileInfoHeaderSymlink(t *testing.T) { testenv.MustHaveSymlink(t) tmpdir := t.TempDir() link := filepath.Join(tmpdir, "link") target := tmpdir if err := os.Symlink(target, link); err != nil { t.Fatal(err) } fi, err := os.Lstat(link) if err != nil { t.Fatal(err) }
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Jul 25 00:25:45 UTC 2024 - 23.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt
import org.junit.jupiter.api.Timeout import org.junit.jupiter.api.io.TempDir @Timeout(60) @Tag("Slow") @Burst class DiskLruCacheTest( subject: Subject = Subject.System, ) { private val baseFilesystem: FileSystem = subject.create() private val filesystem = FaultyFileSystem(baseFilesystem) private val windows = subject.windows @TempDir lateinit var cacheDirFile: File private val cacheDir: PathRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 01 12:18:11 UTC 2025 - 59.4K bytes - Viewed (0) -
cmd/erasure-object_test.go
defer cancel() // Create a backend with 4 disks named disk{1...4}, this name convention // because we will unzip some object data from a sample archive. const numDisks = 4 path := t.TempDir() var fsDirs []string for i := 1; i <= numDisks; i++ { fsDirs = append(fsDirs, filepath.Join(path, fmt.Sprintf("disk%d", i))) }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 38.3K bytes - Viewed (0) -
src/archive/zip/reader_test.go
0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x39, 0x00, 0x00, 0x00, 0x59, 0x00, 0x00, 0x00, 0x00, 0x00, } // Read in the archive with the OpenReader interface name := filepath.Join(t.TempDir(), "test.zip") err := os.WriteFile(name, data, 0644) if err != nil { t.Fatalf("Unable to write out the bugos zip entry") } r, err := OpenReader(name) if r != nil { defer r.Close() }
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Oct 17 20:10:27 UTC 2025 - 56.5K bytes - Viewed (0) -
cmd/test-utils_test.go
// chance the file doesn't exist yet. var ( randN uint32 randmu sync.Mutex ) // Temp files created in default Tmp dir var globalTestTmpDir = os.TempDir() // reseed - returns a new seed every time the function is called. func reseed() uint32 { return uint32(time.Now().UnixNano() + int64(os.Getpid())) }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 77K bytes - Viewed (0) -
cmd/object-api-listobjects_test.go
return obj } // BenchmarkListObjects - Run ListObject Repeatedly and benchmark. func BenchmarkListObjects(b *testing.B) { // Make a temporary directory to use as the obj. directory := b.TempDir() // Create the obj. obj := initFSObjectsB(directory, b) bucket := "ls-benchmark-bucket" // Create a bucket. err := obj.MakeBucket(b.Context(), bucket, MakeBucketOptions{}) if err != nil {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Oct 10 18:57:03 UTC 2025 - 76.1K bytes - Viewed (0)