Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for urlpkg (0.12 sec)

  1. src/cmd/go/internal/bug/bug.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package bug implements the “go bug” command.
    package bug
    
    import (
    	"bytes"
    	"context"
    	"fmt"
    	"io"
    	urlpkg "net/url"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"regexp"
    	"runtime"
    	"strings"
    
    	"cmd/go/internal/base"
    	"cmd/go/internal/cfg"
    	"cmd/go/internal/envcmd"
    	"cmd/go/internal/web"
    	"cmd/go/internal/work"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. src/net/http/request.go

    	"bufio"
    	"bytes"
    	"context"
    	"crypto/tls"
    	"encoding/base64"
    	"errors"
    	"fmt"
    	"io"
    	"mime"
    	"mime/multipart"
    	"net/http/httptrace"
    	"net/http/internal/ascii"
    	"net/textproto"
    	"net/url"
    	urlpkg "net/url"
    	"strconv"
    	"strings"
    	"sync"
    	_ "unsafe" // for linkname
    
    	"golang.org/x/net/http/httpguts"
    	"golang.org/x/net/idna"
    )
    
    const (
    	defaultMaxMemory = 32 << 20 // 32 MB
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  3. src/net/http/server.go

    package http
    
    import (
    	"bufio"
    	"bytes"
    	"context"
    	"crypto/tls"
    	"errors"
    	"fmt"
    	"internal/godebug"
    	"io"
    	"log"
    	"math/rand"
    	"net"
    	"net/textproto"
    	"net/url"
    	urlpkg "net/url"
    	"path"
    	"runtime"
    	"slices"
    	"strconv"
    	"strings"
    	"sync"
    	"sync/atomic"
    	"time"
    	_ "unsafe" // for linkname
    
    	"golang.org/x/net/http/httpguts"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  4. src/go/internal/gcimporter/iimport.go

    	case 'F', 'G':
    		var tparams []*types.TypeParam
    		if tag == 'G' {
    			tparams = r.tparamList()
    		}
    		sig := r.signature(nil, nil, tparams)
    		r.declare(types.NewFunc(pos, r.currPkg, name, sig))
    
    	case 'T', 'U':
    		// Types can be recursive. We need to setup a stub
    		// declaration before recurring.
    		obj := types.NewTypeName(pos, r.currPkg, name, nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  5. docs_src/custom_docs_ui/tutorial001.py

            openapi_url=app.openapi_url,
            title=app.title + " - Swagger UI",
            oauth2_redirect_url=app.swagger_ui_oauth2_redirect_url,
            swagger_js_url="https://unpkg.com/swagger-ui-dist@5/swagger-ui-bundle.js",
            swagger_css_url="https://unpkg.com/swagger-ui-dist@5/swagger-ui.css",
        )
    
    
    @app.get(app.swagger_ui_oauth2_redirect_url, include_in_schema=False)
    async def swagger_ui_redirect():
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 23 22:59:02 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_custom_docs_ui/test_tutorial001.py

    
    def test_swagger_ui_html(client: TestClient):
        response = client.get("/docs")
        assert response.status_code == 200, response.text
        assert "https://unpkg.com/swagger-ui-dist@5/swagger-ui-bundle.js" in response.text
        assert "https://unpkg.com/swagger-ui-dist@5/swagger-ui.css" in response.text
    
    
    def test_swagger_ui_oauth2_redirect_html(client: TestClient):
        response = client.get("/docs/oauth2-redirect")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 23 22:59:02 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/test/inl_test.go

    		pw.Close()
    	}()
    	scanner := bufio.NewScanner(pr)
    	curPkg := ""
    	canInline := regexp.MustCompile(`: can inline ([^ ]*)`)
    	haveInlined := regexp.MustCompile(`: inlining call to ([^ ]*)`)
    	cannotInline := regexp.MustCompile(`: cannot inline ([^ ]*): (.*)`)
    	for scanner.Scan() {
    		line := scanner.Text()
    		if strings.HasPrefix(line, "# ") {
    			curPkg = line[2:]
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  8. docs/en/docs/how-to/custom-docs-ui-assets.md

    ## Custom CDN for JavaScript and CSS
    
    Let's say that you want to use a different <abbr title="Content Delivery Network">CDN</abbr>, for example you want to use `https://unpkg.com/`.
    
    This could be useful if for example you live in a country that restricts some URLs.
    
    ### Disable the automatic docs
    
    The first step is to disable the automatic docs, as by default, those use the default CDN.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 23 22:59:02 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. docs/de/docs/how-to/custom-docs-ui-assets.md

    ## Benutzerdefiniertes CDN für JavaScript und CSS
    
    Nehmen wir an, Sie möchten ein anderes <abbr title="Content Delivery Network">CDN</abbr> verwenden, zum Beispiel möchten Sie `https://unpkg.com/` verwenden.
    
    Das kann nützlich sein, wenn Sie beispielsweise in einem Land leben, in dem bestimmte URLs eingeschränkt sind.
    
    ### Die automatischen Dokumentationen deaktivieren
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 23 22:59:02 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/data.go

    			// be made regarding reachability and the need for trampolines.
    			if symPkg := ldr.SymPkg(s); symPkg != "" && curPkg != symPkg {
    				curPkg = symPkg
    				vaTmp := va
    				for j := i; j < len(ctxt.Textp); j++ {
    					curSym := ctxt.Textp[j]
    					if symPkg := ldr.SymPkg(curSym); symPkg == "" || curPkg != symPkg {
    						break
    					}
    					// We do not pass big to assignAddress here, as this
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
Back to top