Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,876 for nfiles (0.29 sec)

  1. src/cmd/gofmt/long_test.go

    			filenames <- filename
    			nfiles++
    		}
    		return nil
    	}
    
    	// test Go files provided via -files, if any
    	if *files != "" {
    		for _, filename := range strings.Split(*files, ",") {
    			fi, err := os.Stat(filename)
    			handleFile(filename, fs.FileInfoToDirEntry(fi), err)
    		}
    		return // ignore files under -root
    	}
    
    	// otherwise, test all Go files under *root
    	goroot := *root
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 20:27:28 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/numberlines.go

    		}
    		sort.Sort(entries)
    		total := uint64(0)            // sum over files of maxline(file) - minline(file)
    		maxfile := int32(0)           // max(file indices)
    		minline := uint32(0xffffffff) // min over files of minline(file)
    		maxline := uint32(0)          // max over files of maxline(file)
    		for _, v := range entries {
    			if f.pass.stats > 1 {
    				f.LogStat("file", v.f, "low", v.lp.first, "high", v.lp.last)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 14 21:26:13 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/static-files.md

    # Static Files
    
    You can serve static files automatically from a directory using `StaticFiles`.
    
    ## Use `StaticFiles`
    
    * Import `StaticFiles`.
    * "Mount" a `StaticFiles()` instance in a specific path.
    
    ```Python hl_lines="2  6"
    {!../../../docs_src/static_files/tutorial001.py!}
    ```
    
    !!! note "Technical Details"
        You could also use `from starlette.staticfiles import StaticFiles`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Jan 11 19:56:09 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. docs/ko/docs/tutorial/static-files.md

    {!../../../docs_src/static_files/tutorial001.py!}
    ```
    
    !!! note "기술적 세부사항"
        `from starlette.staticfiles import StaticFiles` 를 사용할 수도 있습니다.
    
        **FastAPI**는 단지 개발자인, 당신에게 편의를 제공하기 위해 `fastapi.static files` 와 동일한 `starlett.static files`를 제공합니다. 하지만 사실 이것은 Starlett에서 직접 온 것입니다.
    
    ### "마운팅" 이란
    
    "마운팅"은 특정 경로에 완전히 "독립적인" 애플리케이션을 추가하는 것을 의미하는데, 그 후 모든 하위 경로에 대해서도 적용됩니다.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Jan 22 19:42:37 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. subprojects/core/src/testFixtures/groovy/org/gradle/api/tasks/TasksWithInputsAndOutputs.groovy

            buildFile << """
                class ShowFilesTask extends DefaultTask {
                    @InputFiles
                    final ConfigurableFileCollection inFiles = project.files()
                    @TaskAction
                    def go() {
                        println "result = " + inFiles.files.name
                    }
                }
            """
        }
    
        def taskTypeLogsArtifactCollectionDetails(TestFile buildFile = getBuildFile()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 18:43:39 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  6. pkg/kubelet/kubeletconfig/util/files/files.go

    	// create the dir
    	return fs.MkdirAll(path, defaultPerm)
    }
    
    // WriteTempDir creates a temporary dir at `path`, writes `files` into it, and fsyncs all the files
    // The keys of `files` represent file names. These names must not:
    // - be empty
    // - be a path that contains more than the base name of a file (e.g. foo/bar is invalid, as is /bar)
    // - match `.` or `..` exactly
    // - be longer than 255 characters
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 13 01:02:46 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  7. src/crypto/purego_test.go

    			}
    
    			pkg, err := context.Import(pkgName, "", 0)
    			if err != nil {
    				t.Fatal(err)
    			}
    			if len(pkg.SFiles) == 0 {
    				continue
    			}
    			t.Errorf("package %s has purego assembly files on %s: %v", pkgName, GOARCH, pkg.SFiles)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/ArtifactResolutionExpectationSpec.groovy

        }
    
        /**
         * Short-hand notation for expecting a list of files independently of the fact module metadata is used or not
         * @param fileNames
         */
        void expectFiles(String... fileNames) {
            always {
                expectFiles(fileNames as List<String>)
            }
        }
    
        void noFiles() {
            always {
                noFiles()
            }
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. pkg/test/util/yml/file.go

    	content := JoinString(contents...)
    	files, err := splitContentsToFiles(w.workDir, content, filenamePrefix)
    	if err != nil {
    		return nil, err
    	}
    
    	if len(files) == 0 {
    		f, err := writeContentsToTempFile(w.workDir, content)
    		if err != nil {
    			return nil, err
    		}
    		files = append(files, f)
    	}
    	out = append(out, files...)
    	return out, nil
    }
    
    // WriteYAMLOrFial calls WriteYAML and fails the test if an error occurs.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 07 14:33:54 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  10. pkg/test/util/file/file.go

    func AsStringArray(files ...string) ([]string, error) {
    	out := make([]string, 0, len(files))
    	for _, f := range files {
    		b, err := AsBytes(f)
    		if err != nil {
    			return nil, err
    		}
    		out = append(out, string(b))
    	}
    	return out, nil
    }
    
    // AsStringArrayOrFail calls AsStringOrFail and then converts to string.
    func AsStringArrayOrFail(t test.Failer, files ...string) []string {
    	t.Helper()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 17 02:22:22 UTC 2023
    - 4.6K bytes
    - Viewed (0)
Back to top