Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 195 for fileNames (0.45 sec)

  1. src/go/types/check_test.go

    		return
    	}
    
    	var filenames []string
    	for _, fi := range fis {
    		filenames = append(filenames, filepath.Join(dir, fi.Name()))
    	}
    
    	t.Run(filepath.Base(dir), func(t *testing.T) {
    		testPkg(t, filenames, manual)
    	})
    }
    
    func testPkg(t *testing.T, filenames []string, manual bool) {
    	srcs := make([][]byte, len(filenames))
    	for i, filename := range filenames {
    		src, err := os.ReadFile(filename)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/check_test.go

    		t.Error(err)
    		return
    	}
    
    	var filenames []string
    	for _, fi := range fis {
    		filenames = append(filenames, filepath.Join(dir, fi.Name()))
    	}
    
    	t.Run(filepath.Base(dir), func(t *testing.T) {
    		testPkg(t, filenames, colDelta, manual)
    	})
    }
    
    func testPkg(t *testing.T, filenames []string, colDelta uint, manual bool) {
    	srcs := make([][]byte, len(filenames))
    	for i, filename := range filenames {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/build/relnote/relnote.go

    	features, err := parseAPIFile(apiFS, filename)
    	if err != nil {
    		return err
    	}
    	byFile, err := GroupAPIFeaturesByFile(features)
    	if err != nil {
    		return err
    	}
    	var filenames []string
    	for fn := range byFile {
    		filenames = append(filenames, fn)
    	}
    	slices.Sort(filenames)
    	mcDir, err := minorChangesDir(docFS)
    	if err != nil {
    		return err
    	}
    	var errs []error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/driver/fetch.go

    				// https://sourceware.org/gdb/onlinedocs/gdb/Separate-Debug-Files.html
    				fileNames = append(fileNames, filepath.Join(path, noVolumeFile+".debug"))
    				fileNames = append(fileNames, filepath.Join(path, dirName, ".debug", baseName+".debug"))
    				fileNames = append(fileNames, filepath.Join(path, "usr", "lib", "debug", dirName, baseName+".debug"))
    			}
    			for _, name := range fileNames {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. pkg/kubelet/kuberuntime/kuberuntime_container_test.go

    	for _, tc := range []struct {
    		filenames    []string
    		restartCount int
    	}{
    		{
    			filenames:    []string{"0.log.rotated-log"},
    			restartCount: 1,
    		},
    		{
    			filenames:    []string{"0.log"},
    			restartCount: 1,
    		},
    		{
    			filenames:    []string{"0.log", "1.log", "2.log"},
    			restartCount: 3,
    		},
    		{
    			filenames:    []string{"0.log.rotated", "1.log", "2.log"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 28K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/stdlib_test.go

    		return nil, nil
    	}
    	var filenames []string
    	for _, name := range pkg.GoFiles {
    		filenames = append(filenames, filepath.Join(pkg.Dir, name))
    	}
    	if includeTest {
    		for _, name := range pkg.TestGoFiles {
    			filenames = append(filenames, filepath.Join(pkg.Dir, name))
    		}
    	}
    	return filenames, nil
    }
    
    func walkPkgDirs(dir string, pkgh func(dir string, filenames []string), errh func(args ...interface{})) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:18:33 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. src/go/ast/filter.go

    	// all package files. Also, compute sorted list of filenames, so that
    	// subsequent iterations can always iterate in the same order.
    	ndocs := 0
    	ncomments := 0
    	ndecls := 0
    	filenames := make([]string, len(pkg.Files))
    	var minPos, maxPos token.Pos
    	i := 0
    	for filename, f := range pkg.Files {
    		filenames[i] = filename
    		i++
    		if f.Doc != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. operator/pkg/verifier/verifier.go

    	filenames []string, controlPlaneOpts clioptions.ControlPlaneOptions,
    	options ...StatusVerifierOptions,
    ) (*StatusVerifier, error) {
    	verifier := StatusVerifier{
    		logger:           clog.NewDefaultLogger(),
    		successMarker:    "✅",
    		failureMarker:    "❌",
    		istioNamespace:   istioNamespace,
    		manifestsPath:    manifestsPath,
    		filenames:        filenames,
    		controlPlaneOpts: controlPlaneOpts,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 19:23:44 UTC 2024
    - 15K bytes
    - Viewed (0)
  9. operator/cmd/mesh/manifest-generate_test.go

    // runManifestGenerate runs the manifest generate command. If filenames is set, passes the given filenames as -f flag,
    // flags is passed to the command verbatim. If you set both flags and path, make sure to not use -f in flags.
    func runManifestGenerate(filenames []string, flags string, chartSource chartSourceType, fileSelect []string) (string, error) {
    	return runManifestCommand("generate", filenames, flags, chartSource, fileSelect)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 18:05:06 UTC 2024
    - 43.5K bytes
    - Viewed (0)
  10. src/go/doc/reader.go

    	// sort package files before reading them so that the
    	// result does not depend on map iteration order
    	i := 0
    	for filename := range pkg.Files {
    		r.filenames[i] = filename
    		i++
    	}
    	slices.Sort(r.filenames)
    
    	// process files in sorted order
    	for _, filename := range r.filenames {
    		f := pkg.Files[filename]
    		if mode&AllDecls == 0 {
    			r.fileExports(f)
    		}
    		r.readFile(f)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 27.5K bytes
    - Viewed (0)
Back to top