Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 37 for newsize (0.43 sec)

  1. src/html/template/escape_test.go

    				"foo( true );}</script>",
    		},
    		{
    			"JS multiline block comment",
    			"<script>for (;;) { if (c()) break/* foo not a label\n" +
    				" */foo({{.T}});}</script>",
    			// Newline separates break from call. If newline
    			// removed, then break will consume label leaving
    			// code invalid.
    			"<script>for (;;) { if (c()) break\n" +
    				"foo( true );}</script>",
    		},
    		{
    			"JS single-line block comment",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 16 03:29:27 UTC 2023
    - 56.2K bytes
    - Viewed (0)
  2. src/go/parser/parser.go

    }
    
    // expectClosing is like expect but provides a better error message
    // for the common case of a missing comma before a newline.
    func (p *parser) expectClosing(tok token.Token, context string) token.Pos {
    	if p.tok != tok && p.tok == token.SEMICOLON && p.lit == "\n" {
    		p.error(p.pos, "missing ',' before newline in "+context)
    		p.next()
    	}
    	return p.expect(tok)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
  3. src/go/build/build.go

    	switch {
    	case bytes.HasPrefix(data, slashSlash):
    		comment, _, _ = bytes.Cut(data[2:], newline)
    	case bytes.HasPrefix(data, slashStar):
    		var ok bool
    		comment, _, ok = bytes.Cut(data[2:], starSlash)
    		if !ok {
    			// malformed comment
    			return "", 0
    		}
    		if bytes.Contains(comment, newline) {
    			return "", 0
    		}
    	}
    	comment = bytes.TrimSpace(comment)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/parser.go

    			text := commentText(msg)
    			if (col == colbase || msg[1] == '*') && strings.HasPrefix(text, "line ") {
    				var pos Pos // position immediately following the comment
    				if msg[1] == '/' {
    					// line comment (newline is part of the comment)
    					pos = MakePos(p.file, line+1, colbase)
    				} else {
    					// regular comment
    					// (if the comment spans multiple lines it's not
    					// a valid line directive and will be discarded
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  5. pilot/pkg/model/telemetry_logging_test.go

    	}{
    		{
    			name:     "empty",
    			expected: EnvoyTextLogFormat,
    		},
    		{
    			name:         "contains newline",
    			formatString: "[%START_TIME%] %REQ(:METHOD)% %REQ(X-ENVOY-ORIGINAL-PATH?:PATH)% \n",
    			expected:     "[%START_TIME%] %REQ(:METHOD)% %REQ(X-ENVOY-ORIGINAL-PATH?:PATH)% \n",
    		},
    		{
    			name:         "miss newline",
    			formatString: "[%START_TIME%] %REQ(:METHOD)% %REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 54K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/g3doc/_includes/tf_passes.md

      "tf.AssignVariableOp"(%buffer, %new_val)
      %new_size = "tf.AddV2"(%old_size, %const1)
      "tf.AssignVariableOp"(%size, %new_size)
    ```
    
    and each pop will be turned into
    
    ```mlir
      %old_val = "tf.ReadVariableOp"(%buffer)
      %old_size = "tf.ReadVariableOp"(%size)
      %new_size = "tf.Sub"(%old_size, %const1)
      %offsets = "tf.ConcatV2"(%old_size, %other_dims_0s, %const0)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 02 02:26:39 UTC 2023
    - 96.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFile.java

                    this.attrExpiration = System.currentTimeMillis() + th.getConfig().getAttributeCacheTimeout();
                }
                else if ( info instanceof FileStandardInfo ) {
                    this.size = info.getSize();
                    this.sizeExpiration = System.currentTimeMillis() + th.getConfig().getAttributeCacheTimeout();
                }
                return info;
            }
    
            /*
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (1)
  8. src/encoding/xml/marshal_test.go

    			AnyField: AnyHolder{XMLName: Name{Local: "empty"}},
    		},
    	},
    	{
    		ExpectXML: `<a><nested><value>newline: &#xA;; cr: &#xD;; tab: &#x9;;</value></nested><AnyField></AnyField></a>`,
    		Value: &AnyTest{
    			Nested:   "newline: \n; cr: \r; tab: \t;",
    			AnyField: AnyHolder{XMLName: Name{Local: "AnyField"}},
    		},
    	},
    	{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 66K bytes
    - Viewed (0)
  9. src/regexp/syntax/parse.go

    	Literal                         // treat pattern as literal string
    	ClassNL                         // allow character classes like [^a-z] and [[:space:]] to match newline
    	DotNL                           // allow . to match newline
    	OneLine                         // treat ^ and $ as only matching at beginning and end of text
    	NonGreedy                       // make repetition operators default to non-greedy
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go

    //
    // When hashing a small byte slice or string, a single Write and Read may
    // be used:
    //
    //	// Assume hashfd is already configured using the setup process.
    //	hash := os.NewFile(hashfd, "sha1")
    //	// Hash an input string and read the results. Each Write discards
    //	// previous hash state. Read always reads the current state.
    //	b := make([]byte, 20)
    //	for i := 0; i < 2; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
Back to top