Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for fileAddr (0.15 sec)

  1. src/net/file.go

    package net
    
    import "os"
    
    // BUG(mikio): On JS and Windows, the FileConn, FileListener and
    // FilePacketConn functions are not implemented.
    
    type fileAddr string
    
    func (fileAddr) Network() string  { return "file+net" }
    func (f fileAddr) String() string { return string(f) }
    
    // FileConn returns a copy of the network connection corresponding to
    // the open file f.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 09 06:14:44 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. pilot/pkg/config/monitor/README.md

    ```golang
    // Configure the config store
    store := memory.Make(configDescriptor)
    controller = memory.NewController(store)
    // Create an object that will take snapshots of config
    fileSnapshot := configmonitor.NewFileSnapshot(args.Config.FileDir, configDescriptor)
    // Provide snapshot func to monitor
    fileMonitor := configmonitor.NewMonitor(controller, 100*time.Millisecond, fileSnapshot.ReadFile)
    
    // Run the controller and monitor
    stop := make(chan struct{})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Sep 14 20:15:07 UTC 2019
    - 2.1K bytes
    - Viewed (0)
  7. 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)
Back to top