- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for fileAddr (0.3 sec)
-
src/net/error_test.go
} case *pipeAddr: if addr == nil { return fmt.Errorf("OpError.Source or Addr is non-nil interface: %#v, %v", addr, e) } case fileAddr: if addr == "" { return fmt.Errorf("OpError.Source or Addr is empty: %#v, %v", addr, e) } default: return fmt.Errorf("OpError.Source or Addr is unknown type: %T, %v", addr, e) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 20.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/DefaultArtifactCacheLockingAccessCoordinatorTest.groovy
file3.assertDoesNotExist() } def "cleans up files"() { given: def file1 = filesDir.createDir("group1/artifact1/1.0/abc").createFile("my.pom") def file2 = filesDir.createDir("group1/artifact1/1.0/xyz").createFile("my.jar") def file3 = filesDir.createDir("group1/artifact1/2.0/uvw").createFile("some.pom") file2.parentFile.lastModified = 0 file3.parentFile.lastModified = 0
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:50:57 UTC 2024 - 4.4K bytes - Viewed (0) -
pkg/kubelet/certificate/bootstrap/bootstrap_test.go
fileDir := t.TempDir() //Copy the required certificate file to the temporary directory. copyFile("./testdata/mycertinvalid.crt", fileDir+"/mycertinvalid.crt") copyFile("./testdata/mycertvalid.crt", fileDir+"/mycertvalid.crt") copyFile("./testdata/mycertinvalid.key", fileDir+"/mycertinvalid.key") copyFile("./testdata/mycertvalid.key", fileDir+"/mycertvalid.key") testDataValid := []byte(`
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 09 14:24:11 UTC 2023 - 13K bytes - Viewed (0) -
src/internal/coverage/decodemeta/decodefile.go
if err := r.readFileHeader(); err != nil { return nil, err } return r, nil } func (r *CoverageMetaFileReader) readFileHeader() error { var err error r.fileRdr = bufio.NewReader(r.f) // Read file header. if err := binary.Read(r.fileRdr, binary.LittleEndian, &r.hdr); err != nil { return err } // Verify magic string m := r.hdr.Magic g := coverage.CovMetaMagic
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Oct 14 22:30:23 UTC 2023 - 6.8K bytes - Viewed (0) -
tensorflow/cc/saved_model/fingerprinting_test.cc
#include "tsl/platform/statusor.h" namespace tensorflow::saved_model::fingerprinting { namespace { absl::StatusOr<SavedModel> ReadSavedModel(absl::string_view file_dir) { std::string file_path = io::JoinPath(file_dir, "saved_model.pb"); std::string serialized_saved_model; auto status = ReadFileToString(Env::Default(), file_path, &serialized_saved_model); if (!status.ok()) { return status;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 7.3K bytes - Viewed (0) -
pilot/pkg/bootstrap/configcontroller.go
} return crdclient.New(s.kubeClient, opts) } func (s *Server) makeFileMonitor(fileDir string, domainSuffix string, configController model.ConfigStore) error { fileSnapshot := configmonitor.NewFileSnapshot(fileDir, collections.Pilot, domainSuffix) fileMonitor := configmonitor.NewMonitor("file-monitor", configController, fileSnapshot.ReadConfigFiles, fileDir) // Defer starting the file monitor until after the service is created.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Feb 28 16:41:38 UTC 2024 - 14.1K bytes - Viewed (0) -
pilot/pkg/bootstrap/options.go
// be monitored for CRD yaml files and will update the controller as those files change (This is used for testing // purposes). Otherwise, a CRD client is created based on the configuration. type RegistryOptions struct { // If FileDir is set, the below kubernetes options are ignored FileDir string Registries []string
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 17:48:28 UTC 2024 - 6.1K bytes - Viewed (0) -
pilot/pkg/bootstrap/server_test.go
HTTPAddr: ":0", MonitoringAddr: ":0", GRPCAddr: ":0", SecureGRPCAddr: ":0", TLSOptions: *c.tlsOptions, } p.RegistryOptions = RegistryOptions{ FileDir: configDir, } p.ShutdownDuration = 1 * time.Millisecond }) g := NewWithT(t) s, err := NewServer(args, func(s *Server) { s.kubeClient = kube.NewFakeClient() })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 17:48:28 UTC 2024 - 23.1K bytes - Viewed (0) -
pilot/cmd/pilot-discovery/app/cmd.go
"Duration the discovery server needs to terminate gracefully") // RegistryOptions Controller options c.PersistentFlags().StringVar(&serverArgs.RegistryOptions.FileDir, "configDir", "", "Directory to watch for updates to config yaml files. If specified, the files will be used as the source of config, rather than a CRD client.")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 16:44:32 UTC 2024 - 8.5K bytes - Viewed (0) -
cmd/kubeadm/app/preflight/checks_test.go
rt.name, rt.expectedError, (len(output) > 0), ) } } } func TestDirAvailableCheck(t *testing.T) { fileDir, err := os.MkdirTemp("", "dir-avail-check") if err != nil { t.Fatalf("failed creating directory: %v", err) } defer os.RemoveAll(fileDir) var tests = []struct { name string check DirAvailableCheck expectedError bool }{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 06:58:01 UTC 2024 - 33.5K bytes - Viewed (0)