Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for emptyfile (0.16 sec)

  1. src/os/user/lookup_unix_test.go

    	{testGroupFile, "invalidgid", ""},
    	{testGroupFile, "indented", "7"},
    	{testGroupFile, "# comment", ""},
    	{testGroupFile, "largegroup", "1000"},
    	{testGroupFile, "manymembers", "777"},
    	{"", "emptyfile", ""},
    }
    
    func TestFindGroupName(t *testing.T) {
    	for _, tt := range groupTests {
    		got, err := findGroupName(tt.name, strings.NewReader(tt.in))
    		if tt.gid == "" {
    			if err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 11 04:31:34 UTC 2022
    - 7.3K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/envoy/configdump/endpoint_test.go

    	tests := []struct {
    		name         string
    		outputFormat string
    		filter       EndpointFilter
    	}{
    		{
    			name:         "emptyfilter",
    			outputFormat: "json",
    			filter:       EndpointFilter{},
    		},
    		{
    			name:         "emptyfilter",
    			outputFormat: "yaml",
    			filter:       EndpointFilter{},
    		},
    		{
    			name:         "portfilter",
    			outputFormat: "json",
    			filter: EndpointFilter{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 12 02:25:59 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  3. .idea/codeStyles/Project.xml

        <option name="IMPORT_LAYOUT_TABLE">
          <value>
            <package name="" withSubpackages="true" static="true" />
            <emptyLine />
            <package name="" withSubpackages="true" static="false" />
            <emptyLine />
            <package name="javax" withSubpackages="true" static="false" />
            <package name="java" withSubpackages="true" static="false" />
          </value>
        </option>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 31 14:47:08 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/conversion/queryparams/convert_test.go

    	SinceSeconds   *int64       `json:"sinceSeconds,omitempty"`
    	TailLines      *int64       `json:"tailLines,omitempty"`
    	SinceTime      *metav1.Time `json:"sinceTime,omitempty"`
    	EmptyTime      *metav1.Time `json:"emptyTime"`
    	NonPointerTime metav1.Time  `json:"nonPointerTime"`
    }
    
    func (obj *childStructs) GetObjectKind() schema.ObjectKind { return schema.EmptyObjectKind }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 03 07:01:02 UTC 2018
    - 6.2K bytes
    - Viewed (0)
  5. tests/scanner_valuer_test.go

    }
    
    func (role Role) IsAdmin() bool {
    	return role.Name == "admin"
    }
    
    type EmptyTime struct {
    	time.Time
    }
    
    func (t *EmptyTime) Scan(v interface{}) error {
    	nullTime := sql.NullTime{}
    	err := nullTime.Scan(v)
    	t.Time = nullTime.Time
    	return err
    }
    
    func (t EmptyTime) Value() (driver.Value, error) {
    	return time.Now() /* pass tests, mysql 8 doesn't support 0000-00-00 by default */, nil
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 07 07:02:07 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  6. src/cmd/covdata/tool_test.go

    	}
    
    	// Emit program.
    	insrc := filepath.Join("testdata", prog+".go")
    	src := filepath.Join(subdir, prog+".go")
    	emitFile(t, src, insrc)
    	indep := filepath.Join("testdata", "dep.go")
    	dep := filepath.Join(depdir, "dep.go")
    	emitFile(t, dep, indep)
    
    	// Emit go.mod.
    	mod := filepath.Join(subdir, "go.mod")
    	modsrc := "\nmodule " + mainPkgPath + "\n\ngo 1.19\n"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  7. pkg/kube/client.go

    	_ = c.Close()
    }
    
    func removeEmptyFiles(files []string) []string {
    	out := make([]string, 0, len(files))
    	for _, f := range files {
    		if !isEmptyFile(f) {
    			out = append(out, f)
    		}
    	}
    	return out
    }
    
    func isEmptyFile(f string) bool {
    	fileInfo, err := os.Stat(f)
    	if err != nil {
    		return true
    	}
    	if fileInfo.Size() == 0 {
    		return true
    	}
    	return false
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 39K bytes
    - Viewed (0)
  8. samples/bookinfo/src/productpage/static/tailwind/tailwind.css

    k;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}this.endFile()}comment(e){let t=new T0;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]);let r=e[1].slice(2,-2);if(/^\s*$/.test(r))t.text="",t.raws.left=r,t.raws.right="";else{let n=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=n[2],t.raws.left=n[1],t.raws.right=n[3]}}emptyRule(e){let t=new Uf;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}other(e){let...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 14:48:01 UTC 2024
    - 357.1K bytes
    - Viewed (1)
Back to top