Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 672 for Replace (0.07 seconds)

  1. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

            assertThat(cache.asMap().replace(entry.getKey(), newValue))
                .isSameInstanceAs(entry.getValue());
            assertThat(cache.asMap().replace(entry.getKey(), newValue, entry.getValue())).isTrue();
            Object newKey = new Object();
            assertThat(cache.asMap().replace(newKey, entry.getValue())).isNull();
            assertThat(cache.asMap().replace(newKey, entry.getValue(), newValue)).isFalse();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  2. scripts/deploy_docs_status.py

            if not match:
                continue
            lang = match.group(1)
            path = match.group(2)
            if path.endswith("index.md"):
                path = path.replace("index.md", "")
            else:
                path = path.replace(".md", "/")
            en_path = path
            if lang == "en":
                use_path = en_path
            else:
                use_path = f"{lang}/{path}"
            link = LinkData(
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 30 05:56:53 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  3. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/FixProjectHealthTask.kt

                        val oldDependency = match.groupValues[3] + match.groupValues[2]
                        val newDependency = match.groupValues[1] + match.groupValues[2]
                        lines.replaceAll { it.replace(oldDependency, newDependency) }
                    }
                }
                file.writeText(lines.joinToString("\n"))
            }
        }
    
        private fun addDependencies(dependencyFixes: Map<String, List<String>>) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Mar 03 06:57:08 GMT 2025
    - 6.2K bytes
    - Click Count (1)
  4. ci/official/installer_wheel.sh

      echo ""
      # Unpacking a wheel creates a directory named
      # {distribution}-{version}.dist-info which contains the metadata files. We
      # replace the old tag in the WHEEL file in this directory with the new tag we
      # have in ${whl_tag}. Replace the line in WHEEL that starts with "Tag:" with
      # "Tag: <new whl tag>"
      sed -i "s/^Tag:.*/Tag: ${whl_tag}/g" "${pkg_name}"/"${pkg_name}".dist-info/WHEEL
    
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Tue Mar 04 22:39:12 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  5. impl/maven-core/src/test/java/org/apache/maven/repository/TestRepositoryConnector.java

                    }
                }
            }
        }
    
        private String path(Artifact artifact) {
            StringBuilder path = new StringBuilder(128);
    
            path.append(artifact.getGroupId().replace('.', '/')).append('/');
    
            path.append(artifact.getArtifactId()).append('/');
    
            path.append(artifact.getBaseVersion()).append('/');
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 11 17:20:46 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  6. internal/grid/grid.go

    	return func(ctx context.Context, remote string) (net.Conn, error) {
    		toDial := strings.Replace(remote, "http://", "ws://", 1)
    		toDial = strings.Replace(toDial, "https://", "wss://", 1)
    		toDial += routePath
    
    		dialer := ws.DefaultDialer
    		dialer.ReadBufferSize = readBufferSize
    		dialer.WriteBufferSize = writeBufferSize
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 7K bytes
    - Click Count (0)
  7. misc/ios/clangwrap.sh

    # build for real iOS devices, change SDK to "iphoneos" and PLATFORM to "ios".
    # This uses the latest available iOS SDK, which is recommended. To select a
    # specific SDK, run 'xcodebuild -showsdks' to see the available SDKs and replace
    # iphonesimulator with one of them.
    
    SDK=iphonesimulator
    PLATFORM=ios-simulator
    
    if [ "$GOARCH" == "arm64" ]; then
    	CLANGARCH="arm64"
    else
    	CLANGARCH="x86_64"
    fi
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Jun 18 16:32:49 GMT 2024
    - 724 bytes
    - Click Count (0)
  8. .teamcity/src/main/kotlin/common/JvmVersion.kt

    package common
    
    enum class JvmVersion(
        val major: Int,
    ) {
        JAVA_8(8),
        JAVA_11(11),
        JAVA_17(17),
        JAVA_21(21),
        JAVA_25(25),
        ;
    
        fun toCapitalized(): String = name.replace("_", "").lowercase().toCapitalized()
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Aug 05 16:58:51 GMT 2025
    - 856 bytes
    - Click Count (0)
  9. tests/test_datetime_custom_encoder.py

        class ModelWithDatetimeField(BaseModel):
            dt_field: datetime
    
            @field_serializer("dt_field")
            def serialize_datetime(self, dt_field: datetime):
                return dt_field.replace(microsecond=0, tzinfo=timezone.utc).isoformat()
    
        app = FastAPI()
        model = ModelWithDatetimeField(dt_field=datetime(2019, 1, 1, 8))
    
        @app.get("/model", response_model=ModelWithDatetimeField)
        def get_model():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 817 bytes
    - Click Count (0)
  10. okhttp-sse/src/test/java/okhttp3/sse/internal/ServerSentEventIteratorTest.kt

          |data: +2
          |data: 10
          |
          |
          """.trimMargin().replace("\n", "\r"),
        )
        assertThat(callbacks.remove()).isEqualTo(Event(null, null, "YHOO\n+2\n10"))
      }
    
      @Test
      fun multilineCrLf() {
        consumeEvents(
          """
          |data: YHOO
          |data: +2
          |data: 10
          |
          |
          """.trimMargin().replace("\n", "\r\n"),
        )
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.4K bytes
    - Click Count (0)
Back to Top