Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for Edits (0.03 sec)

  1. src/cmd/go/internal/modcmd/edit.go

    		base.Fatalf("go: -godebug=%s: need key=value", arg)
    	}
    	edits = append(edits, func(f *modfile.File) {
    		if err := f.AddGodebug(key, value); err != nil {
    			base.Fatalf("go: -godebug=%s: %v", arg, err)
    		}
    	})
    }
    
    // flagDropGodebug implements the -dropgodebug flag.
    func flagDropGodebug(arg string) {
    	edits = append(edits, func(f *modfile.File) {
    		if err := f.DropGodebug(arg); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/internal/analysisflags/flags.go

    // at all. It might contain multiple TextEdits/text_edits if the SuggestedFix
    // consists of multiple non-contiguous edits.
    type JSONSuggestedFix struct {
    	Message string         `json:"message"`
    	Edits   []JSONTextEdit `json:"edits"`
    }
    
    // A JSONDiagnostic describes the JSON schema of an analysis.Diagnostic.
    //
    // TODO(matloob): include End position if present.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ConcurrentArchiveIntegrationTest.groovy

                    file ('file3.txt').text =  'original text 3'
                }
            }
            settingsFile << """include 'project1', 'project2'"""
    
            and: "where each project edits that same archive differently via a visitor"
            file('project1/build.gradle') << """
                ${defineUpdateTask('zip')}
                ${defineVerifyTask('zip')}
    
                def theArchive = rootProject.file('test.zip')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 17:32:21 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  4. src/cmd/go/internal/workcmd/edit.go

    	if len(workedits) > 0 {
    		for _, edit := range workedits {
    			edit(workFile)
    		}
    	}
    
    	workFile.SortBlocks()
    	workFile.Cleanup() // clean file after edits
    
    	// Note: No call to modload.UpdateWorkFile here.
    	// Edit's job is only to make the edits on the command line,
    	// not to apply the kinds of semantic changes that
    	// UpdateWorkFile does (or would eventually do, if we
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/amd64/versions_test.go

    			// Only really need to make the first byte faulting, but might
    			// as well make all the bytes faulting.
    			virtualEdits[addr+uint64(i)] = true
    		}
    	}
    
    	// Figure out where in the binary the edits must be done.
    	physicalEdits := map[uint64]bool{}
    	if e, err := elf.Open(src); err == nil {
    		for _, sec := range e.Sections {
    			vaddr := sec.Addr
    			paddr := sec.Offset
    			size := sec.Size
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:19:15 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

        }
    
        if (mostRecentTrimFailed || mostRecentRebuildFailed) {
          // The OS has become our enemy! If the trim job failed, it means we are storing more data than
          // requested by the user. Do not allow edits so we do not go over that limit any further. If
          // the journal rebuild failed, the journal writer will not be active, meaning we will not be
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  7. src/html/template/escape.go

    	derived map[string]*template.Template
    	// called[templateName] is a set of called mangled template names.
    	called map[string]bool
    	// xxxNodeEdits are the accumulated edits to apply during commit.
    	// Such edits are not applied immediately in case a template set
    	// executes a given template in different escaping contexts.
    	actionNodeEdits   map[*parse.ActionNode][]string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 02 15:18:39 UTC 2023
    - 32.4K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/internal/locking/LockFileReaderWriter.java

        static final Charset CHARSET = StandardCharsets.UTF_8;
        static final List<String> LOCKFILE_HEADER_LIST = ImmutableList.of("# This is a Gradle generated file for dependency locking.", "# Manual edits can break the build and are not advised.", "# This file is expected to be part of source control.");
        static final String EMPTY_RESOLUTIONS_ENTRY = "empty=";
        static final String BUILD_SCRIPT_PREFIX = "buildscript-";
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/OutputScrapingExecutionResult.java

                        .map(line -> new LineWithDistance(line, StringUtils.getLevenshteinDistance(line, expectedText)))
                        // Filter out lines that need more edits than half the length of the line
                        .filter(pair -> pair.getDistance() < pair.getLine().length() / 2)
                        // Find the closest match
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 19K bytes
    - Viewed (0)
  10. src/cmd/cgo/ast.go

    	// so we use ast1 to look for the doc comments on import "C"
    	// and on exported functions, and we use ast2 for translating
    	// and reprinting.
    	// In cgo mode, we ignore ast2 and just apply edits directly
    	// the text behind ast1. In godefs mode we modify and print ast2.
    	ast1 := parse(abspath, src, parser.SkipObjectResolution|parser.ParseComments)
    	ast2 := parse(abspath, src, parser.SkipObjectResolution)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 07 16:54:27 UTC 2023
    - 14.3K bytes
    - Viewed (0)
Back to top