- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for filemap (0.22 sec)
-
src/go/types/check_test.go
// not the last entry - slide entries down (don't reorder) copy(errList[index:], errList[index+1:]) filemap[line] = errList[:n] } else { // last entry - remove errList from filemap delete(filemap, line) } // if filemap is empty, eliminate from errmap if len(filemap) == 0 { delete(errmap, filename) } } // there should be no expected errors left if len(errmap) > 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:45:33 UTC 2024 - 14.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/check_test.go
// not the last entry - slide entries down (don't reorder) copy(errList[index:], errList[index+1:]) filemap[line] = errList[:n] } else { // last entry - remove errList from filemap delete(filemap, line) } // if filemap is empty, eliminate from errmap if len(filemap) == 0 { delete(errmap, filename) } } // there should be no expected errors left if len(errmap) > 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:45:33 UTC 2024 - 13.8K bytes - Viewed (0) -
docs/debugging/xl-meta/main.go
if i > 1 { file = fmt.Sprintf("%s/part.%d", file, i) filemap[file] = make(map[string]string) filemap[file][verID] = fmt.Sprintf("%s/part.%d/shard-%02d-of-%02d", verID, i, idx, ei.V2Obj.EcN+ei.V2Obj.EcM) filemap[file][verID+".json"] = buf.String() } partDataToVerID[dataFile] = [2]string{file, verID} }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 31 14:49:23 UTC 2024 - 38.5K bytes - Viewed (0) -
src/go/types/generate_test.go
// If filesToWrite is set, write the generated content to disk. // In the special case of "all", write all files in filemap. write := *filesToWrite != "" var files []string // files to process if *filesToWrite != "" && *filesToWrite != "all" { files = strings.Split(*filesToWrite, ",") } else { for file := range filemap { files = append(files, file) } } for _, filename := range files { generate(t, filename, write)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 16.5K bytes - Viewed (0) -
pilot/pkg/networking/core/extension/wasmplugin.go
func PopAppendHTTP(list []*hcm.HttpFilter, filterMap map[extensions.PluginPhase][]*model.WasmPluginWrapper, phase extensions.PluginPhase, ) []*hcm.HttpFilter { for _, ext := range filterMap[phase] { list = append(list, toEnvoyHTTPFilter(ext)) } delete(filterMap, phase) return list }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 09:02:11 UTC 2024 - 5.4K bytes - Viewed (0) -
src/os/stat_windows.go
if err == windows.ERROR_INVALID_PARAMETER { // Console handles, like "\\.\con", require generic read access. See // https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilew#consoles. // We haven't set it previously because it is normally not required // to read attributes and some files may not allow it.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:44:48 UTC 2024 - 5.2K bytes - Viewed (0) -
src/internal/filepathlite/path_windows.go
return true } return false } } // Passing CONIN$ or CONOUT$ to CreateFile opens a console handle. // https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilea#consoles // // While CONIN$ and CONOUT$ aren't documented as being files, // they behave the same as CON. For example, ./CONIN$ also opens the console input.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 23:07:50 UTC 2024 - 8.5K bytes - Viewed (0) -
tests/test_tutorial/test_request_forms_and_files/test_tutorial001_an.py
patha.write_text("<file content>") pathb.write_text("<file b content>") client = TestClient(app) with patha.open("rb") as filea, pathb.open("rb") as fileb: response = client.post( "/files/", data={"token": "foo"}, files={"file": filea, "fileb": ("testb.txt", fileb, "text/plain")}, ) assert response.status_code == 200, response.text assert response.json() == {
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 9.8K bytes - Viewed (0) -
src/os/types_windows.go
// FILE_FLAG_OPEN_REPARSE_POINT flag when opening the file if it is a reparse // point.” // // And per https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilew, // “If the file is not a reparse point, then this flag is ignored.” // // So we set FILE_FLAG_OPEN_REPARSE_POINT unconditionally, since we want // information about the reparse point itself. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:44:48 UTC 2024 - 11.7K bytes - Viewed (0) -
src/go/doc/reader.go
if r.doc == "" { r.doc = text return } r.doc += "\n" + text } func (r *reader) remember(predecl string, typ *ast.InterfaceType) { if r.fixmap == nil { r.fixmap = make(map[string][]*ast.InterfaceType) } r.fixmap[predecl] = append(r.fixmap[predecl], typ) } func specNames(specs []ast.Spec) []string { names := make([]string, 0, len(specs)) // reasonable estimate for _, s := range specs {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 27.5K bytes - Viewed (0)