- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 136 for rstrip (0.72 seconds)
-
src/main/java/jcifs/internal/dfs/DfsReferralDataInternal.java
* * @param domain the domain name to append */ void fixupDomain(String domain); /** * Reduces path consumed by the given value * * @param i the number of characters to strip from path consumed */ void stripPathConsumed(int i); @Override DfsReferralDataInternal next(); /** * Set the UNC path link for this referral *Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.2K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt
matchesName(name.asString(), candidateName) private fun matchesName(name: String, candidateName: String) = name == candidateName.replace(".*\\$".toRegex(), "") // strip outer class names private val SINCE_REGEX = Regex("""@since ([^\s]+)""") private fun BodyDeclaration<*>.getSince(): String? = comment?.orElse(null)?.content?.let { content ->
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Jun 06 17:52:09 GMT 2025 - 6.5K bytes - Click Count (0) -
.github/workflows/maven.yml
mv "maven-local/$MAVEN_DIR"/* maven-local/ rm -r "maven-local/$MAVEN_DIR" else tar xzf maven-dist/apache-maven-*-bin.tar.gz -C maven-local --strip-components 1 fi echo "MAVEN_HOME=$PWD/maven-local" >> $GITHUB_ENV echo "$PWD/maven-local/bin" >> $GITHUB_PATH - name: Build with downloaded Maven shell: bash
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Dec 16 04:24:24 GMT 2025 - 12.2K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt
assertThat(cache.hitCount()).isEqualTo(0) } @Test fun corruptedUrl() { val response = testCorruptingCache { corruptMetadata { // strip https scheme it.substring(5) } } assertThat(response.body.string()).isEqualTo("ABC.2") // not cached assertThat(cache.requestCount()).isEqualTo(2)
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 6K bytes - Click Count (0) -
okhttp-brotli/src/main/kotlin/okhttp3/brotli/BrotliInterceptor.kt
*/ package okhttp3.brotli import okhttp3.CompressionInterceptor import okhttp3.Gzip /** * Transparent Brotli response support. * * Adds Accept-Encoding: br to request and checks (and strips) for Content-Encoding: br in * responses. n.b. this replaces the transparent gzip compression in BridgeInterceptor. */
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Oct 07 15:15:28 GMT 2025 - 979 bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java
* PackageSanityTests. (The test would run on the JVM, too, if not for the suppression below, and * that would be a problem because it violates small-test rules. Note that we strip the * suppression externally, but it's OK because we don't enforce test-size rules there.) * * We'd just use PackageSanityTests directly, saving us from needing this separate type, but we're
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 28 02:48:50 GMT 2024 - 5.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/MessageDeflaterInflaterTest.kt
* processed during inflation. If this happens, we need to either reject the message or discard * the unreachable data. We choose to discard it! * * In practice this could happen if the encoder doesn't strip the [0x00, 0x00, 0xff, 0xff] suffix * and that ends up repeated. * * https://github.com/square/okhttp/issues/8551 */ @Test fun `deflated data has too many bytes`() {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Sep 21 06:26:07 GMT 2025 - 6.4K bytes - Click Count (0) -
android/guava/src/com/google/common/net/HostSpecifier.java
* 2001:db8::1} * </ul> * * @throws IllegalArgumentException if the specifier is not valid. */ public static HostSpecifier fromValid(String specifier) { // Verify that no port was specified, and strip optional brackets from // IPv6 literals. HostAndPort parsedHost = HostAndPort.fromString(specifier); Preconditions.checkArgument(!parsedHost.hasPort()); String host = parsedHost.getHost();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 6K bytes - Click Count (0) -
internal/handlers/proxy.go
// extract the first, which should be the client IP. if match := forRegex.FindStringSubmatch(fwd); len(match) > 1 { // IPv6 addresses in Forwarded headers are quoted-strings. We strip // these quotes. addr = strings.Trim(match[1], `"`) } } } return addr } // GetSourceIPRaw retrieves the IP from the request headers
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Feb 26 19:25:49 GMT 2025 - 5.4K bytes - Click Count (0) -
src/test/java/jcifs/spnego/NegTokenTargTest.java
/** * Unit tests for {@link NegTokenTarg}. The class has no external * collaborators so tests are mostly focused on round‑trip * serialisation and invalid input handling. */ class NegTokenTargTest { @Test @DisplayName("happy path – full token round‑trip") void testRoundTripFull() throws IOException { // Arrange – create a fully populated tokenCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.6K bytes - Click Count (0)