Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 130 for strip (0.53 sec)

  1. guava-tests/test/com/google/common/io/ResourcesTest.java

    import junit.framework.TestSuite;
    
    /**
     * Unit test for {@link Resources}.
     *
     * @author Chris Nokleberg
     */
    
    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(
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.8K bytes
    - Viewed (0)
  2. 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
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 26 15:00:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  3. 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
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jun 11 21:37:55 GMT 2019
    - 5.3K bytes
    - Viewed (0)
  4. 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
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 11 21:37:55 GMT 2019
    - 5.3K bytes
    - Viewed (0)
  5. internal/logger/console.go

    	quiet(msg string, args ...interface{})
    	pretty(msg string, args ...interface{})
    }
    
    func consoleLog(console Logger, msg string, args ...interface{}) {
    	switch {
    	case jsonFlag:
    		// Strip escape control characters from json message
    		msg = ansiRE.ReplaceAllLiteralString(msg, "")
    		console.json(msg, args...)
    	case quietFlag:
    		if len(msg) != 0 && len(args) == 0 {
    			args = append(args, msg)
    			msg = "%s"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  6. 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
    fun BodyDeclaration<*>.isSince(version: String): Boolean =
        comment?.orElse(null)?.content?.contains("@since $version") == true
    
    
    private
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Dec 01 20:12:19 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  7. okhttp/src/test/java/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)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 6K bytes
    - Viewed (1)
  8. 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();
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 05 09:18:40 GMT 2023
    - 6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/ResourcesTest.java

    import junit.framework.TestSuite;
    
    /**
     * Unit test for {@link Resources}.
     *
     * @author Chris Nokleberg
     */
    
    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(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.8K bytes
    - Viewed (0)
  10. ci/official/containers/linux_arm64/devel.usertools/squash_testlogs.py

      exit(0)
    
    # For test cases, only show the ones that failed that have text (a log)
    seen = collections.Counter()
    runfiles_matcher = re.compile(r"(/.*\.runfiles/)")
    
    
    for f in files.strip().splitlines():
      # Just ignore any failures, they're probably not important
      try:
        r = JUnitXml.fromfile(f)
      except Exception as e:  # pylint: disable=broad-except
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 19:00:37 GMT 2023
    - 4.8K bytes
    - Viewed (0)
Back to top