Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,278 for adir (0.05 sec)

  1. src/io/fs/readdir_test.go

    			Mode:    0,
    			ModTime: time.Now(),
    			Sys:     &sysValue,
    		},
    		"adir": {
    			Data:    nil,
    			Mode:    os.ModeDir,
    			ModTime: time.Now(),
    			Sys:     &sysValue,
    		},
    	}
    
    	tests := []struct {
    		path     string
    		wantMode FileMode
    		wantDir  bool
    	}{
    		{path: "notadir.txt", wantMode: 0, wantDir: false},
    		{path: "adir", wantMode: os.ModeDir, wantDir: true},
    	}
    
    	for _, test := range tests {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 27 16:25:41 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/third_party/forked/golang/netutil/addr.go

    }
    
    // FROM: http://golang.org/src/net/http/transport.go
    // canonicalAddr returns url.Host but always with a ":port" suffix
    func CanonicalAddr(url *url.URL) string {
    	addr := url.Host
    	if !hasPort(addr) {
    		return addr + ":" + portMap[url.Scheme]
    	}
    	return addr
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 21 10:49:41 UTC 2022
    - 723 bytes
    - Viewed (0)
  3. apache-maven/src/assembly/dir.xml

    <assembly xmlns="http://maven.apache.org/ASSEMBLY/2.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.1.0 http://maven.apache.org/xsd/assembly-2.1.0.xsd">
      <id>dir</id>
      <formats>
        <format>dir</format>
      </formats>
      <includeBaseDirectory>false</includeBaseDirectory>
      <componentDescriptors>
        <componentDescriptor>src/assembly/component.xml</componentDescriptor>
      </componentDescriptors>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Apr 27 13:14:24 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  4. src/os/dir.go

    	slices.SortFunc(dirs, func(a, b DirEntry) int {
    		return bytealg.CompareString(a.Name(), b.Name())
    	})
    	return dirs, err
    }
    
    // CopyFS copies the file system fsys into the directory dir,
    // creating dir if necessary.
    //
    // Newly created directories and files have their default modes
    // where any bits from the file in fsys that are not part of the
    // standard read, write, and execute permissions will be zeroed
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/telemetry/dir.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package telemetry
    
    import "golang.org/x/telemetry/internal/telemetry"
    
    // Dir returns the telemetry directory.
    func Dir() string {
    	return telemetry.Default.Dir()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 14:38:01 UTC 2024
    - 325 bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/telemetry/internal/telemetry/dir.go

    		upload:   filepath.Join(dir, "upload"),
    		debug:    filepath.Join(dir, "debug"),
    		modefile: filepath.Join(dir, "mode"),
    	}
    }
    
    func init() {
    	cfgDir, err := os.UserConfigDir()
    	if err != nil {
    		return
    	}
    	Default = NewDir(filepath.Join(cfgDir, "go", "telemetry"))
    }
    
    func (d Dir) Dir() string {
    	return d.dir
    }
    
    func (d Dir) LocalDir() string {
    	return d.local
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:13:09 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. src/net/http/serve_test.go

    	}))
    	if _, err := cst.c.Head(cst.ts.URL); err != nil {
    		t.Fatal(err)
    	}
    
    	host := cst.ts.Listener.Addr().String()
    	got := <-ch
    	if addr, ok := got.(net.Addr); !ok {
    		t.Errorf("local addr value = %T; want net.Addr", got)
    	} else if fmt.Sprint(addr) != host {
    		t.Errorf("local addr = %v; want %v", addr, host)
    	}
    }
    
    // https://golang.org/issue/15960
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  8. src/cmd/go/internal/vcweb/dir.go

    type dirHandler struct{}
    
    func (*dirHandler) Available() bool { return true }
    
    func (*dirHandler) Handler(dir string, env []string, logger *log.Logger) (http.Handler, error) {
    	return http.FileServer(http.Dir(dir)), nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 13:00:34 UTC 2022
    - 503 bytes
    - Viewed (0)
  9. src/archive/tar/testdata/file-and-dir.tar

    Caio Marcelo de Oliveira Filho <******@****.***> 1514852203 -0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 13 18:36:49 UTC 2018
    - 2.5K bytes
    - Viewed (0)
  10. src/crypto/x509/testdata/test-dir.crt

    Steven Hartland <******@****.***> 1485995646 +0000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 03 15:39:29 UTC 2017
    - 1.9K bytes
    - Viewed (0)
Back to top