Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 110 for toPatch (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/cmd/asm/internal/asm/parse.go

    	input         []lex.Token
    	inputPos      int
    	pendingLabels []string // Labels to attach to next instruction.
    	labels        map[string]*obj.Prog
    	toPatch       []Patch
    	addr          []obj.Addr
    	arch          *arch.Arch
    	ctxt          *obj.Link
    	firstProg     *obj.Prog
    	lastProg      *obj.Prog
    	dataAddr      map[string]int64 // Most recent address for DATA for this symbol.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Feb 17 19:57:47 GMT 2026
    - 37.3K bytes
    - Click Count (0)
  2. src/cmd/asm/internal/asm/asm.go

    		return
    	}
    
    	p.append(prog, cond, true)
    }
    
    func (p *Parser) patch() {
    	for _, patch := range p.toPatch {
    		targetProg := p.labels[patch.label]
    		if targetProg == nil {
    			p.errorf("undefined label %s", patch.label)
    			return
    		}
    		p.branch(patch.addr, targetProg)
    	}
    	p.toPatch = p.toPatch[:0]
    }
    
    func (p *Parser) branch(addr *obj.Addr, target *obj.Prog) {
    	*addr = obj.Addr{
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Mar 20 17:02:17 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ConcatFilesTask.java

                Files.write(getTarget().toPath(), (getHeaderLine() + '\n').getBytes(StandardCharsets.UTF_8));
            }
    
            // To remove duplicate lines
            LinkedHashSet<String> uniqueLines = new LinkedHashSet<>();
            for (File f : getFiles()) {
                uniqueLines.addAll(Files.readAllLines(f.toPath(), StandardCharsets.UTF_8));
            }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.8K bytes
    - Click Count (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/GenerateDocInfo.java

                String relativePath = adocDir.relativize(adocFile.toPath()).toString();
                File docInfo = new File(destinationDirectory, docInfoName);
                try {
                    Files.write(docInfo.toPath(), Collections.singleton(String.format("<meta name=\"adoc-src-path\" content=\"%s\">", relativePath)), StandardOpenOption.CREATE);
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue May 27 09:07:14 GMT 2025
    - 3K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ForbiddenPatternsTask.java

        @Internal
        abstract Property<File> getRootDir();
    
        @Input
        @Optional
        Provider<String> getRootDirPath() {
            return getRootDir().map(t -> t.toPath().relativize(projectLayout.getProjectDirectory().getAsFile().toPath()).toString());
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 6.8K bytes
    - Click Count (0)
  6. samples/guide/src/main/java/okhttp3/recipes/kt/PostPath.kt

    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.RequestBody.Companion.asRequestBody
    import okio.Path.Companion.toPath
    import okio.buffer
    import okio.fakefilesystem.FakeFileSystem
    
    class PostPath {
      private val client = OkHttpClient()
      private val fileSystem = FakeFileSystem()
      val path = "test.json".toPath()
    
      fun run() {
        fileSystem.write(path) {
          writeUtf8("{}")
        }
    
        val request =
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  7. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/GenerateIdnaMappingTableCode.kt

    import java.io.File
    import okio.FileSystem
    import okio.Path.Companion.toPath
    
    fun main(vararg args: String) {
      val data = loadIdnaMappingTableData()
      val file = generateMappingTableFile(data)
      file.writeTo(File(args[0]))
    }
    
    fun loadIdnaMappingTableData(): IdnaMappingTableData {
      val path = "/okhttp3/internal/idna/IdnaMappingTable.txt".toPath()
      val table =
        FileSystem.RESOURCES.read(path) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.8K bytes
    - Click Count (1)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/PruneChangelogsTask.java

            changelogs = objectFactory.fileCollection();
            gitWrapper = new GitWrapper(execOperations);
            rootDir = project.getRootDir().toPath();
        }
    
        @Internal
        public FileCollection getChangelogs() {
            return changelogs;
        }
    
        public void setChangelogs(FileCollection files) {
            this.changelogs = files;
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 24 10:57:02 GMT 2021
    - 6.6K bytes
    - Click Count (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

                File remoteFile = new File(remoteRepo.getBasedir(), remoteRepo.pathOf(artifact));
    
                Files.createDirectories(localFile.toPath().getParent());
                Files.copy(remoteFile.toPath(), localFile.toPath());
            }
    
            artifact.setResolved(true);
        }
    
        @Override
        public void retrieve(
                ArtifactRepository repository,
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 12K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/groovy/elasticsearch.build-complete.gradle

              }
                .files
                .findAll { Files.isRegularFile(it.toPath()) }
    
              if (fileSet.empty) {
                // In cases where we don't match any workspace files, exclude everything
                ant.exclude(name: "**/*")
              } else {
                fileSet.each {
                  ant.include(name: projectDir.toPath().relativize(it.toPath()))
                }
              }
            }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2K bytes
    - Click Count (0)
Back to Top