Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 83 for pname (0.04 sec)

  1. pkg/config/resource/name.go

    func (n FullName) Validate() error {
    	if len(n.Name) == 0 {
    		return fmt.Errorf("invalid name '%s': name must not be empty", n.String())
    	}
    	return nil
    }
    
    // NewFullName creates a new FullName from the given Namespace and Name.
    func NewFullName(ns Namespace, n LocalName) FullName {
    	return FullName{
    		Namespace: ns,
    		Name:      n,
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 14 13:55:49 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/telemetry/internal/upload/upload.go

    	} else if match[1] > today {
    		u.logger.Printf("Report date for %q is later than today (%s)", filepath.Base(fname), today)
    		return // report is in the future, which shouldn't happen
    	}
    	buf, err := os.ReadFile(fname)
    	if err != nil {
    		u.logger.Printf("%v reading %s", err, fname)
    		return
    	}
    	if u.uploadReportContents(fname, buf) {
    		// anything left to do?
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/telemetry/internal/upload/date.go

    }
    
    func (u *uploader) parseCountFile(fname string) (*counter.File, error) {
    	u.cache.mu.Lock()
    	defer u.cache.mu.Unlock()
    	if u.cache.m == nil {
    		u.cache.m = make(map[string]*counter.File)
    	}
    	if f, ok := u.cache.m[fname]; ok {
    		return f, nil
    	}
    	buf, err := os.ReadFile(fname)
    	if err != nil {
    		return nil, fmt.Errorf("parse ReadFile: %v for %s", err, fname)
    	}
    	f, err := counter.Parse(fname, buf)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:12:15 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/driver/settings.go

    	}
    	return editSettings(fname, func(s *settings) error {
    		for i, c := range s.Configs {
    			if c.Name == name {
    				s.Configs[i].config = cfg
    				return nil
    			}
    		}
    		s.Configs = append(s.Configs, namedConfig{Name: name, config: cfg})
    		return nil
    	})
    }
    
    // removeConfig removes config from fname.
    func removeConfig(fname, config string) error {
    	return editSettings(fname, func(s *settings) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. src/regexp/syntax/make_perl_groups.pl

      }
      return "\t`$name`: {+1, code$cname},\n" .
      	"\t`$negname`: {-1, code$cname},\n";
    }
    
    my $gen = 0;
    
    sub PrintClasses($@) {
      my ($cname, @classes) = @_;
      my @entries;
      foreach my $cl (@classes) {
        my @ranges = ComputeClass($cl);
        push @entries, PrintClass(++$gen, $cl, @ranges);
      }
      print "var ${cname}Group = map[string]charGroup{\n";
      foreach my $e (@entries) {
        print $e;
      }
      print "}\n";
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/framepointer/framepointer.go

    		return nil, nil
    	}
    
    	// Find assembly files to work on.
    	var sfiles []string
    	for _, fname := range pass.OtherFiles {
    		if strings.HasSuffix(fname, ".s") && pass.Pkg.Path() != "runtime" {
    			sfiles = append(sfiles, fname)
    		}
    	}
    
    	for _, fname := range sfiles {
    		content, tf, err := analysisutil.ReadFile(pass, fname)
    		if err != nil {
    			return nil, err
    		}
    
    		lines := strings.SplitAfter(string(content), "\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. src/testing/fstest/mapfs.go

    	var need = make(map[string]bool)
    	if name == "." {
    		elem = "."
    		for fname, f := range fsys {
    			i := strings.Index(fname, "/")
    			if i < 0 {
    				if fname != "." {
    					list = append(list, mapFileInfo{fname, f})
    				}
    			} else {
    				need[fname[:i]] = true
    			}
    		}
    	} else {
    		elem = name[strings.LastIndex(name, "/")+1:]
    		prefix := name + "/"
    		for fname, f := range fsys {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/filesystem/modular_filesystem.h

      std::string TranslateName(const std::string& name) const override;
      void FlushCaches(TransactionToken* token) override;
      Status SetOption(const std::string& name,
                       const std::vector<string>& values) override;
      Status SetOption(const std::string& name,
                       const std::vector<int64_t>& values) override;
      Status SetOption(const std::string& name,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 12 08:49:52 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/callback_windows.go

    		if f == nil {
    			continue
    		}
    		fname := f.Name()
    		switch fname {
    		case "goCallback":
    			// TODO(qmuntal): investigate why this function doesn't appear
    			// when using the external linker.
    			continue
    		}
    		// In module mode, this package has a fully-qualified import path.
    		// Remove it if present.
    		fname = strings.TrimPrefix(fname, "cmd/cgo/internal/")
    		if !strings.HasPrefix(fname, "test.") {
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 16:01:37 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  10. misc/ios/detect.go

    			files = append(files, string(line))
    		}
    	}
    	return files
    }
    
    func parseMobileProvision(fname string) *exec.Cmd {
    	return exec.Command("security", "cms", "-D", "-i", string(fname))
    }
    
    func plistExtract(fname string, path string) ([]byte, error) {
    	out, err := exec.Command("/usr/libexec/PlistBuddy", "-c", "Print "+path, fname).CombinedOutput()
    	if err != nil {
    		return nil, err
    	}
    	return bytes.TrimSpace(out), nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:30 UTC 2023
    - 3.2K bytes
    - Viewed (0)
Back to top