Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for readFiles (1.45 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformCachingIntegrationTest.groovy

            Set<TestFile> dirs = []
            def pattern = Pattern.compile("Transformed " + Pattern.quote(from) + " to " + Pattern.quote(to) + " into (${outputDirPattern})")
            for (def line : stream.call().readLines()) {
                def matcher = pattern.matcher(line)
                if (matcher.matches()) {
                    dirs.add(new TestFile(matcher.group(1)))
                }
            }
            return dirs
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 11:52:44 UTC 2024
    - 97.8K bytes
    - Viewed (0)
  2. src/cmd/go/internal/work/exec.go

    						nongcc = append(nongcc, f)
    					}
    				}
    				return nongcc, gcc
    			}
    			sfiles, gccfiles = filter(sfiles, sfiles[:0], gccfiles)
    		} else {
    			for _, sfile := range sfiles {
    				data, err := os.ReadFile(filepath.Join(p.Dir, sfile))
    				if err == nil {
    					if bytes.HasPrefix(data, []byte("TEXT")) || bytes.Contains(data, []byte("\nTEXT")) ||
    						bytes.HasPrefix(data, []byte("DATA")) || bytes.Contains(data, []byte("\nDATA")) ||
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  3. src/cmd/go/internal/load/pkg.go

    )
    
    // goModPath returns the module path in the go.mod in dir, if any.
    func goModPath(dir string) (path string) {
    	return goModPathCache.Do(dir, func() string {
    		data, err := os.ReadFile(filepath.Join(dir, "go.mod"))
    		if err != nil {
    			return ""
    		}
    		var i int
    		if bytes.HasPrefix(data, modulePrefix[1:]) {
    			i = 0
    		} else {
    			i = bytes.Index(data, modulePrefix)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    	procReadDirectoryChangesW                                = modkernel32.NewProc("ReadDirectoryChangesW")
    	procReadFile                                             = modkernel32.NewProc("ReadFile")
    	procReadProcessMemory                                    = modkernel32.NewProc("ReadProcessMemory")
    	procReleaseMutex                                         = modkernel32.NewProc("ReleaseMutex")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc_test.go

    		return x509.ParseECPrivateKey(b)
    	})
    }
    
    func loadKey(t *testing.T, filepath string, alg jose.SignatureAlgorithm, unmarshal func([]byte) (interface{}, error)) *jose.JSONWebKey {
    	data, err := os.ReadFile(filepath)
    	if err != nil {
    		t.Fatalf("load file: %v", err)
    	}
    	block, _ := pem.Decode(data)
    	if block == nil {
    		t.Fatalf("file contained no PEM encoded data: %s", filepath)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 97.7K bytes
    - Viewed (0)
  6. pkg/kubelet/kubelet_pods.go

    }
    
    // nodeHostsFileContent reads the content of node's hosts file.
    func nodeHostsFileContent(hostsFilePath string, hostAliases []v1.HostAlias) ([]byte, error) {
    	hostsFileContent, err := os.ReadFile(hostsFilePath)
    	if err != nil {
    		return nil, err
    	}
    	var buffer bytes.Buffer
    	buffer.WriteString(managedHostsHeaderWithHostNetwork)
    	buffer.Write(hostsFileContent)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
Back to top