- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 122 for strip (0.18 sec)
-
configure.py
except subprocess.CalledProcessError as e: output = e.output else: output = subprocess.check_output(cmd, stderr=stderr) return output.decode('UTF-8').strip() def cygpath(path): """Convert path from posix to windows.""" return os.path.abspath(path).replace('\\', '/') def get_python_path(environ_cp, python_bin_path):
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Wed Apr 30 15:18:54 UTC 2025 - 48.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
@Test @DisplayName("Should strip path consumed correctly") void testStripPathConsumed() { // Set initial pathConsumed using fromReferral setupReferralDataWithPathConsumed(10); referralData.stripPathConsumed(5); assertEquals(5, referralData.getPathConsumed()); } @Test @DisplayName("Should strip exact path consumed")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ResourcesTest.java
/** * Unit test for {@link Resources}. * * @author Chris Nokleberg */ @NullUnmarked public class ResourcesTest extends IoTestCase { @AndroidIncompatible // wouldn't run anyway, but strip the source entirely because of b/230620681 public static TestSuite suite() { TestSuite suite = new TestSuite(); suite.addTest( ByteSourceTester.tests(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 6.9K bytes - Viewed (0) -
cmd/net.go
} // isHostIP - helper for validating if the provided arg is an ip address. func isHostIP(ipAddress string) bool { host, _, err := net.SplitHostPort(ipAddress) if err != nil { host = ipAddress } // Strip off IPv6 zone information. if i := strings.Index(host, "%"); i > -1 { host = host[:i] } return net.ParseIP(host) != nil } // extractHostPort - extracts host/port from many address formats
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Jun 19 14:34:00 UTC 2024 - 9.6K bytes - Viewed (1) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
host } } /** Returns a [Locale.US] formatted [String]. */ internal fun format( format: String, vararg args: Any, ): String = String.format(Locale.US, format, *args) /** * will also strip BOM from the source */ @Throws(IOException::class) internal fun BufferedSource.readBomAsCharset(default: Charset): Charset = when (select(UNICODE_BOMS)) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 10.2K bytes - Viewed (1) -
okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlJvmTest.kt
@Test fun hostContainsOnlyStrippedCharacters() { val url = "http://>/".toHttpUrl() assertThat(url.host).isEqualTo(">") assertThat(url.toUri().host).isNull() } /** * Strip unexpected characters when converting to URI (which is more strict). * https://github.com/square/okhttp/issues/5667 */ @Test fun hostToUriStripsCharacters() { val httpUrl = "http://example\".com/".toHttpUrl()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 12K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java
* environment that forces Futures.getChecked to its fallback WeakSetValidator. One awful way of * doing so would be to derive a separate test library by using remove_from_jar to strip out * ClassValueValidator. * * Fortunately, we get pretty good coverage "by accident": We run all these tests against the * *backport*, where ClassValueValidator is not present. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 16.4K bytes - Viewed (0) -
guava-gwt/pom.xml
</executions> </plugin> </plugins> <resources> <resource> <directory>src</directory> </resource> <!-- src-super is copied to guava-gwt-sources (so that we can strip its @Nullable annotations), so we don't need to list it here. We may want to arrange something similar for test-super someday. --> <!-- TODO(cpovirk): Why do we have separate src and src-super directories, anyway? -->
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Sep 04 21:35:58 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java
// Test with concrete implementation - requires server to be set assertDoesNotThrow(() -> concreteImplementation.fixupDomain(domain)); } @Test @DisplayName("Should strip path consumed") void testStripPathConsumed() { int consumedAmount = 5; // Test with mock doNothing().when(mockReferralData).stripPathConsumed(consumedAmount);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 28.2K bytes - Viewed (0) -
guava/src/com/google/common/math/BigIntegerMath.java
// Start from the pre-computed maximum long factorial. int startingNumber = LongMath.factorials.length; long product = LongMath.factorials[startingNumber - 1]; // Strip off 2s from this value. int shift = Long.numberOfTrailingZeros(product); product >>= shift; // Use floor(log2(num)) + 1 to prevent overflow of multiplication.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.8K bytes - Viewed (0)