Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 523 for spacer (0.17 sec)

  1. src/go/printer/printer.go

    	output io.Writer
    	state  int
    	space  []byte
    }
    
    // trimmer is implemented as a state machine.
    // It can be in one of the following states:
    const (
    	inSpace  = iota // inside space
    	inEscape        // inside text bracketed by tabwriter.Escapes
    	inText          // inside text
    )
    
    func (p *trimmer) resetSpace() {
    	p.state = inSpace
    	p.space = p.space[0:0]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 41.6K bytes
    - Viewed (0)
  2. src/fmt/print.go

    // Spaces are added between operands when neither is a string.
    // It returns the number of bytes written and any write error encountered.
    func Print(a ...any) (n int, err error) {
    	return Fprint(os.Stdout, a...)
    }
    
    // Sprint formats using the default formats for its operands and returns the resulting string.
    // Spaces are added between operands when neither is a string.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:22:43 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  3. src/go/build/read.go

    		r.pos.Column = 1
    	} else {
    		r.pos.Column++
    	}
    	return c
    }
    
    // peekByte returns the next byte from the input reader but does not advance beyond it.
    // If skipSpace is set, peekByte skips leading spaces and comments.
    func (r *importReader) peekByte(skipSpace bool) byte {
    	if r.err != nil {
    		if r.nerr++; r.nerr > 10000 {
    			panic("go/build: import reader looping")
    		}
    		return 0
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. src/text/template/doc.go

    delimiter (by default "{{") is followed immediately by a minus sign and white
    space, all trailing white space is trimmed from the immediately preceding text.
    Similarly, if the right delimiter ("}}") is preceded by white space and a minus
    sign, all leading white space is trimmed from the immediately following text.
    In these trim markers, the white space must be present:
    "{{- 3}}" is like "{{3}}" but trims the immediately preceding text, while
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  5. src/strings/strings.go

    	a := make([]string, n)
    	na := 0
    	fieldStart := 0
    	i := 0
    	// Skip spaces in the front of the input.
    	for i < len(s) && asciiSpace[s[i]] != 0 {
    		i++
    	}
    	fieldStart = i
    	for i < len(s) {
    		if asciiSpace[s[i]] == 0 {
    			i++
    			continue
    		}
    		a[na] = s[fieldStart:i]
    		na++
    		i++
    		// Skip spaces in between fields.
    		for i < len(s) && asciiSpace[s[i]] != 0 {
    			i++
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:48:16 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  6. src/cmd/internal/archive/archive.go

    		}
    		r.a.Entries = []Entry{{
    			Name: f.Name(),
    			Type: EntryGoObj,
    			Data: Data{off, r.limit - off},
    			Obj:  o,
    		}}
    	}
    
    	return r.a, nil
    }
    
    // trimSpace removes trailing spaces from b and returns the corresponding string.
    // This effectively parses the form used in archive headers.
    func trimSpace(b []byte) string {
    	return string(bytes.TrimRight(b, " "))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 15:39:57 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  7. src/text/template/parse/lex_test.go

    		tLeft,
    		mkItem(itemNumber, "1"),
    		tSpace,
    		mkItem(itemNumber, "02"),
    		tSpace,
    		mkItem(itemNumber, "0x14"),
    		tSpace,
    		mkItem(itemNumber, "0X14"),
    		tSpace,
    		mkItem(itemNumber, "-7.2i"),
    		tSpace,
    		mkItem(itemNumber, "1e3"),
    		tSpace,
    		mkItem(itemNumber, "1E3"),
    		tSpace,
    		mkItem(itemNumber, "+1.2e-4"),
    		tSpace,
    		mkItem(itemNumber, "4.2i"),
    		tSpace,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 23 15:03:43 UTC 2022
    - 13.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/tests/unfuse_mhlo_batch_norm.mlir

    // CHECK-LABEL: @batchNormInference_2D_inner_features
    // CHECK-SAME: %[[X:[^:[:space:]]+]]
    // CHECK-SAME: %[[SCALE:[^:[:space:]]+]]
    // CHECK-SAME: %[[OFFSET:[^:[:space:]]+]]
    // CHECK-SAME: %[[MEAN:[^:[:space:]]+]]
    // CHECK-SAME: %[[VARIANCE:[^:[:space:]]+]]
    func.func @batchNormInference_2D_inner_features(
        %x: tensor<4x256xf32>, %scale: tensor<256xf32>, %offset: tensor<256xf32>,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. okhttp/src/test/resources/web-platform-test-urltestdata.txt

    http://ExAmPlE.CoM http://other.com/ s:http p:/ h:example.com
    
    # Spaces should fail
    http://example\sexample.com
    
    # This should fail
    http://Goo%20\sgoo%7C|.com
    
    # U+3000 is mapped to U+0020 (space) which is disallowed
    http://GOO\u00a0\u3000goo.com
    
    # Other types of space (no-break, zero-width, zero-width-no-break) are
    # name-prepped away to nothing.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  10. src/text/template/parse/parse.go

    	}
    	return
    }
    
    // command:
    //
    //	operand (space operand)*
    //
    // space-separated arguments up to a pipeline character or right delimiter.
    // we consume the pipe character but leave the right delim to terminate the action.
    func (t *Tree) command() *CommandNode {
    	cmd := t.newCommand(t.peekNonSpace().pos)
    	for {
    		t.peekNonSpace() // skip leading spaces.
    		operand := t.operand()
    		if operand != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 21.3K bytes
    - Viewed (0)
Back to top