- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 560 for fullpath (0.3 sec)
-
staging/src/k8s.io/apiserver/pkg/server/egressselector/config.go
allErrs := field.ErrorList{} if transport == nil { allErrs = append(allErrs, field.Required( fldPath.Child("transport"), "transport must be set for GRPC")) return allErrs } if transport.UDS != nil { allErrs = append(allErrs, validateUDSConnection(transport.UDS, fldPath)...) } else { allErrs = append(allErrs, field.Required( fldPath.Child("uds"),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 29 15:48:39 UTC 2023 - 8.6K bytes - Viewed (0) -
src/os/executable_test.go
"fmt" "internal/testenv" "os" "path/filepath" "runtime" "testing" ) const executable_EnvVar = "OSTEST_OUTPUT_EXECPATH" func TestExecutable(t *testing.T) { testenv.MustHaveExec(t) t.Parallel() ep, err := os.Executable() if err != nil { t.Fatalf("Executable failed: %v", err) } // we want fn to be of the form "dir/prog" dir := filepath.Dir(filepath.Dir(ep)) fn, err := filepath.Rel(dir, ep)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 05 23:35:32 UTC 2023 - 3.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/dump_mlir_util_test.cc
os.flush(); } std::string filepath = DumpMlirOpToFile("module", module_ref.get()); ASSERT_NE(filepath, "(TF_DUMP_GRAPH_PREFIX not specified)"); ASSERT_NE(filepath, "LOG(INFO)"); ASSERT_NE(filepath, "(unavailable)"); Env* env = Env::Default(); std::string file_txt_module; TF_ASSERT_OK(ReadFileToString(env, filepath, &file_txt_module)); EXPECT_EQ(file_txt_module, expected_txt_module); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 18 13:40:21 UTC 2024 - 5.8K bytes - Viewed (0) -
src/cmd/internal/archive/archive_test.go
if err != nil { return err } go1obj := filepath.Join(buildDir, "go1.o") go2obj := filepath.Join(buildDir, "go2.o") goarchive := filepath.Join(buildDir, "go.a") cgoarchive := "" gotool, err := testenv.GoTool() if err != nil { return err } go1src := filepath.Join("testdata", "go1.go") go2src := filepath.Join("testdata", "go2.go")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 02 19:27:33 UTC 2023 - 7.9K bytes - Viewed (0) -
pkg/util/filesystem/util_windows.go
klog.V(6).InfoS("Dialing the socket", "filePath", filePath) var c net.Conn c, lastSocketErr = net.Dial("unix", filePath) if lastSocketErr == nil { c.Close() klog.V(6).InfoS("Socket dialed successfully", "filePath", filePath) return true, nil } klog.V(6).InfoS("Failed the current attempt to dial the socket, so pausing before retry", "filePath", filePath, "err", lastSocketErr, "socketDialRetryPeriod",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 10 17:13:59 UTC 2024 - 4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/python/testing_test.py
class FileSizeTestCase(test.TestCase): def setUp(self): super().setUp() self.path_a = self.create_tempdir('dir_a').full_path self.create_tempfile(file_path='dir_a/w.txt', content='abcd') self.path_b = self.create_tempdir('dir_b').full_path self.create_tempfile(file_path='dir_b/x.txt', content='1234') self.create_tempfile(file_path='dir_b/y.txt', content='56')
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 21 08:51:46 UTC 2024 - 2.3K bytes - Viewed (0) -
src/os/tempfile_test.go
wantRePat := "^" + regexp.QuoteMeta(filepath.Join(dir, tt.wantPrefix)) + "[0-9]+" + regexp.QuoteMeta(tt.wantSuffix) + "$" runTestMkdirTemp(t, tt.pattern, wantRePat) }) } // Separately testing "*xyz" (which has no prefix). That is when constructing the // pattern to assert on, as in the previous loop, using filepath.Join for an empty // prefix filepath.Join(dir, ""), produces the pattern: // ^<DIR>[0-9]+xyz$
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 19 20:45:37 UTC 2023 - 5.5K bytes - Viewed (0) -
src/cmd/internal/obj/x86/pcrelative_test.go
err = os.WriteFile(filepath.Join(tmpdir, "go.mod"), []byte(fmt.Sprintf("module %s\n", mname)), 0666) if err != nil { t.Fatal(err) } tmpfile, err := os.Create(filepath.Join(tmpdir, "input.s")) if err != nil { t.Fatal(err) } defer tmpfile.Close() _, err = tmpfile.WriteString(source) if err != nil { t.Fatal(err) } tmpfile2, err := os.Create(filepath.Join(tmpdir, "input.go")) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 15 23:16:01 UTC 2024 - 2.3K bytes - Viewed (0) -
pkg/apis/resource/structured/namedresources/validation/validation.go
func convertCELErrorToValidationError(fldPath *field.Path, expression string, err *cel.Error) *field.Error { switch err.Type { case cel.ErrorTypeRequired: return field.Required(fldPath, err.Detail) case cel.ErrorTypeInvalid: return field.Invalid(fldPath, expression, err.Detail) case cel.ErrorTypeInternal: return field.InternalError(fldPath, err) } return field.InternalError(fldPath, fmt.Errorf("unsupported error type: %w", err))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:26:20 UTC 2024 - 5.9K bytes - Viewed (0) -
src/internal/abi/abi_test.go
// Run the assembler and compiler manually. tmpdir := t.TempDir() asmSrc := filepath.Join("testdata", "x.s") goSrc := filepath.Join("testdata", "x.go") symabi := filepath.Join(tmpdir, "symabi") obj := filepath.Join(tmpdir, "x.o") // Write an importcfg file for the dependencies of the package. importcfgfile := filepath.Join(tmpdir, "hello.importcfg") testenv.WriteImportcfg(t, importcfgfile, nil, "internal/abi")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 29 18:31:05 UTC 2023 - 2.4K bytes - Viewed (0)