Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for rstrip (0.07 sec)

  1. fastapi/applications.py

                server_urls = {url for url in urls if url}
    
                async def openapi(req: Request) -> JSONResponse:
                    root_path = req.scope.get("root_path", "").rstrip("/")
                    if root_path not in server_urls:
                        if root_path and self.root_path_in_servers:
                            self.servers.insert(0, {"url": root_path})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:52:31 UTC 2024
    - 172.2K bytes
    - Viewed (0)
  2. ci/official/containers/ml_build/builder.devtoolset/build_devtoolset.sh

      rpm2cpio "devtoolset-7-gcc-7.3.1-5.15.el6.src.rpm" |cpio -idmv
      tar -xvjf "gcc-7.3.1-20180303.tar.bz2" --strip 1
      ;;
    devtoolset-9)
      wget "https://vault.centos.org/centos/7/sclo/Source/rh/devtoolset-9-gcc-9.3.1-2.2.el7.src.rpm"
      rpm2cpio "devtoolset-9-gcc-9.3.1-2.2.el7.src.rpm" |cpio -idmv
      tar -xvf "gcc-9.3.1-20200408.tar.xz" --strip 1
      ;;
    esac
    
    # Apply the devtoolset patches to gcc.
    /rpm-patch.sh "gcc.spec"
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Sep 24 20:45:58 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. internal/config/dns/dns_path.go

    }
    
    // msgUnPath converts a etcd path to domainName.
    func msgUnPath(s string) string {
    	l := strings.Split(s, etcdPathSeparator)
    	if l[len(l)-1] == "" {
    		l = l[:len(l)-1]
    	}
    	// start with 1, to strip /skydns
    	for i, j := 1, len(l)-1; i < j; i, j = i+1, j-1 {
    		l[i], l[j] = l[j], l[i]
    	}
    	return dnsJoin(l[1 : len(l)-1]...)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 15:03:08 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. cmd/server-startup-msg.go

    // Returns true if input is IPv6
    func isIPv6(host string) bool {
    	h, _, err := net.SplitHostPort(host)
    	if err != nil {
    		h = host
    	}
    	ip := net.ParseIP(h)
    	return ip.To16() != nil && ip.To4() == nil
    }
    
    // strip api endpoints list with standard ports such as
    // port "80" and "443" before displaying on the startup
    // banner.  Returns a new list of API endpoints.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 23 14:11:35 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. 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 Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 02 22:16:02 UTC 2024
    - 48.2K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6SetTests.java

    import java.lang.reflect.Method;
    import java.util.Collection;
    import java.util.Set;
    import junit.framework.Test;
    
    /**
     * Tests the {@link Set} implementations of {@link java.util}, suppressing tests that trip known
     * OpenJDK 6 bugs.
     *
     * @author Kevin Bourrillion
     */
    public class OpenJdk6SetTests extends TestsForSetsInJavaUtil {
      public static Test suite() {
        return new OpenJdk6SetTests().allTests();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. internal/config/dns/etcd_dns.go

    	}
    
    	for _, setter := range setters {
    		setter(args)
    	}
    
    	if len(args.domainNames) == 0 || args.domainIPs.IsEmpty() {
    		return nil, errors.New("invalid argument")
    	}
    
    	// strip ports off of domainIPs
    	domainIPsWithoutPorts := args.domainIPs.ApplyFunc(func(ip string) string {
    		host, _, err := net.SplitHostPort(ip)
    		if err != nil {
    			if strings.Contains(err.Error(), "missing port in address") {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 15:03:08 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/collect/testing/OpenJdk6SetTests.java

    import java.lang.reflect.Method;
    import java.util.Collection;
    import java.util.Set;
    import junit.framework.Test;
    
    /**
     * Tests the {@link Set} implementations of {@link java.util}, suppressing tests that trip known
     * OpenJDK 6 bugs.
     *
     * @author Kevin Bourrillion
     */
    public class OpenJdk6SetTests extends TestsForSetsInJavaUtil {
      public static Test suite() {
        return new OpenJdk6SetTests().allTests();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6ListTests.java

    import java.lang.reflect.Method;
    import java.util.Collection;
    import java.util.List;
    import junit.framework.Test;
    
    /**
     * Tests the {@link List} implementations of {@link java.util}, suppressing tests that trip known
     * OpenJDK 6 bugs.
     *
     * @author Kevin Bourrillion
     */
    public class OpenJdk6ListTests extends TestsForListsInJavaUtil {
      public static Test suite() {
        return new OpenJdk6ListTests().allTests();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.3K bytes
    - Viewed (0)
Back to top