Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 585 for replace (0.04 seconds)

  1. compat/maven-embedder/src/test/java/org/apache/maven/cli/event/ExecutionEventLoggerTest.java

            when(project.getName()).thenReturn(projectName);
            return project;
        }
    
        private static String adaptDirSeparator(String path) {
            return path.replace('/', File.separatorChar).replace('\\', File.separatorChar);
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Dec 01 19:41:22 GMT 2024
    - 12.3K bytes
    - Click Count (0)
  2. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt

              response,
            )
            return
          }
    
          // This is a long-lived response. Cancel full-call timeouts.
          call?.timeout()?.cancel()
    
          // Replace the body with a stripped one so the callbacks can't see real data.
          val response = response.stripBody()
    
          val reader = ServerSentEventReader(body.source(), this)
          try {
            if (!canceled) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 03 07:51:20 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  3. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

       * If {@code (key, expectedOldValue)} is currently in the map, this method replaces {@code
       * expectedOldValue} with {@code newValue} and returns true; otherwise, this method returns false.
       *
       * <p>If {@code expectedOldValue} is zero, this method will succeed if {@code (key, zero)} is
       * currently in the map, or if {@code key} is not in the map at all.
       */
      boolean replace(K key, long expectedOldValue, long newValue) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Oct 10 23:13:45 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  4. src/bytes/bytes_test.go

    			}
    			if len(old) == 0 && n != 0 {
    				out.Write(new)
    			}
    			return out.Bytes()
    		}
    		if simple, replace := differentImpl(in, old, new, n), Replace(in, old, new, n); !slices.Equal(simple, replace) {
    			t.Errorf("The two implementations do not match %q != %q for Replace(%q, %q, %q, %d)", simple, replace, in, old, new, n)
    		}
    	})
    }
    
    func BenchmarkReplace(b *testing.B) {
    	for _, tt := range ReplaceTests {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Dec 23 23:54:14 GMT 2025
    - 62.9K bytes
    - Click Count (0)
  5. ci/official/README.md

    #      Ex. 1: TFCI=py311,linux_x86_cuda,nightly_upload  (nightly job)
    #      Ex. 2: TFCI=py39,linux_x86,rbe                   (continuous job)
    #   Non-Googlers should replace "nightly_upload" or "rbe" with
    #   "public_cache,disk_cache".
    #   Googlers should replace "nightly_upload" with "public_cache,disk_cache" or
    #   "rbe", if you have set up your system to use RBE (see further below).
    #
    # Here is how to choose your TFCI value:
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Thu Feb 01 03:21:19 GMT 2024
    - 8K bytes
    - Click Count (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java

        private String getPath(Metadata metadata, String repositoryKey) {
            StringBuilder path = new StringBuilder(128);
    
            if (!metadata.getGroupId().isEmpty()) {
                path.append(metadata.getGroupId().replace('.', '/')).append('/');
    
                if (!metadata.getArtifactId().isEmpty()) {
                    path.append(metadata.getArtifactId()).append('/');
    
                    if (!metadata.getVersion().isEmpty()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  7. apache-maven/src/main/appended-resources/META-INF/LICENSE.vm

    #*    *### add dependency info to output
    
    - $directory/${project.artifact.artifactId}-${project.artifact.version}.jar: $project.artifact.toString().replace( ':eclipse-plugin:', ':jar:' )
        Project: $project.name
        #if ( $project.url )Project URL: ${project.url}#end
    
        License: $license.name#if ( $spdx ) ($spdx)#end
    
        License URL: $license.url ($licFile)
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  8. impl/maven-core/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java

        private String getPath(Metadata metadata, String repositoryKey) {
            StringBuilder path = new StringBuilder(128);
    
            if (!metadata.getGroupId().isEmpty()) {
                path.append(metadata.getGroupId().replace('.', '/')).append('/');
    
                if (!metadata.getArtifactId().isEmpty()) {
                    path.append(metadata.getArtifactId()).append('/');
    
                    if (!metadata.getVersion().isEmpty()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleDslReferencePlugin.java

    import gradlebuild.docs.dsl.source.ExtractDslMetaDataTask;
    
    /**
     * Generates DSL reference material using Docbook and some homegrown class parsing.
     *
     * TODO: It would be nice to replace the Docbook portion of this with Asciidoc so that it could be
     * generated in the same way as the user manual with cross-links between them.
     */
    public class GradleDslReferencePlugin implements Plugin<Project> {
        @Override
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 5.7K bytes
    - Click Count (0)
  10. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/androidhomewarmup/AndroidHomeWarmupTask.kt

                return
            }
            sdkVersions.orNull.orEmpty().forEach { version ->
                val projectName = "platform-${version.compileSdk}-buildtools-${version.buildTools.replace(".", "-")}"
                val projectDir = File(warmupProjectsDirectory.get().asFile, projectName)
    
                logger.lifecycle("Generating project: $projectName")
                generateProject(projectDir, version)
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 09 09:24:29 GMT 2025
    - 5.8K bytes
    - Click Count (0)
Back to Top