Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 31 for TABS (0.06 sec)

  1. docs/de/docs/advanced/websockets.md

        ```Python hl_lines="81-83"
        {!> ../../../docs_src/websockets/tutorial003.py!}
        ```
    
    Zum Ausprobieren:
    
    * Öffnen Sie die Anwendung mit mehreren Browser-Tabs.
    * Schreiben Sie Nachrichten in den Tabs.
    * Schließen Sie dann einen der Tabs.
    
    Das wird die Ausnahme `WebSocketDisconnect` auslösen und alle anderen Clients erhalten eine Nachricht wie:
    
    ```
    Client #1596980209979 left the chat
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:17:58 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. src/cmd/vendor/rsc.io/markdown/heading.go

    		if p.HeadingIDs {
    			// Parse and remove ID attribute.
    			// It must come before trailing '#'s to more closely follow the spec:
    			//    The optional closing sequence of #s must be preceded by spaces or tabs
    			//    and may be followed by spaces or tabs only.
    			// But Goldmark allows it to come after.
    			id, s = extractID(p, s)
    
    			// Goldmark is strict about the id syntax.
    			for _, c := range id {
    				if c >= 0x80 || !isLetterDigit(byte(c)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. cmd/genkubedocs/postprocessing_test.go

    	var tests = []struct {
    		markdown, expectedMarkdown string
    	}{
    		{ // first line is removed
    			// Nb. first line is the title of the document, and by removing it you get
    			//     more flexibility for include, e.g. include in tabs
    			markdown: "line 1\n" +
    				"line 2\n" +
    				"line 3",
    			expectedMarkdown: "line 2\n" +
    				"line 3",
    		},
    		{ // everything after ###SEE ALSO is removed
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 30 13:22:22 UTC 2019
    - 1.5K bytes
    - Viewed (0)
  4. misc/chrome/gophertool/popup.js

    function openURL(url) {
      chrome.tabs.create({ "url": url })
    }
    
    function addLinks() {
      var links = document.getElementsByTagName("a");
      for (var i = 0; i < links.length; i++) {
        var url = links[i].getAttribute("url");
        if (url)
          links[i].addEventListener("click", function () {
            openURL(this.getAttribute("url"));
          });
      }
    }
    
    window.addEventListener("load", function () {
      addLinks();
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 21 17:05:21 UTC 2012
    - 1020 bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/cgo_path_space_quote.txt

    # This test checks that the CC environment variable may contain quotes and
    # spaces. Arguments are normally split on spaces, tabs, newlines. If an
    # argument contains these characters, the entire argument may be quoted
    # with single or double quotes. This is the same as -gcflags and similar
    # options.
    
    [short] skip
    [!exec:clang] [!exec:gcc] skip
    [!cgo] skip
    
    env GOENV=$WORK/go.env
    mkdir 'program files'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 16 20:23:26 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  6. src/runtime/debug/mod_test.go

    // license that can be found in the LICENSE file.
    
    package debug_test
    
    import (
    	"reflect"
    	"runtime/debug"
    	"strings"
    	"testing"
    )
    
    // strip removes two leading tabs after each newline of s.
    func strip(s string) string {
    	replaced := strings.ReplaceAll(s, "\n\t\t", "\n")
    	if len(replaced) > 0 && replaced[0] == '\n' {
    		replaced = replaced[1:]
    	}
    	return replaced
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 09 19:44:03 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/websockets.md

    === "Python 3.8+"
    
        ```Python hl_lines="81-83"
        {!> ../../../docs_src/websockets/tutorial003.py!}
        ```
    
    To try it out:
    
    * Open the app with several browser tabs.
    * Write messages from them.
    * Then close one of the tabs.
    
    That will raise the `WebSocketDisconnect` exception, and all the other clients will receive a message like:
    
    ```
    Client #1596980209979 left the chat
    ```
    
    !!! tip
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 02 22:37:31 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. cmd/genkubedocs/postprocessing.go

    }
    
    // cleanupForInclude parts of markdown that will make difficult to use it as include in the website:
    // - The title of the document (this allow more flexibility for include, e.g. include in tabs)
    // - The sections see also, that assumes file will be used as a main page
    func cleanupForInclude(md string) string {
    	lines := strings.Split(md, "\n")
    
    	cleanMd := ""
    	for i, line := range lines {
    		if i == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 01 05:59:41 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  9. src/encoding/pem/pem.go

    // removed, if there were any. Otherwise, the input is returned unchanged.
    //
    // The base64 decoder already skips newline characters, so we don't need to
    // filter them out here.
    func removeSpacesAndTabs(data []byte) []byte {
    	if !bytes.ContainsAny(data, " \t") {
    		// Fast path; most base64 data within PEM contains newlines, but
    		// no spaces nor tabs. Skip the extra alloc and work.
    		return data
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. src/cmd/vendor/rsc.io/markdown/break.go

    	start := i
    	for start > 0 && (s[start-1] == ' ' || s[start-1] == '\t') {
    		start--
    	}
    	end := i + 1
    	for end < len(s) && (s[end] == ' ' || s[end] == '\t') {
    		end++
    	}
    	// TODO: Do tabs count? That would be a mess.
    	if i >= 2 && s[i-1] == ' ' && s[i-2] == ' ' {
    		return &HardBreak{}, start, end, true
    	}
    	return &SoftBreak{}, start, end, true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 1.9K bytes
    - Viewed (1)
Back to top