Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 527 for Did (0.18 sec)

  1. test/fixedbugs/bug441.go

    // Was discarding function calls made for arguments named _
    // in inlined functions.  Issue 3593.
    
    package main
    
    var did int
    
    func main() {
    	foo(side())
    	foo2(side(), side())
    	foo3(side(), side())
    	T.m1(T(side()))
    	T(1).m2(side())
    	const want = 7
    	if did != want {
    		println("BUG: missing", want-did, "calls")
    	}
    }
    
    func foo(_ int) {}
    func foo2(_, _ int) {}
    func foo3(int, int) {}
    type T int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 641 bytes
    - Viewed (0)
  2. src/go/doc/comment/testdata/linklist.txt

    {"DocLinkBaseURL": "https://pkg.go.dev"}
    -- input --
    Did you know?
    
      - [encoding/json.Marshal] is a doc link. So is [encoding/json.Unmarshal].
    -- text --
    Did you know?
    
      - encoding/json.Marshal is a doc link. So is encoding/json.Unmarshal.
    -- markdown --
    Did you know?
    
      - [encoding/json.Marshal](https://pkg.go.dev/encoding/json#Marshal) is a doc link. So is [encoding/json.Unmarshal](https://pkg.go.dev/encoding/json#Unmarshal).
    -- html --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 30 21:57:02 UTC 2022
    - 657 bytes
    - Viewed (0)
  3. .github/ISSUE_TEMPLATE/03-gopls.yml

          description: "Output of `go env` on the command line in your workspace directory"
          render: shell
        validations:
          required: true
      - type: textarea
        id: what-did-you-do
        attributes:
          label: "What did you do?"
          description: "If possible, provide a recipe for reproducing the error. A complete runnable program is good. A link on [go.dev/play](https://go.dev/play) is better. A failing unit test is the best."
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:09:04 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. src/go/doc/comment/testdata/linklist2.txt

    {"DocLinkBaseURL": "https://pkg.go.dev"}
    -- input --
    Did you know?
    
      - [testing.T] is one doc link.
      - So is [testing.M].
      - So is [testing.B].
        This is the same list paragraph.
    
        There is [testing.PB] in this list item, too!
    -- text --
    Did you know?
    
      - testing.T is one doc link.
    
      - So is testing.M.
    
      - So is testing.B. This is the same list paragraph.
    
        There is testing.PB in this list item, too!
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 30 21:57:02 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  5. .github/ISSUE_TEMPLATE/01-pkgsite.yml

      - type: textarea
        id: what-did-you-do
        attributes:
          label: "What did you do?"
          description: "If possible, provide a recipe for reproducing the error. Starting with a Private/Incognito tab/window may help rule out problematic browser extensions."
        validations:
          required: true
      - type: textarea
        id: actual-behavior
        attributes:
          label: "What did you see happen?"
        validations:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 04 23:31:17 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. test/const4.go

    		println("BUG:", n1, n2, n3, n4, n5, n6, n7)
    		panic("fail")
    	}
    	if !calledF {
    		println("BUG: did not call f")
    		panic("fail")
    	}
    	if <-c == nil {
    		println("BUG: did not receive from c")
    		panic("fail")
    	}
    	if !calledG {
    		println("BUG: did not call g")
    		panic("fail")
    	}
    	if <-c1 == nil {
    		println("BUG: did not receive from c1")
    		panic("fail")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jul 11 14:36:33 UTC 2015
    - 1.3K bytes
    - Viewed (0)
  7. cmd/site-replication-utils.go

    func (sm *siteResyncMetrics) siteStatus(ctx context.Context, objAPI ObjectLayer, dID string) (rs SiteResyncStatus, err error) {
    	if !globalSiteReplicationSys.isEnabled() {
    		return rs, errSRNotEnabled
    	}
    	// check in-memory status
    	rs, err = sm.status(dID)
    	if err == nil {
    		return rs, nil
    	}
    	// check disk resync status
    	rs, err = loadSiteResyncMetadata(ctx, objAPI, dID)
    	if err != nil && err == errConfigNotFound {
    		return rs, nil
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 8.9K bytes
    - Viewed (1)
  8. .github/ISSUE_TEMPLATE/04-vuln.yml

      - type: textarea
        id: what-did-you-do
        attributes:
          label: "What did you do?"
          description: "If possible, provide a recipe for reproducing the error. A complete runnable program is good. A link on [go.dev/play](https://go.dev/play) is best."
        validations:
          required: true
      - type: textarea
        id: actual-behavior
        attributes:
          label: "What did you see happen?"
        validations:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 04 23:31:17 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. src/cmd/go/internal/par/work_test.go

    		})
    		if n != N {
    			t.Fatalf("par.Work.Do did not do all the work")
    		}
    		if time.Since(start) < N/2*time.Millisecond {
    			return
    		}
    	}
    	t.Fatalf("par.Work.Do does not seem to be parallel")
    }
    
    func TestCache(t *testing.T) {
    	var cache Cache[int, int]
    
    	n := 1
    	v := cache.Do(1, func() int { n++; return n })
    	if v != 2 {
    		t.Fatalf("cache.Do(1) did not run f")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 03 09:56:24 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  10. test/fixedbugs/issue45804.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    func g() int
    func h(int)
    
    var b bool
    
    func f() {
    	did := g()
    	if !did && b { // ERROR "invalid operation"
    		h(x) // ERROR "undefined"
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 28 00:49:58 UTC 2021
    - 325 bytes
    - Viewed (0)
Back to top