- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 81 for fullpath (0.44 sec)
-
cmd/bitrot-streaming.go
func newStreamingBitrotReader(disk StorageAPI, data []byte, volume, filePath string, tillOffset int64, algo BitrotAlgorithm, shardSize int64) *streamingBitrotReader { h := algo.New() return &streamingBitrotReader{ disk: disk, data: data, volume: volume, filePath: filePath, tillOffset: ceilFrac(tillOffset, shardSize)*int64(h.Size()) + tillOffset, h: h,
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 6.1K bytes - Viewed (0) -
src/testing/fstest/testfs_test.go
"io/fs" "os" "path/filepath" "slices" "strings" "testing" ) func TestSymlink(t *testing.T) { testenv.MustHaveSymlink(t) tmp := t.TempDir() tmpfs := os.DirFS(tmp) if err := os.WriteFile(filepath.Join(tmp, "hello"), []byte("hello, world\n"), 0644); err != nil { t.Fatal(err) } if err := os.Symlink(filepath.Join(tmp, "hello"), filepath.Join(tmp, "hello.link")); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 2.9K bytes - Viewed (0) -
pkg/test/env/istio.go
) var ( _, b, _, _ = runtime.Caller(0) // Root folder of this project // This relies on the fact this file is 3 levels up from the root; if this changes, adjust the path below Root = filepath.Join(filepath.Dir(b), "../../..") ) func getDefaultIstioSrc() string { return Root } func getSampleFile(p string) string { return fmt.Sprintf("samples/%s", p) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 16:24:40 UTC 2024 - 4.7K bytes - Viewed (0) -
cni/pkg/install/kubeconfig_test.go
// See the License for the specific language governing permissions and // limitations under the License. package install import ( "os" "path/filepath" "testing" "istio.io/istio/cni/pkg/config" testutils "istio.io/istio/pilot/test/util" ) const ( k8sServiceHost = "10.96.0.1" k8sServicePort = "443" kubeCAFilepath = "testdata/kube-ca.crt"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 17 21:52:29 UTC 2024 - 5.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/fmahash_test.go
t.Skipf("Slow test, usually avoid it, arch=%s not amd64 or arm64", runtime.GOARCH) } testenv.MustHaveGoBuild(t) gocmd := testenv.GoToolPath(t) tmpdir := t.TempDir() source := filepath.Join("testdata", "fma.go") output := filepath.Join(tmpdir, "fma.exe") cmd := testenv.Command(t, gocmd, "build", "-o", output, source) // The hash-dependence on file path name is dodged by specifying "all hashes ending in 1" plus "all hashes ending in 0"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 21:57:53 UTC 2024 - 1.8K bytes - Viewed (0) -
internal/event/target/nats_tls_contrib_test.go
* limitations under the License. */ package target import ( "path" "path/filepath" "testing" xnet "github.com/minio/pkg/v3/net" natsserver "github.com/nats-io/nats-server/v2/test" ) func TestNatsConnTLSCustomCA(t *testing.T) { s, opts := natsserver.RunServerWithConfig(filepath.Join("testdata", "contrib", "nats_tls.conf")) defer s.Shutdown() clientConfig := &NATSArgs{ Enable: true,
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 2.1K bytes - Viewed (0) -
src/internal/coverage/cfile/ts_test.go
// test. Contents are not important, just so long as the // packages/paths are different. othermetadir := filepath.Join(td, "othermeta") if err := os.Mkdir(othermetadir, 0777); err != nil { t.Fatalf("mkdir failed: %v", err) } mfile, token := genAuxMeta(t, othermetadir) // Write a metafiles file. metafiles := filepath.Join(tgcd, coverage.MetaFilesFileName) mfc := coverage.MetaFileCollection{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 09:58:07 UTC 2024 - 5.2K bytes - Viewed (0) -
operator/pkg/validate/validate_values_test.go
} }) } } func TestValidateValuesFromValuesYAMLs(t *testing.T) { valuesYAML := "" var allFiles []string manifestDir := filepath.Join(repoRootDir, "manifests/charts") for _, sd := range []string{"base", "gateways", "istio-cni", "istio-control"} { dir := filepath.Join(manifestDir, sd) files, err := util.FindFiles(dir, yamlFileFilter) if err != nil { t.Fatalf(err.Error()) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 13:43:12 UTC 2024 - 6K bytes - Viewed (0) -
pkg/kubelet/certificate/kubelet_test.go
if err != nil { return "", "", nil } var certKeyPathFn = func(dataDir string) (string, string, string) { outputDir := filepath.Join(certDir, dataDir) return outputDir, filepath.Join(outputDir, "kubelet.cert"), filepath.Join(outputDir, "kubelet.key") } writeDir, writeCertPath, writeKeyPath := certKeyPathFn("identity.tmp") if err := os.Mkdir(writeDir, 0777); err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 03:07:40 UTC 2024 - 7.4K bytes - Viewed (0) -
src/internal/trace/oldtrace_test.go
"internal/trace" "internal/trace/testtrace" "io" "os" "path/filepath" "testing" ) func TestOldtrace(t *testing.T) { traces, err := filepath.Glob("./internal/oldtrace/testdata/*_good") if err != nil { t.Fatalf("failed to glob for tests: %s", err) } var testedUserRegions bool for _, p := range traces { p := p testName, err := filepath.Rel("./internal/oldtrace/testdata", p) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 2.5K bytes - Viewed (0)