Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for c1 (0.16 sec)

  1. src/cmd/cgo/ast.go

    		}
    
    		if name != n.Name.Name {
    			error_(c.Pos(), "export comment has wrong name %q, want %q", name, n.Name.Name)
    		}
    
    		doc := ""
    		for _, c1 := range n.Doc.List {
    			if c1 != c {
    				doc += c1.Text + "\n"
    			}
    		}
    
    		f.ExpFunc = append(f.ExpFunc, &ExpFunc{
    			Func:    n,
    			ExpName: name,
    			Doc:     doc,
    		})
    		break
    	}
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  2. src/cmd/cgo/gcc.go

    		if !isError && !isErrorNote {
    			continue
    		}
    
    		c1 := strings.Index(line, ":")
    		if c1 < 0 {
    			continue
    		}
    		c2 := strings.Index(line[c1+1:], ":")
    		if c2 < 0 {
    			continue
    		}
    		c2 += c1 + 1
    
    		filename := line[:c1]
    		i, _ := strconv.Atoi(line[c1+1 : c2])
    		i--
    		if i < 0 || i >= len(names) {
    			if isError {
    				sawUnmatchedErrors = true
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  3. src/bytes/bytes.go

    		}
    		c0 := sep[0]
    		c1 := sep[1]
    		i := 0
    		t := len(s) - n + 1
    		fails := 0
    		for i < t {
    			if s[i] != c0 {
    				// IndexByte is faster than bytealg.Index, so use it as long as
    				// we're not getting lots of false positives.
    				o := IndexByte(s[i+1:t], c0)
    				if o < 0 {
    					return -1
    				}
    				i += o + 1
    			}
    			if s[i+1] == c1 && Equal(s[i:i+n], sep) {
    				return i
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  4. src/archive/zip/reader_test.go

    0000280 d0 00 0d d0 00 0d d0 00 0d d0 00 0d d0 00 0d d0
    0000290 00 0d d0 00 0d d0 00 0d d0 00 0d d0 00 0d d0 00
    00002a0 0d d0 00 cd ff 9e 46 86 fa a7 7d 3a 43 d7 8e 10
    00002b0 52 e9 be e6 6e cf eb 9e 85 4d 65 ce cc 30 c1 44
    00002c0 c0 4e af bc 9c 6c 4b a0 d7 54 ff 1d d5 5c 89 fb
    00002d0 b5 34 7e c4 c2 9e f5 a0 f6 5b 7e 6e ca 73 c7 ef
    00002e0 5d be de f9 e8 81 eb a5 0a a5 63 54 2c d7 1c d1
    00002f0 89 17 85 f8 16 94 f2 8a b2 a3 f5 b6 6d df 75 cd
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  5. doc/go1.17_spec.html

    a select with only <code>nil</code> channels and no default case blocks forever.
    </p>
    
    <pre>
    var a []int
    var c, c1, c2, c3, c4 chan int
    var i1, i2 int
    select {
    case i1 = &lt;-c1:
    	print("received ", i1, " from c1\n")
    case c2 &lt;- i2:
    	print("sent ", i2, " to c2\n")
    case i3, ok := (&lt;-c3):  // same as: i3, ok := &lt;-c3
    	if ok {
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  6. doc/go_spec.html

    a select with only <code>nil</code> channels and no default case blocks forever.
    </p>
    
    <pre>
    var a []int
    var c, c1, c2, c3, c4 chan int
    var i1, i2 int
    select {
    case i1 = &lt;-c1:
    	print("received ", i1, " from c1\n")
    case c2 &lt;- i2:
    	print("sent ", i2, " to c2\n")
    case i3, ok := (&lt;-c3):  // same as: i3, ok := &lt;-c3
    	if ok {
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
Back to top