- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 55 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 Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Aug 05 17:31:25 UTC 2025 - 26.2K 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 Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Feb 14 15:13:11 UTC 2025 - 37.3K 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: Sun Sep 07 00:10:21 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); } } @Override
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 4K 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 Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.7K 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 Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.8K bytes - Viewed (0) -
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 Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0) -
samples/tlssurvey/src/main/kotlin/okhttp3/survey/Clients.kt
import javax.net.ssl.SSLSocketFactory import okhttp3.ConnectionSpec import okhttp3.OkHttp import okhttp3.survey.types.Client import okhttp3.survey.types.SuiteId import okio.FileSystem import okio.Path.Companion.toPath import org.conscrypt.Conscrypt fun currentOkHttp(ianaSuites: IanaSuites): Client = Client( userAgent = "OkHttp", version = OkHttp.VERSION, enabled =
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.4K 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 Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jan 10 08:42:00 UTC 2025 - 12K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt
import okhttp3.Headers.Companion.headersOf import okhttp3.internal.buildCache import okhttp3.java.net.cookiejar.JavaNetCookieJar import okhttp3.okio.LoggingFilesystem import okhttp3.testing.PlatformRule import okio.Path.Companion.toPath import okio.fakefilesystem.FakeFileSystem import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.RegisterExtension
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 6K bytes - Viewed (0)