- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 83 for toPatch (0.04 sec)
-
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{
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Oct 21 15:13:08 UTC 2025 - 26.7K bytes - Viewed (0) -
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.
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Wed Nov 12 03:59:40 UTC 2025 - 37.3K bytes - Viewed (0) -
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 =Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/DosErrorTest.java
} @Test @DisplayName("Unknown DOS error code yields empty Optional") void testUnknownCode() { Optional<Integer> noMatch = findNtStatus(0xdeadbeef); assertFalse(noMatch.isPresent(), "Mapping for unknown code should be absent"); } @Test @DisplayName("Mocked consumer receives correct NTSTATUS value") void testConsumerInteraction() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ProjectArtifactMetadata.java
// here and be safe. jvz. // ---------------------------------------------------------------------------- try { Files.createDirectories(destination.toPath().getParent()); Files.copy(file.toPath(), destination.toPath()); } catch (IOException e) { throw new RepositoryMetadataStoreException("Error copying POM to the local repository.", e); } } @OverrideRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 4K bytes - Viewed (0) -
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) {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.8K bytes - Viewed (1) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java
Artifact artifact = createArtifact("artifact", "1.0"); File file = new File(artifactBasedir, "artifact-1.0.jar"); assertEquals("dummy", new String(Files.readAllBytes(file.toPath()), StandardCharsets.UTF_8).trim()); artifactDeployer.deploy(file, artifact, remoteRepository(), localRepository()); ArtifactRepository remoteRepository = remoteRepository();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 2.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/FileUtilTest.java
/** * Test isPathSafe with safe path * * @throws Exception */ @Test public void testIsPathSafe_SafePath() throws Exception { final Path baseDir = tempFolder.getRoot().toPath(); final Path safePath = baseDir.resolve("subdir/file.txt"); assertTrue("Safe path should be allowed", FileUtil.isPathSafe(safePath, baseDir)); } /**Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 10.3K bytes - Viewed (0) -
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,Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 10 08:42:00 UTC 2025 - 12K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenMetadata.java
public Path getPath() { return path; } @Override public void merge(File existing, File result) throws RepositoryException { merge(existing != null ? existing.toPath() : null, result != null ? result.toPath() : null); } @Override public void merge(Path existing, Path result) throws RepositoryException { Metadata recessive = read(existing); merge(recessive);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 4.2K bytes - Viewed (0)